]>
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] | |
261 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[52] | |
262 | #define SWIGTYPE_p_wxTipWindow swig_types[53] | |
263 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[54] | |
264 | #define SWIGTYPE_p_wxSplitterWindow swig_types[55] | |
265 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[56] | |
266 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[57] | |
267 | #define SWIGTYPE_p_wxPopupWindow swig_types[58] | |
268 | #define SWIGTYPE_p_wxSashWindow swig_types[59] | |
269 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[60] | |
270 | #define SWIGTYPE_p_wxWindow swig_types[61] | |
271 | #define SWIGTYPE_p_wxScrolledWindow swig_types[62] | |
272 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63] | |
273 | #define SWIGTYPE_p_wxMenuBar swig_types[64] | |
274 | #define SWIGTYPE_p_wxPrintPreview swig_types[65] | |
275 | #define SWIGTYPE_p_wxSashEvent swig_types[66] | |
276 | #define SWIGTYPE_p_wxString swig_types[67] | |
277 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[68] | |
994141e6 RD |
278 | #define SWIGTYPE_p_wxFontDialog swig_types[69] |
279 | #define SWIGTYPE_p_wxDirDialog swig_types[70] | |
280 | #define SWIGTYPE_p_wxColourDialog swig_types[71] | |
281 | #define SWIGTYPE_p_wxDialog swig_types[72] | |
282 | #define SWIGTYPE_p_wxPanel swig_types[73] | |
db914595 RD |
283 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[74] |
284 | #define SWIGTYPE_p_wxPrintDialog swig_types[75] | |
285 | #define SWIGTYPE_p_wxBitmap swig_types[76] | |
286 | #define SWIGTYPE_p_wxCommandEvent swig_types[77] | |
287 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[78] | |
288 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[79] | |
289 | #define SWIGTYPE_p_wxColour swig_types[80] | |
290 | #define SWIGTYPE_p_wxToolBar swig_types[81] | |
291 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[82] | |
292 | #define SWIGTYPE_p_wxPrintDialogData swig_types[83] | |
293 | static swig_type_info *swig_types[85]; | |
d14a1e28 RD |
294 | |
295 | /* -------- TYPES TABLE (END) -------- */ | |
296 | ||
297 | ||
298 | /*----------------------------------------------- | |
299 | @(target):= _windows.so | |
300 | ------------------------------------------------*/ | |
301 | #define SWIG_init init_windows | |
302 | ||
303 | #define SWIG_name "_windows" | |
304 | ||
15afbcd0 | 305 | /* Auxiliar swig macros */ |
994141e6 | 306 | |
994141e6 | 307 | #ifdef __cplusplus |
15afbcd0 | 308 | #define SWIGSTATICINLINE(a) static inline a |
994141e6 | 309 | #define SWIGSTATIC(a) static a |
15afbcd0 RD |
310 | #define swig_new_array(type, size) (new type[(size)]) |
311 | #define swig_delete_array(cptr) delete[] cptr | |
312 | #define swig_const_cast(type,a) const_cast<type>(a) | |
313 | #define swig_static_cast(type,a) static_cast<type>(a) | |
314 | #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a) | |
994141e6 | 315 | |
994141e6 | 316 | #ifdef HAVE_NUMERIC_CAST |
15afbcd0 | 317 | #define swig_numeric_cast(type,a) numeric_cast<type>(a) |
994141e6 | 318 | #else |
15afbcd0 | 319 | #define swig_numeric_cast(type,a) static_cast<type>(a) |
994141e6 RD |
320 | #endif |
321 | ||
15afbcd0 RD |
322 | #else /* C case */ |
323 | ||
324 | #define SWIGSTATICINLINE(a) static a | |
325 | #define SWIGSTATIC(a) static a | |
326 | #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) | |
327 | #define swig_delete_array(cptr) free((char*)cptr) | |
328 | #define swig_const_cast(type,a) (type)(a) | |
329 | #define swig_static_cast(type,a) (type)(a) | |
330 | #define swig_reinterpret_cast(type,a) (type)(a) | |
331 | #define swig_numeric_cast(type,a) (type)(a) | |
332 | ||
333 | #endif /* __cplusplus */ | |
994141e6 RD |
334 | |
335 | ||
15afbcd0 RD |
336 | #define SWIG_FromSignedChar PyInt_FromLong |
337 | #define SWIG_FromUnsignedChar PyInt_FromLong | |
338 | #define SWIG_FromShort PyInt_FromLong | |
339 | #define SWIG_FromUnsignedShort PyInt_FromLong | |
340 | #define SWIG_FromInt PyInt_FromLong | |
341 | #define SWIG_FromLong PyInt_FromLong | |
342 | #define SWIG_FromFloat PyFloat_FromDouble | |
343 | #define SWIG_FromDouble PyFloat_FromDouble | |
344 | #define SWIG_FromFloat PyFloat_FromDouble | |
345 | #define SWIG_FromDouble PyFloat_FromDouble | |
994141e6 RD |
346 | |
347 | ||
d14a1e28 RD |
348 | #include "wx/wxPython/wxPython.h" |
349 | #include "wx/wxPython/pyclasses.h" | |
350 | ||
d14a1e28 | 351 | |
b2dc1044 RD |
352 | static const wxString wxPyEmptyString(wxEmptyString); |
353 | static const wxString wxPyPanelNameStr(wxPanelNameStr); | |
d14a1e28 RD |
354 | |
355 | ||
356 | ||
15afbcd0 RD |
357 | #include <limits.h> |
358 | ||
359 | ||
360 | SWIGSTATICINLINE(long) | |
361 | SWIG_CheckLongInRange(long value, const char* type, | |
362 | long min_value, long max_value) | |
363 | { | |
364 | if (!PyErr_Occurred()) { | |
365 | if (value < min_value) { | |
366 | PyObject *err = | |
367 | PyString_FromFormat("value %ld is less than '%s' minimum %ld", | |
368 | value, type, min_value); | |
369 | ||
370 | PyErr_SetObject(PyExc_OverflowError, err); | |
371 | Py_DECREF(err); | |
372 | } else if (value > max_value) { | |
373 | PyObject *err = | |
374 | PyString_FromFormat("value %ld is greater than '%s' maximum %ld", | |
375 | value, type, max_value); | |
376 | PyErr_SetObject(PyExc_OverflowError, err); | |
377 | Py_DECREF(err); | |
378 | } | |
379 | } | |
380 | return value; | |
994141e6 RD |
381 | } |
382 | ||
383 | ||
15afbcd0 RD |
384 | SWIGSTATICINLINE(long) |
385 | SWIG_AsLong(PyObject * obj) | |
994141e6 RD |
386 | { |
387 | return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj); | |
388 | } | |
389 | ||
390 | ||
15afbcd0 RD |
391 | #if INT_MAX != LONG_MAX |
392 | SWIGSTATICINLINE(int) | |
393 | SWIG_AsInt(PyObject *obj) | |
394 | { | |
395 | return swig_numeric_cast(int, | |
396 | SWIG_CheckLongInRange(SWIG_AsLong(obj), | |
397 | "int", INT_MIN, INT_MAX)); | |
398 | } | |
399 | #else | |
400 | #define SWIG_AsInt SWIG_AsLong | |
401 | #endif | |
402 | ||
403 | ||
404 | SWIGSTATICINLINE(int) | |
405 | SWIG_CheckInt(PyObject* obj) | |
406 | { | |
407 | SWIG_AsInt(obj); | |
408 | if (PyErr_Occurred()) { | |
409 | PyErr_Clear(); | |
410 | return 0; | |
411 | } else { | |
412 | return 1; | |
413 | } | |
414 | } | |
415 | ||
416 | ||
417 | SWIGSTATICINLINE(int) | |
418 | SWIG_CheckLong(PyObject* obj) | |
419 | { | |
420 | SWIG_AsLong(obj); | |
421 | if (PyErr_Occurred()) { | |
422 | PyErr_Clear(); | |
423 | return 0; | |
424 | } else { | |
425 | return 1; | |
426 | } | |
427 | } | |
428 | ||
429 | ||
430 | SWIGSTATICINLINE(bool) | |
431 | SWIG_AsBool(PyObject *obj) | |
994141e6 RD |
432 | { |
433 | return PyObject_IsTrue(obj) ? true : false; | |
434 | } | |
435 | ||
436 | ||
15afbcd0 RD |
437 | SWIGSTATICINLINE(int) |
438 | SWIG_CheckBool(PyObject* obj) | |
439 | { | |
440 | SWIG_AsBool(obj); | |
441 | if (PyErr_Occurred()) { | |
442 | PyErr_Clear(); | |
443 | return 0; | |
444 | } else { | |
445 | return 1; | |
446 | } | |
447 | } | |
448 | ||
449 | ||
d14a1e28 RD |
450 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
451 | PyObject* o2; | |
452 | PyObject* o3; | |
453 | ||
454 | if (!target) { | |
455 | target = o; | |
456 | } else if (target == Py_None) { | |
457 | Py_DECREF(Py_None); | |
458 | target = o; | |
459 | } else { | |
460 | if (!PyTuple_Check(target)) { | |
461 | o2 = target; | |
462 | target = PyTuple_New(1); | |
463 | PyTuple_SetItem(target, 0, o2); | |
464 | } | |
465 | o3 = PyTuple_New(1); | |
466 | PyTuple_SetItem(o3, 0, o); | |
467 | ||
468 | o2 = target; | |
469 | target = PySequence_Concat(o2, o3); | |
470 | Py_DECREF(o2); | |
471 | Py_DECREF(o3); | |
472 | } | |
473 | return target; | |
474 | } | |
475 | ||
994141e6 | 476 | |
15afbcd0 RD |
477 | SWIGSTATICINLINE(double) |
478 | SWIG_AsDouble(PyObject *obj) | |
994141e6 | 479 | { |
15afbcd0 | 480 | double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) : |
994141e6 | 481 | #if HAVE_LONG_LONG |
15afbcd0 | 482 | ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj)); |
994141e6 | 483 | #else |
15afbcd0 | 484 | ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj)); |
994141e6 RD |
485 | #endif |
486 | if (PyErr_Occurred()) { | |
487 | PyErr_Clear(); | |
488 | PyErr_SetString(PyExc_TypeError, "a double is expected"); | |
489 | } | |
15afbcd0 RD |
490 | return val; |
491 | } | |
492 | ||
493 | ||
494 | SWIGSTATICINLINE(int) | |
495 | SWIG_CheckDouble(PyObject* obj) | |
496 | { | |
497 | SWIG_AsDouble(obj); | |
498 | if (PyErr_Occurred()) { | |
499 | PyErr_Clear(); | |
500 | return 0; | |
501 | } else { | |
502 | return 1; | |
503 | } | |
994141e6 RD |
504 | } |
505 | ||
b2dc1044 RD |
506 | static const wxString wxPyFrameNameStr(wxFrameNameStr); |
507 | static const wxString wxPyDialogNameStr(wxDialogNameStr); | |
508 | static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr); | |
509 | static const wxString wxPyToolBarNameStr(wxToolBarNameStr); | |
d14a1e28 RD |
510 | bool wxDialog_IsModalShowing(wxDialog *self){ |
511 | ||
512 | return self->m_modalShowing; | |
513 | ||
514 | ||
515 | ||
516 | } | |
517 | ||
518 | ||
7722248d RD |
519 | wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ |
520 | wxRect r; | |
521 | self->GetFieldRect(i, r); | |
522 | return r; | |
523 | } | |
33b885b9 RD |
524 | static const wxString wxPySplitterNameStr(wxT("splitter")); |
525 | static const wxString wxPySashNameStr(wxT("sashWindow")); | |
526 | static const wxString wxPySashLayoutNameStr(wxT("layoutWindow")); | |
d14a1e28 RD |
527 | |
528 | #include <wx/popupwin.h> | |
529 | ||
530 | ||
531 | class wxPyPopupTransientWindow : public wxPopupTransientWindow | |
532 | { | |
533 | public: | |
534 | wxPyPopupTransientWindow() : wxPopupTransientWindow() {} | |
535 | wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE) | |
536 | : wxPopupTransientWindow(parent, style) {} | |
537 | ||
538 | DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown); | |
539 | DEC_PYCALLBACK__(OnDismiss); | |
540 | DEC_PYCALLBACK_BOOL_(CanDismiss); | |
541 | PYPRIVATE; | |
542 | }; | |
543 | ||
544 | ||
545 | IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown); | |
546 | IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss); | |
547 | IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss); | |
548 | ||
549 | ||
550 | #include <wx/tipwin.h> | |
551 | ||
fd3f2efe RD |
552 | wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){ |
553 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
d14a1e28 RD |
554 | } |
555 | ||
556 | #include <wx/tipwin.h> | |
557 | ||
558 | ||
559 | #include <wx/vscroll.h> | |
560 | ||
561 | ||
562 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
563 | { | |
564 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); | |
565 | public: | |
566 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
567 | ||
568 | wxPyVScrolledWindow(wxWindow *parent, | |
569 | wxWindowID id = wxID_ANY, | |
570 | const wxPoint& pos = wxDefaultPosition, | |
571 | const wxSize& size = wxDefaultSize, | |
572 | long style = 0, | |
573 | const wxString& name = wxPyPanelNameStr) | |
574 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
575 | {} | |
576 | ||
577 | // Overridable virtuals | |
578 | ||
579 | // this function must be overridden in the derived class and it should | |
580 | // return the height of the given line in pixels | |
581 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
582 | ||
583 | ||
584 | // this function doesn't have to be overridden but it may be useful to do | |
585 | // it if calculating the lines heights is a relatively expensive operation | |
586 | // as it gives the user code a possibility to calculate several of them at | |
587 | // once | |
588 | // | |
589 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
590 | // shouldn't rely on the latter being called for all lines in the interval | |
591 | // specified here. It is also possible that OnGetLineHeight() will be | |
592 | // called for the lines outside of this interval, so this is really just a | |
593 | // hint, not a promise. | |
594 | // | |
595 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
596 | // usual | |
597 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
598 | ||
599 | ||
600 | // when the number of lines changes, we try to estimate the total height | |
601 | // of all lines which is a rather expensive operation in terms of lines | |
602 | // access, so if the user code may estimate the average height | |
603 | // better/faster than we do, it should override this function to implement | |
604 | // its own logic | |
605 | // | |
606 | // this function should return the best guess for the total height it may | |
607 | // make | |
608 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
609 | ||
610 | ||
611 | // Also expose some other interesting protected methods | |
612 | ||
613 | ||
614 | // find the index of the line we need to show at the top of the window such | |
615 | // that the last (fully or partially) visible line is the given one | |
e811c8ce | 616 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False) |
d14a1e28 RD |
617 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } |
618 | ||
619 | // get the total height of the lines between lineMin (inclusive) and | |
620 | // lineMax (exclusive) | |
621 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
622 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
623 | ||
624 | ||
625 | PYPRIVATE; | |
626 | }; | |
627 | ||
628 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
629 | ||
630 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
631 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
632 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
633 | ||
634 | ||
15afbcd0 RD |
635 | SWIGSTATICINLINE(unsigned long) |
636 | SWIG_AsUnsignedLong(PyObject * obj) | |
637 | { | |
638 | if (PyLong_Check(obj)) { | |
639 | return PyLong_AsUnsignedLong(obj); | |
640 | } else { | |
641 | long i = PyInt_AsLong(obj); | |
642 | if ( !PyErr_Occurred() && (i < 0)) { | |
643 | PyErr_SetString(PyExc_TypeError, "negative value for unsigned type"); | |
644 | } | |
645 | return i; | |
646 | } | |
647 | } | |
648 | ||
649 | ||
650 | SWIGSTATICINLINE(int) | |
651 | SWIG_CheckUnsignedLong(PyObject* obj) | |
652 | { | |
653 | SWIG_AsUnsignedLong(obj); | |
654 | if (PyErr_Occurred()) { | |
655 | PyErr_Clear(); | |
656 | return 0; | |
657 | } else { | |
658 | return 1; | |
659 | } | |
660 | } | |
661 | ||
662 | ||
663 | SWIGSTATICINLINE(PyObject* ) | |
664 | SWIG_FromUnsignedLong(unsigned long value) | |
994141e6 | 665 | { |
15afbcd0 RD |
666 | return (value > LONG_MAX) ? |
667 | PyLong_FromUnsignedLong(value) | |
668 | : PyInt_FromLong(swig_numeric_cast(long,value)); | |
994141e6 RD |
669 | } |
670 | ||
671 | ||
d14a1e28 | 672 | #include <wx/vlbox.h> |
d14a1e28 | 673 | |
b2dc1044 | 674 | static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr); |
d14a1e28 RD |
675 | |
676 | class wxPyVListBox : public wxVListBox | |
677 | { | |
678 | DECLARE_ABSTRACT_CLASS(wxPyVListBox); | |
679 | public: | |
680 | wxPyVListBox() : wxVListBox() {} | |
681 | ||
682 | wxPyVListBox(wxWindow *parent, | |
683 | wxWindowID id = wxID_ANY, | |
684 | const wxPoint& pos = wxDefaultPosition, | |
685 | const wxSize& size = wxDefaultSize, | |
686 | long style = 0, | |
687 | const wxString& name = wxPyVListBoxNameStr) | |
688 | : wxVListBox(parent, id, pos, size, style, name) | |
689 | {} | |
690 | ||
691 | // Overridable virtuals | |
692 | ||
693 | // the derived class must implement this function to actually draw the item | |
694 | // with the given index on the provided DC | |
695 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
696 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
697 | ||
698 | ||
699 | // the derived class must implement this method to return the height of the | |
700 | // specified item | |
701 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
702 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
703 | ||
704 | ||
705 | // this method may be used to draw separators between the lines; note that | |
706 | // the rectangle may be modified, typically to deflate it a bit before | |
707 | // passing to OnDrawItem() | |
708 | // | |
709 | // the base class version doesn't do anything | |
710 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
711 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
712 | ||
713 | ||
714 | // this method is used to draw the items background and, maybe, a border | |
715 | // around it | |
716 | // | |
717 | // the base class version implements a reasonable default behaviour which | |
718 | // consists in drawing the selected item with the standard background | |
719 | // colour and drawing a border around the item if it is either selected or | |
720 | // current | |
721 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
722 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
723 | ||
724 | ||
725 | PYPRIVATE; | |
726 | }; | |
727 | ||
728 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
729 | ||
730 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
731 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
732 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
733 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
734 | ||
735 | ||
736 | ||
737 | #include <wx/htmllbox.h> | |
738 | ||
739 | ||
740 | class wxPyHtmlListBox : public wxHtmlListBox | |
741 | { | |
742 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); | |
743 | public: | |
744 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
745 | ||
746 | wxPyHtmlListBox(wxWindow *parent, | |
747 | wxWindowID id = wxID_ANY, | |
748 | const wxPoint& pos = wxDefaultPosition, | |
749 | const wxSize& size = wxDefaultSize, | |
750 | long style = 0, | |
751 | const wxString& name = wxPyVListBoxNameStr) | |
752 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
753 | {} | |
754 | ||
755 | // Overridable virtuals | |
756 | ||
757 | // this method must be implemented in the derived class and should return | |
758 | // the body (i.e. without <html>) of the HTML for the given item | |
759 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
760 | ||
761 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
762 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
763 | ||
764 | // TODO: | |
765 | // // this method allows to customize the selection appearance: it may be used | |
766 | // // to specify the colour of the text which normally has the given colour | |
767 | // // colFg when it is inside the selection | |
768 | // // | |
769 | // // by default, the original colour is not used at all and all text has the | |
770 | // // same (default for this system) colour inside selection | |
771 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
772 | ||
773 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
774 | // // background colour -- this is even more rarely used as you can change it | |
775 | // // globally using SetSelectionBackground() | |
776 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
777 | ||
778 | ||
779 | PYPRIVATE; | |
780 | }; | |
781 | ||
782 | ||
783 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
784 | ||
785 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
786 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
787 | ||
788 | ||
789 | ||
790 | ||
791 | ||
792 | #ifdef __WXMAC__ | |
793 | // implement dummy classes and such for wxMac | |
794 | ||
795 | class wxTaskBarIcon : public wxEvtHandler | |
796 | { | |
797 | public: | |
39f61e25 | 798 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } |
d14a1e28 RD |
799 | }; |
800 | ||
801 | ||
802 | class wxTaskBarIconEvent : public wxEvent | |
803 | { | |
804 | public: | |
805 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
39f61e25 | 806 | { wxPyRaiseNotImplemented(); } |
d14a1e28 RD |
807 | virtual wxEvent* Clone() const { return NULL; } |
808 | }; | |
809 | ||
810 | enum { | |
811 | wxEVT_TASKBAR_MOVE = 0, | |
812 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
813 | wxEVT_TASKBAR_LEFT_UP = 0, | |
814 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
815 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
816 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
817 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
818 | }; | |
819 | #endif | |
820 | ||
b2dc1044 RD |
821 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); |
822 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
823 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
824 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
825 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
826 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
d14a1e28 RD |
827 | PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ |
828 | wxArrayString arr; | |
829 | self->GetFilenames(arr); | |
830 | return wxArrayString2PyList_helper(arr); | |
831 | } | |
832 | PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ | |
833 | wxArrayString arr; | |
834 | self->GetPaths(arr); | |
835 | return wxArrayString2PyList_helper(arr); | |
836 | } | |
837 | PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ | |
838 | return wxArrayInt2PyList_helper(self->GetSelections()); | |
839 | } | |
840 | wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){ | |
841 | return new wxSingleChoiceDialog(parent, message, caption, | |
842 | choices, choices_array, NULL, style, pos); | |
843 | } | |
844 | ||
845 | #include <wx/mdi.h> | |
846 | ||
847 | // C++ version of Python aware wxWindow | |
848 | class wxPyWindow : public wxWindow | |
849 | { | |
850 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
851 | public: | |
852 | wxPyWindow() : wxWindow() {} | |
853 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
854 | const wxPoint& pos = wxDefaultPosition, | |
855 | const wxSize& size = wxDefaultSize, | |
856 | long style = 0, | |
857 | const wxString& name = wxPyPanelNameStr) | |
858 | : wxWindow(parent, id, pos, size, style, name) {} | |
859 | ||
860 | ||
861 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
862 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
863 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
864 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
865 | ||
866 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
867 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
868 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
869 | ||
870 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
871 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
872 | ||
873 | DEC_PYCALLBACK__(InitDialog); | |
874 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
875 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
876 | DEC_PYCALLBACK_BOOL_(Validate); | |
877 | ||
878 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
879 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
880 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
881 | ||
882 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
883 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
884 | ||
4276dc52 RD |
885 | DEC_PYCALLBACK_BOOL_(ShouldInheritColours); |
886 | ||
d14a1e28 RD |
887 | PYPRIVATE; |
888 | }; | |
889 | ||
890 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
891 | ||
892 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
893 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
894 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
895 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
896 | ||
897 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
898 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
899 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
900 | ||
901 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
902 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
903 | ||
904 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
905 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
906 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
907 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
908 | ||
909 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
910 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
911 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
912 | ||
913 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
914 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
915 | ||
4276dc52 | 916 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours); |
d14a1e28 RD |
917 | |
918 | // C++ version of Python aware wxPanel | |
919 | class wxPyPanel : public wxPanel | |
920 | { | |
921 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
922 | public: | |
923 | wxPyPanel() : wxPanel() {} | |
924 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
925 | const wxPoint& pos = wxDefaultPosition, | |
926 | const wxSize& size = wxDefaultSize, | |
927 | long style = 0, | |
928 | const wxString& name = wxPyPanelNameStr) | |
929 | : wxPanel(parent, id, pos, size, style, name) {} | |
930 | ||
931 | ||
932 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
933 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
934 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
935 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
936 | ||
937 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
938 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
939 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
940 | ||
941 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
942 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
943 | ||
944 | DEC_PYCALLBACK__(InitDialog); | |
945 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
946 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
947 | DEC_PYCALLBACK_BOOL_(Validate); | |
948 | ||
949 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
950 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
951 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
952 | ||
953 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
954 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
955 | ||
4276dc52 RD |
956 | DEC_PYCALLBACK_BOOL_(ShouldInheritColours); |
957 | ||
d14a1e28 RD |
958 | PYPRIVATE; |
959 | }; | |
960 | ||
961 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
962 | ||
963 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
964 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
965 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
966 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
967 | ||
968 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
969 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
970 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
971 | ||
972 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
973 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
974 | ||
975 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
976 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
977 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
978 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
979 | ||
980 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
981 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
982 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
983 | ||
984 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
985 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
986 | ||
4276dc52 | 987 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours); |
d14a1e28 RD |
988 | |
989 | ||
990 | #include "wx/wxPython/printfw.h" | |
991 | ||
d14a1e28 | 992 | |
33b885b9 RD |
993 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); |
994 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
d14a1e28 RD |
995 | |
996 | ||
997 | ||
998 | // Since this one would be tough and ugly to do with the Macros... | |
999 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
e811c8ce | 1000 | bool hadErr = False; |
d14a1e28 RD |
1001 | bool found; |
1002 | ||
1003 | wxPyBeginBlockThreads(); | |
1004 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { | |
1005 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
1006 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
1007 | PyObject* val; | |
1008 | ||
1009 | val = PyTuple_GetItem(result, 0); | |
1010 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
e811c8ce | 1011 | else hadErr = True; |
d14a1e28 RD |
1012 | |
1013 | val = PyTuple_GetItem(result, 1); | |
1014 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
e811c8ce | 1015 | else hadErr = True; |
d14a1e28 RD |
1016 | |
1017 | val = PyTuple_GetItem(result, 2); | |
1018 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
e811c8ce | 1019 | else hadErr = True; |
d14a1e28 RD |
1020 | |
1021 | val = PyTuple_GetItem(result, 3); | |
1022 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
e811c8ce | 1023 | else hadErr = True; |
d14a1e28 RD |
1024 | } |
1025 | else | |
e811c8ce | 1026 | hadErr = True; |
d14a1e28 RD |
1027 | |
1028 | if (hadErr) { | |
1029 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
1030 | PyErr_Print(); | |
1031 | } | |
1032 | Py_DECREF(result); | |
1033 | } | |
1034 | wxPyEndBlockThreads(); | |
1035 | if (! found) | |
1036 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1037 | } | |
1038 | ||
1039 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
1040 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1041 | } | |
1042 | ||
1043 | ||
1044 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
1045 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
1046 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
1047 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
1048 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
1049 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
1050 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
1051 | ||
1052 | ||
1053 | ||
1054 | ||
1055 | ||
1056 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ | |
1057 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
1058 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) | |
1059 | ||
1060 | ||
1061 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ | |
1062 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
e811c8ce | 1063 | bool rval=False; \ |
d14a1e28 RD |
1064 | bool found; \ |
1065 | wxPyBeginBlockThreads(); \ | |
1066 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
1067 | PyObject* win = wxPyMake_wxObject(a); \ | |
1068 | PyObject* dc = wxPyMake_wxObject(&b); \ | |
1069 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\ | |
1070 | Py_DECREF(win); \ | |
1071 | Py_DECREF(dc); \ | |
1072 | } \ | |
1073 | wxPyEndBlockThreads(); \ | |
1074 | if (! found) \ | |
1075 | rval = PCLASS::CBNAME(a, b); \ | |
1076 | return rval; \ | |
1077 | } \ | |
1078 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
1079 | return PCLASS::CBNAME(a, b); \ | |
1080 | } | |
1081 | ||
1082 | ||
1083 | ||
1084 | ||
1085 | class wxPyPrintPreview : public wxPrintPreview | |
1086 | { | |
1087 | DECLARE_CLASS(wxPyPrintPreview) | |
1088 | public: | |
4276dc52 RD |
1089 | wxPyPrintPreview(wxPyPrintout* printout, |
1090 | wxPyPrintout* printoutForPrinting, | |
1091 | wxPrintDialogData* data=NULL) | |
1092 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1093 | {} | |
d14a1e28 RD |
1094 | wxPyPrintPreview(wxPyPrintout* printout, |
1095 | wxPyPrintout* printoutForPrinting, | |
1096 | wxPrintData* data=NULL) | |
1097 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1098 | {} | |
1099 | ||
1100 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
1101 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
1102 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
1103 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
1104 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
1105 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
1106 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
1107 | ||
1108 | PYPRIVATE; | |
1109 | }; | |
1110 | ||
1111 | // Stupid renamed classes... Fix this in 2.5... | |
1112 | #if defined(__WXMSW__) | |
1113 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
1114 | #elif defined(__WXMAC__) | |
1115 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
1116 | #else | |
1117 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
1118 | #endif | |
1119 | ||
1120 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
1121 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
1122 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
1123 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
1124 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
1125 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
1126 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
1127 | ||
1128 | ||
1129 | class wxPyPreviewFrame : public wxPreviewFrame | |
1130 | { | |
1131 | DECLARE_CLASS(wxPyPreviewFrame); | |
1132 | public: | |
1133 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
1134 | const wxString& title, | |
1135 | const wxPoint& pos = wxDefaultPosition, | |
1136 | const wxSize& size = wxDefaultSize, | |
1137 | long style = wxDEFAULT_FRAME_STYLE, | |
1138 | const wxString& name = wxPyFrameNameStr) | |
1139 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
1140 | {} | |
1141 | ||
1142 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
1143 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
1144 | ||
1145 | DEC_PYCALLBACK_VOID_(Initialize); | |
1146 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
1147 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
1148 | ||
1149 | PYPRIVATE; | |
1150 | }; | |
1151 | ||
1152 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
1153 | ||
1154 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
1155 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
1156 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
1157 | ||
1158 | ||
1159 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
1160 | { | |
1161 | DECLARE_CLASS(wxPyPreviewControlBar); | |
1162 | public: | |
1163 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
1164 | long buttons, | |
1165 | wxWindow *parent, | |
1166 | const wxPoint& pos = wxDefaultPosition, | |
1167 | const wxSize& size = wxDefaultSize, | |
1168 | long style = 0, | |
1169 | const wxString& name = wxPyPanelNameStr) | |
1170 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
1171 | {} | |
1172 | ||
1173 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
1174 | ||
1175 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
1176 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
1177 | ||
1178 | PYPRIVATE; | |
1179 | }; | |
1180 | ||
1181 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
1182 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
1183 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
1184 | ||
1185 | #ifdef __cplusplus | |
1186 | extern "C" { | |
1187 | #endif | |
1188 | static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1189 | PyObject *resultobj; | |
1190 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1191 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1192 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1193 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1194 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1195 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1196 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1197 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1198 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1199 | wxPanel *result; | |
1200 | wxPoint temp3 ; | |
1201 | wxSize temp4 ; | |
e811c8ce | 1202 | bool temp6 = False ; |
d14a1e28 | 1203 | PyObject * obj0 = 0 ; |
994141e6 | 1204 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1205 | PyObject * obj2 = 0 ; |
1206 | PyObject * obj3 = 0 ; | |
994141e6 | 1207 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1208 | PyObject * obj5 = 0 ; |
1209 | char *kwnames[] = { | |
1210 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1211 | }; | |
1212 | ||
994141e6 | 1213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
1214 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1215 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1216 | if (obj1) { |
15afbcd0 RD |
1217 | arg2 = (int const) SWIG_AsInt(obj1); |
1218 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1219 | } |
d14a1e28 RD |
1220 | if (obj2) { |
1221 | { | |
1222 | arg3 = &temp3; | |
1223 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1224 | } | |
1225 | } | |
1226 | if (obj3) { | |
1227 | { | |
1228 | arg4 = &temp4; | |
1229 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1230 | } | |
1231 | } | |
994141e6 | 1232 | if (obj4) { |
15afbcd0 RD |
1233 | arg5 = (long) SWIG_AsLong(obj4); |
1234 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1235 | } |
d14a1e28 RD |
1236 | if (obj5) { |
1237 | { | |
1238 | arg6 = wxString_in_helper(obj5); | |
1239 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 1240 | temp6 = True; |
d14a1e28 RD |
1241 | } |
1242 | } | |
1243 | { | |
1244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1245 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1246 | ||
1247 | wxPyEndAllowThreads(__tstate); | |
1248 | if (PyErr_Occurred()) SWIG_fail; | |
1249 | } | |
15afbcd0 | 1250 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
1251 | { |
1252 | if (temp6) | |
1253 | delete arg6; | |
1254 | } | |
1255 | return resultobj; | |
1256 | fail: | |
1257 | { | |
1258 | if (temp6) | |
1259 | delete arg6; | |
1260 | } | |
1261 | return NULL; | |
1262 | } | |
1263 | ||
1264 | ||
1265 | static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1266 | PyObject *resultobj; | |
1267 | wxPanel *result; | |
1268 | char *kwnames[] = { | |
1269 | NULL | |
1270 | }; | |
1271 | ||
1272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
1273 | { | |
1274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1275 | result = (wxPanel *)new wxPanel(); | |
1276 | ||
1277 | wxPyEndAllowThreads(__tstate); | |
1278 | if (PyErr_Occurred()) SWIG_fail; | |
1279 | } | |
15afbcd0 | 1280 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
1281 | return resultobj; |
1282 | fail: | |
1283 | return NULL; | |
1284 | } | |
1285 | ||
1286 | ||
1287 | static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1288 | PyObject *resultobj; | |
1289 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1290 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 1291 | int arg3 ; |
d14a1e28 RD |
1292 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1293 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1294 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1295 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1296 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1297 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1298 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1299 | bool result; | |
1300 | wxPoint temp4 ; | |
1301 | wxSize temp5 ; | |
e811c8ce | 1302 | bool temp7 = False ; |
d14a1e28 RD |
1303 | PyObject * obj0 = 0 ; |
1304 | PyObject * obj1 = 0 ; | |
994141e6 | 1305 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1306 | PyObject * obj3 = 0 ; |
1307 | PyObject * obj4 = 0 ; | |
994141e6 | 1308 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1309 | PyObject * obj6 = 0 ; |
1310 | char *kwnames[] = { | |
1311 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1312 | }; | |
1313 | ||
994141e6 | 1314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
1315 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, |
1316 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1317 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1318 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1319 | arg3 = (int const) SWIG_AsInt(obj2); | |
1320 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1321 | if (obj3) { |
1322 | { | |
1323 | arg4 = &temp4; | |
1324 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1325 | } | |
1326 | } | |
1327 | if (obj4) { | |
1328 | { | |
1329 | arg5 = &temp5; | |
1330 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1331 | } | |
1332 | } | |
994141e6 | 1333 | if (obj5) { |
15afbcd0 RD |
1334 | arg6 = (long) SWIG_AsLong(obj5); |
1335 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1336 | } |
d14a1e28 RD |
1337 | if (obj6) { |
1338 | { | |
1339 | arg7 = wxString_in_helper(obj6); | |
1340 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 1341 | temp7 = True; |
d14a1e28 RD |
1342 | } |
1343 | } | |
1344 | { | |
1345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1346 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1347 | ||
1348 | wxPyEndAllowThreads(__tstate); | |
1349 | if (PyErr_Occurred()) SWIG_fail; | |
1350 | } | |
4d5c3d91 | 1351 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
1352 | { |
1353 | if (temp7) | |
1354 | delete arg7; | |
1355 | } | |
1356 | return resultobj; | |
1357 | fail: | |
1358 | { | |
1359 | if (temp7) | |
1360 | delete arg7; | |
1361 | } | |
1362 | return NULL; | |
1363 | } | |
1364 | ||
1365 | ||
1366 | static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1367 | PyObject *resultobj; | |
1368 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1369 | PyObject * obj0 = 0 ; | |
1370 | char *kwnames[] = { | |
1371 | (char *) "self", NULL | |
1372 | }; | |
1373 | ||
1374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1375 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, |
1376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1377 | { |
1378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1379 | (arg1)->InitDialog(); | |
1380 | ||
1381 | wxPyEndAllowThreads(__tstate); | |
1382 | if (PyErr_Occurred()) SWIG_fail; | |
1383 | } | |
1384 | Py_INCREF(Py_None); resultobj = Py_None; | |
1385 | return resultobj; | |
1386 | fail: | |
1387 | return NULL; | |
1388 | } | |
1389 | ||
1390 | ||
1391 | static PyObject * Panel_swigregister(PyObject *self, PyObject *args) { | |
1392 | PyObject *obj; | |
1393 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1394 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
1395 | Py_INCREF(obj); | |
1396 | return Py_BuildValue((char *)""); | |
1397 | } | |
1398 | static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1399 | PyObject *resultobj; | |
1400 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1401 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1402 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1403 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1404 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1405 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1406 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
1407 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1408 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1409 | wxScrolledWindow *result; | |
1410 | wxPoint temp3 ; | |
1411 | wxSize temp4 ; | |
e811c8ce | 1412 | bool temp6 = False ; |
d14a1e28 | 1413 | PyObject * obj0 = 0 ; |
994141e6 | 1414 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1415 | PyObject * obj2 = 0 ; |
1416 | PyObject * obj3 = 0 ; | |
994141e6 | 1417 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1418 | PyObject * obj5 = 0 ; |
1419 | char *kwnames[] = { | |
1420 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1421 | }; | |
1422 | ||
994141e6 | 1423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
1424 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1425 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1426 | if (obj1) { |
15afbcd0 RD |
1427 | arg2 = (int const) SWIG_AsInt(obj1); |
1428 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1429 | } |
d14a1e28 RD |
1430 | if (obj2) { |
1431 | { | |
1432 | arg3 = &temp3; | |
1433 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1434 | } | |
1435 | } | |
1436 | if (obj3) { | |
1437 | { | |
1438 | arg4 = &temp4; | |
1439 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1440 | } | |
1441 | } | |
994141e6 | 1442 | if (obj4) { |
15afbcd0 RD |
1443 | arg5 = (long) SWIG_AsLong(obj4); |
1444 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1445 | } |
d14a1e28 RD |
1446 | if (obj5) { |
1447 | { | |
1448 | arg6 = wxString_in_helper(obj5); | |
1449 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 1450 | temp6 = True; |
d14a1e28 RD |
1451 | } |
1452 | } | |
1453 | { | |
1454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1455 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1456 | ||
1457 | wxPyEndAllowThreads(__tstate); | |
1458 | if (PyErr_Occurred()) SWIG_fail; | |
1459 | } | |
15afbcd0 | 1460 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
1461 | { |
1462 | if (temp6) | |
1463 | delete arg6; | |
1464 | } | |
1465 | return resultobj; | |
1466 | fail: | |
1467 | { | |
1468 | if (temp6) | |
1469 | delete arg6; | |
1470 | } | |
1471 | return NULL; | |
1472 | } | |
1473 | ||
1474 | ||
1475 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1476 | PyObject *resultobj; | |
1477 | wxScrolledWindow *result; | |
1478 | char *kwnames[] = { | |
1479 | NULL | |
1480 | }; | |
1481 | ||
1482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
1483 | { | |
1484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1485 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
1486 | ||
1487 | wxPyEndAllowThreads(__tstate); | |
1488 | if (PyErr_Occurred()) SWIG_fail; | |
1489 | } | |
15afbcd0 | 1490 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
1491 | return resultobj; |
1492 | fail: | |
1493 | return NULL; | |
1494 | } | |
1495 | ||
1496 | ||
1497 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1498 | PyObject *resultobj; | |
1499 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1500 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 1501 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
1502 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1503 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1504 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1505 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1506 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
1507 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1508 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1509 | bool result; | |
1510 | wxPoint temp4 ; | |
1511 | wxSize temp5 ; | |
e811c8ce | 1512 | bool temp7 = False ; |
d14a1e28 RD |
1513 | PyObject * obj0 = 0 ; |
1514 | PyObject * obj1 = 0 ; | |
994141e6 | 1515 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1516 | PyObject * obj3 = 0 ; |
1517 | PyObject * obj4 = 0 ; | |
994141e6 | 1518 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1519 | PyObject * obj6 = 0 ; |
1520 | char *kwnames[] = { | |
1521 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1522 | }; | |
1523 | ||
994141e6 | 1524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
1525 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1526 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1527 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1529 | if (obj2) { |
15afbcd0 RD |
1530 | arg3 = (int const) SWIG_AsInt(obj2); |
1531 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1532 | } |
d14a1e28 RD |
1533 | if (obj3) { |
1534 | { | |
1535 | arg4 = &temp4; | |
1536 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1537 | } | |
1538 | } | |
1539 | if (obj4) { | |
1540 | { | |
1541 | arg5 = &temp5; | |
1542 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1543 | } | |
1544 | } | |
994141e6 | 1545 | if (obj5) { |
15afbcd0 RD |
1546 | arg6 = (long) SWIG_AsLong(obj5); |
1547 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1548 | } |
d14a1e28 RD |
1549 | if (obj6) { |
1550 | { | |
1551 | arg7 = wxString_in_helper(obj6); | |
1552 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 1553 | temp7 = True; |
d14a1e28 RD |
1554 | } |
1555 | } | |
1556 | { | |
1557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1558 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1559 | ||
1560 | wxPyEndAllowThreads(__tstate); | |
1561 | if (PyErr_Occurred()) SWIG_fail; | |
1562 | } | |
4d5c3d91 | 1563 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
1564 | { |
1565 | if (temp7) | |
1566 | delete arg7; | |
1567 | } | |
1568 | return resultobj; | |
1569 | fail: | |
1570 | { | |
1571 | if (temp7) | |
1572 | delete arg7; | |
1573 | } | |
1574 | return NULL; | |
1575 | } | |
1576 | ||
1577 | ||
1578 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1579 | PyObject *resultobj; | |
1580 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1581 | int arg2 ; | |
1582 | int arg3 ; | |
1583 | int arg4 ; | |
1584 | int arg5 ; | |
1585 | int arg6 = (int) 0 ; | |
1586 | int arg7 = (int) 0 ; | |
e811c8ce | 1587 | bool arg8 = (bool) False ; |
d14a1e28 | 1588 | PyObject * obj0 = 0 ; |
994141e6 RD |
1589 | PyObject * obj1 = 0 ; |
1590 | PyObject * obj2 = 0 ; | |
1591 | PyObject * obj3 = 0 ; | |
1592 | PyObject * obj4 = 0 ; | |
1593 | PyObject * obj5 = 0 ; | |
1594 | PyObject * obj6 = 0 ; | |
d14a1e28 RD |
1595 | PyObject * obj7 = 0 ; |
1596 | char *kwnames[] = { | |
1597 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
1598 | }; | |
1599 | ||
994141e6 | 1600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
1601 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1602 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1603 | arg2 = (int) SWIG_AsInt(obj1); | |
1604 | if (PyErr_Occurred()) SWIG_fail; | |
1605 | arg3 = (int) SWIG_AsInt(obj2); | |
1606 | if (PyErr_Occurred()) SWIG_fail; | |
1607 | arg4 = (int) SWIG_AsInt(obj3); | |
1608 | if (PyErr_Occurred()) SWIG_fail; | |
1609 | arg5 = (int) SWIG_AsInt(obj4); | |
1610 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1611 | if (obj5) { |
15afbcd0 RD |
1612 | arg6 = (int) SWIG_AsInt(obj5); |
1613 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
1614 | } |
1615 | if (obj6) { | |
15afbcd0 RD |
1616 | arg7 = (int) SWIG_AsInt(obj6); |
1617 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1618 | } |
d14a1e28 | 1619 | if (obj7) { |
15afbcd0 RD |
1620 | arg8 = (bool) SWIG_AsBool(obj7); |
1621 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1622 | } |
1623 | { | |
1624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1625 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
1626 | ||
1627 | wxPyEndAllowThreads(__tstate); | |
1628 | if (PyErr_Occurred()) SWIG_fail; | |
1629 | } | |
1630 | Py_INCREF(Py_None); resultobj = Py_None; | |
1631 | return resultobj; | |
1632 | fail: | |
1633 | return NULL; | |
1634 | } | |
1635 | ||
1636 | ||
1637 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1638 | PyObject *resultobj; | |
1639 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1640 | int arg2 ; | |
1641 | int arg3 ; | |
1642 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1643 | PyObject * obj1 = 0 ; |
1644 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1645 | char *kwnames[] = { |
1646 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1647 | }; | |
1648 | ||
994141e6 | 1649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1650 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1651 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1652 | arg2 = (int) SWIG_AsInt(obj1); | |
1653 | if (PyErr_Occurred()) SWIG_fail; | |
1654 | arg3 = (int) SWIG_AsInt(obj2); | |
1655 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1656 | { |
1657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1658 | (arg1)->Scroll(arg2,arg3); | |
1659 | ||
1660 | wxPyEndAllowThreads(__tstate); | |
1661 | if (PyErr_Occurred()) SWIG_fail; | |
1662 | } | |
1663 | Py_INCREF(Py_None); resultobj = Py_None; | |
1664 | return resultobj; | |
1665 | fail: | |
1666 | return NULL; | |
1667 | } | |
1668 | ||
1669 | ||
1670 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1671 | PyObject *resultobj; | |
1672 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1673 | int arg2 ; | |
1674 | int result; | |
1675 | PyObject * obj0 = 0 ; | |
994141e6 | 1676 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1677 | char *kwnames[] = { |
1678 | (char *) "self",(char *) "orient", NULL | |
1679 | }; | |
1680 | ||
994141e6 | 1681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1682 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1683 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1684 | arg2 = (int) SWIG_AsInt(obj1); | |
1685 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1686 | { |
1687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1688 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
1689 | ||
1690 | wxPyEndAllowThreads(__tstate); | |
1691 | if (PyErr_Occurred()) SWIG_fail; | |
1692 | } | |
15afbcd0 | 1693 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
1694 | return resultobj; |
1695 | fail: | |
1696 | return NULL; | |
1697 | } | |
1698 | ||
1699 | ||
1700 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1701 | PyObject *resultobj; | |
1702 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1703 | int arg2 ; | |
1704 | int arg3 ; | |
1705 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1706 | PyObject * obj1 = 0 ; |
1707 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1708 | char *kwnames[] = { |
1709 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
1710 | }; | |
1711 | ||
994141e6 | 1712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1713 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1714 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1715 | arg2 = (int) SWIG_AsInt(obj1); | |
1716 | if (PyErr_Occurred()) SWIG_fail; | |
1717 | arg3 = (int) SWIG_AsInt(obj2); | |
1718 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1719 | { |
1720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1721 | (arg1)->SetScrollPageSize(arg2,arg3); | |
1722 | ||
1723 | wxPyEndAllowThreads(__tstate); | |
1724 | if (PyErr_Occurred()) SWIG_fail; | |
1725 | } | |
1726 | Py_INCREF(Py_None); resultobj = Py_None; | |
1727 | return resultobj; | |
1728 | fail: | |
1729 | return NULL; | |
1730 | } | |
1731 | ||
1732 | ||
1733 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1734 | PyObject *resultobj; | |
1735 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1736 | int arg2 ; | |
1737 | int arg3 ; | |
1738 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1739 | PyObject * obj1 = 0 ; |
1740 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1741 | char *kwnames[] = { |
1742 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
1743 | }; | |
1744 | ||
994141e6 | 1745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1746 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1747 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1748 | arg2 = (int) SWIG_AsInt(obj1); | |
1749 | if (PyErr_Occurred()) SWIG_fail; | |
1750 | arg3 = (int) SWIG_AsInt(obj2); | |
1751 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1752 | { |
1753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1754 | (arg1)->SetScrollRate(arg2,arg3); | |
1755 | ||
1756 | wxPyEndAllowThreads(__tstate); | |
1757 | if (PyErr_Occurred()) SWIG_fail; | |
1758 | } | |
1759 | Py_INCREF(Py_None); resultobj = Py_None; | |
1760 | return resultobj; | |
1761 | fail: | |
1762 | return NULL; | |
1763 | } | |
1764 | ||
1765 | ||
1766 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1767 | PyObject *resultobj; | |
1768 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1769 | int *arg2 = (int *) 0 ; | |
1770 | int *arg3 = (int *) 0 ; | |
1771 | int temp2 ; | |
1772 | int temp3 ; | |
1773 | PyObject * obj0 = 0 ; | |
1774 | char *kwnames[] = { | |
1775 | (char *) "self", NULL | |
1776 | }; | |
1777 | ||
1778 | arg2 = &temp2; | |
1779 | arg3 = &temp3; | |
1780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1781 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1782 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1783 | { |
1784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1785 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
1786 | ||
1787 | wxPyEndAllowThreads(__tstate); | |
1788 | if (PyErr_Occurred()) SWIG_fail; | |
1789 | } | |
1790 | Py_INCREF(Py_None); resultobj = Py_None; | |
1791 | { | |
1792 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1793 | resultobj = t_output_helper(resultobj,o); | |
1794 | } | |
1795 | { | |
1796 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1797 | resultobj = t_output_helper(resultobj,o); | |
1798 | } | |
1799 | return resultobj; | |
1800 | fail: | |
1801 | return NULL; | |
1802 | } | |
1803 | ||
1804 | ||
1805 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1806 | PyObject *resultobj; | |
1807 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1808 | bool arg2 ; | |
1809 | bool arg3 ; | |
1810 | PyObject * obj0 = 0 ; | |
1811 | PyObject * obj1 = 0 ; | |
1812 | PyObject * obj2 = 0 ; | |
1813 | char *kwnames[] = { | |
1814 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
1815 | }; | |
1816 | ||
1817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
1818 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1819 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1820 | arg2 = (bool) SWIG_AsBool(obj1); | |
1821 | if (PyErr_Occurred()) SWIG_fail; | |
1822 | arg3 = (bool) SWIG_AsBool(obj2); | |
1823 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1824 | { |
1825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1826 | (arg1)->EnableScrolling(arg2,arg3); | |
1827 | ||
1828 | wxPyEndAllowThreads(__tstate); | |
1829 | if (PyErr_Occurred()) SWIG_fail; | |
1830 | } | |
1831 | Py_INCREF(Py_None); resultobj = Py_None; | |
1832 | return resultobj; | |
1833 | fail: | |
1834 | return NULL; | |
1835 | } | |
1836 | ||
1837 | ||
1838 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1839 | PyObject *resultobj; | |
1840 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1841 | int *arg2 = (int *) 0 ; | |
1842 | int *arg3 = (int *) 0 ; | |
1843 | int temp2 ; | |
1844 | int temp3 ; | |
1845 | PyObject * obj0 = 0 ; | |
1846 | char *kwnames[] = { | |
1847 | (char *) "self", NULL | |
1848 | }; | |
1849 | ||
1850 | arg2 = &temp2; | |
1851 | arg3 = &temp3; | |
1852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1853 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1854 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1855 | { |
1856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1857 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
1858 | ||
1859 | wxPyEndAllowThreads(__tstate); | |
1860 | if (PyErr_Occurred()) SWIG_fail; | |
1861 | } | |
1862 | Py_INCREF(Py_None); resultobj = Py_None; | |
1863 | { | |
1864 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1865 | resultobj = t_output_helper(resultobj,o); | |
1866 | } | |
1867 | { | |
1868 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1869 | resultobj = t_output_helper(resultobj,o); | |
1870 | } | |
1871 | return resultobj; | |
1872 | fail: | |
1873 | return NULL; | |
1874 | } | |
1875 | ||
1876 | ||
1877 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1878 | PyObject *resultobj; | |
1879 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1880 | double arg2 ; | |
1881 | double arg3 ; | |
1882 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1883 | PyObject * obj1 = 0 ; |
1884 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1885 | char *kwnames[] = { |
1886 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
1887 | }; | |
1888 | ||
994141e6 | 1889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1890 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1891 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1892 | arg2 = (double) SWIG_AsDouble(obj1); | |
1893 | if (PyErr_Occurred()) SWIG_fail; | |
1894 | arg3 = (double) SWIG_AsDouble(obj2); | |
1895 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1896 | { |
1897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1898 | (arg1)->SetScale(arg2,arg3); | |
1899 | ||
1900 | wxPyEndAllowThreads(__tstate); | |
1901 | if (PyErr_Occurred()) SWIG_fail; | |
1902 | } | |
1903 | Py_INCREF(Py_None); resultobj = Py_None; | |
1904 | return resultobj; | |
1905 | fail: | |
1906 | return NULL; | |
1907 | } | |
1908 | ||
1909 | ||
1910 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1911 | PyObject *resultobj; | |
1912 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1913 | double result; | |
1914 | PyObject * obj0 = 0 ; | |
1915 | char *kwnames[] = { | |
1916 | (char *) "self", NULL | |
1917 | }; | |
1918 | ||
1919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1920 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1921 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1922 | { |
1923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1924 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
1925 | ||
1926 | wxPyEndAllowThreads(__tstate); | |
1927 | if (PyErr_Occurred()) SWIG_fail; | |
1928 | } | |
15afbcd0 | 1929 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
1930 | return resultobj; |
1931 | fail: | |
1932 | return NULL; | |
1933 | } | |
1934 | ||
1935 | ||
1936 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1937 | PyObject *resultobj; | |
1938 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1939 | double result; | |
1940 | PyObject * obj0 = 0 ; | |
1941 | char *kwnames[] = { | |
1942 | (char *) "self", NULL | |
1943 | }; | |
1944 | ||
1945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1946 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1947 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1948 | { |
1949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1950 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
1951 | ||
1952 | wxPyEndAllowThreads(__tstate); | |
1953 | if (PyErr_Occurred()) SWIG_fail; | |
1954 | } | |
15afbcd0 | 1955 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
1956 | return resultobj; |
1957 | fail: | |
1958 | return NULL; | |
1959 | } | |
1960 | ||
1961 | ||
1962 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
1963 | PyObject *resultobj; | |
1964 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
1965 | wxPoint *arg2 = 0 ; |
1966 | wxPoint result; | |
1967 | wxPoint temp2 ; | |
d14a1e28 | 1968 | PyObject * obj0 = 0 ; |
322913ce | 1969 | PyObject * obj1 = 0 ; |
d14a1e28 | 1970 | |
322913ce | 1971 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1972 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1973 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
322913ce RD |
1974 | { |
1975 | arg2 = &temp2; | |
1976 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
1977 | } | |
d14a1e28 RD |
1978 | { |
1979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 1980 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
1981 | |
1982 | wxPyEndAllowThreads(__tstate); | |
1983 | if (PyErr_Occurred()) SWIG_fail; | |
1984 | } | |
d14a1e28 | 1985 | { |
322913ce RD |
1986 | wxPoint * resultptr; |
1987 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 1988 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
1989 | } |
1990 | return resultobj; | |
1991 | fail: | |
1992 | return NULL; | |
1993 | } | |
1994 | ||
1995 | ||
1996 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
1997 | PyObject *resultobj; | |
1998 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
1999 | int arg2 ; |
2000 | int arg3 ; | |
2001 | int *arg4 = (int *) 0 ; | |
2002 | int *arg5 = (int *) 0 ; | |
2003 | int temp4 ; | |
2004 | int temp5 ; | |
d14a1e28 | 2005 | PyObject * obj0 = 0 ; |
994141e6 RD |
2006 | PyObject * obj1 = 0 ; |
2007 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2008 | |
322913ce RD |
2009 | arg4 = &temp4; |
2010 | arg5 = &temp5; | |
994141e6 | 2011 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2012 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2013 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2014 | arg2 = (int) SWIG_AsInt(obj1); | |
2015 | if (PyErr_Occurred()) SWIG_fail; | |
2016 | arg3 = (int) SWIG_AsInt(obj2); | |
2017 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2018 | { |
2019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2020 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2021 | |
2022 | wxPyEndAllowThreads(__tstate); | |
2023 | if (PyErr_Occurred()) SWIG_fail; | |
2024 | } | |
322913ce | 2025 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 2026 | { |
322913ce RD |
2027 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
2028 | resultobj = t_output_helper(resultobj,o); | |
2029 | } | |
2030 | { | |
2031 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
2032 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
2033 | } |
2034 | return resultobj; | |
2035 | fail: | |
2036 | return NULL; | |
2037 | } | |
2038 | ||
2039 | ||
2040 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
2041 | int argc; | |
2042 | PyObject *argv[4]; | |
2043 | int ii; | |
2044 | ||
2045 | argc = PyObject_Length(args); | |
2046 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2047 | argv[ii] = PyTuple_GetItem(args,ii); | |
2048 | } | |
2049 | if (argc == 2) { | |
2050 | int _v; | |
2051 | { | |
2052 | void *ptr; | |
15afbcd0 | 2053 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2054 | _v = 0; |
2055 | PyErr_Clear(); | |
2056 | } else { | |
2057 | _v = 1; | |
2058 | } | |
2059 | } | |
2060 | if (_v) { | |
2061 | { | |
2062 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2063 | } | |
2064 | if (_v) { | |
322913ce | 2065 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2066 | } |
2067 | } | |
2068 | } | |
2069 | if (argc == 3) { | |
2070 | int _v; | |
2071 | { | |
2072 | void *ptr; | |
15afbcd0 | 2073 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2074 | _v = 0; |
2075 | PyErr_Clear(); | |
2076 | } else { | |
2077 | _v = 1; | |
2078 | } | |
2079 | } | |
2080 | if (_v) { | |
15afbcd0 | 2081 | _v = SWIG_CheckInt(argv[1]); |
d14a1e28 | 2082 | if (_v) { |
15afbcd0 | 2083 | _v = SWIG_CheckInt(argv[2]); |
d14a1e28 | 2084 | if (_v) { |
322913ce | 2085 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2086 | } |
2087 | } | |
2088 | } | |
2089 | } | |
2090 | ||
2091 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); | |
2092 | return NULL; | |
2093 | } | |
2094 | ||
2095 | ||
2096 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
2097 | PyObject *resultobj; | |
2098 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2099 | wxPoint *arg2 = 0 ; |
2100 | wxPoint result; | |
2101 | wxPoint temp2 ; | |
d14a1e28 | 2102 | PyObject * obj0 = 0 ; |
322913ce | 2103 | PyObject * obj1 = 0 ; |
d14a1e28 | 2104 | |
322913ce | 2105 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2106 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2107 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
322913ce RD |
2108 | { |
2109 | arg2 = &temp2; | |
2110 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2111 | } | |
d14a1e28 RD |
2112 | { |
2113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2114 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
2115 | |
2116 | wxPyEndAllowThreads(__tstate); | |
2117 | if (PyErr_Occurred()) SWIG_fail; | |
2118 | } | |
d14a1e28 | 2119 | { |
322913ce RD |
2120 | wxPoint * resultptr; |
2121 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 2122 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
2123 | } |
2124 | return resultobj; | |
2125 | fail: | |
2126 | return NULL; | |
2127 | } | |
2128 | ||
2129 | ||
2130 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
2131 | PyObject *resultobj; | |
2132 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2133 | int arg2 ; |
2134 | int arg3 ; | |
2135 | int *arg4 = (int *) 0 ; | |
2136 | int *arg5 = (int *) 0 ; | |
2137 | int temp4 ; | |
2138 | int temp5 ; | |
d14a1e28 | 2139 | PyObject * obj0 = 0 ; |
994141e6 RD |
2140 | PyObject * obj1 = 0 ; |
2141 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2142 | |
322913ce RD |
2143 | arg4 = &temp4; |
2144 | arg5 = &temp5; | |
994141e6 | 2145 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2146 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2147 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2148 | arg2 = (int) SWIG_AsInt(obj1); | |
2149 | if (PyErr_Occurred()) SWIG_fail; | |
2150 | arg3 = (int) SWIG_AsInt(obj2); | |
2151 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2152 | { |
2153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2154 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2155 | |
2156 | wxPyEndAllowThreads(__tstate); | |
2157 | if (PyErr_Occurred()) SWIG_fail; | |
2158 | } | |
322913ce | 2159 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 2160 | { |
322913ce RD |
2161 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
2162 | resultobj = t_output_helper(resultobj,o); | |
2163 | } | |
2164 | { | |
2165 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
2166 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
2167 | } |
2168 | return resultobj; | |
2169 | fail: | |
2170 | return NULL; | |
2171 | } | |
2172 | ||
2173 | ||
2174 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
2175 | int argc; | |
2176 | PyObject *argv[4]; | |
2177 | int ii; | |
2178 | ||
2179 | argc = PyObject_Length(args); | |
2180 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2181 | argv[ii] = PyTuple_GetItem(args,ii); | |
2182 | } | |
2183 | if (argc == 2) { | |
2184 | int _v; | |
2185 | { | |
2186 | void *ptr; | |
15afbcd0 | 2187 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2188 | _v = 0; |
2189 | PyErr_Clear(); | |
2190 | } else { | |
2191 | _v = 1; | |
2192 | } | |
2193 | } | |
2194 | if (_v) { | |
2195 | { | |
2196 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2197 | } | |
2198 | if (_v) { | |
322913ce | 2199 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2200 | } |
2201 | } | |
2202 | } | |
2203 | if (argc == 3) { | |
2204 | int _v; | |
2205 | { | |
2206 | void *ptr; | |
15afbcd0 | 2207 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2208 | _v = 0; |
2209 | PyErr_Clear(); | |
2210 | } else { | |
2211 | _v = 1; | |
2212 | } | |
2213 | } | |
2214 | if (_v) { | |
15afbcd0 | 2215 | _v = SWIG_CheckInt(argv[1]); |
d14a1e28 | 2216 | if (_v) { |
15afbcd0 | 2217 | _v = SWIG_CheckInt(argv[2]); |
d14a1e28 | 2218 | if (_v) { |
322913ce | 2219 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2220 | } |
2221 | } | |
2222 | } | |
2223 | } | |
2224 | ||
2225 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); | |
2226 | return NULL; | |
2227 | } | |
2228 | ||
2229 | ||
2230 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2231 | PyObject *resultobj; | |
2232 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2233 | PyObject * obj0 = 0 ; | |
2234 | char *kwnames[] = { | |
2235 | (char *) "self", NULL | |
2236 | }; | |
2237 | ||
2238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2239 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2240 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2241 | { |
2242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2243 | (arg1)->AdjustScrollbars(); | |
2244 | ||
2245 | wxPyEndAllowThreads(__tstate); | |
2246 | if (PyErr_Occurred()) SWIG_fail; | |
2247 | } | |
2248 | Py_INCREF(Py_None); resultobj = Py_None; | |
2249 | return resultobj; | |
2250 | fail: | |
2251 | return NULL; | |
2252 | } | |
2253 | ||
2254 | ||
2255 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2256 | PyObject *resultobj; | |
2257 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2258 | wxScrollWinEvent *arg2 = 0 ; | |
2259 | int result; | |
2260 | PyObject * obj0 = 0 ; | |
2261 | PyObject * obj1 = 0 ; | |
2262 | char *kwnames[] = { | |
2263 | (char *) "self",(char *) "event", NULL | |
2264 | }; | |
2265 | ||
2266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2267 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2268 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2269 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent, | |
2270 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2271 | SWIG_fail; | |
d14a1e28 | 2272 | if (arg2 == NULL) { |
15afbcd0 RD |
2273 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2274 | SWIG_fail; | |
d14a1e28 RD |
2275 | } |
2276 | { | |
2277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2278 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
2279 | ||
2280 | wxPyEndAllowThreads(__tstate); | |
2281 | if (PyErr_Occurred()) SWIG_fail; | |
2282 | } | |
15afbcd0 | 2283 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
2284 | return resultobj; |
2285 | fail: | |
2286 | return NULL; | |
2287 | } | |
2288 | ||
2289 | ||
2290 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2291 | PyObject *resultobj; | |
2292 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2293 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2294 | PyObject * obj0 = 0 ; | |
2295 | PyObject * obj1 = 0 ; | |
2296 | char *kwnames[] = { | |
2297 | (char *) "self",(char *) "target", NULL | |
2298 | }; | |
2299 | ||
2300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2301 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2302 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2303 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
2304 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2305 | { |
2306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2307 | (arg1)->SetTargetWindow(arg2); | |
2308 | ||
2309 | wxPyEndAllowThreads(__tstate); | |
2310 | if (PyErr_Occurred()) SWIG_fail; | |
2311 | } | |
2312 | Py_INCREF(Py_None); resultobj = Py_None; | |
2313 | return resultobj; | |
2314 | fail: | |
2315 | return NULL; | |
2316 | } | |
2317 | ||
2318 | ||
2319 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2320 | PyObject *resultobj; | |
2321 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2322 | wxWindow *result; | |
2323 | PyObject * obj0 = 0 ; | |
2324 | char *kwnames[] = { | |
2325 | (char *) "self", NULL | |
2326 | }; | |
2327 | ||
2328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2329 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2330 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2331 | { |
2332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2333 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
2334 | ||
2335 | wxPyEndAllowThreads(__tstate); | |
2336 | if (PyErr_Occurred()) SWIG_fail; | |
2337 | } | |
2338 | { | |
2339 | resultobj = wxPyMake_wxObject(result); | |
2340 | } | |
2341 | return resultobj; | |
2342 | fail: | |
2343 | return NULL; | |
2344 | } | |
2345 | ||
2346 | ||
2347 | static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
2348 | PyObject *obj; | |
2349 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2350 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
2351 | Py_INCREF(obj); | |
2352 | return Py_BuildValue((char *)""); | |
2353 | } | |
b2dc1044 RD |
2354 | static int _wrap_FrameNameStr_set(PyObject *_val) { |
2355 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); | |
2356 | return 1; | |
2357 | } | |
2358 | ||
2359 | ||
2360 | static PyObject *_wrap_FrameNameStr_get() { | |
2361 | PyObject *pyobj; | |
2362 | ||
2363 | { | |
2364 | #if wxUSE_UNICODE | |
2365 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2366 | #else | |
2367 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2368 | #endif | |
2369 | } | |
2370 | return pyobj; | |
2371 | } | |
2372 | ||
2373 | ||
2374 | static int _wrap_DialogNameStr_set(PyObject *_val) { | |
2375 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); | |
2376 | return 1; | |
2377 | } | |
2378 | ||
2379 | ||
2380 | static PyObject *_wrap_DialogNameStr_get() { | |
2381 | PyObject *pyobj; | |
2382 | ||
2383 | { | |
2384 | #if wxUSE_UNICODE | |
2385 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2386 | #else | |
2387 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2388 | #endif | |
2389 | } | |
2390 | return pyobj; | |
2391 | } | |
2392 | ||
2393 | ||
2394 | static int _wrap_StatusLineNameStr_set(PyObject *_val) { | |
2395 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); | |
2396 | return 1; | |
2397 | } | |
2398 | ||
2399 | ||
2400 | static PyObject *_wrap_StatusLineNameStr_get() { | |
2401 | PyObject *pyobj; | |
2402 | ||
2403 | { | |
2404 | #if wxUSE_UNICODE | |
2405 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2406 | #else | |
2407 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2408 | #endif | |
2409 | } | |
2410 | return pyobj; | |
2411 | } | |
2412 | ||
2413 | ||
2414 | static int _wrap_ToolBarNameStr_set(PyObject *_val) { | |
2415 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); | |
2416 | return 1; | |
2417 | } | |
2418 | ||
2419 | ||
2420 | static PyObject *_wrap_ToolBarNameStr_get() { | |
2421 | PyObject *pyobj; | |
2422 | ||
2423 | { | |
2424 | #if wxUSE_UNICODE | |
2425 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2426 | #else | |
2427 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2428 | #endif | |
2429 | } | |
2430 | return pyobj; | |
2431 | } | |
2432 | ||
2433 | ||
d14a1e28 RD |
2434 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { |
2435 | PyObject *resultobj; | |
2436 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
e811c8ce | 2437 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2438 | PyObject * obj0 = 0 ; |
2439 | PyObject * obj1 = 0 ; | |
2440 | char *kwnames[] = { | |
2441 | (char *) "self",(char *) "maximize", NULL | |
2442 | }; | |
2443 | ||
2444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2445 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2446 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2447 | if (obj1) { |
15afbcd0 RD |
2448 | arg2 = (bool) SWIG_AsBool(obj1); |
2449 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2450 | } |
2451 | { | |
2452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2453 | (arg1)->Maximize(arg2); | |
2454 | ||
2455 | wxPyEndAllowThreads(__tstate); | |
2456 | if (PyErr_Occurred()) SWIG_fail; | |
2457 | } | |
2458 | Py_INCREF(Py_None); resultobj = Py_None; | |
2459 | return resultobj; | |
2460 | fail: | |
2461 | return NULL; | |
2462 | } | |
2463 | ||
2464 | ||
2465 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2466 | PyObject *resultobj; | |
2467 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2468 | PyObject * obj0 = 0 ; | |
2469 | char *kwnames[] = { | |
2470 | (char *) "self", NULL | |
2471 | }; | |
2472 | ||
2473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2474 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2476 | { |
2477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2478 | (arg1)->Restore(); | |
2479 | ||
2480 | wxPyEndAllowThreads(__tstate); | |
2481 | if (PyErr_Occurred()) SWIG_fail; | |
2482 | } | |
2483 | Py_INCREF(Py_None); resultobj = Py_None; | |
2484 | return resultobj; | |
2485 | fail: | |
2486 | return NULL; | |
2487 | } | |
2488 | ||
2489 | ||
2490 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2491 | PyObject *resultobj; | |
2492 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
e811c8ce | 2493 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2494 | PyObject * obj0 = 0 ; |
2495 | PyObject * obj1 = 0 ; | |
2496 | char *kwnames[] = { | |
2497 | (char *) "self",(char *) "iconize", NULL | |
2498 | }; | |
2499 | ||
2500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2501 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2502 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2503 | if (obj1) { |
15afbcd0 RD |
2504 | arg2 = (bool) SWIG_AsBool(obj1); |
2505 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2506 | } |
2507 | { | |
2508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2509 | (arg1)->Iconize(arg2); | |
2510 | ||
2511 | wxPyEndAllowThreads(__tstate); | |
2512 | if (PyErr_Occurred()) SWIG_fail; | |
2513 | } | |
2514 | Py_INCREF(Py_None); resultobj = Py_None; | |
2515 | return resultobj; | |
2516 | fail: | |
2517 | return NULL; | |
2518 | } | |
2519 | ||
2520 | ||
2521 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2522 | PyObject *resultobj; | |
2523 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2524 | bool result; | |
2525 | PyObject * obj0 = 0 ; | |
2526 | char *kwnames[] = { | |
2527 | (char *) "self", NULL | |
2528 | }; | |
2529 | ||
2530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2533 | { |
2534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2535 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
2536 | ||
2537 | wxPyEndAllowThreads(__tstate); | |
2538 | if (PyErr_Occurred()) SWIG_fail; | |
2539 | } | |
4d5c3d91 | 2540 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2541 | return resultobj; |
2542 | fail: | |
2543 | return NULL; | |
2544 | } | |
2545 | ||
2546 | ||
2547 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2548 | PyObject *resultobj; | |
2549 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2550 | bool result; | |
2551 | PyObject * obj0 = 0 ; | |
2552 | char *kwnames[] = { | |
2553 | (char *) "self", NULL | |
2554 | }; | |
2555 | ||
2556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2557 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2558 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2559 | { |
2560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2561 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
2562 | ||
2563 | wxPyEndAllowThreads(__tstate); | |
2564 | if (PyErr_Occurred()) SWIG_fail; | |
2565 | } | |
4d5c3d91 | 2566 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2567 | return resultobj; |
2568 | fail: | |
2569 | return NULL; | |
2570 | } | |
2571 | ||
2572 | ||
2573 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2574 | PyObject *resultobj; | |
2575 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2576 | wxIcon result; | |
2577 | PyObject * obj0 = 0 ; | |
2578 | char *kwnames[] = { | |
2579 | (char *) "self", NULL | |
2580 | }; | |
2581 | ||
2582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2583 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2584 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2585 | { |
2586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2587 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
2588 | ||
2589 | wxPyEndAllowThreads(__tstate); | |
2590 | if (PyErr_Occurred()) SWIG_fail; | |
2591 | } | |
2592 | { | |
2593 | wxIcon * resultptr; | |
2594 | resultptr = new wxIcon((wxIcon &) result); | |
15afbcd0 | 2595 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); |
d14a1e28 RD |
2596 | } |
2597 | return resultobj; | |
2598 | fail: | |
2599 | return NULL; | |
2600 | } | |
2601 | ||
2602 | ||
2603 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2604 | PyObject *resultobj; | |
2605 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2606 | wxIcon *arg2 = 0 ; | |
2607 | PyObject * obj0 = 0 ; | |
2608 | PyObject * obj1 = 0 ; | |
2609 | char *kwnames[] = { | |
2610 | (char *) "self",(char *) "icon", NULL | |
2611 | }; | |
2612 | ||
2613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2614 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2616 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
2617 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2618 | SWIG_fail; | |
d14a1e28 | 2619 | if (arg2 == NULL) { |
15afbcd0 RD |
2620 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2621 | SWIG_fail; | |
d14a1e28 RD |
2622 | } |
2623 | { | |
2624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2625 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
2626 | ||
2627 | wxPyEndAllowThreads(__tstate); | |
2628 | if (PyErr_Occurred()) SWIG_fail; | |
2629 | } | |
2630 | Py_INCREF(Py_None); resultobj = Py_None; | |
2631 | return resultobj; | |
2632 | fail: | |
2633 | return NULL; | |
2634 | } | |
2635 | ||
2636 | ||
2637 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2638 | PyObject *resultobj; | |
2639 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2640 | wxIconBundle *arg2 = 0 ; | |
2641 | PyObject * obj0 = 0 ; | |
2642 | PyObject * obj1 = 0 ; | |
2643 | char *kwnames[] = { | |
2644 | (char *) "self",(char *) "icons", NULL | |
2645 | }; | |
2646 | ||
2647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2648 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2649 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2650 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle, | |
2651 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2652 | SWIG_fail; | |
d14a1e28 | 2653 | if (arg2 == NULL) { |
15afbcd0 RD |
2654 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2655 | SWIG_fail; | |
d14a1e28 RD |
2656 | } |
2657 | { | |
2658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2659 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
2660 | ||
2661 | wxPyEndAllowThreads(__tstate); | |
2662 | if (PyErr_Occurred()) SWIG_fail; | |
2663 | } | |
2664 | Py_INCREF(Py_None); resultobj = Py_None; | |
2665 | return resultobj; | |
2666 | fail: | |
2667 | return NULL; | |
2668 | } | |
2669 | ||
2670 | ||
2671 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2672 | PyObject *resultobj; | |
2673 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2674 | bool arg2 ; | |
2675 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
2676 | bool result; | |
2677 | PyObject * obj0 = 0 ; | |
2678 | PyObject * obj1 = 0 ; | |
994141e6 | 2679 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
2680 | char *kwnames[] = { |
2681 | (char *) "self",(char *) "show",(char *) "style", NULL | |
2682 | }; | |
2683 | ||
994141e6 | 2684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2685 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2686 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2687 | arg2 = (bool) SWIG_AsBool(obj1); | |
2688 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 2689 | if (obj2) { |
15afbcd0 RD |
2690 | arg3 = (long) SWIG_AsLong(obj2); |
2691 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 2692 | } |
d14a1e28 RD |
2693 | { |
2694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2695 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
2696 | ||
2697 | wxPyEndAllowThreads(__tstate); | |
2698 | if (PyErr_Occurred()) SWIG_fail; | |
2699 | } | |
4d5c3d91 | 2700 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2701 | return resultobj; |
2702 | fail: | |
2703 | return NULL; | |
2704 | } | |
2705 | ||
2706 | ||
2707 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2708 | PyObject *resultobj; | |
2709 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2710 | bool result; | |
2711 | PyObject * obj0 = 0 ; | |
2712 | char *kwnames[] = { | |
2713 | (char *) "self", NULL | |
2714 | }; | |
2715 | ||
2716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2717 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2719 | { |
2720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2721 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
2722 | ||
2723 | wxPyEndAllowThreads(__tstate); | |
2724 | if (PyErr_Occurred()) SWIG_fail; | |
2725 | } | |
4d5c3d91 | 2726 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2727 | return resultobj; |
2728 | fail: | |
2729 | return NULL; | |
2730 | } | |
2731 | ||
2732 | ||
2733 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2734 | PyObject *resultobj; | |
2735 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2736 | wxString *arg2 = 0 ; | |
e811c8ce | 2737 | bool temp2 = False ; |
d14a1e28 RD |
2738 | PyObject * obj0 = 0 ; |
2739 | PyObject * obj1 = 0 ; | |
2740 | char *kwnames[] = { | |
2741 | (char *) "self",(char *) "title", NULL | |
2742 | }; | |
2743 | ||
2744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2745 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2746 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2747 | { |
2748 | arg2 = wxString_in_helper(obj1); | |
2749 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 2750 | temp2 = True; |
d14a1e28 RD |
2751 | } |
2752 | { | |
2753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2754 | (arg1)->SetTitle((wxString const &)*arg2); | |
2755 | ||
2756 | wxPyEndAllowThreads(__tstate); | |
2757 | if (PyErr_Occurred()) SWIG_fail; | |
2758 | } | |
2759 | Py_INCREF(Py_None); resultobj = Py_None; | |
2760 | { | |
2761 | if (temp2) | |
2762 | delete arg2; | |
2763 | } | |
2764 | return resultobj; | |
2765 | fail: | |
2766 | { | |
2767 | if (temp2) | |
2768 | delete arg2; | |
2769 | } | |
2770 | return NULL; | |
2771 | } | |
2772 | ||
2773 | ||
2774 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2775 | PyObject *resultobj; | |
2776 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2777 | wxString result; | |
2778 | PyObject * obj0 = 0 ; | |
2779 | char *kwnames[] = { | |
2780 | (char *) "self", NULL | |
2781 | }; | |
2782 | ||
2783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2784 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2785 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2786 | { |
2787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2788 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
2789 | ||
2790 | wxPyEndAllowThreads(__tstate); | |
2791 | if (PyErr_Occurred()) SWIG_fail; | |
2792 | } | |
2793 | { | |
2794 | #if wxUSE_UNICODE | |
2795 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2796 | #else | |
2797 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2798 | #endif | |
2799 | } | |
2800 | return resultobj; | |
2801 | fail: | |
2802 | return NULL; | |
2803 | } | |
2804 | ||
2805 | ||
2806 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2807 | PyObject *resultobj; | |
2808 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2809 | wxRegion *arg2 = 0 ; | |
2810 | bool result; | |
2811 | PyObject * obj0 = 0 ; | |
2812 | PyObject * obj1 = 0 ; | |
2813 | char *kwnames[] = { | |
2814 | (char *) "self",(char *) "region", NULL | |
2815 | }; | |
2816 | ||
2817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2818 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2819 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2820 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion, | |
2821 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2822 | SWIG_fail; | |
d14a1e28 | 2823 | if (arg2 == NULL) { |
15afbcd0 RD |
2824 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2825 | SWIG_fail; | |
d14a1e28 RD |
2826 | } |
2827 | { | |
2828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2829 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
2830 | ||
2831 | wxPyEndAllowThreads(__tstate); | |
2832 | if (PyErr_Occurred()) SWIG_fail; | |
2833 | } | |
4d5c3d91 | 2834 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2835 | return resultobj; |
2836 | fail: | |
2837 | return NULL; | |
2838 | } | |
2839 | ||
2840 | ||
2841 | static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) { | |
2842 | PyObject *obj; | |
2843 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2844 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
2845 | Py_INCREF(obj); | |
2846 | return Py_BuildValue((char *)""); | |
2847 | } | |
2848 | static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2849 | PyObject *resultobj; | |
2850 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 2851 | int arg2 ; |
d14a1e28 RD |
2852 | wxString *arg3 = 0 ; |
2853 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2854 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2855 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2856 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2857 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
2858 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
2859 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2860 | wxFrame *result; | |
e811c8ce | 2861 | bool temp3 = False ; |
d14a1e28 RD |
2862 | wxPoint temp4 ; |
2863 | wxSize temp5 ; | |
e811c8ce | 2864 | bool temp7 = False ; |
d14a1e28 | 2865 | PyObject * obj0 = 0 ; |
994141e6 | 2866 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2867 | PyObject * obj2 = 0 ; |
2868 | PyObject * obj3 = 0 ; | |
2869 | PyObject * obj4 = 0 ; | |
994141e6 | 2870 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
2871 | PyObject * obj6 = 0 ; |
2872 | char *kwnames[] = { | |
2873 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2874 | }; | |
2875 | ||
994141e6 | 2876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
2877 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
2878 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2879 | arg2 = (int const) SWIG_AsInt(obj1); | |
2880 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2881 | { |
2882 | arg3 = wxString_in_helper(obj2); | |
2883 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 2884 | temp3 = True; |
d14a1e28 RD |
2885 | } |
2886 | if (obj3) { | |
2887 | { | |
2888 | arg4 = &temp4; | |
2889 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2890 | } | |
2891 | } | |
2892 | if (obj4) { | |
2893 | { | |
2894 | arg5 = &temp5; | |
2895 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2896 | } | |
2897 | } | |
994141e6 | 2898 | if (obj5) { |
15afbcd0 RD |
2899 | arg6 = (long) SWIG_AsLong(obj5); |
2900 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 2901 | } |
d14a1e28 RD |
2902 | if (obj6) { |
2903 | { | |
2904 | arg7 = wxString_in_helper(obj6); | |
2905 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 2906 | temp7 = True; |
d14a1e28 RD |
2907 | } |
2908 | } | |
2909 | { | |
2910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2911 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2912 | ||
2913 | wxPyEndAllowThreads(__tstate); | |
2914 | if (PyErr_Occurred()) SWIG_fail; | |
2915 | } | |
2916 | { | |
2917 | resultobj = wxPyMake_wxObject(result); | |
2918 | } | |
2919 | { | |
2920 | if (temp3) | |
2921 | delete arg3; | |
2922 | } | |
2923 | { | |
2924 | if (temp7) | |
2925 | delete arg7; | |
2926 | } | |
2927 | return resultobj; | |
2928 | fail: | |
2929 | { | |
2930 | if (temp3) | |
2931 | delete arg3; | |
2932 | } | |
2933 | { | |
2934 | if (temp7) | |
2935 | delete arg7; | |
2936 | } | |
2937 | return NULL; | |
2938 | } | |
2939 | ||
2940 | ||
2941 | static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2942 | PyObject *resultobj; | |
2943 | wxFrame *result; | |
2944 | char *kwnames[] = { | |
2945 | NULL | |
2946 | }; | |
2947 | ||
2948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
2949 | { | |
2950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2951 | result = (wxFrame *)new wxFrame(); | |
2952 | ||
2953 | wxPyEndAllowThreads(__tstate); | |
2954 | if (PyErr_Occurred()) SWIG_fail; | |
2955 | } | |
2956 | { | |
2957 | resultobj = wxPyMake_wxObject(result); | |
2958 | } | |
2959 | return resultobj; | |
2960 | fail: | |
2961 | return NULL; | |
2962 | } | |
2963 | ||
2964 | ||
2965 | static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2966 | PyObject *resultobj; | |
2967 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2968 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 2969 | int arg3 ; |
d14a1e28 RD |
2970 | wxString *arg4 = 0 ; |
2971 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
2972 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
2973 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
2974 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
2975 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
2976 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
2977 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
2978 | bool result; | |
e811c8ce | 2979 | bool temp4 = False ; |
d14a1e28 RD |
2980 | wxPoint temp5 ; |
2981 | wxSize temp6 ; | |
e811c8ce | 2982 | bool temp8 = False ; |
d14a1e28 RD |
2983 | PyObject * obj0 = 0 ; |
2984 | PyObject * obj1 = 0 ; | |
994141e6 | 2985 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
2986 | PyObject * obj3 = 0 ; |
2987 | PyObject * obj4 = 0 ; | |
2988 | PyObject * obj5 = 0 ; | |
994141e6 | 2989 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
2990 | PyObject * obj7 = 0 ; |
2991 | char *kwnames[] = { | |
2992 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2993 | }; | |
2994 | ||
994141e6 | 2995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
2996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
2997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2998 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
2999 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3000 | arg3 = (int const) SWIG_AsInt(obj2); | |
3001 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3002 | { |
3003 | arg4 = wxString_in_helper(obj3); | |
3004 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 3005 | temp4 = True; |
d14a1e28 RD |
3006 | } |
3007 | if (obj4) { | |
3008 | { | |
3009 | arg5 = &temp5; | |
3010 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3011 | } | |
3012 | } | |
3013 | if (obj5) { | |
3014 | { | |
3015 | arg6 = &temp6; | |
3016 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3017 | } | |
3018 | } | |
994141e6 | 3019 | if (obj6) { |
15afbcd0 RD |
3020 | arg7 = (long) SWIG_AsLong(obj6); |
3021 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3022 | } |
d14a1e28 RD |
3023 | if (obj7) { |
3024 | { | |
3025 | arg8 = wxString_in_helper(obj7); | |
3026 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 3027 | temp8 = True; |
d14a1e28 RD |
3028 | } |
3029 | } | |
3030 | { | |
3031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3032 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3033 | ||
3034 | wxPyEndAllowThreads(__tstate); | |
3035 | if (PyErr_Occurred()) SWIG_fail; | |
3036 | } | |
4d5c3d91 | 3037 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
3038 | { |
3039 | if (temp4) | |
3040 | delete arg4; | |
3041 | } | |
3042 | { | |
3043 | if (temp8) | |
3044 | delete arg8; | |
3045 | } | |
3046 | return resultobj; | |
3047 | fail: | |
3048 | { | |
3049 | if (temp4) | |
3050 | delete arg4; | |
3051 | } | |
3052 | { | |
3053 | if (temp8) | |
3054 | delete arg8; | |
3055 | } | |
3056 | return NULL; | |
3057 | } | |
3058 | ||
3059 | ||
3060 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3061 | PyObject *resultobj; | |
3062 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3063 | wxPoint result; | |
3064 | PyObject * obj0 = 0 ; | |
3065 | char *kwnames[] = { | |
3066 | (char *) "self", NULL | |
3067 | }; | |
3068 | ||
3069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3070 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3071 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3072 | { |
3073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3074 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
3075 | ||
3076 | wxPyEndAllowThreads(__tstate); | |
3077 | if (PyErr_Occurred()) SWIG_fail; | |
3078 | } | |
3079 | { | |
3080 | wxPoint * resultptr; | |
3081 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 3082 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
3083 | } |
3084 | return resultobj; | |
3085 | fail: | |
3086 | return NULL; | |
3087 | } | |
3088 | ||
3089 | ||
3090 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3091 | PyObject *resultobj; | |
3092 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3093 | PyObject * obj0 = 0 ; | |
3094 | char *kwnames[] = { | |
3095 | (char *) "self", NULL | |
3096 | }; | |
3097 | ||
3098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3099 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3100 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3101 | { |
3102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3103 | (arg1)->SendSizeEvent(); | |
3104 | ||
3105 | wxPyEndAllowThreads(__tstate); | |
3106 | if (PyErr_Occurred()) SWIG_fail; | |
3107 | } | |
3108 | Py_INCREF(Py_None); resultobj = Py_None; | |
3109 | return resultobj; | |
3110 | fail: | |
3111 | return NULL; | |
3112 | } | |
3113 | ||
3114 | ||
3115 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3116 | PyObject *resultobj; | |
3117 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3118 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
3119 | PyObject * obj0 = 0 ; | |
3120 | PyObject * obj1 = 0 ; | |
3121 | char *kwnames[] = { | |
3122 | (char *) "self",(char *) "menubar", NULL | |
3123 | }; | |
3124 | ||
3125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3126 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3127 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3128 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar, | |
3129 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3130 | { |
3131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3132 | (arg1)->SetMenuBar(arg2); | |
3133 | ||
3134 | wxPyEndAllowThreads(__tstate); | |
3135 | if (PyErr_Occurred()) SWIG_fail; | |
3136 | } | |
3137 | Py_INCREF(Py_None); resultobj = Py_None; | |
3138 | return resultobj; | |
3139 | fail: | |
3140 | return NULL; | |
3141 | } | |
3142 | ||
3143 | ||
3144 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3145 | PyObject *resultobj; | |
3146 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3147 | wxMenuBar *result; | |
3148 | PyObject * obj0 = 0 ; | |
3149 | char *kwnames[] = { | |
3150 | (char *) "self", NULL | |
3151 | }; | |
3152 | ||
3153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3154 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3155 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3156 | { |
3157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3158 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
3159 | ||
3160 | wxPyEndAllowThreads(__tstate); | |
3161 | if (PyErr_Occurred()) SWIG_fail; | |
3162 | } | |
3163 | { | |
3164 | resultobj = wxPyMake_wxObject(result); | |
3165 | } | |
3166 | return resultobj; | |
3167 | fail: | |
3168 | return NULL; | |
3169 | } | |
3170 | ||
3171 | ||
3172 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3173 | PyObject *resultobj; | |
3174 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3175 | int arg2 ; | |
3176 | bool result; | |
3177 | PyObject * obj0 = 0 ; | |
994141e6 | 3178 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3179 | char *kwnames[] = { |
3180 | (char *) "self",(char *) "winid", NULL | |
3181 | }; | |
3182 | ||
994141e6 | 3183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3184 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3185 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3186 | arg2 = (int) SWIG_AsInt(obj1); | |
3187 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3188 | { |
3189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3190 | result = (bool)(arg1)->ProcessCommand(arg2); | |
3191 | ||
3192 | wxPyEndAllowThreads(__tstate); | |
3193 | if (PyErr_Occurred()) SWIG_fail; | |
3194 | } | |
4d5c3d91 | 3195 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
3196 | return resultobj; |
3197 | fail: | |
3198 | return NULL; | |
3199 | } | |
3200 | ||
3201 | ||
3202 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3203 | PyObject *resultobj; | |
3204 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3205 | int arg2 = (int) 1 ; | |
4276dc52 | 3206 | long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ; |
e811c8ce | 3207 | int arg4 = (int) 0 ; |
d14a1e28 RD |
3208 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; |
3209 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
3210 | wxStatusBar *result; | |
e811c8ce | 3211 | bool temp5 = False ; |
d14a1e28 | 3212 | PyObject * obj0 = 0 ; |
994141e6 RD |
3213 | PyObject * obj1 = 0 ; |
3214 | PyObject * obj2 = 0 ; | |
3215 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
3216 | PyObject * obj4 = 0 ; |
3217 | char *kwnames[] = { | |
3218 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3219 | }; | |
3220 | ||
994141e6 | 3221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
3222 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3223 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3224 | if (obj1) { |
15afbcd0 RD |
3225 | arg2 = (int) SWIG_AsInt(obj1); |
3226 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
3227 | } |
3228 | if (obj2) { | |
15afbcd0 RD |
3229 | arg3 = (long) SWIG_AsLong(obj2); |
3230 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
3231 | } |
3232 | if (obj3) { | |
15afbcd0 RD |
3233 | arg4 = (int) SWIG_AsInt(obj3); |
3234 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3235 | } |
d14a1e28 RD |
3236 | if (obj4) { |
3237 | { | |
3238 | arg5 = wxString_in_helper(obj4); | |
3239 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 3240 | temp5 = True; |
d14a1e28 RD |
3241 | } |
3242 | } | |
3243 | { | |
3244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3245 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
3246 | ||
3247 | wxPyEndAllowThreads(__tstate); | |
3248 | if (PyErr_Occurred()) SWIG_fail; | |
3249 | } | |
3250 | { | |
3251 | resultobj = wxPyMake_wxObject(result); | |
3252 | } | |
3253 | { | |
3254 | if (temp5) | |
3255 | delete arg5; | |
3256 | } | |
3257 | return resultobj; | |
3258 | fail: | |
3259 | { | |
3260 | if (temp5) | |
3261 | delete arg5; | |
3262 | } | |
3263 | return NULL; | |
3264 | } | |
3265 | ||
3266 | ||
3267 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3268 | PyObject *resultobj; | |
3269 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3270 | wxStatusBar *result; | |
3271 | PyObject * obj0 = 0 ; | |
3272 | char *kwnames[] = { | |
3273 | (char *) "self", NULL | |
3274 | }; | |
3275 | ||
3276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3277 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3278 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3279 | { |
3280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3281 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
3282 | ||
3283 | wxPyEndAllowThreads(__tstate); | |
3284 | if (PyErr_Occurred()) SWIG_fail; | |
3285 | } | |
3286 | { | |
3287 | resultobj = wxPyMake_wxObject(result); | |
3288 | } | |
3289 | return resultobj; | |
3290 | fail: | |
3291 | return NULL; | |
3292 | } | |
3293 | ||
3294 | ||
3295 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3296 | PyObject *resultobj; | |
3297 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3298 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
3299 | PyObject * obj0 = 0 ; | |
3300 | PyObject * obj1 = 0 ; | |
3301 | char *kwnames[] = { | |
3302 | (char *) "self",(char *) "statBar", NULL | |
3303 | }; | |
3304 | ||
3305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3306 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3307 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3308 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar, | |
3309 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3310 | { |
3311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3312 | (arg1)->SetStatusBar(arg2); | |
3313 | ||
3314 | wxPyEndAllowThreads(__tstate); | |
3315 | if (PyErr_Occurred()) SWIG_fail; | |
3316 | } | |
3317 | Py_INCREF(Py_None); resultobj = Py_None; | |
3318 | return resultobj; | |
3319 | fail: | |
3320 | return NULL; | |
3321 | } | |
3322 | ||
3323 | ||
3324 | static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3325 | PyObject *resultobj; | |
3326 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3327 | wxString *arg2 = 0 ; | |
3328 | int arg3 = (int) 0 ; | |
e811c8ce | 3329 | bool temp2 = False ; |
d14a1e28 RD |
3330 | PyObject * obj0 = 0 ; |
3331 | PyObject * obj1 = 0 ; | |
994141e6 | 3332 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3333 | char *kwnames[] = { |
3334 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3335 | }; | |
3336 | ||
994141e6 | 3337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3338 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3339 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3340 | { |
3341 | arg2 = wxString_in_helper(obj1); | |
3342 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3343 | temp2 = True; |
d14a1e28 | 3344 | } |
994141e6 | 3345 | if (obj2) { |
15afbcd0 RD |
3346 | arg3 = (int) SWIG_AsInt(obj2); |
3347 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3348 | } |
d14a1e28 RD |
3349 | { |
3350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3351 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
3352 | ||
3353 | wxPyEndAllowThreads(__tstate); | |
3354 | if (PyErr_Occurred()) SWIG_fail; | |
3355 | } | |
3356 | Py_INCREF(Py_None); resultobj = Py_None; | |
3357 | { | |
3358 | if (temp2) | |
3359 | delete arg2; | |
3360 | } | |
3361 | return resultobj; | |
3362 | fail: | |
3363 | { | |
3364 | if (temp2) | |
3365 | delete arg2; | |
3366 | } | |
3367 | return NULL; | |
3368 | } | |
3369 | ||
3370 | ||
3371 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3372 | PyObject *resultobj; | |
3373 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3374 | int arg2 ; | |
3375 | int *arg3 = (int *) 0 ; | |
3376 | PyObject * obj0 = 0 ; | |
3377 | PyObject * obj1 = 0 ; | |
3378 | char *kwnames[] = { | |
3379 | (char *) "self",(char *) "widths", NULL | |
3380 | }; | |
3381 | ||
3382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3383 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3384 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3385 | { |
3386 | arg2 = PyList_Size(obj1); | |
3387 | arg3 = int_LIST_helper(obj1); | |
3388 | if (arg3 == NULL) SWIG_fail; | |
3389 | } | |
3390 | { | |
3391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3392 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
3393 | ||
3394 | wxPyEndAllowThreads(__tstate); | |
3395 | if (PyErr_Occurred()) SWIG_fail; | |
3396 | } | |
3397 | Py_INCREF(Py_None); resultobj = Py_None; | |
3398 | { | |
3399 | if (arg3) delete [] arg3; | |
3400 | } | |
3401 | return resultobj; | |
3402 | fail: | |
3403 | { | |
3404 | if (arg3) delete [] arg3; | |
3405 | } | |
3406 | return NULL; | |
3407 | } | |
3408 | ||
3409 | ||
3410 | static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3411 | PyObject *resultobj; | |
3412 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3413 | wxString *arg2 = 0 ; | |
3414 | int arg3 = (int) 0 ; | |
e811c8ce | 3415 | bool temp2 = False ; |
d14a1e28 RD |
3416 | PyObject * obj0 = 0 ; |
3417 | PyObject * obj1 = 0 ; | |
994141e6 | 3418 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3419 | char *kwnames[] = { |
3420 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3421 | }; | |
3422 | ||
994141e6 | 3423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3424 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3425 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3426 | { |
3427 | arg2 = wxString_in_helper(obj1); | |
3428 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3429 | temp2 = True; |
d14a1e28 | 3430 | } |
994141e6 | 3431 | if (obj2) { |
15afbcd0 RD |
3432 | arg3 = (int) SWIG_AsInt(obj2); |
3433 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3434 | } |
d14a1e28 RD |
3435 | { |
3436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3437 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
3438 | ||
3439 | wxPyEndAllowThreads(__tstate); | |
3440 | if (PyErr_Occurred()) SWIG_fail; | |
3441 | } | |
3442 | Py_INCREF(Py_None); resultobj = Py_None; | |
3443 | { | |
3444 | if (temp2) | |
3445 | delete arg2; | |
3446 | } | |
3447 | return resultobj; | |
3448 | fail: | |
3449 | { | |
3450 | if (temp2) | |
3451 | delete arg2; | |
3452 | } | |
3453 | return NULL; | |
3454 | } | |
3455 | ||
3456 | ||
3457 | static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3458 | PyObject *resultobj; | |
3459 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3460 | int arg2 = (int) 0 ; | |
3461 | PyObject * obj0 = 0 ; | |
994141e6 | 3462 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3463 | char *kwnames[] = { |
3464 | (char *) "self",(char *) "number", NULL | |
3465 | }; | |
3466 | ||
994141e6 | 3467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3468 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3469 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3470 | if (obj1) { |
15afbcd0 RD |
3471 | arg2 = (int) SWIG_AsInt(obj1); |
3472 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3473 | } |
d14a1e28 RD |
3474 | { |
3475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3476 | (arg1)->PopStatusText(arg2); | |
3477 | ||
3478 | wxPyEndAllowThreads(__tstate); | |
3479 | if (PyErr_Occurred()) SWIG_fail; | |
3480 | } | |
3481 | Py_INCREF(Py_None); resultobj = Py_None; | |
3482 | return resultobj; | |
3483 | fail: | |
3484 | return NULL; | |
3485 | } | |
3486 | ||
3487 | ||
3488 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3489 | PyObject *resultobj; | |
3490 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3491 | int arg2 ; | |
3492 | PyObject * obj0 = 0 ; | |
994141e6 | 3493 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3494 | char *kwnames[] = { |
3495 | (char *) "self",(char *) "n", NULL | |
3496 | }; | |
3497 | ||
994141e6 | 3498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3499 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3500 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3501 | arg2 = (int) SWIG_AsInt(obj1); | |
3502 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3503 | { |
3504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3505 | (arg1)->SetStatusBarPane(arg2); | |
3506 | ||
3507 | wxPyEndAllowThreads(__tstate); | |
3508 | if (PyErr_Occurred()) SWIG_fail; | |
3509 | } | |
3510 | Py_INCREF(Py_None); resultobj = Py_None; | |
3511 | return resultobj; | |
3512 | fail: | |
3513 | return NULL; | |
3514 | } | |
3515 | ||
3516 | ||
3517 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3518 | PyObject *resultobj; | |
3519 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3520 | int result; | |
3521 | PyObject * obj0 = 0 ; | |
3522 | char *kwnames[] = { | |
3523 | (char *) "self", NULL | |
3524 | }; | |
3525 | ||
3526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3527 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3529 | { |
3530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3531 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
3532 | ||
3533 | wxPyEndAllowThreads(__tstate); | |
3534 | if (PyErr_Occurred()) SWIG_fail; | |
3535 | } | |
15afbcd0 | 3536 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
3537 | return resultobj; |
3538 | fail: | |
3539 | return NULL; | |
3540 | } | |
3541 | ||
3542 | ||
3543 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3544 | PyObject *resultobj; | |
3545 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3546 | long arg2 = (long) -1 ; | |
e811c8ce | 3547 | int arg3 = (int) -1 ; |
d14a1e28 RD |
3548 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; |
3549 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
3550 | wxToolBar *result; | |
e811c8ce | 3551 | bool temp4 = False ; |
d14a1e28 | 3552 | PyObject * obj0 = 0 ; |
994141e6 RD |
3553 | PyObject * obj1 = 0 ; |
3554 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3555 | PyObject * obj3 = 0 ; |
3556 | char *kwnames[] = { | |
3557 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3558 | }; | |
3559 | ||
994141e6 | 3560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
3561 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3562 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3563 | if (obj1) { |
15afbcd0 RD |
3564 | arg2 = (long) SWIG_AsLong(obj1); |
3565 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
3566 | } |
3567 | if (obj2) { | |
15afbcd0 RD |
3568 | arg3 = (int) SWIG_AsInt(obj2); |
3569 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3570 | } |
d14a1e28 RD |
3571 | if (obj3) { |
3572 | { | |
3573 | arg4 = wxString_in_helper(obj3); | |
3574 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 3575 | temp4 = True; |
d14a1e28 RD |
3576 | } |
3577 | } | |
3578 | { | |
3579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3580 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
3581 | ||
3582 | wxPyEndAllowThreads(__tstate); | |
3583 | if (PyErr_Occurred()) SWIG_fail; | |
3584 | } | |
3585 | { | |
3586 | resultobj = wxPyMake_wxObject(result); | |
3587 | } | |
3588 | { | |
3589 | if (temp4) | |
3590 | delete arg4; | |
3591 | } | |
3592 | return resultobj; | |
3593 | fail: | |
3594 | { | |
3595 | if (temp4) | |
3596 | delete arg4; | |
3597 | } | |
3598 | return NULL; | |
3599 | } | |
3600 | ||
3601 | ||
3602 | static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3603 | PyObject *resultobj; | |
3604 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3605 | wxToolBar *result; | |
3606 | PyObject * obj0 = 0 ; | |
3607 | char *kwnames[] = { | |
3608 | (char *) "self", NULL | |
3609 | }; | |
3610 | ||
3611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3612 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3613 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3614 | { |
3615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3616 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
3617 | ||
3618 | wxPyEndAllowThreads(__tstate); | |
3619 | if (PyErr_Occurred()) SWIG_fail; | |
3620 | } | |
3621 | { | |
3622 | resultobj = wxPyMake_wxObject(result); | |
3623 | } | |
3624 | return resultobj; | |
3625 | fail: | |
3626 | return NULL; | |
3627 | } | |
3628 | ||
3629 | ||
3630 | static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3631 | PyObject *resultobj; | |
3632 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3633 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
3634 | PyObject * obj0 = 0 ; | |
3635 | PyObject * obj1 = 0 ; | |
3636 | char *kwnames[] = { | |
3637 | (char *) "self",(char *) "toolbar", NULL | |
3638 | }; | |
3639 | ||
3640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3641 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3642 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3643 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar, | |
3644 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3645 | { |
3646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3647 | (arg1)->SetToolBar(arg2); | |
3648 | ||
3649 | wxPyEndAllowThreads(__tstate); | |
3650 | if (PyErr_Occurred()) SWIG_fail; | |
3651 | } | |
3652 | Py_INCREF(Py_None); resultobj = Py_None; | |
3653 | return resultobj; | |
3654 | fail: | |
3655 | return NULL; | |
3656 | } | |
3657 | ||
3658 | ||
3659 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3660 | PyObject *resultobj; | |
3661 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3662 | wxString *arg2 = 0 ; | |
3663 | bool arg3 ; | |
e811c8ce | 3664 | bool temp2 = False ; |
d14a1e28 RD |
3665 | PyObject * obj0 = 0 ; |
3666 | PyObject * obj1 = 0 ; | |
3667 | PyObject * obj2 = 0 ; | |
3668 | char *kwnames[] = { | |
3669 | (char *) "self",(char *) "text",(char *) "show", NULL | |
3670 | }; | |
3671 | ||
3672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
3673 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3674 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3675 | { |
3676 | arg2 = wxString_in_helper(obj1); | |
3677 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3678 | temp2 = True; |
d14a1e28 | 3679 | } |
15afbcd0 RD |
3680 | arg3 = (bool) SWIG_AsBool(obj2); |
3681 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3682 | { |
3683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3684 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
3685 | ||
3686 | wxPyEndAllowThreads(__tstate); | |
3687 | if (PyErr_Occurred()) SWIG_fail; | |
3688 | } | |
3689 | Py_INCREF(Py_None); resultobj = Py_None; | |
3690 | { | |
3691 | if (temp2) | |
3692 | delete arg2; | |
3693 | } | |
3694 | return resultobj; | |
3695 | fail: | |
3696 | { | |
3697 | if (temp2) | |
3698 | delete arg2; | |
3699 | } | |
3700 | return NULL; | |
3701 | } | |
3702 | ||
3703 | ||
3704 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3705 | PyObject *resultobj; | |
3706 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3707 | wxMenu *arg2 = (wxMenu *) NULL ; | |
3708 | PyObject * obj0 = 0 ; | |
3709 | PyObject * obj1 = 0 ; | |
3710 | char *kwnames[] = { | |
3711 | (char *) "self",(char *) "menu", NULL | |
3712 | }; | |
3713 | ||
3714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3715 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3716 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 3717 | if (obj1) { |
15afbcd0 RD |
3718 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, |
3719 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3720 | } |
3721 | { | |
3722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3723 | (arg1)->DoMenuUpdates(arg2); | |
3724 | ||
3725 | wxPyEndAllowThreads(__tstate); | |
3726 | if (PyErr_Occurred()) SWIG_fail; | |
3727 | } | |
3728 | Py_INCREF(Py_None); resultobj = Py_None; | |
3729 | return resultobj; | |
3730 | fail: | |
3731 | return NULL; | |
3732 | } | |
3733 | ||
3734 | ||
3735 | static PyObject * Frame_swigregister(PyObject *self, PyObject *args) { | |
3736 | PyObject *obj; | |
3737 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3738 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
3739 | Py_INCREF(obj); | |
3740 | return Py_BuildValue((char *)""); | |
3741 | } | |
3742 | static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3743 | PyObject *resultobj; | |
3744 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 3745 | int arg2 ; |
d14a1e28 RD |
3746 | wxString *arg3 = 0 ; |
3747 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3748 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3749 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3750 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3751 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3752 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
3753 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3754 | wxDialog *result; | |
e811c8ce | 3755 | bool temp3 = False ; |
d14a1e28 RD |
3756 | wxPoint temp4 ; |
3757 | wxSize temp5 ; | |
e811c8ce | 3758 | bool temp7 = False ; |
d14a1e28 | 3759 | PyObject * obj0 = 0 ; |
994141e6 | 3760 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3761 | PyObject * obj2 = 0 ; |
3762 | PyObject * obj3 = 0 ; | |
3763 | PyObject * obj4 = 0 ; | |
994141e6 | 3764 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
3765 | PyObject * obj6 = 0 ; |
3766 | char *kwnames[] = { | |
3767 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3768 | }; | |
3769 | ||
994141e6 | 3770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
3771 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
3772 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3773 | arg2 = (int const) SWIG_AsInt(obj1); | |
3774 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3775 | { |
3776 | arg3 = wxString_in_helper(obj2); | |
3777 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 3778 | temp3 = True; |
d14a1e28 RD |
3779 | } |
3780 | if (obj3) { | |
3781 | { | |
3782 | arg4 = &temp4; | |
3783 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3784 | } | |
3785 | } | |
3786 | if (obj4) { | |
3787 | { | |
3788 | arg5 = &temp5; | |
3789 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3790 | } | |
3791 | } | |
994141e6 | 3792 | if (obj5) { |
15afbcd0 RD |
3793 | arg6 = (long) SWIG_AsLong(obj5); |
3794 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3795 | } |
d14a1e28 RD |
3796 | if (obj6) { |
3797 | { | |
3798 | arg7 = wxString_in_helper(obj6); | |
3799 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 3800 | temp7 = True; |
d14a1e28 RD |
3801 | } |
3802 | } | |
3803 | { | |
3804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3805 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3806 | ||
3807 | wxPyEndAllowThreads(__tstate); | |
3808 | if (PyErr_Occurred()) SWIG_fail; | |
3809 | } | |
15afbcd0 | 3810 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
3811 | { |
3812 | if (temp3) | |
3813 | delete arg3; | |
3814 | } | |
3815 | { | |
3816 | if (temp7) | |
3817 | delete arg7; | |
3818 | } | |
3819 | return resultobj; | |
3820 | fail: | |
3821 | { | |
3822 | if (temp3) | |
3823 | delete arg3; | |
3824 | } | |
3825 | { | |
3826 | if (temp7) | |
3827 | delete arg7; | |
3828 | } | |
3829 | return NULL; | |
3830 | } | |
3831 | ||
3832 | ||
3833 | static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3834 | PyObject *resultobj; | |
3835 | wxDialog *result; | |
3836 | char *kwnames[] = { | |
3837 | NULL | |
3838 | }; | |
3839 | ||
3840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
3841 | { | |
3842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3843 | result = (wxDialog *)new wxDialog(); | |
3844 | ||
3845 | wxPyEndAllowThreads(__tstate); | |
3846 | if (PyErr_Occurred()) SWIG_fail; | |
3847 | } | |
15afbcd0 | 3848 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
3849 | return resultobj; |
3850 | fail: | |
3851 | return NULL; | |
3852 | } | |
3853 | ||
3854 | ||
3855 | static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3856 | PyObject *resultobj; | |
3857 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3858 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 3859 | int arg3 ; |
d14a1e28 RD |
3860 | wxString *arg4 = 0 ; |
3861 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
3862 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3863 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3864 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3865 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3866 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
3867 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3868 | bool result; | |
e811c8ce | 3869 | bool temp4 = False ; |
d14a1e28 RD |
3870 | wxPoint temp5 ; |
3871 | wxSize temp6 ; | |
e811c8ce | 3872 | bool temp8 = False ; |
d14a1e28 RD |
3873 | PyObject * obj0 = 0 ; |
3874 | PyObject * obj1 = 0 ; | |
994141e6 | 3875 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3876 | PyObject * obj3 = 0 ; |
3877 | PyObject * obj4 = 0 ; | |
3878 | PyObject * obj5 = 0 ; | |
994141e6 | 3879 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
3880 | PyObject * obj7 = 0 ; |
3881 | char *kwnames[] = { | |
3882 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3883 | }; | |
3884 | ||
994141e6 | 3885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
3886 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
3887 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3888 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
3889 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3890 | arg3 = (int const) SWIG_AsInt(obj2); | |
3891 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3892 | { |
3893 | arg4 = wxString_in_helper(obj3); | |
3894 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 3895 | temp4 = True; |
d14a1e28 RD |
3896 | } |
3897 | if (obj4) { | |
3898 | { | |
3899 | arg5 = &temp5; | |
3900 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3901 | } | |
3902 | } | |
3903 | if (obj5) { | |
3904 | { | |
3905 | arg6 = &temp6; | |
3906 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3907 | } | |
3908 | } | |
994141e6 | 3909 | if (obj6) { |
15afbcd0 RD |
3910 | arg7 = (long) SWIG_AsLong(obj6); |
3911 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3912 | } |
d14a1e28 RD |
3913 | if (obj7) { |
3914 | { | |
3915 | arg8 = wxString_in_helper(obj7); | |
3916 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 3917 | temp8 = True; |
d14a1e28 RD |
3918 | } |
3919 | } | |
3920 | { | |
3921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3922 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3923 | ||
3924 | wxPyEndAllowThreads(__tstate); | |
3925 | if (PyErr_Occurred()) SWIG_fail; | |
3926 | } | |
4d5c3d91 | 3927 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
3928 | { |
3929 | if (temp4) | |
3930 | delete arg4; | |
3931 | } | |
3932 | { | |
3933 | if (temp8) | |
3934 | delete arg8; | |
3935 | } | |
3936 | return resultobj; | |
3937 | fail: | |
3938 | { | |
3939 | if (temp4) | |
3940 | delete arg4; | |
3941 | } | |
3942 | { | |
3943 | if (temp8) | |
3944 | delete arg8; | |
3945 | } | |
3946 | return NULL; | |
3947 | } | |
3948 | ||
3949 | ||
3950 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3951 | PyObject *resultobj; | |
3952 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3953 | int arg2 ; | |
3954 | PyObject * obj0 = 0 ; | |
994141e6 | 3955 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3956 | char *kwnames[] = { |
3957 | (char *) "self",(char *) "returnCode", NULL | |
3958 | }; | |
3959 | ||
994141e6 | 3960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3961 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
3962 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3963 | arg2 = (int) SWIG_AsInt(obj1); | |
3964 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3965 | { |
3966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3967 | (arg1)->SetReturnCode(arg2); | |
3968 | ||
3969 | wxPyEndAllowThreads(__tstate); | |
3970 | if (PyErr_Occurred()) SWIG_fail; | |
3971 | } | |
3972 | Py_INCREF(Py_None); resultobj = Py_None; | |
3973 | return resultobj; | |
3974 | fail: | |
3975 | return NULL; | |
3976 | } | |
3977 | ||
3978 | ||
3979 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3980 | PyObject *resultobj; | |
3981 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3982 | int result; | |
3983 | PyObject * obj0 = 0 ; | |
3984 | char *kwnames[] = { | |
3985 | (char *) "self", NULL | |
3986 | }; | |
3987 | ||
3988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3989 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
3990 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3991 | { |
3992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3993 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
3994 | ||
3995 | wxPyEndAllowThreads(__tstate); | |
3996 | if (PyErr_Occurred()) SWIG_fail; | |
3997 | } | |
15afbcd0 | 3998 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
3999 | return resultobj; |
4000 | fail: | |
4001 | return NULL; | |
4002 | } | |
4003 | ||
4004 | ||
4005 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4006 | PyObject *resultobj; | |
4007 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4008 | wxString *arg2 = 0 ; | |
4009 | wxSizer *result; | |
e811c8ce | 4010 | bool temp2 = False ; |
d14a1e28 RD |
4011 | PyObject * obj0 = 0 ; |
4012 | PyObject * obj1 = 0 ; | |
4013 | char *kwnames[] = { | |
4014 | (char *) "self",(char *) "message", NULL | |
4015 | }; | |
4016 | ||
4017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4018 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4019 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4020 | { |
4021 | arg2 = wxString_in_helper(obj1); | |
4022 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 4023 | temp2 = True; |
d14a1e28 RD |
4024 | } |
4025 | { | |
4026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4027 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
4028 | ||
4029 | wxPyEndAllowThreads(__tstate); | |
4030 | if (PyErr_Occurred()) SWIG_fail; | |
4031 | } | |
4032 | { | |
4033 | resultobj = wxPyMake_wxSizer(result); | |
4034 | } | |
4035 | { | |
4036 | if (temp2) | |
4037 | delete arg2; | |
4038 | } | |
4039 | return resultobj; | |
4040 | fail: | |
4041 | { | |
4042 | if (temp2) | |
4043 | delete arg2; | |
4044 | } | |
4045 | return NULL; | |
4046 | } | |
4047 | ||
4048 | ||
4049 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4050 | PyObject *resultobj; | |
4051 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4052 | long arg2 ; | |
4053 | wxSizer *result; | |
4054 | PyObject * obj0 = 0 ; | |
994141e6 | 4055 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4056 | char *kwnames[] = { |
4057 | (char *) "self",(char *) "flags", NULL | |
4058 | }; | |
4059 | ||
994141e6 | 4060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4061 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4062 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4063 | arg2 = (long) SWIG_AsLong(obj1); | |
4064 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4065 | { |
4066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4067 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
4068 | ||
4069 | wxPyEndAllowThreads(__tstate); | |
4070 | if (PyErr_Occurred()) SWIG_fail; | |
4071 | } | |
4072 | { | |
4073 | resultobj = wxPyMake_wxSizer(result); | |
4074 | } | |
4075 | return resultobj; | |
4076 | fail: | |
4077 | return NULL; | |
4078 | } | |
4079 | ||
4080 | ||
d14a1e28 RD |
4081 | static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
4082 | PyObject *resultobj; | |
4083 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4084 | bool result; | |
4085 | PyObject * obj0 = 0 ; | |
4086 | char *kwnames[] = { | |
4087 | (char *) "self", NULL | |
4088 | }; | |
4089 | ||
4090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4091 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4092 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4093 | { |
4094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4095 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
4096 | ||
4097 | wxPyEndAllowThreads(__tstate); | |
4098 | if (PyErr_Occurred()) SWIG_fail; | |
4099 | } | |
4d5c3d91 | 4100 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
4101 | return resultobj; |
4102 | fail: | |
4103 | return NULL; | |
4104 | } | |
4105 | ||
4106 | ||
4107 | static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4108 | PyObject *resultobj; | |
4109 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4110 | int result; | |
4111 | PyObject * obj0 = 0 ; | |
4112 | char *kwnames[] = { | |
4113 | (char *) "self", NULL | |
4114 | }; | |
4115 | ||
4116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4117 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4118 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4119 | { |
4120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4121 | result = (int)(arg1)->ShowModal(); | |
4122 | ||
4123 | wxPyEndAllowThreads(__tstate); | |
4124 | if (PyErr_Occurred()) SWIG_fail; | |
4125 | } | |
15afbcd0 | 4126 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4127 | return resultobj; |
4128 | fail: | |
4129 | return NULL; | |
4130 | } | |
4131 | ||
4132 | ||
4133 | static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4134 | PyObject *resultobj; | |
4135 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4136 | int arg2 ; | |
4137 | PyObject * obj0 = 0 ; | |
994141e6 | 4138 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4139 | char *kwnames[] = { |
4140 | (char *) "self",(char *) "retCode", NULL | |
4141 | }; | |
4142 | ||
994141e6 | 4143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4146 | arg2 = (int) SWIG_AsInt(obj1); | |
4147 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4148 | { |
4149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4150 | (arg1)->EndModal(arg2); | |
4151 | ||
4152 | wxPyEndAllowThreads(__tstate); | |
4153 | if (PyErr_Occurred()) SWIG_fail; | |
4154 | } | |
4155 | Py_INCREF(Py_None); resultobj = Py_None; | |
4156 | return resultobj; | |
4157 | fail: | |
4158 | return NULL; | |
4159 | } | |
4160 | ||
4161 | ||
4162 | static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4163 | PyObject *resultobj; | |
4164 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4165 | bool result; | |
4166 | PyObject * obj0 = 0 ; | |
4167 | char *kwnames[] = { | |
4168 | (char *) "self", NULL | |
4169 | }; | |
4170 | ||
4171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4172 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4173 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4174 | { |
4175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4176 | result = (bool)wxDialog_IsModalShowing(arg1); | |
4177 | ||
4178 | wxPyEndAllowThreads(__tstate); | |
4179 | if (PyErr_Occurred()) SWIG_fail; | |
4180 | } | |
4d5c3d91 | 4181 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
4182 | return resultobj; |
4183 | fail: | |
4184 | return NULL; | |
4185 | } | |
4186 | ||
4187 | ||
4188 | static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) { | |
4189 | PyObject *obj; | |
4190 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4191 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
4192 | Py_INCREF(obj); | |
4193 | return Py_BuildValue((char *)""); | |
4194 | } | |
4195 | static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4196 | PyObject *resultobj; | |
4197 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 4198 | int arg2 ; |
d14a1e28 RD |
4199 | wxString *arg3 = 0 ; |
4200 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
4201 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4202 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4203 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4204 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4205 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4206 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4207 | wxMiniFrame *result; | |
e811c8ce | 4208 | bool temp3 = False ; |
d14a1e28 RD |
4209 | wxPoint temp4 ; |
4210 | wxSize temp5 ; | |
e811c8ce | 4211 | bool temp7 = False ; |
d14a1e28 | 4212 | PyObject * obj0 = 0 ; |
994141e6 | 4213 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4214 | PyObject * obj2 = 0 ; |
4215 | PyObject * obj3 = 0 ; | |
4216 | PyObject * obj4 = 0 ; | |
994141e6 | 4217 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4218 | PyObject * obj6 = 0 ; |
4219 | char *kwnames[] = { | |
4220 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4221 | }; | |
4222 | ||
994141e6 | 4223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
4224 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4225 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4226 | arg2 = (int const) SWIG_AsInt(obj1); | |
4227 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4228 | { |
4229 | arg3 = wxString_in_helper(obj2); | |
4230 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 4231 | temp3 = True; |
d14a1e28 RD |
4232 | } |
4233 | if (obj3) { | |
4234 | { | |
4235 | arg4 = &temp4; | |
4236 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4237 | } | |
4238 | } | |
4239 | if (obj4) { | |
4240 | { | |
4241 | arg5 = &temp5; | |
4242 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4243 | } | |
4244 | } | |
994141e6 | 4245 | if (obj5) { |
15afbcd0 RD |
4246 | arg6 = (long) SWIG_AsLong(obj5); |
4247 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4248 | } |
d14a1e28 RD |
4249 | if (obj6) { |
4250 | { | |
4251 | arg7 = wxString_in_helper(obj6); | |
4252 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 4253 | temp7 = True; |
d14a1e28 RD |
4254 | } |
4255 | } | |
4256 | { | |
4257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4258 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4259 | ||
4260 | wxPyEndAllowThreads(__tstate); | |
4261 | if (PyErr_Occurred()) SWIG_fail; | |
4262 | } | |
15afbcd0 | 4263 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4264 | { |
4265 | if (temp3) | |
4266 | delete arg3; | |
4267 | } | |
4268 | { | |
4269 | if (temp7) | |
4270 | delete arg7; | |
4271 | } | |
4272 | return resultobj; | |
4273 | fail: | |
4274 | { | |
4275 | if (temp3) | |
4276 | delete arg3; | |
4277 | } | |
4278 | { | |
4279 | if (temp7) | |
4280 | delete arg7; | |
4281 | } | |
4282 | return NULL; | |
4283 | } | |
4284 | ||
4285 | ||
4286 | static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4287 | PyObject *resultobj; | |
4288 | wxMiniFrame *result; | |
4289 | char *kwnames[] = { | |
4290 | NULL | |
4291 | }; | |
4292 | ||
4293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
4294 | { | |
4295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4296 | result = (wxMiniFrame *)new wxMiniFrame(); | |
4297 | ||
4298 | wxPyEndAllowThreads(__tstate); | |
4299 | if (PyErr_Occurred()) SWIG_fail; | |
4300 | } | |
15afbcd0 | 4301 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4302 | return resultobj; |
4303 | fail: | |
4304 | return NULL; | |
4305 | } | |
4306 | ||
4307 | ||
4308 | static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4309 | PyObject *resultobj; | |
4310 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
4311 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4312 | int arg3 ; |
d14a1e28 RD |
4313 | wxString *arg4 = 0 ; |
4314 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
4315 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4316 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4317 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4318 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4319 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4320 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4321 | bool result; | |
e811c8ce | 4322 | bool temp4 = False ; |
d14a1e28 RD |
4323 | wxPoint temp5 ; |
4324 | wxSize temp6 ; | |
e811c8ce | 4325 | bool temp8 = False ; |
d14a1e28 RD |
4326 | PyObject * obj0 = 0 ; |
4327 | PyObject * obj1 = 0 ; | |
994141e6 | 4328 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4329 | PyObject * obj3 = 0 ; |
4330 | PyObject * obj4 = 0 ; | |
4331 | PyObject * obj5 = 0 ; | |
994141e6 | 4332 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
4333 | PyObject * obj7 = 0 ; |
4334 | char *kwnames[] = { | |
4335 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4336 | }; | |
4337 | ||
994141e6 | 4338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
4339 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame, |
4340 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4341 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4342 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4343 | arg3 = (int const) SWIG_AsInt(obj2); | |
4344 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4345 | { |
4346 | arg4 = wxString_in_helper(obj3); | |
4347 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 4348 | temp4 = True; |
d14a1e28 RD |
4349 | } |
4350 | if (obj4) { | |
4351 | { | |
4352 | arg5 = &temp5; | |
4353 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4354 | } | |
4355 | } | |
4356 | if (obj5) { | |
4357 | { | |
4358 | arg6 = &temp6; | |
4359 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4360 | } | |
4361 | } | |
994141e6 | 4362 | if (obj6) { |
15afbcd0 RD |
4363 | arg7 = (long) SWIG_AsLong(obj6); |
4364 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4365 | } |
d14a1e28 RD |
4366 | if (obj7) { |
4367 | { | |
4368 | arg8 = wxString_in_helper(obj7); | |
4369 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 4370 | temp8 = True; |
d14a1e28 RD |
4371 | } |
4372 | } | |
4373 | { | |
4374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4375 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4376 | ||
4377 | wxPyEndAllowThreads(__tstate); | |
4378 | if (PyErr_Occurred()) SWIG_fail; | |
4379 | } | |
4d5c3d91 | 4380 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
4381 | { |
4382 | if (temp4) | |
4383 | delete arg4; | |
4384 | } | |
4385 | { | |
4386 | if (temp8) | |
4387 | delete arg8; | |
4388 | } | |
4389 | return resultobj; | |
4390 | fail: | |
4391 | { | |
4392 | if (temp4) | |
4393 | delete arg4; | |
4394 | } | |
4395 | { | |
4396 | if (temp8) | |
4397 | delete arg8; | |
4398 | } | |
4399 | return NULL; | |
4400 | } | |
4401 | ||
4402 | ||
4403 | static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) { | |
4404 | PyObject *obj; | |
4405 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4406 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
4407 | Py_INCREF(obj); | |
4408 | return Py_BuildValue((char *)""); | |
4409 | } | |
4410 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4411 | PyObject *resultobj; | |
4412 | wxBitmap *arg1 = 0 ; | |
4413 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4414 | int arg3 ; |
d14a1e28 RD |
4415 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4416 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4417 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4418 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4419 | long arg6 = (long) wxNO_BORDER ; | |
4420 | wxSplashScreenWindow *result; | |
4421 | wxPoint temp4 ; | |
4422 | wxSize temp5 ; | |
4423 | PyObject * obj0 = 0 ; | |
4424 | PyObject * obj1 = 0 ; | |
994141e6 | 4425 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4426 | PyObject * obj3 = 0 ; |
4427 | PyObject * obj4 = 0 ; | |
994141e6 | 4428 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4429 | char *kwnames[] = { |
4430 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4431 | }; | |
4432 | ||
994141e6 | 4433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
4434 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
4435 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4436 | SWIG_fail; | |
d14a1e28 | 4437 | if (arg1 == NULL) { |
15afbcd0 RD |
4438 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4439 | SWIG_fail; | |
994141e6 | 4440 | } |
15afbcd0 RD |
4441 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
4442 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4443 | arg3 = (int) SWIG_AsInt(obj2); | |
4444 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4445 | if (obj3) { |
4446 | { | |
4447 | arg4 = &temp4; | |
4448 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4449 | } | |
4450 | } | |
4451 | if (obj4) { | |
4452 | { | |
4453 | arg5 = &temp5; | |
4454 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4455 | } | |
4456 | } | |
994141e6 | 4457 | if (obj5) { |
15afbcd0 RD |
4458 | arg6 = (long) SWIG_AsLong(obj5); |
4459 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4460 | } |
d14a1e28 RD |
4461 | { |
4462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4463 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
4464 | ||
4465 | wxPyEndAllowThreads(__tstate); | |
4466 | if (PyErr_Occurred()) SWIG_fail; | |
4467 | } | |
15afbcd0 | 4468 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); |
d14a1e28 RD |
4469 | return resultobj; |
4470 | fail: | |
4471 | return NULL; | |
4472 | } | |
4473 | ||
4474 | ||
4475 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4476 | PyObject *resultobj; | |
4477 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4478 | wxBitmap *arg2 = 0 ; | |
4479 | PyObject * obj0 = 0 ; | |
4480 | PyObject * obj1 = 0 ; | |
4481 | char *kwnames[] = { | |
4482 | (char *) "self",(char *) "bitmap", NULL | |
4483 | }; | |
4484 | ||
4485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4486 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
4487 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4488 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap, | |
4489 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4490 | SWIG_fail; | |
d14a1e28 | 4491 | if (arg2 == NULL) { |
15afbcd0 RD |
4492 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4493 | SWIG_fail; | |
d14a1e28 RD |
4494 | } |
4495 | { | |
4496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4497 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
4498 | ||
4499 | wxPyEndAllowThreads(__tstate); | |
4500 | if (PyErr_Occurred()) SWIG_fail; | |
4501 | } | |
4502 | Py_INCREF(Py_None); resultobj = Py_None; | |
4503 | return resultobj; | |
4504 | fail: | |
4505 | return NULL; | |
4506 | } | |
4507 | ||
4508 | ||
4509 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4510 | PyObject *resultobj; | |
4511 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4512 | wxBitmap *result; | |
4513 | PyObject * obj0 = 0 ; | |
4514 | char *kwnames[] = { | |
4515 | (char *) "self", NULL | |
4516 | }; | |
4517 | ||
4518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4519 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
4520 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4521 | { |
4522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4523 | { | |
4524 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
4525 | result = (wxBitmap *) &_result_ref; | |
4526 | } | |
4527 | ||
4528 | wxPyEndAllowThreads(__tstate); | |
4529 | if (PyErr_Occurred()) SWIG_fail; | |
4530 | } | |
4276dc52 RD |
4531 | { |
4532 | wxBitmap* resultptr = new wxBitmap(*result); | |
4533 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
4534 | } | |
d14a1e28 RD |
4535 | return resultobj; |
4536 | fail: | |
4537 | return NULL; | |
4538 | } | |
4539 | ||
4540 | ||
4541 | static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) { | |
4542 | PyObject *obj; | |
4543 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4544 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
4545 | Py_INCREF(obj); | |
4546 | return Py_BuildValue((char *)""); | |
4547 | } | |
4548 | static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4549 | PyObject *resultobj; | |
4550 | wxBitmap *arg1 = 0 ; | |
4551 | long arg2 ; | |
4552 | int arg3 ; | |
4553 | wxWindow *arg4 = (wxWindow *) 0 ; | |
e811c8ce | 4554 | int arg5 ; |
d14a1e28 RD |
4555 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
4556 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
4557 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
4558 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
4559 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
4560 | wxSplashScreen *result; | |
4561 | wxPoint temp6 ; | |
4562 | wxSize temp7 ; | |
4563 | PyObject * obj0 = 0 ; | |
994141e6 RD |
4564 | PyObject * obj1 = 0 ; |
4565 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4566 | PyObject * obj3 = 0 ; |
994141e6 | 4567 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
4568 | PyObject * obj5 = 0 ; |
4569 | PyObject * obj6 = 0 ; | |
994141e6 | 4570 | PyObject * obj7 = 0 ; |
d14a1e28 RD |
4571 | char *kwnames[] = { |
4572 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4573 | }; | |
4574 | ||
994141e6 | 4575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
4576 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
4577 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4578 | SWIG_fail; | |
d14a1e28 | 4579 | if (arg1 == NULL) { |
15afbcd0 RD |
4580 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4581 | SWIG_fail; | |
4582 | } | |
4583 | arg2 = (long) SWIG_AsLong(obj1); | |
4584 | if (PyErr_Occurred()) SWIG_fail; | |
4585 | arg3 = (int) SWIG_AsInt(obj2); | |
4586 | if (PyErr_Occurred()) SWIG_fail; | |
4587 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, | |
4588 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4589 | arg5 = (int) SWIG_AsInt(obj4); | |
4590 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4591 | if (obj5) { |
4592 | { | |
4593 | arg6 = &temp6; | |
4594 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
4595 | } | |
4596 | } | |
4597 | if (obj6) { | |
4598 | { | |
4599 | arg7 = &temp7; | |
4600 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
4601 | } | |
4602 | } | |
994141e6 | 4603 | if (obj7) { |
15afbcd0 RD |
4604 | arg8 = (long) SWIG_AsLong(obj7); |
4605 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4606 | } |
d14a1e28 RD |
4607 | { |
4608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4609 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
4610 | ||
4611 | wxPyEndAllowThreads(__tstate); | |
4612 | if (PyErr_Occurred()) SWIG_fail; | |
4613 | } | |
15afbcd0 | 4614 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); |
d14a1e28 RD |
4615 | return resultobj; |
4616 | fail: | |
4617 | return NULL; | |
4618 | } | |
4619 | ||
4620 | ||
4621 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4622 | PyObject *resultobj; | |
4623 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4624 | long result; | |
4625 | PyObject * obj0 = 0 ; | |
4626 | char *kwnames[] = { | |
4627 | (char *) "self", NULL | |
4628 | }; | |
4629 | ||
4630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4631 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4632 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4633 | { |
4634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4635 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
4636 | ||
4637 | wxPyEndAllowThreads(__tstate); | |
4638 | if (PyErr_Occurred()) SWIG_fail; | |
4639 | } | |
15afbcd0 | 4640 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
4641 | return resultobj; |
4642 | fail: | |
4643 | return NULL; | |
4644 | } | |
4645 | ||
4646 | ||
4647 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4648 | PyObject *resultobj; | |
4649 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4650 | wxSplashScreenWindow *result; | |
4651 | PyObject * obj0 = 0 ; | |
4652 | char *kwnames[] = { | |
4653 | (char *) "self", NULL | |
4654 | }; | |
4655 | ||
4656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4657 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4659 | { |
4660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4661 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
4662 | ||
4663 | wxPyEndAllowThreads(__tstate); | |
4664 | if (PyErr_Occurred()) SWIG_fail; | |
4665 | } | |
15afbcd0 | 4666 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); |
d14a1e28 RD |
4667 | return resultobj; |
4668 | fail: | |
4669 | return NULL; | |
4670 | } | |
4671 | ||
4672 | ||
4673 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4674 | PyObject *resultobj; | |
4675 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4676 | int result; | |
4677 | PyObject * obj0 = 0 ; | |
4678 | char *kwnames[] = { | |
4679 | (char *) "self", NULL | |
4680 | }; | |
4681 | ||
4682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4685 | { |
4686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4687 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
4688 | ||
4689 | wxPyEndAllowThreads(__tstate); | |
4690 | if (PyErr_Occurred()) SWIG_fail; | |
4691 | } | |
15afbcd0 | 4692 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4693 | return resultobj; |
4694 | fail: | |
4695 | return NULL; | |
4696 | } | |
4697 | ||
4698 | ||
4699 | static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) { | |
4700 | PyObject *obj; | |
4701 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4702 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
4703 | Py_INCREF(obj); | |
4704 | return Py_BuildValue((char *)""); | |
4705 | } | |
4706 | static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4707 | PyObject *resultobj; | |
4708 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 4709 | int arg2 = (int) -1 ; |
4276dc52 | 4710 | long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ; |
d14a1e28 RD |
4711 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; |
4712 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4713 | wxStatusBar *result; | |
e811c8ce | 4714 | bool temp4 = False ; |
d14a1e28 | 4715 | PyObject * obj0 = 0 ; |
994141e6 RD |
4716 | PyObject * obj1 = 0 ; |
4717 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4718 | PyObject * obj3 = 0 ; |
4719 | char *kwnames[] = { | |
4720 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4721 | }; | |
4722 | ||
994141e6 | 4723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
4724 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4725 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 4726 | if (obj1) { |
15afbcd0 RD |
4727 | arg2 = (int) SWIG_AsInt(obj1); |
4728 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
4729 | } |
4730 | if (obj2) { | |
15afbcd0 RD |
4731 | arg3 = (long) SWIG_AsLong(obj2); |
4732 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4733 | } |
d14a1e28 RD |
4734 | if (obj3) { |
4735 | { | |
4736 | arg4 = wxString_in_helper(obj3); | |
4737 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 4738 | temp4 = True; |
d14a1e28 RD |
4739 | } |
4740 | } | |
4741 | { | |
4742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4743 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
4744 | ||
4745 | wxPyEndAllowThreads(__tstate); | |
4746 | if (PyErr_Occurred()) SWIG_fail; | |
4747 | } | |
4748 | { | |
4749 | resultobj = wxPyMake_wxObject(result); | |
4750 | } | |
4751 | { | |
4752 | if (temp4) | |
4753 | delete arg4; | |
4754 | } | |
4755 | return resultobj; | |
4756 | fail: | |
4757 | { | |
4758 | if (temp4) | |
4759 | delete arg4; | |
4760 | } | |
4761 | return NULL; | |
4762 | } | |
4763 | ||
4764 | ||
4765 | static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4766 | PyObject *resultobj; | |
4767 | wxStatusBar *result; | |
4768 | char *kwnames[] = { | |
4769 | NULL | |
4770 | }; | |
4771 | ||
4772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
4773 | { | |
4774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4775 | result = (wxStatusBar *)new wxStatusBar(); | |
4776 | ||
4777 | wxPyEndAllowThreads(__tstate); | |
4778 | if (PyErr_Occurred()) SWIG_fail; | |
4779 | } | |
4780 | { | |
4781 | resultobj = wxPyMake_wxObject(result); | |
4782 | } | |
4783 | return resultobj; | |
4784 | fail: | |
4785 | return NULL; | |
4786 | } | |
4787 | ||
4788 | ||
4789 | static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4790 | PyObject *resultobj; | |
4791 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4792 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4793 | int arg3 ; |
d14a1e28 RD |
4794 | long arg4 = (long) wxST_SIZEGRIP ; |
4795 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
4796 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
4797 | bool result; | |
e811c8ce | 4798 | bool temp5 = False ; |
d14a1e28 RD |
4799 | PyObject * obj0 = 0 ; |
4800 | PyObject * obj1 = 0 ; | |
994141e6 RD |
4801 | PyObject * obj2 = 0 ; |
4802 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
4803 | PyObject * obj4 = 0 ; |
4804 | char *kwnames[] = { | |
4805 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4806 | }; | |
4807 | ||
994141e6 | 4808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
4809 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4810 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4811 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4812 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4813 | arg3 = (int) SWIG_AsInt(obj2); | |
4814 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4815 | if (obj3) { |
15afbcd0 RD |
4816 | arg4 = (long) SWIG_AsLong(obj3); |
4817 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4818 | } |
d14a1e28 RD |
4819 | if (obj4) { |
4820 | { | |
4821 | arg5 = wxString_in_helper(obj4); | |
4822 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 4823 | temp5 = True; |
d14a1e28 RD |
4824 | } |
4825 | } | |
4826 | { | |
4827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4828 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
4829 | ||
4830 | wxPyEndAllowThreads(__tstate); | |
4831 | if (PyErr_Occurred()) SWIG_fail; | |
4832 | } | |
4d5c3d91 | 4833 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
4834 | { |
4835 | if (temp5) | |
4836 | delete arg5; | |
4837 | } | |
4838 | return resultobj; | |
4839 | fail: | |
4840 | { | |
4841 | if (temp5) | |
4842 | delete arg5; | |
4843 | } | |
4844 | return NULL; | |
4845 | } | |
4846 | ||
4847 | ||
4848 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4849 | PyObject *resultobj; | |
4850 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4851 | int arg2 = (int) 1 ; | |
4852 | PyObject * obj0 = 0 ; | |
994141e6 | 4853 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4854 | char *kwnames[] = { |
4855 | (char *) "self",(char *) "number", NULL | |
4856 | }; | |
4857 | ||
994141e6 | 4858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4859 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4860 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 4861 | if (obj1) { |
15afbcd0 RD |
4862 | arg2 = (int) SWIG_AsInt(obj1); |
4863 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4864 | } |
d14a1e28 RD |
4865 | { |
4866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4867 | (arg1)->SetFieldsCount(arg2); | |
4868 | ||
4869 | wxPyEndAllowThreads(__tstate); | |
4870 | if (PyErr_Occurred()) SWIG_fail; | |
4871 | } | |
4872 | Py_INCREF(Py_None); resultobj = Py_None; | |
4873 | return resultobj; | |
4874 | fail: | |
4875 | return NULL; | |
4876 | } | |
4877 | ||
4878 | ||
4879 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4880 | PyObject *resultobj; | |
4881 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4882 | int result; | |
4883 | PyObject * obj0 = 0 ; | |
4884 | char *kwnames[] = { | |
4885 | (char *) "self", NULL | |
4886 | }; | |
4887 | ||
4888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4889 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4890 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4891 | { |
4892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4893 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
4894 | ||
4895 | wxPyEndAllowThreads(__tstate); | |
4896 | if (PyErr_Occurred()) SWIG_fail; | |
4897 | } | |
15afbcd0 | 4898 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4899 | return resultobj; |
4900 | fail: | |
4901 | return NULL; | |
4902 | } | |
4903 | ||
4904 | ||
4905 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4906 | PyObject *resultobj; | |
4907 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4908 | wxString *arg2 = 0 ; | |
4909 | int arg3 = (int) 0 ; | |
e811c8ce | 4910 | bool temp2 = False ; |
d14a1e28 RD |
4911 | PyObject * obj0 = 0 ; |
4912 | PyObject * obj1 = 0 ; | |
994141e6 | 4913 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4914 | char *kwnames[] = { |
4915 | (char *) "self",(char *) "text",(char *) "number", NULL | |
4916 | }; | |
4917 | ||
994141e6 | 4918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
4919 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4920 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4921 | { |
4922 | arg2 = wxString_in_helper(obj1); | |
4923 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 4924 | temp2 = True; |
d14a1e28 | 4925 | } |
994141e6 | 4926 | if (obj2) { |
15afbcd0 RD |
4927 | arg3 = (int) SWIG_AsInt(obj2); |
4928 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4929 | } |
d14a1e28 RD |
4930 | { |
4931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4932 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
4933 | ||
4934 | wxPyEndAllowThreads(__tstate); | |
4935 | if (PyErr_Occurred()) SWIG_fail; | |
4936 | } | |
4937 | Py_INCREF(Py_None); resultobj = Py_None; | |
4938 | { | |
4939 | if (temp2) | |
4940 | delete arg2; | |
4941 | } | |
4942 | return resultobj; | |
4943 | fail: | |
4944 | { | |
4945 | if (temp2) | |
4946 | delete arg2; | |
4947 | } | |
4948 | return NULL; | |
4949 | } | |
4950 | ||
4951 | ||
4952 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4953 | PyObject *resultobj; | |
4954 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4955 | int arg2 = (int) 0 ; | |
4956 | wxString result; | |
4957 | PyObject * obj0 = 0 ; | |
994141e6 | 4958 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4959 | char *kwnames[] = { |
4960 | (char *) "self",(char *) "number", NULL | |
4961 | }; | |
4962 | ||
994141e6 | 4963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4964 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4965 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 4966 | if (obj1) { |
15afbcd0 RD |
4967 | arg2 = (int) SWIG_AsInt(obj1); |
4968 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4969 | } |
d14a1e28 RD |
4970 | { |
4971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4972 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
4973 | ||
4974 | wxPyEndAllowThreads(__tstate); | |
4975 | if (PyErr_Occurred()) SWIG_fail; | |
4976 | } | |
4977 | { | |
4978 | #if wxUSE_UNICODE | |
4979 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4980 | #else | |
4981 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4982 | #endif | |
4983 | } | |
4984 | return resultobj; | |
4985 | fail: | |
4986 | return NULL; | |
4987 | } | |
4988 | ||
4989 | ||
4990 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4991 | PyObject *resultobj; | |
4992 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4993 | wxString *arg2 = 0 ; | |
4994 | int arg3 = (int) 0 ; | |
e811c8ce | 4995 | bool temp2 = False ; |
d14a1e28 RD |
4996 | PyObject * obj0 = 0 ; |
4997 | PyObject * obj1 = 0 ; | |
994141e6 | 4998 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4999 | char *kwnames[] = { |
5000 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5001 | }; | |
5002 | ||
994141e6 | 5003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5004 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5005 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5006 | { |
5007 | arg2 = wxString_in_helper(obj1); | |
5008 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5009 | temp2 = True; |
d14a1e28 | 5010 | } |
994141e6 | 5011 | if (obj2) { |
15afbcd0 RD |
5012 | arg3 = (int) SWIG_AsInt(obj2); |
5013 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5014 | } |
d14a1e28 RD |
5015 | { |
5016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5017 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5018 | ||
5019 | wxPyEndAllowThreads(__tstate); | |
5020 | if (PyErr_Occurred()) SWIG_fail; | |
5021 | } | |
5022 | Py_INCREF(Py_None); resultobj = Py_None; | |
5023 | { | |
5024 | if (temp2) | |
5025 | delete arg2; | |
5026 | } | |
5027 | return resultobj; | |
5028 | fail: | |
5029 | { | |
5030 | if (temp2) | |
5031 | delete arg2; | |
5032 | } | |
5033 | return NULL; | |
5034 | } | |
5035 | ||
5036 | ||
5037 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5038 | PyObject *resultobj; | |
5039 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5040 | int arg2 = (int) 0 ; | |
5041 | PyObject * obj0 = 0 ; | |
994141e6 | 5042 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5043 | char *kwnames[] = { |
5044 | (char *) "self",(char *) "number", NULL | |
5045 | }; | |
5046 | ||
994141e6 | 5047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5048 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5049 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5050 | if (obj1) { |
15afbcd0 RD |
5051 | arg2 = (int) SWIG_AsInt(obj1); |
5052 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5053 | } |
d14a1e28 RD |
5054 | { |
5055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5056 | (arg1)->PopStatusText(arg2); | |
5057 | ||
5058 | wxPyEndAllowThreads(__tstate); | |
5059 | if (PyErr_Occurred()) SWIG_fail; | |
5060 | } | |
5061 | Py_INCREF(Py_None); resultobj = Py_None; | |
5062 | return resultobj; | |
5063 | fail: | |
5064 | return NULL; | |
5065 | } | |
5066 | ||
5067 | ||
5068 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5069 | PyObject *resultobj; | |
5070 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5071 | int arg2 ; | |
5072 | int *arg3 = (int *) 0 ; | |
5073 | PyObject * obj0 = 0 ; | |
5074 | PyObject * obj1 = 0 ; | |
5075 | char *kwnames[] = { | |
5076 | (char *) "self",(char *) "widths", NULL | |
5077 | }; | |
5078 | ||
5079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5080 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5081 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5082 | { |
5083 | arg2 = PyList_Size(obj1); | |
5084 | arg3 = int_LIST_helper(obj1); | |
5085 | if (arg3 == NULL) SWIG_fail; | |
5086 | } | |
5087 | { | |
5088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5089 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5090 | ||
5091 | wxPyEndAllowThreads(__tstate); | |
5092 | if (PyErr_Occurred()) SWIG_fail; | |
5093 | } | |
5094 | Py_INCREF(Py_None); resultobj = Py_None; | |
5095 | { | |
5096 | if (arg3) delete [] arg3; | |
5097 | } | |
5098 | return resultobj; | |
5099 | fail: | |
5100 | { | |
5101 | if (arg3) delete [] arg3; | |
5102 | } | |
5103 | return NULL; | |
5104 | } | |
5105 | ||
5106 | ||
5107 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5108 | PyObject *resultobj; | |
5109 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5110 | int arg2 ; | |
7722248d | 5111 | wxRect result; |
d14a1e28 | 5112 | PyObject * obj0 = 0 ; |
994141e6 | 5113 | PyObject * obj1 = 0 ; |
d14a1e28 | 5114 | char *kwnames[] = { |
7722248d | 5115 | (char *) "self",(char *) "i", NULL |
d14a1e28 RD |
5116 | }; |
5117 | ||
994141e6 | 5118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5119 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5120 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5121 | arg2 = (int) SWIG_AsInt(obj1); | |
5122 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5123 | { |
5124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7722248d | 5125 | result = wxStatusBar_GetFieldRect(arg1,arg2); |
d14a1e28 RD |
5126 | |
5127 | wxPyEndAllowThreads(__tstate); | |
5128 | if (PyErr_Occurred()) SWIG_fail; | |
5129 | } | |
7722248d RD |
5130 | { |
5131 | wxRect * resultptr; | |
5132 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 5133 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
7722248d | 5134 | } |
d14a1e28 RD |
5135 | return resultobj; |
5136 | fail: | |
5137 | return NULL; | |
5138 | } | |
5139 | ||
5140 | ||
5141 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5142 | PyObject *resultobj; | |
5143 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5144 | int arg2 ; | |
5145 | PyObject * obj0 = 0 ; | |
994141e6 | 5146 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5147 | char *kwnames[] = { |
5148 | (char *) "self",(char *) "height", NULL | |
5149 | }; | |
5150 | ||
994141e6 | 5151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5152 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5153 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5154 | arg2 = (int) SWIG_AsInt(obj1); | |
5155 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5156 | { |
5157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5158 | (arg1)->SetMinHeight(arg2); | |
5159 | ||
5160 | wxPyEndAllowThreads(__tstate); | |
5161 | if (PyErr_Occurred()) SWIG_fail; | |
5162 | } | |
5163 | Py_INCREF(Py_None); resultobj = Py_None; | |
5164 | return resultobj; | |
5165 | fail: | |
5166 | return NULL; | |
5167 | } | |
5168 | ||
5169 | ||
5170 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5171 | PyObject *resultobj; | |
5172 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5173 | int result; | |
5174 | PyObject * obj0 = 0 ; | |
5175 | char *kwnames[] = { | |
5176 | (char *) "self", NULL | |
5177 | }; | |
5178 | ||
5179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5180 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5181 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5182 | { |
5183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5184 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
5185 | ||
5186 | wxPyEndAllowThreads(__tstate); | |
5187 | if (PyErr_Occurred()) SWIG_fail; | |
5188 | } | |
15afbcd0 | 5189 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5190 | return resultobj; |
5191 | fail: | |
5192 | return NULL; | |
5193 | } | |
5194 | ||
5195 | ||
5196 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5197 | PyObject *resultobj; | |
5198 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5199 | int result; | |
5200 | PyObject * obj0 = 0 ; | |
5201 | char *kwnames[] = { | |
5202 | (char *) "self", NULL | |
5203 | }; | |
5204 | ||
5205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5206 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5207 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5208 | { |
5209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5210 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
5211 | ||
5212 | wxPyEndAllowThreads(__tstate); | |
5213 | if (PyErr_Occurred()) SWIG_fail; | |
5214 | } | |
15afbcd0 | 5215 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5216 | return resultobj; |
5217 | fail: | |
5218 | return NULL; | |
5219 | } | |
5220 | ||
5221 | ||
5222 | static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) { | |
5223 | PyObject *obj; | |
5224 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5225 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
5226 | Py_INCREF(obj); | |
5227 | return Py_BuildValue((char *)""); | |
5228 | } | |
b2dc1044 RD |
5229 | static int _wrap_SplitterNameStr_set(PyObject *_val) { |
5230 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); | |
5231 | return 1; | |
5232 | } | |
5233 | ||
5234 | ||
5235 | static PyObject *_wrap_SplitterNameStr_get() { | |
5236 | PyObject *pyobj; | |
5237 | ||
5238 | { | |
5239 | #if wxUSE_UNICODE | |
5240 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5241 | #else | |
5242 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5243 | #endif | |
5244 | } | |
5245 | return pyobj; | |
5246 | } | |
5247 | ||
5248 | ||
d14a1e28 RD |
5249 | static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
5250 | PyObject *resultobj; | |
5251 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 5252 | int arg2 ; |
d14a1e28 RD |
5253 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
5254 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5255 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5256 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5257 | long arg5 = (long) wxSP_3D ; | |
5258 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
5259 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5260 | wxSplitterWindow *result; | |
5261 | wxPoint temp3 ; | |
5262 | wxSize temp4 ; | |
e811c8ce | 5263 | bool temp6 = False ; |
d14a1e28 | 5264 | PyObject * obj0 = 0 ; |
994141e6 | 5265 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5266 | PyObject * obj2 = 0 ; |
5267 | PyObject * obj3 = 0 ; | |
994141e6 | 5268 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
5269 | PyObject * obj5 = 0 ; |
5270 | char *kwnames[] = { | |
994141e6 | 5271 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5272 | }; |
5273 | ||
994141e6 | 5274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
5275 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
5276 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5277 | arg2 = (int) SWIG_AsInt(obj1); | |
5278 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5279 | if (obj2) { |
5280 | { | |
5281 | arg3 = &temp3; | |
5282 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5283 | } | |
5284 | } | |
5285 | if (obj3) { | |
5286 | { | |
5287 | arg4 = &temp4; | |
5288 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5289 | } | |
5290 | } | |
15afbcd0 RD |
5291 | if (obj4) { |
5292 | arg5 = (long) SWIG_AsLong(obj4); | |
5293 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5294 | } |
d14a1e28 RD |
5295 | if (obj5) { |
5296 | { | |
5297 | arg6 = wxString_in_helper(obj5); | |
5298 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 5299 | temp6 = True; |
d14a1e28 RD |
5300 | } |
5301 | } | |
5302 | { | |
5303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5304 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5305 | ||
5306 | wxPyEndAllowThreads(__tstate); | |
5307 | if (PyErr_Occurred()) SWIG_fail; | |
5308 | } | |
15afbcd0 | 5309 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
5310 | { |
5311 | if (temp6) | |
5312 | delete arg6; | |
5313 | } | |
5314 | return resultobj; | |
5315 | fail: | |
5316 | { | |
5317 | if (temp6) | |
5318 | delete arg6; | |
5319 | } | |
5320 | return NULL; | |
5321 | } | |
5322 | ||
5323 | ||
5324 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5325 | PyObject *resultobj; | |
5326 | wxSplitterWindow *result; | |
5327 | char *kwnames[] = { | |
5328 | NULL | |
5329 | }; | |
5330 | ||
5331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
5332 | { | |
5333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5334 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
5335 | ||
5336 | wxPyEndAllowThreads(__tstate); | |
5337 | if (PyErr_Occurred()) SWIG_fail; | |
5338 | } | |
15afbcd0 | 5339 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
5340 | return resultobj; |
5341 | fail: | |
5342 | return NULL; | |
5343 | } | |
5344 | ||
5345 | ||
5346 | static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5347 | PyObject *resultobj; | |
5348 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5349 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 5350 | int arg3 ; |
d14a1e28 RD |
5351 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5352 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5353 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5354 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5355 | long arg6 = (long) wxSP_3D ; | |
5356 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
5357 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5358 | bool result; | |
5359 | wxPoint temp4 ; | |
5360 | wxSize temp5 ; | |
e811c8ce | 5361 | bool temp7 = False ; |
d14a1e28 RD |
5362 | PyObject * obj0 = 0 ; |
5363 | PyObject * obj1 = 0 ; | |
994141e6 | 5364 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5365 | PyObject * obj3 = 0 ; |
5366 | PyObject * obj4 = 0 ; | |
994141e6 | 5367 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
5368 | PyObject * obj6 = 0 ; |
5369 | char *kwnames[] = { | |
994141e6 | 5370 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5371 | }; |
5372 | ||
994141e6 | 5373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
5374 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5375 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5376 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5377 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5378 | arg3 = (int) SWIG_AsInt(obj2); | |
5379 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5380 | if (obj3) { |
5381 | { | |
5382 | arg4 = &temp4; | |
5383 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5384 | } | |
5385 | } | |
5386 | if (obj4) { | |
5387 | { | |
5388 | arg5 = &temp5; | |
5389 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5390 | } | |
5391 | } | |
994141e6 | 5392 | if (obj5) { |
15afbcd0 RD |
5393 | arg6 = (long) SWIG_AsLong(obj5); |
5394 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5395 | } |
d14a1e28 RD |
5396 | if (obj6) { |
5397 | { | |
5398 | arg7 = wxString_in_helper(obj6); | |
5399 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 5400 | temp7 = True; |
d14a1e28 RD |
5401 | } |
5402 | } | |
5403 | { | |
5404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5405 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5406 | ||
5407 | wxPyEndAllowThreads(__tstate); | |
5408 | if (PyErr_Occurred()) SWIG_fail; | |
5409 | } | |
4d5c3d91 | 5410 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5411 | { |
5412 | if (temp7) | |
5413 | delete arg7; | |
5414 | } | |
5415 | return resultobj; | |
5416 | fail: | |
5417 | { | |
5418 | if (temp7) | |
5419 | delete arg7; | |
5420 | } | |
5421 | return NULL; | |
5422 | } | |
5423 | ||
5424 | ||
5425 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5426 | PyObject *resultobj; | |
5427 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5428 | wxWindow *result; | |
5429 | PyObject * obj0 = 0 ; | |
5430 | char *kwnames[] = { | |
5431 | (char *) "self", NULL | |
5432 | }; | |
5433 | ||
5434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5435 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5436 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5437 | { |
5438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5439 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
5440 | ||
5441 | wxPyEndAllowThreads(__tstate); | |
5442 | if (PyErr_Occurred()) SWIG_fail; | |
5443 | } | |
5444 | { | |
5445 | resultobj = wxPyMake_wxObject(result); | |
5446 | } | |
5447 | return resultobj; | |
5448 | fail: | |
5449 | return NULL; | |
5450 | } | |
5451 | ||
5452 | ||
5453 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5454 | PyObject *resultobj; | |
5455 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5456 | wxWindow *result; | |
5457 | PyObject * obj0 = 0 ; | |
5458 | char *kwnames[] = { | |
5459 | (char *) "self", NULL | |
5460 | }; | |
5461 | ||
5462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5463 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5464 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5465 | { |
5466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5467 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
5468 | ||
5469 | wxPyEndAllowThreads(__tstate); | |
5470 | if (PyErr_Occurred()) SWIG_fail; | |
5471 | } | |
5472 | { | |
5473 | resultobj = wxPyMake_wxObject(result); | |
5474 | } | |
5475 | return resultobj; | |
5476 | fail: | |
5477 | return NULL; | |
5478 | } | |
5479 | ||
5480 | ||
5481 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5482 | PyObject *resultobj; | |
5483 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5484 | int arg2 ; | |
5485 | PyObject * obj0 = 0 ; | |
994141e6 | 5486 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5487 | char *kwnames[] = { |
5488 | (char *) "self",(char *) "mode", NULL | |
5489 | }; | |
5490 | ||
994141e6 | 5491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5492 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5493 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5494 | arg2 = (int) SWIG_AsInt(obj1); | |
5495 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5496 | { |
5497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5498 | (arg1)->SetSplitMode(arg2); | |
5499 | ||
5500 | wxPyEndAllowThreads(__tstate); | |
5501 | if (PyErr_Occurred()) SWIG_fail; | |
5502 | } | |
5503 | Py_INCREF(Py_None); resultobj = Py_None; | |
5504 | return resultobj; | |
5505 | fail: | |
5506 | return NULL; | |
5507 | } | |
5508 | ||
5509 | ||
5510 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5511 | PyObject *resultobj; | |
5512 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5513 | int result; | |
5514 | PyObject * obj0 = 0 ; | |
5515 | char *kwnames[] = { | |
5516 | (char *) "self", NULL | |
5517 | }; | |
5518 | ||
5519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5520 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5521 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5522 | { |
5523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5524 | result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode(); | |
5525 | ||
5526 | wxPyEndAllowThreads(__tstate); | |
5527 | if (PyErr_Occurred()) SWIG_fail; | |
5528 | } | |
15afbcd0 | 5529 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5530 | return resultobj; |
5531 | fail: | |
5532 | return NULL; | |
5533 | } | |
5534 | ||
5535 | ||
5536 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5537 | PyObject *resultobj; | |
5538 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5539 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5540 | PyObject * obj0 = 0 ; | |
5541 | PyObject * obj1 = 0 ; | |
5542 | char *kwnames[] = { | |
5543 | (char *) "self",(char *) "window", NULL | |
5544 | }; | |
5545 | ||
5546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5547 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5549 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5550 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5551 | { |
5552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5553 | (arg1)->Initialize(arg2); | |
5554 | ||
5555 | wxPyEndAllowThreads(__tstate); | |
5556 | if (PyErr_Occurred()) SWIG_fail; | |
5557 | } | |
5558 | Py_INCREF(Py_None); resultobj = Py_None; | |
5559 | return resultobj; | |
5560 | fail: | |
5561 | return NULL; | |
5562 | } | |
5563 | ||
5564 | ||
5565 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5566 | PyObject *resultobj; | |
5567 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5568 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5569 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5570 | int arg4 = (int) 0 ; | |
5571 | bool result; | |
5572 | PyObject * obj0 = 0 ; | |
5573 | PyObject * obj1 = 0 ; | |
5574 | PyObject * obj2 = 0 ; | |
994141e6 | 5575 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5576 | char *kwnames[] = { |
5577 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5578 | }; | |
5579 | ||
994141e6 | 5580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
5581 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5582 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5583 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5584 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5585 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5586 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5587 | if (obj3) { |
15afbcd0 RD |
5588 | arg4 = (int) SWIG_AsInt(obj3); |
5589 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5590 | } |
d14a1e28 RD |
5591 | { |
5592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5593 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
5594 | ||
5595 | wxPyEndAllowThreads(__tstate); | |
5596 | if (PyErr_Occurred()) SWIG_fail; | |
5597 | } | |
4d5c3d91 | 5598 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5599 | return resultobj; |
5600 | fail: | |
5601 | return NULL; | |
5602 | } | |
5603 | ||
5604 | ||
5605 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5606 | PyObject *resultobj; | |
5607 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5608 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5609 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5610 | int arg4 = (int) 0 ; | |
5611 | bool result; | |
5612 | PyObject * obj0 = 0 ; | |
5613 | PyObject * obj1 = 0 ; | |
5614 | PyObject * obj2 = 0 ; | |
994141e6 | 5615 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5616 | char *kwnames[] = { |
5617 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5618 | }; | |
5619 | ||
994141e6 | 5620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
5621 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5622 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5623 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5624 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5625 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5626 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5627 | if (obj3) { |
15afbcd0 RD |
5628 | arg4 = (int) SWIG_AsInt(obj3); |
5629 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5630 | } |
d14a1e28 RD |
5631 | { |
5632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5633 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
5634 | ||
5635 | wxPyEndAllowThreads(__tstate); | |
5636 | if (PyErr_Occurred()) SWIG_fail; | |
5637 | } | |
4d5c3d91 | 5638 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5639 | return resultobj; |
5640 | fail: | |
5641 | return NULL; | |
5642 | } | |
5643 | ||
5644 | ||
5645 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5646 | PyObject *resultobj; | |
5647 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5648 | wxWindow *arg2 = (wxWindow *) NULL ; | |
5649 | bool result; | |
5650 | PyObject * obj0 = 0 ; | |
5651 | PyObject * obj1 = 0 ; | |
5652 | char *kwnames[] = { | |
5653 | (char *) "self",(char *) "toRemove", NULL | |
5654 | }; | |
5655 | ||
5656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5657 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 5659 | if (obj1) { |
15afbcd0 RD |
5660 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
5661 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5662 | } |
5663 | { | |
5664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5665 | result = (bool)(arg1)->Unsplit(arg2); | |
5666 | ||
5667 | wxPyEndAllowThreads(__tstate); | |
5668 | if (PyErr_Occurred()) SWIG_fail; | |
5669 | } | |
4d5c3d91 | 5670 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5671 | return resultobj; |
5672 | fail: | |
5673 | return NULL; | |
5674 | } | |
5675 | ||
5676 | ||
5677 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5678 | PyObject *resultobj; | |
5679 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5680 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5681 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5682 | bool result; | |
5683 | PyObject * obj0 = 0 ; | |
5684 | PyObject * obj1 = 0 ; | |
5685 | PyObject * obj2 = 0 ; | |
5686 | char *kwnames[] = { | |
5687 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
5688 | }; | |
5689 | ||
5690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
5691 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5692 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5693 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5694 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5695 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5697 | { |
5698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5699 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
5700 | ||
5701 | wxPyEndAllowThreads(__tstate); | |
5702 | if (PyErr_Occurred()) SWIG_fail; | |
5703 | } | |
4d5c3d91 | 5704 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5705 | return resultobj; |
5706 | fail: | |
5707 | return NULL; | |
5708 | } | |
5709 | ||
5710 | ||
5711 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5712 | PyObject *resultobj; | |
5713 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5714 | bool result; | |
5715 | PyObject * obj0 = 0 ; | |
5716 | char *kwnames[] = { | |
5717 | (char *) "self", NULL | |
5718 | }; | |
5719 | ||
5720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5721 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5722 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5723 | { |
5724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5725 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
5726 | ||
5727 | wxPyEndAllowThreads(__tstate); | |
5728 | if (PyErr_Occurred()) SWIG_fail; | |
5729 | } | |
4d5c3d91 | 5730 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5731 | return resultobj; |
5732 | fail: | |
5733 | return NULL; | |
5734 | } | |
5735 | ||
5736 | ||
5737 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5738 | PyObject *resultobj; | |
5739 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5740 | int arg2 ; | |
5741 | PyObject * obj0 = 0 ; | |
994141e6 | 5742 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5743 | char *kwnames[] = { |
5744 | (char *) "self",(char *) "width", NULL | |
5745 | }; | |
5746 | ||
994141e6 | 5747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5748 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5749 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5750 | arg2 = (int) SWIG_AsInt(obj1); | |
5751 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5752 | { |
5753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5754 | (arg1)->SetSashSize(arg2); | |
5755 | ||
5756 | wxPyEndAllowThreads(__tstate); | |
5757 | if (PyErr_Occurred()) SWIG_fail; | |
5758 | } | |
5759 | Py_INCREF(Py_None); resultobj = Py_None; | |
5760 | return resultobj; | |
5761 | fail: | |
5762 | return NULL; | |
5763 | } | |
5764 | ||
5765 | ||
5766 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5767 | PyObject *resultobj; | |
5768 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5769 | int arg2 ; | |
5770 | PyObject * obj0 = 0 ; | |
994141e6 | 5771 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5772 | char *kwnames[] = { |
5773 | (char *) "self",(char *) "width", NULL | |
5774 | }; | |
5775 | ||
994141e6 | 5776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5777 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5778 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5779 | arg2 = (int) SWIG_AsInt(obj1); | |
5780 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5781 | { |
5782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5783 | (arg1)->SetBorderSize(arg2); | |
5784 | ||
5785 | wxPyEndAllowThreads(__tstate); | |
5786 | if (PyErr_Occurred()) SWIG_fail; | |
5787 | } | |
5788 | Py_INCREF(Py_None); resultobj = Py_None; | |
5789 | return resultobj; | |
5790 | fail: | |
5791 | return NULL; | |
5792 | } | |
5793 | ||
5794 | ||
5795 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5796 | PyObject *resultobj; | |
5797 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5798 | int result; | |
5799 | PyObject * obj0 = 0 ; | |
5800 | char *kwnames[] = { | |
5801 | (char *) "self", NULL | |
5802 | }; | |
5803 | ||
5804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5805 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5806 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5807 | { |
5808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5809 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
5810 | ||
5811 | wxPyEndAllowThreads(__tstate); | |
5812 | if (PyErr_Occurred()) SWIG_fail; | |
5813 | } | |
15afbcd0 | 5814 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5815 | return resultobj; |
5816 | fail: | |
5817 | return NULL; | |
5818 | } | |
5819 | ||
5820 | ||
5821 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5822 | PyObject *resultobj; | |
5823 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5824 | int result; | |
5825 | PyObject * obj0 = 0 ; | |
5826 | char *kwnames[] = { | |
5827 | (char *) "self", NULL | |
5828 | }; | |
5829 | ||
5830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5831 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5832 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5833 | { |
5834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5835 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
5836 | ||
5837 | wxPyEndAllowThreads(__tstate); | |
5838 | if (PyErr_Occurred()) SWIG_fail; | |
5839 | } | |
15afbcd0 | 5840 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5841 | return resultobj; |
5842 | fail: | |
5843 | return NULL; | |
5844 | } | |
5845 | ||
5846 | ||
5847 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5848 | PyObject *resultobj; | |
5849 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5850 | int arg2 ; | |
e811c8ce | 5851 | bool arg3 = (bool) True ; |
d14a1e28 | 5852 | PyObject * obj0 = 0 ; |
994141e6 | 5853 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5854 | PyObject * obj2 = 0 ; |
5855 | char *kwnames[] = { | |
5856 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
5857 | }; | |
5858 | ||
994141e6 | 5859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5860 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5861 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5862 | arg2 = (int) SWIG_AsInt(obj1); | |
5863 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 | 5864 | if (obj2) { |
15afbcd0 RD |
5865 | arg3 = (bool) SWIG_AsBool(obj2); |
5866 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5867 | } |
5868 | { | |
5869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5870 | (arg1)->SetSashPosition(arg2,arg3); | |
5871 | ||
5872 | wxPyEndAllowThreads(__tstate); | |
5873 | if (PyErr_Occurred()) SWIG_fail; | |
5874 | } | |
5875 | Py_INCREF(Py_None); resultobj = Py_None; | |
5876 | return resultobj; | |
5877 | fail: | |
5878 | return NULL; | |
5879 | } | |
5880 | ||
5881 | ||
5882 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5883 | PyObject *resultobj; | |
5884 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5885 | int result; | |
5886 | PyObject * obj0 = 0 ; | |
5887 | char *kwnames[] = { | |
5888 | (char *) "self", NULL | |
5889 | }; | |
5890 | ||
5891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5892 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5893 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5894 | { |
5895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5896 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
5897 | ||
5898 | wxPyEndAllowThreads(__tstate); | |
5899 | if (PyErr_Occurred()) SWIG_fail; | |
5900 | } | |
15afbcd0 | 5901 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5902 | return resultobj; |
5903 | fail: | |
5904 | return NULL; | |
5905 | } | |
5906 | ||
5907 | ||
5908 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5909 | PyObject *resultobj; | |
5910 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5911 | int arg2 ; | |
5912 | PyObject * obj0 = 0 ; | |
994141e6 | 5913 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5914 | char *kwnames[] = { |
5915 | (char *) "self",(char *) "min", NULL | |
5916 | }; | |
5917 | ||
994141e6 | 5918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5919 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5920 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5921 | arg2 = (int) SWIG_AsInt(obj1); | |
5922 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5923 | { |
5924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5925 | (arg1)->SetMinimumPaneSize(arg2); | |
5926 | ||
5927 | wxPyEndAllowThreads(__tstate); | |
5928 | if (PyErr_Occurred()) SWIG_fail; | |
5929 | } | |
5930 | Py_INCREF(Py_None); resultobj = Py_None; | |
5931 | return resultobj; | |
5932 | fail: | |
5933 | return NULL; | |
5934 | } | |
5935 | ||
5936 | ||
5937 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5938 | PyObject *resultobj; | |
5939 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5940 | int result; | |
5941 | PyObject * obj0 = 0 ; | |
5942 | char *kwnames[] = { | |
5943 | (char *) "self", NULL | |
5944 | }; | |
5945 | ||
5946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5947 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5948 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5949 | { |
5950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5951 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
5952 | ||
5953 | wxPyEndAllowThreads(__tstate); | |
5954 | if (PyErr_Occurred()) SWIG_fail; | |
5955 | } | |
15afbcd0 | 5956 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5957 | return resultobj; |
5958 | fail: | |
5959 | return NULL; | |
5960 | } | |
5961 | ||
5962 | ||
5963 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5964 | PyObject *resultobj; | |
5965 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5966 | int arg2 ; | |
5967 | int arg3 ; | |
5968 | int arg4 = (int) 5 ; | |
5969 | bool result; | |
5970 | PyObject * obj0 = 0 ; | |
994141e6 RD |
5971 | PyObject * obj1 = 0 ; |
5972 | PyObject * obj2 = 0 ; | |
5973 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
5974 | char *kwnames[] = { |
5975 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
5976 | }; | |
5977 | ||
994141e6 | 5978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
5979 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5980 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5981 | arg2 = (int) SWIG_AsInt(obj1); | |
5982 | if (PyErr_Occurred()) SWIG_fail; | |
5983 | arg3 = (int) SWIG_AsInt(obj2); | |
5984 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5985 | if (obj3) { |
15afbcd0 RD |
5986 | arg4 = (int) SWIG_AsInt(obj3); |
5987 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5988 | } |
d14a1e28 RD |
5989 | { |
5990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5991 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
5992 | ||
5993 | wxPyEndAllowThreads(__tstate); | |
5994 | if (PyErr_Occurred()) SWIG_fail; | |
5995 | } | |
4d5c3d91 | 5996 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5997 | return resultobj; |
5998 | fail: | |
5999 | return NULL; | |
6000 | } | |
6001 | ||
6002 | ||
6003 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6004 | PyObject *resultobj; | |
6005 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6006 | PyObject * obj0 = 0 ; | |
6007 | char *kwnames[] = { | |
6008 | (char *) "self", NULL | |
6009 | }; | |
6010 | ||
6011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6012 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6013 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6014 | { |
6015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6016 | (arg1)->SizeWindows(); | |
6017 | ||
6018 | wxPyEndAllowThreads(__tstate); | |
6019 | if (PyErr_Occurred()) SWIG_fail; | |
6020 | } | |
6021 | Py_INCREF(Py_None); resultobj = Py_None; | |
6022 | return resultobj; | |
6023 | fail: | |
6024 | return NULL; | |
6025 | } | |
6026 | ||
6027 | ||
6028 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6029 | PyObject *resultobj; | |
6030 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6031 | bool arg2 ; | |
6032 | PyObject * obj0 = 0 ; | |
6033 | PyObject * obj1 = 0 ; | |
6034 | char *kwnames[] = { | |
6035 | (char *) "self",(char *) "needUpdating", NULL | |
6036 | }; | |
6037 | ||
6038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6039 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6040 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6041 | arg2 = (bool) SWIG_AsBool(obj1); | |
6042 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6043 | { |
6044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6045 | (arg1)->SetNeedUpdating(arg2); | |
6046 | ||
6047 | wxPyEndAllowThreads(__tstate); | |
6048 | if (PyErr_Occurred()) SWIG_fail; | |
6049 | } | |
6050 | Py_INCREF(Py_None); resultobj = Py_None; | |
6051 | return resultobj; | |
6052 | fail: | |
6053 | return NULL; | |
6054 | } | |
6055 | ||
6056 | ||
6057 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6058 | PyObject *resultobj; | |
6059 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6060 | bool result; | |
6061 | PyObject * obj0 = 0 ; | |
6062 | char *kwnames[] = { | |
6063 | (char *) "self", NULL | |
6064 | }; | |
6065 | ||
6066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6067 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6068 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6069 | { |
6070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6071 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
6072 | ||
6073 | wxPyEndAllowThreads(__tstate); | |
6074 | if (PyErr_Occurred()) SWIG_fail; | |
6075 | } | |
4d5c3d91 | 6076 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6077 | return resultobj; |
6078 | fail: | |
6079 | return NULL; | |
6080 | } | |
6081 | ||
6082 | ||
6083 | static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) { | |
6084 | PyObject *obj; | |
6085 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6086 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
6087 | Py_INCREF(obj); | |
6088 | return Py_BuildValue((char *)""); | |
6089 | } | |
6090 | static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6091 | PyObject *resultobj; | |
6092 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
6093 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
6094 | wxSplitterEvent *result; | |
994141e6 | 6095 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
6096 | PyObject * obj1 = 0 ; |
6097 | char *kwnames[] = { | |
6098 | (char *) "type",(char *) "splitter", NULL | |
6099 | }; | |
6100 | ||
994141e6 RD |
6101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; |
6102 | if (obj0) { | |
15afbcd0 RD |
6103 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
6104 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6105 | } |
d14a1e28 | 6106 | if (obj1) { |
15afbcd0 RD |
6107 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow, |
6108 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6109 | } |
6110 | { | |
6111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6112 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
6113 | ||
6114 | wxPyEndAllowThreads(__tstate); | |
6115 | if (PyErr_Occurred()) SWIG_fail; | |
6116 | } | |
15afbcd0 | 6117 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); |
d14a1e28 RD |
6118 | return resultobj; |
6119 | fail: | |
6120 | return NULL; | |
6121 | } | |
6122 | ||
6123 | ||
6124 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6125 | PyObject *resultobj; | |
6126 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6127 | int arg2 ; | |
6128 | PyObject * obj0 = 0 ; | |
994141e6 | 6129 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6130 | char *kwnames[] = { |
6131 | (char *) "self",(char *) "pos", NULL | |
6132 | }; | |
6133 | ||
994141e6 | 6134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6135 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6136 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6137 | arg2 = (int) SWIG_AsInt(obj1); | |
6138 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6139 | { |
6140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6141 | (arg1)->SetSashPosition(arg2); | |
6142 | ||
6143 | wxPyEndAllowThreads(__tstate); | |
6144 | if (PyErr_Occurred()) SWIG_fail; | |
6145 | } | |
6146 | Py_INCREF(Py_None); resultobj = Py_None; | |
6147 | return resultobj; | |
6148 | fail: | |
6149 | return NULL; | |
6150 | } | |
6151 | ||
6152 | ||
6153 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6154 | PyObject *resultobj; | |
6155 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6156 | int result; | |
6157 | PyObject * obj0 = 0 ; | |
6158 | char *kwnames[] = { | |
6159 | (char *) "self", NULL | |
6160 | }; | |
6161 | ||
6162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6163 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6164 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6165 | { |
6166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6167 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
6168 | ||
6169 | wxPyEndAllowThreads(__tstate); | |
6170 | if (PyErr_Occurred()) SWIG_fail; | |
6171 | } | |
15afbcd0 | 6172 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6173 | return resultobj; |
6174 | fail: | |
6175 | return NULL; | |
6176 | } | |
6177 | ||
6178 | ||
6179 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6180 | PyObject *resultobj; | |
6181 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6182 | wxWindow *result; | |
6183 | PyObject * obj0 = 0 ; | |
6184 | char *kwnames[] = { | |
6185 | (char *) "self", NULL | |
6186 | }; | |
6187 | ||
6188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6189 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6190 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6191 | { |
6192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6193 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
6194 | ||
6195 | wxPyEndAllowThreads(__tstate); | |
6196 | if (PyErr_Occurred()) SWIG_fail; | |
6197 | } | |
6198 | { | |
6199 | resultobj = wxPyMake_wxObject(result); | |
6200 | } | |
6201 | return resultobj; | |
6202 | fail: | |
6203 | return NULL; | |
6204 | } | |
6205 | ||
6206 | ||
6207 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6208 | PyObject *resultobj; | |
6209 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6210 | int result; | |
6211 | PyObject * obj0 = 0 ; | |
6212 | char *kwnames[] = { | |
6213 | (char *) "self", NULL | |
6214 | }; | |
6215 | ||
6216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6217 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6218 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6219 | { |
6220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6221 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
6222 | ||
6223 | wxPyEndAllowThreads(__tstate); | |
6224 | if (PyErr_Occurred()) SWIG_fail; | |
6225 | } | |
15afbcd0 | 6226 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6227 | return resultobj; |
6228 | fail: | |
6229 | return NULL; | |
6230 | } | |
6231 | ||
6232 | ||
6233 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6234 | PyObject *resultobj; | |
6235 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6236 | int result; | |
6237 | PyObject * obj0 = 0 ; | |
6238 | char *kwnames[] = { | |
6239 | (char *) "self", NULL | |
6240 | }; | |
6241 | ||
6242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6243 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6244 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6245 | { |
6246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6247 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
6248 | ||
6249 | wxPyEndAllowThreads(__tstate); | |
6250 | if (PyErr_Occurred()) SWIG_fail; | |
6251 | } | |
15afbcd0 | 6252 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6253 | return resultobj; |
6254 | fail: | |
6255 | return NULL; | |
6256 | } | |
6257 | ||
6258 | ||
6259 | static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) { | |
6260 | PyObject *obj; | |
6261 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6262 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
6263 | Py_INCREF(obj); | |
6264 | return Py_BuildValue((char *)""); | |
6265 | } | |
b2dc1044 RD |
6266 | static int _wrap_SashNameStr_set(PyObject *_val) { |
6267 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); | |
6268 | return 1; | |
6269 | } | |
6270 | ||
6271 | ||
6272 | static PyObject *_wrap_SashNameStr_get() { | |
6273 | PyObject *pyobj; | |
6274 | ||
6275 | { | |
6276 | #if wxUSE_UNICODE | |
6277 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6278 | #else | |
6279 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6280 | #endif | |
6281 | } | |
6282 | return pyobj; | |
6283 | } | |
6284 | ||
6285 | ||
6286 | static int _wrap_SashLayoutNameStr_set(PyObject *_val) { | |
6287 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); | |
6288 | return 1; | |
6289 | } | |
6290 | ||
6291 | ||
6292 | static PyObject *_wrap_SashLayoutNameStr_get() { | |
6293 | PyObject *pyobj; | |
6294 | ||
6295 | { | |
6296 | #if wxUSE_UNICODE | |
6297 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6298 | #else | |
6299 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6300 | #endif | |
6301 | } | |
6302 | return pyobj; | |
6303 | } | |
6304 | ||
6305 | ||
d14a1e28 RD |
6306 | static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
6307 | PyObject *resultobj; | |
6308 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 6309 | int arg2 ; |
d14a1e28 RD |
6310 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
6311 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
6312 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
6313 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
6314 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6315 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
6316 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
6317 | wxSashWindow *result; | |
6318 | wxPoint temp3 ; | |
6319 | wxSize temp4 ; | |
e811c8ce | 6320 | bool temp6 = False ; |
d14a1e28 | 6321 | PyObject * obj0 = 0 ; |
994141e6 | 6322 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6323 | PyObject * obj2 = 0 ; |
6324 | PyObject * obj3 = 0 ; | |
994141e6 | 6325 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
6326 | PyObject * obj5 = 0 ; |
6327 | char *kwnames[] = { | |
6328 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6329 | }; | |
6330 | ||
994141e6 | 6331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
6332 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
6333 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6334 | arg2 = (int) SWIG_AsInt(obj1); | |
6335 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6336 | if (obj2) { |
6337 | { | |
6338 | arg3 = &temp3; | |
6339 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
6340 | } | |
6341 | } | |
6342 | if (obj3) { | |
6343 | { | |
6344 | arg4 = &temp4; | |
6345 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
6346 | } | |
6347 | } | |
994141e6 | 6348 | if (obj4) { |
15afbcd0 RD |
6349 | arg5 = (long) SWIG_AsLong(obj4); |
6350 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6351 | } |
d14a1e28 RD |
6352 | if (obj5) { |
6353 | { | |
6354 | arg6 = wxString_in_helper(obj5); | |
6355 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 6356 | temp6 = True; |
d14a1e28 RD |
6357 | } |
6358 | } | |
6359 | { | |
6360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6361 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
6362 | ||
6363 | wxPyEndAllowThreads(__tstate); | |
6364 | if (PyErr_Occurred()) SWIG_fail; | |
6365 | } | |
15afbcd0 | 6366 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
6367 | { |
6368 | if (temp6) | |
6369 | delete arg6; | |
6370 | } | |
6371 | return resultobj; | |
6372 | fail: | |
6373 | { | |
6374 | if (temp6) | |
6375 | delete arg6; | |
6376 | } | |
6377 | return NULL; | |
6378 | } | |
6379 | ||
6380 | ||
6381 | static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6382 | PyObject *resultobj; | |
6383 | wxSashWindow *result; | |
6384 | char *kwnames[] = { | |
6385 | NULL | |
6386 | }; | |
6387 | ||
6388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
6389 | { | |
6390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6391 | result = (wxSashWindow *)new wxSashWindow(); | |
6392 | ||
6393 | wxPyEndAllowThreads(__tstate); | |
6394 | if (PyErr_Occurred()) SWIG_fail; | |
6395 | } | |
15afbcd0 | 6396 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
6397 | return resultobj; |
6398 | fail: | |
6399 | return NULL; | |
6400 | } | |
6401 | ||
6402 | ||
6403 | static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6404 | PyObject *resultobj; | |
6405 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6406 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 6407 | int arg3 ; |
d14a1e28 RD |
6408 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6409 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6410 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6411 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6412 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6413 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
6414 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6415 | bool result; | |
6416 | wxPoint temp4 ; | |
6417 | wxSize temp5 ; | |
e811c8ce | 6418 | bool temp7 = False ; |
d14a1e28 RD |
6419 | PyObject * obj0 = 0 ; |
6420 | PyObject * obj1 = 0 ; | |
994141e6 | 6421 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
6422 | PyObject * obj3 = 0 ; |
6423 | PyObject * obj4 = 0 ; | |
994141e6 | 6424 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
6425 | PyObject * obj6 = 0 ; |
6426 | char *kwnames[] = { | |
6427 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6428 | }; | |
6429 | ||
994141e6 | 6430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
6431 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6432 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6433 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6434 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6435 | arg3 = (int) SWIG_AsInt(obj2); | |
6436 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6437 | if (obj3) { |
6438 | { | |
6439 | arg4 = &temp4; | |
6440 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6441 | } | |
6442 | } | |
6443 | if (obj4) { | |
6444 | { | |
6445 | arg5 = &temp5; | |
6446 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6447 | } | |
6448 | } | |
994141e6 | 6449 | if (obj5) { |
15afbcd0 RD |
6450 | arg6 = (long) SWIG_AsLong(obj5); |
6451 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6452 | } |
d14a1e28 RD |
6453 | if (obj6) { |
6454 | { | |
6455 | arg7 = wxString_in_helper(obj6); | |
6456 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 6457 | temp7 = True; |
d14a1e28 RD |
6458 | } |
6459 | } | |
6460 | { | |
6461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6462 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6463 | ||
6464 | wxPyEndAllowThreads(__tstate); | |
6465 | if (PyErr_Occurred()) SWIG_fail; | |
6466 | } | |
4d5c3d91 | 6467 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6468 | { |
6469 | if (temp7) | |
6470 | delete arg7; | |
6471 | } | |
6472 | return resultobj; | |
6473 | fail: | |
6474 | { | |
6475 | if (temp7) | |
6476 | delete arg7; | |
6477 | } | |
6478 | return NULL; | |
6479 | } | |
6480 | ||
6481 | ||
6482 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6483 | PyObject *resultobj; | |
6484 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6485 | int arg2 ; | |
6486 | bool arg3 ; | |
6487 | PyObject * obj0 = 0 ; | |
994141e6 | 6488 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6489 | PyObject * obj2 = 0 ; |
6490 | char *kwnames[] = { | |
6491 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
6492 | }; | |
6493 | ||
994141e6 | 6494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6495 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6496 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6497 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6498 | if (PyErr_Occurred()) SWIG_fail; | |
6499 | arg3 = (bool) SWIG_AsBool(obj2); | |
6500 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6501 | { |
6502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6503 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
6504 | ||
6505 | wxPyEndAllowThreads(__tstate); | |
6506 | if (PyErr_Occurred()) SWIG_fail; | |
6507 | } | |
6508 | Py_INCREF(Py_None); resultobj = Py_None; | |
6509 | return resultobj; | |
6510 | fail: | |
6511 | return NULL; | |
6512 | } | |
6513 | ||
6514 | ||
6515 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6516 | PyObject *resultobj; | |
6517 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6518 | int arg2 ; | |
6519 | bool result; | |
6520 | PyObject * obj0 = 0 ; | |
994141e6 | 6521 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6522 | char *kwnames[] = { |
6523 | (char *) "self",(char *) "edge", NULL | |
6524 | }; | |
6525 | ||
994141e6 | 6526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6527 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6529 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6530 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6531 | { |
6532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6533 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
6534 | ||
6535 | wxPyEndAllowThreads(__tstate); | |
6536 | if (PyErr_Occurred()) SWIG_fail; | |
6537 | } | |
4d5c3d91 | 6538 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6539 | return resultobj; |
6540 | fail: | |
6541 | return NULL; | |
6542 | } | |
6543 | ||
6544 | ||
6545 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6546 | PyObject *resultobj; | |
6547 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6548 | int arg2 ; | |
6549 | bool arg3 ; | |
6550 | PyObject * obj0 = 0 ; | |
994141e6 | 6551 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6552 | PyObject * obj2 = 0 ; |
6553 | char *kwnames[] = { | |
6554 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
6555 | }; | |
6556 | ||
994141e6 | 6557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6558 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6559 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6560 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6561 | if (PyErr_Occurred()) SWIG_fail; | |
6562 | arg3 = (bool) SWIG_AsBool(obj2); | |
6563 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6564 | { |
6565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6566 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
6567 | ||
6568 | wxPyEndAllowThreads(__tstate); | |
6569 | if (PyErr_Occurred()) SWIG_fail; | |
6570 | } | |
6571 | Py_INCREF(Py_None); resultobj = Py_None; | |
6572 | return resultobj; | |
6573 | fail: | |
6574 | return NULL; | |
6575 | } | |
6576 | ||
6577 | ||
6578 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6579 | PyObject *resultobj; | |
6580 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6581 | int arg2 ; | |
6582 | bool result; | |
6583 | PyObject * obj0 = 0 ; | |
994141e6 | 6584 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6585 | char *kwnames[] = { |
6586 | (char *) "self",(char *) "edge", NULL | |
6587 | }; | |
6588 | ||
994141e6 | 6589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6590 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6591 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6592 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6593 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6594 | { |
6595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6596 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
6597 | ||
6598 | wxPyEndAllowThreads(__tstate); | |
6599 | if (PyErr_Occurred()) SWIG_fail; | |
6600 | } | |
4d5c3d91 | 6601 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6602 | return resultobj; |
6603 | fail: | |
6604 | return NULL; | |
6605 | } | |
6606 | ||
6607 | ||
6608 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6609 | PyObject *resultobj; | |
6610 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6611 | int arg2 ; | |
6612 | int result; | |
6613 | PyObject * obj0 = 0 ; | |
994141e6 | 6614 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6615 | char *kwnames[] = { |
6616 | (char *) "self",(char *) "edge", NULL | |
6617 | }; | |
6618 | ||
994141e6 | 6619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6620 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6621 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6622 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6623 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6624 | { |
6625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6626 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
6627 | ||
6628 | wxPyEndAllowThreads(__tstate); | |
6629 | if (PyErr_Occurred()) SWIG_fail; | |
6630 | } | |
15afbcd0 | 6631 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6632 | return resultobj; |
6633 | fail: | |
6634 | return NULL; | |
6635 | } | |
6636 | ||
6637 | ||
6638 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6639 | PyObject *resultobj; | |
6640 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6641 | int arg2 ; | |
6642 | PyObject * obj0 = 0 ; | |
994141e6 | 6643 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6644 | char *kwnames[] = { |
6645 | (char *) "self",(char *) "width", NULL | |
6646 | }; | |
6647 | ||
994141e6 | 6648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6649 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6650 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6651 | arg2 = (int) SWIG_AsInt(obj1); | |
6652 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6653 | { |
6654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6655 | (arg1)->SetDefaultBorderSize(arg2); | |
6656 | ||
6657 | wxPyEndAllowThreads(__tstate); | |
6658 | if (PyErr_Occurred()) SWIG_fail; | |
6659 | } | |
6660 | Py_INCREF(Py_None); resultobj = Py_None; | |
6661 | return resultobj; | |
6662 | fail: | |
6663 | return NULL; | |
6664 | } | |
6665 | ||
6666 | ||
6667 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6668 | PyObject *resultobj; | |
6669 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6670 | int result; | |
6671 | PyObject * obj0 = 0 ; | |
6672 | char *kwnames[] = { | |
6673 | (char *) "self", NULL | |
6674 | }; | |
6675 | ||
6676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6677 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6678 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6679 | { |
6680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6681 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
6682 | ||
6683 | wxPyEndAllowThreads(__tstate); | |
6684 | if (PyErr_Occurred()) SWIG_fail; | |
6685 | } | |
15afbcd0 | 6686 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6687 | return resultobj; |
6688 | fail: | |
6689 | return NULL; | |
6690 | } | |
6691 | ||
6692 | ||
6693 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6694 | PyObject *resultobj; | |
6695 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6696 | int arg2 ; | |
6697 | PyObject * obj0 = 0 ; | |
994141e6 | 6698 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6699 | char *kwnames[] = { |
6700 | (char *) "self",(char *) "width", NULL | |
6701 | }; | |
6702 | ||
994141e6 | 6703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6704 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6705 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6706 | arg2 = (int) SWIG_AsInt(obj1); | |
6707 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6708 | { |
6709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6710 | (arg1)->SetExtraBorderSize(arg2); | |
6711 | ||
6712 | wxPyEndAllowThreads(__tstate); | |
6713 | if (PyErr_Occurred()) SWIG_fail; | |
6714 | } | |
6715 | Py_INCREF(Py_None); resultobj = Py_None; | |
6716 | return resultobj; | |
6717 | fail: | |
6718 | return NULL; | |
6719 | } | |
6720 | ||
6721 | ||
6722 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6723 | PyObject *resultobj; | |
6724 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6725 | int result; | |
6726 | PyObject * obj0 = 0 ; | |
6727 | char *kwnames[] = { | |
6728 | (char *) "self", NULL | |
6729 | }; | |
6730 | ||
6731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6732 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6733 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6734 | { |
6735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6736 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
6737 | ||
6738 | wxPyEndAllowThreads(__tstate); | |
6739 | if (PyErr_Occurred()) SWIG_fail; | |
6740 | } | |
15afbcd0 | 6741 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6742 | return resultobj; |
6743 | fail: | |
6744 | return NULL; | |
6745 | } | |
6746 | ||
6747 | ||
6748 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6749 | PyObject *resultobj; | |
6750 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6751 | int arg2 ; | |
6752 | PyObject * obj0 = 0 ; | |
994141e6 | 6753 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6754 | char *kwnames[] = { |
6755 | (char *) "self",(char *) "min", NULL | |
6756 | }; | |
6757 | ||
994141e6 | 6758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6759 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6760 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6761 | arg2 = (int) SWIG_AsInt(obj1); | |
6762 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6763 | { |
6764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6765 | (arg1)->SetMinimumSizeX(arg2); | |
6766 | ||
6767 | wxPyEndAllowThreads(__tstate); | |
6768 | if (PyErr_Occurred()) SWIG_fail; | |
6769 | } | |
6770 | Py_INCREF(Py_None); resultobj = Py_None; | |
6771 | return resultobj; | |
6772 | fail: | |
6773 | return NULL; | |
6774 | } | |
6775 | ||
6776 | ||
6777 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6778 | PyObject *resultobj; | |
6779 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6780 | int arg2 ; | |
6781 | PyObject * obj0 = 0 ; | |
994141e6 | 6782 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6783 | char *kwnames[] = { |
6784 | (char *) "self",(char *) "min", NULL | |
6785 | }; | |
6786 | ||
994141e6 | 6787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6788 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6789 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6790 | arg2 = (int) SWIG_AsInt(obj1); | |
6791 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6792 | { |
6793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6794 | (arg1)->SetMinimumSizeY(arg2); | |
6795 | ||
6796 | wxPyEndAllowThreads(__tstate); | |
6797 | if (PyErr_Occurred()) SWIG_fail; | |
6798 | } | |
6799 | Py_INCREF(Py_None); resultobj = Py_None; | |
6800 | return resultobj; | |
6801 | fail: | |
6802 | return NULL; | |
6803 | } | |
6804 | ||
6805 | ||
6806 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6807 | PyObject *resultobj; | |
6808 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6809 | int result; | |
6810 | PyObject * obj0 = 0 ; | |
6811 | char *kwnames[] = { | |
6812 | (char *) "self", NULL | |
6813 | }; | |
6814 | ||
6815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6816 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6817 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6818 | { |
6819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6820 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
6821 | ||
6822 | wxPyEndAllowThreads(__tstate); | |
6823 | if (PyErr_Occurred()) SWIG_fail; | |
6824 | } | |
15afbcd0 | 6825 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6826 | return resultobj; |
6827 | fail: | |
6828 | return NULL; | |
6829 | } | |
6830 | ||
6831 | ||
6832 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6833 | PyObject *resultobj; | |
6834 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6835 | int result; | |
6836 | PyObject * obj0 = 0 ; | |
6837 | char *kwnames[] = { | |
6838 | (char *) "self", NULL | |
6839 | }; | |
6840 | ||
6841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6842 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6843 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6844 | { |
6845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6846 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
6847 | ||
6848 | wxPyEndAllowThreads(__tstate); | |
6849 | if (PyErr_Occurred()) SWIG_fail; | |
6850 | } | |
15afbcd0 | 6851 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6852 | return resultobj; |
6853 | fail: | |
6854 | return NULL; | |
6855 | } | |
6856 | ||
6857 | ||
6858 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6859 | PyObject *resultobj; | |
6860 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6861 | int arg2 ; | |
6862 | PyObject * obj0 = 0 ; | |
994141e6 | 6863 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6864 | char *kwnames[] = { |
6865 | (char *) "self",(char *) "max", NULL | |
6866 | }; | |
6867 | ||
994141e6 | 6868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6869 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6870 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6871 | arg2 = (int) SWIG_AsInt(obj1); | |
6872 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6873 | { |
6874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6875 | (arg1)->SetMaximumSizeX(arg2); | |
6876 | ||
6877 | wxPyEndAllowThreads(__tstate); | |
6878 | if (PyErr_Occurred()) SWIG_fail; | |
6879 | } | |
6880 | Py_INCREF(Py_None); resultobj = Py_None; | |
6881 | return resultobj; | |
6882 | fail: | |
6883 | return NULL; | |
6884 | } | |
6885 | ||
6886 | ||
6887 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6888 | PyObject *resultobj; | |
6889 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6890 | int arg2 ; | |
6891 | PyObject * obj0 = 0 ; | |
994141e6 | 6892 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6893 | char *kwnames[] = { |
6894 | (char *) "self",(char *) "max", NULL | |
6895 | }; | |
6896 | ||
994141e6 | 6897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6898 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6899 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6900 | arg2 = (int) SWIG_AsInt(obj1); | |
6901 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6902 | { |
6903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6904 | (arg1)->SetMaximumSizeY(arg2); | |
6905 | ||
6906 | wxPyEndAllowThreads(__tstate); | |
6907 | if (PyErr_Occurred()) SWIG_fail; | |
6908 | } | |
6909 | Py_INCREF(Py_None); resultobj = Py_None; | |
6910 | return resultobj; | |
6911 | fail: | |
6912 | return NULL; | |
6913 | } | |
6914 | ||
6915 | ||
6916 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6917 | PyObject *resultobj; | |
6918 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6919 | int result; | |
6920 | PyObject * obj0 = 0 ; | |
6921 | char *kwnames[] = { | |
6922 | (char *) "self", NULL | |
6923 | }; | |
6924 | ||
6925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6926 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6927 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6928 | { |
6929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6930 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
6931 | ||
6932 | wxPyEndAllowThreads(__tstate); | |
6933 | if (PyErr_Occurred()) SWIG_fail; | |
6934 | } | |
15afbcd0 | 6935 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6936 | return resultobj; |
6937 | fail: | |
6938 | return NULL; | |
6939 | } | |
6940 | ||
6941 | ||
6942 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6943 | PyObject *resultobj; | |
6944 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6945 | int result; | |
6946 | PyObject * obj0 = 0 ; | |
6947 | char *kwnames[] = { | |
6948 | (char *) "self", NULL | |
6949 | }; | |
6950 | ||
6951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6952 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6953 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6954 | { |
6955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6956 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
6957 | ||
6958 | wxPyEndAllowThreads(__tstate); | |
6959 | if (PyErr_Occurred()) SWIG_fail; | |
6960 | } | |
15afbcd0 | 6961 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6962 | return resultobj; |
6963 | fail: | |
6964 | return NULL; | |
6965 | } | |
6966 | ||
6967 | ||
6968 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6969 | PyObject *resultobj; | |
6970 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6971 | int arg2 ; | |
6972 | int arg3 ; | |
6973 | int arg4 = (int) 2 ; | |
6974 | int result; | |
6975 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6976 | PyObject * obj1 = 0 ; |
6977 | PyObject * obj2 = 0 ; | |
6978 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
6979 | char *kwnames[] = { |
6980 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
6981 | }; | |
6982 | ||
994141e6 | 6983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
6984 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6985 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6986 | arg2 = (int) SWIG_AsInt(obj1); | |
6987 | if (PyErr_Occurred()) SWIG_fail; | |
6988 | arg3 = (int) SWIG_AsInt(obj2); | |
6989 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6990 | if (obj3) { |
15afbcd0 RD |
6991 | arg4 = (int) SWIG_AsInt(obj3); |
6992 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6993 | } |
d14a1e28 RD |
6994 | { |
6995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6996 | result = (int)(arg1)->SashHitTest(arg2,arg3,arg4); | |
6997 | ||
6998 | wxPyEndAllowThreads(__tstate); | |
6999 | if (PyErr_Occurred()) SWIG_fail; | |
7000 | } | |
15afbcd0 | 7001 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7002 | return resultobj; |
7003 | fail: | |
7004 | return NULL; | |
7005 | } | |
7006 | ||
7007 | ||
7008 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7009 | PyObject *resultobj; | |
7010 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7011 | PyObject * obj0 = 0 ; | |
7012 | char *kwnames[] = { | |
7013 | (char *) "self", NULL | |
7014 | }; | |
7015 | ||
7016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7017 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7018 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7019 | { |
7020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7021 | (arg1)->SizeWindows(); | |
7022 | ||
7023 | wxPyEndAllowThreads(__tstate); | |
7024 | if (PyErr_Occurred()) SWIG_fail; | |
7025 | } | |
7026 | Py_INCREF(Py_None); resultobj = Py_None; | |
7027 | return resultobj; | |
7028 | fail: | |
7029 | return NULL; | |
7030 | } | |
7031 | ||
7032 | ||
7033 | static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) { | |
7034 | PyObject *obj; | |
7035 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7036 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
7037 | Py_INCREF(obj); | |
7038 | return Py_BuildValue((char *)""); | |
7039 | } | |
7040 | static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7041 | PyObject *resultobj; | |
7042 | int arg1 = (int) 0 ; | |
7043 | int arg2 = (int) wxSASH_NONE ; | |
7044 | wxSashEvent *result; | |
994141e6 RD |
7045 | PyObject * obj0 = 0 ; |
7046 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
7047 | char *kwnames[] = { |
7048 | (char *) "id",(char *) "edge", NULL | |
7049 | }; | |
7050 | ||
994141e6 RD |
7051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; |
7052 | if (obj0) { | |
15afbcd0 RD |
7053 | arg1 = (int) SWIG_AsInt(obj0); |
7054 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
7055 | } |
7056 | if (obj1) { | |
15afbcd0 RD |
7057 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); |
7058 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7059 | } |
d14a1e28 RD |
7060 | { |
7061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7062 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
7063 | ||
7064 | wxPyEndAllowThreads(__tstate); | |
7065 | if (PyErr_Occurred()) SWIG_fail; | |
7066 | } | |
15afbcd0 | 7067 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); |
d14a1e28 RD |
7068 | return resultobj; |
7069 | fail: | |
7070 | return NULL; | |
7071 | } | |
7072 | ||
7073 | ||
7074 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7075 | PyObject *resultobj; | |
7076 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7077 | int arg2 ; | |
7078 | PyObject * obj0 = 0 ; | |
994141e6 | 7079 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7080 | char *kwnames[] = { |
7081 | (char *) "self",(char *) "edge", NULL | |
7082 | }; | |
7083 | ||
994141e6 | 7084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7085 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7086 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7087 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7088 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7089 | { |
7090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7091 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
7092 | ||
7093 | wxPyEndAllowThreads(__tstate); | |
7094 | if (PyErr_Occurred()) SWIG_fail; | |
7095 | } | |
7096 | Py_INCREF(Py_None); resultobj = Py_None; | |
7097 | return resultobj; | |
7098 | fail: | |
7099 | return NULL; | |
7100 | } | |
7101 | ||
7102 | ||
7103 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7104 | PyObject *resultobj; | |
7105 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7106 | int result; | |
7107 | PyObject * obj0 = 0 ; | |
7108 | char *kwnames[] = { | |
7109 | (char *) "self", NULL | |
7110 | }; | |
7111 | ||
7112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7113 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7114 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7115 | { |
7116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7117 | result = (int)((wxSashEvent const *)arg1)->GetEdge(); | |
7118 | ||
7119 | wxPyEndAllowThreads(__tstate); | |
7120 | if (PyErr_Occurred()) SWIG_fail; | |
7121 | } | |
15afbcd0 | 7122 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7123 | return resultobj; |
7124 | fail: | |
7125 | return NULL; | |
7126 | } | |
7127 | ||
7128 | ||
7129 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7130 | PyObject *resultobj; | |
7131 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7132 | wxRect *arg2 = 0 ; | |
7133 | wxRect temp2 ; | |
7134 | PyObject * obj0 = 0 ; | |
7135 | PyObject * obj1 = 0 ; | |
7136 | char *kwnames[] = { | |
7137 | (char *) "self",(char *) "rect", NULL | |
7138 | }; | |
7139 | ||
7140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7141 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7142 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7143 | { |
7144 | arg2 = &temp2; | |
7145 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7146 | } | |
7147 | { | |
7148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7149 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
7150 | ||
7151 | wxPyEndAllowThreads(__tstate); | |
7152 | if (PyErr_Occurred()) SWIG_fail; | |
7153 | } | |
7154 | Py_INCREF(Py_None); resultobj = Py_None; | |
7155 | return resultobj; | |
7156 | fail: | |
7157 | return NULL; | |
7158 | } | |
7159 | ||
7160 | ||
7161 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7162 | PyObject *resultobj; | |
7163 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7164 | wxRect result; | |
7165 | PyObject * obj0 = 0 ; | |
7166 | char *kwnames[] = { | |
7167 | (char *) "self", NULL | |
7168 | }; | |
7169 | ||
7170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7171 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7172 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7173 | { |
7174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7175 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
7176 | ||
7177 | wxPyEndAllowThreads(__tstate); | |
7178 | if (PyErr_Occurred()) SWIG_fail; | |
7179 | } | |
7180 | { | |
7181 | wxRect * resultptr; | |
7182 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 7183 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
7184 | } |
7185 | return resultobj; | |
7186 | fail: | |
7187 | return NULL; | |
7188 | } | |
7189 | ||
7190 | ||
7191 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7192 | PyObject *resultobj; | |
7193 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7194 | int arg2 ; | |
7195 | PyObject * obj0 = 0 ; | |
994141e6 | 7196 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7197 | char *kwnames[] = { |
7198 | (char *) "self",(char *) "status", NULL | |
7199 | }; | |
7200 | ||
994141e6 | 7201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7202 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7203 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7204 | arg2 = (wxSashDragStatus) SWIG_AsInt(obj1); | |
7205 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7206 | { |
7207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7208 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
7209 | ||
7210 | wxPyEndAllowThreads(__tstate); | |
7211 | if (PyErr_Occurred()) SWIG_fail; | |
7212 | } | |
7213 | Py_INCREF(Py_None); resultobj = Py_None; | |
7214 | return resultobj; | |
7215 | fail: | |
7216 | return NULL; | |
7217 | } | |
7218 | ||
7219 | ||
7220 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7221 | PyObject *resultobj; | |
7222 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7223 | int result; | |
7224 | PyObject * obj0 = 0 ; | |
7225 | char *kwnames[] = { | |
7226 | (char *) "self", NULL | |
7227 | }; | |
7228 | ||
7229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7230 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7231 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7232 | { |
7233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7234 | result = (int)((wxSashEvent const *)arg1)->GetDragStatus(); | |
7235 | ||
7236 | wxPyEndAllowThreads(__tstate); | |
7237 | if (PyErr_Occurred()) SWIG_fail; | |
7238 | } | |
15afbcd0 | 7239 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7240 | return resultobj; |
7241 | fail: | |
7242 | return NULL; | |
7243 | } | |
7244 | ||
7245 | ||
7246 | static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) { | |
7247 | PyObject *obj; | |
7248 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7249 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
7250 | Py_INCREF(obj); | |
7251 | return Py_BuildValue((char *)""); | |
7252 | } | |
7253 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7254 | PyObject *resultobj; | |
e811c8ce | 7255 | int arg1 = (int) 0 ; |
d14a1e28 | 7256 | wxQueryLayoutInfoEvent *result; |
994141e6 | 7257 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7258 | char *kwnames[] = { |
7259 | (char *) "id", NULL | |
7260 | }; | |
7261 | ||
994141e6 RD |
7262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; |
7263 | if (obj0) { | |
15afbcd0 RD |
7264 | arg1 = (int) SWIG_AsInt(obj0); |
7265 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7266 | } |
d14a1e28 RD |
7267 | { |
7268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7269 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
7270 | ||
7271 | wxPyEndAllowThreads(__tstate); | |
7272 | if (PyErr_Occurred()) SWIG_fail; | |
7273 | } | |
15afbcd0 | 7274 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); |
d14a1e28 RD |
7275 | return resultobj; |
7276 | fail: | |
7277 | return NULL; | |
7278 | } | |
7279 | ||
7280 | ||
7281 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7282 | PyObject *resultobj; | |
7283 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7284 | int arg2 ; | |
7285 | PyObject * obj0 = 0 ; | |
994141e6 | 7286 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7287 | char *kwnames[] = { |
7288 | (char *) "self",(char *) "length", NULL | |
7289 | }; | |
7290 | ||
994141e6 | 7291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7292 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7293 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7294 | arg2 = (int) SWIG_AsInt(obj1); | |
7295 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7296 | { |
7297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7298 | (arg1)->SetRequestedLength(arg2); | |
7299 | ||
7300 | wxPyEndAllowThreads(__tstate); | |
7301 | if (PyErr_Occurred()) SWIG_fail; | |
7302 | } | |
7303 | Py_INCREF(Py_None); resultobj = Py_None; | |
7304 | return resultobj; | |
7305 | fail: | |
7306 | return NULL; | |
7307 | } | |
7308 | ||
7309 | ||
7310 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7311 | PyObject *resultobj; | |
7312 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7313 | int result; | |
7314 | PyObject * obj0 = 0 ; | |
7315 | char *kwnames[] = { | |
7316 | (char *) "self", NULL | |
7317 | }; | |
7318 | ||
7319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7320 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7321 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7322 | { |
7323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7324 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
7325 | ||
7326 | wxPyEndAllowThreads(__tstate); | |
7327 | if (PyErr_Occurred()) SWIG_fail; | |
7328 | } | |
15afbcd0 | 7329 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7330 | return resultobj; |
7331 | fail: | |
7332 | return NULL; | |
7333 | } | |
7334 | ||
7335 | ||
7336 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7337 | PyObject *resultobj; | |
7338 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7339 | int arg2 ; | |
7340 | PyObject * obj0 = 0 ; | |
994141e6 | 7341 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7342 | char *kwnames[] = { |
7343 | (char *) "self",(char *) "flags", NULL | |
7344 | }; | |
7345 | ||
994141e6 | 7346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7347 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7348 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7349 | arg2 = (int) SWIG_AsInt(obj1); | |
7350 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7351 | { |
7352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7353 | (arg1)->SetFlags(arg2); | |
7354 | ||
7355 | wxPyEndAllowThreads(__tstate); | |
7356 | if (PyErr_Occurred()) SWIG_fail; | |
7357 | } | |
7358 | Py_INCREF(Py_None); resultobj = Py_None; | |
7359 | return resultobj; | |
7360 | fail: | |
7361 | return NULL; | |
7362 | } | |
7363 | ||
7364 | ||
7365 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7366 | PyObject *resultobj; | |
7367 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7368 | int result; | |
7369 | PyObject * obj0 = 0 ; | |
7370 | char *kwnames[] = { | |
7371 | (char *) "self", NULL | |
7372 | }; | |
7373 | ||
7374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7375 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7377 | { |
7378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7379 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
7380 | ||
7381 | wxPyEndAllowThreads(__tstate); | |
7382 | if (PyErr_Occurred()) SWIG_fail; | |
7383 | } | |
15afbcd0 | 7384 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7385 | return resultobj; |
7386 | fail: | |
7387 | return NULL; | |
7388 | } | |
7389 | ||
7390 | ||
7391 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7392 | PyObject *resultobj; | |
7393 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7394 | wxSize *arg2 = 0 ; | |
7395 | wxSize temp2 ; | |
7396 | PyObject * obj0 = 0 ; | |
7397 | PyObject * obj1 = 0 ; | |
7398 | char *kwnames[] = { | |
7399 | (char *) "self",(char *) "size", NULL | |
7400 | }; | |
7401 | ||
7402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7403 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7404 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7405 | { |
7406 | arg2 = &temp2; | |
7407 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
7408 | } | |
7409 | { | |
7410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7411 | (arg1)->SetSize((wxSize const &)*arg2); | |
7412 | ||
7413 | wxPyEndAllowThreads(__tstate); | |
7414 | if (PyErr_Occurred()) SWIG_fail; | |
7415 | } | |
7416 | Py_INCREF(Py_None); resultobj = Py_None; | |
7417 | return resultobj; | |
7418 | fail: | |
7419 | return NULL; | |
7420 | } | |
7421 | ||
7422 | ||
7423 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7424 | PyObject *resultobj; | |
7425 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7426 | wxSize result; | |
7427 | PyObject * obj0 = 0 ; | |
7428 | char *kwnames[] = { | |
7429 | (char *) "self", NULL | |
7430 | }; | |
7431 | ||
7432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7433 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7434 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7435 | { |
7436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7437 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
7438 | ||
7439 | wxPyEndAllowThreads(__tstate); | |
7440 | if (PyErr_Occurred()) SWIG_fail; | |
7441 | } | |
7442 | { | |
7443 | wxSize * resultptr; | |
7444 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 7445 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
7446 | } |
7447 | return resultobj; | |
7448 | fail: | |
7449 | return NULL; | |
7450 | } | |
7451 | ||
7452 | ||
7453 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7454 | PyObject *resultobj; | |
7455 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7456 | int arg2 ; | |
7457 | PyObject * obj0 = 0 ; | |
994141e6 | 7458 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7459 | char *kwnames[] = { |
7460 | (char *) "self",(char *) "orient", NULL | |
7461 | }; | |
7462 | ||
994141e6 | 7463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7464 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7465 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7466 | arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1); | |
7467 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7468 | { |
7469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7470 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
7471 | ||
7472 | wxPyEndAllowThreads(__tstate); | |
7473 | if (PyErr_Occurred()) SWIG_fail; | |
7474 | } | |
7475 | Py_INCREF(Py_None); resultobj = Py_None; | |
7476 | return resultobj; | |
7477 | fail: | |
7478 | return NULL; | |
7479 | } | |
7480 | ||
7481 | ||
7482 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7483 | PyObject *resultobj; | |
7484 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7485 | int result; | |
7486 | PyObject * obj0 = 0 ; | |
7487 | char *kwnames[] = { | |
7488 | (char *) "self", NULL | |
7489 | }; | |
7490 | ||
7491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7492 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7493 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7494 | { |
7495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7496 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); | |
7497 | ||
7498 | wxPyEndAllowThreads(__tstate); | |
7499 | if (PyErr_Occurred()) SWIG_fail; | |
7500 | } | |
15afbcd0 | 7501 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7502 | return resultobj; |
7503 | fail: | |
7504 | return NULL; | |
7505 | } | |
7506 | ||
7507 | ||
7508 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7509 | PyObject *resultobj; | |
7510 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7511 | int arg2 ; | |
7512 | PyObject * obj0 = 0 ; | |
994141e6 | 7513 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7514 | char *kwnames[] = { |
7515 | (char *) "self",(char *) "align", NULL | |
7516 | }; | |
7517 | ||
994141e6 | 7518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7519 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7520 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7521 | arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1); | |
7522 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7523 | { |
7524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7525 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
7526 | ||
7527 | wxPyEndAllowThreads(__tstate); | |
7528 | if (PyErr_Occurred()) SWIG_fail; | |
7529 | } | |
7530 | Py_INCREF(Py_None); resultobj = Py_None; | |
7531 | return resultobj; | |
7532 | fail: | |
7533 | return NULL; | |
7534 | } | |
7535 | ||
7536 | ||
7537 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7538 | PyObject *resultobj; | |
7539 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7540 | int result; | |
7541 | PyObject * obj0 = 0 ; | |
7542 | char *kwnames[] = { | |
7543 | (char *) "self", NULL | |
7544 | }; | |
7545 | ||
7546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7547 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7549 | { |
7550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7551 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); | |
7552 | ||
7553 | wxPyEndAllowThreads(__tstate); | |
7554 | if (PyErr_Occurred()) SWIG_fail; | |
7555 | } | |
15afbcd0 | 7556 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7557 | return resultobj; |
7558 | fail: | |
7559 | return NULL; | |
7560 | } | |
7561 | ||
7562 | ||
7563 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) { | |
7564 | PyObject *obj; | |
7565 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7566 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
7567 | Py_INCREF(obj); | |
7568 | return Py_BuildValue((char *)""); | |
7569 | } | |
7570 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7571 | PyObject *resultobj; | |
e811c8ce | 7572 | int arg1 = (int) 0 ; |
d14a1e28 | 7573 | wxCalculateLayoutEvent *result; |
994141e6 | 7574 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7575 | char *kwnames[] = { |
7576 | (char *) "id", NULL | |
7577 | }; | |
7578 | ||
994141e6 RD |
7579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; |
7580 | if (obj0) { | |
15afbcd0 RD |
7581 | arg1 = (int) SWIG_AsInt(obj0); |
7582 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7583 | } |
d14a1e28 RD |
7584 | { |
7585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7586 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
7587 | ||
7588 | wxPyEndAllowThreads(__tstate); | |
7589 | if (PyErr_Occurred()) SWIG_fail; | |
7590 | } | |
15afbcd0 | 7591 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); |
d14a1e28 RD |
7592 | return resultobj; |
7593 | fail: | |
7594 | return NULL; | |
7595 | } | |
7596 | ||
7597 | ||
7598 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7599 | PyObject *resultobj; | |
7600 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7601 | int arg2 ; | |
7602 | PyObject * obj0 = 0 ; | |
994141e6 | 7603 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7604 | char *kwnames[] = { |
7605 | (char *) "self",(char *) "flags", NULL | |
7606 | }; | |
7607 | ||
994141e6 | 7608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7609 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7610 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7611 | arg2 = (int) SWIG_AsInt(obj1); | |
7612 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7613 | { |
7614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7615 | (arg1)->SetFlags(arg2); | |
7616 | ||
7617 | wxPyEndAllowThreads(__tstate); | |
7618 | if (PyErr_Occurred()) SWIG_fail; | |
7619 | } | |
7620 | Py_INCREF(Py_None); resultobj = Py_None; | |
7621 | return resultobj; | |
7622 | fail: | |
7623 | return NULL; | |
7624 | } | |
7625 | ||
7626 | ||
7627 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7628 | PyObject *resultobj; | |
7629 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7630 | int result; | |
7631 | PyObject * obj0 = 0 ; | |
7632 | char *kwnames[] = { | |
7633 | (char *) "self", NULL | |
7634 | }; | |
7635 | ||
7636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7637 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7638 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7639 | { |
7640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7641 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
7642 | ||
7643 | wxPyEndAllowThreads(__tstate); | |
7644 | if (PyErr_Occurred()) SWIG_fail; | |
7645 | } | |
15afbcd0 | 7646 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7647 | return resultobj; |
7648 | fail: | |
7649 | return NULL; | |
7650 | } | |
7651 | ||
7652 | ||
7653 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7654 | PyObject *resultobj; | |
7655 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7656 | wxRect *arg2 = 0 ; | |
7657 | wxRect temp2 ; | |
7658 | PyObject * obj0 = 0 ; | |
7659 | PyObject * obj1 = 0 ; | |
7660 | char *kwnames[] = { | |
7661 | (char *) "self",(char *) "rect", NULL | |
7662 | }; | |
7663 | ||
7664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7665 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7666 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7667 | { |
7668 | arg2 = &temp2; | |
7669 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7670 | } | |
7671 | { | |
7672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7673 | (arg1)->SetRect((wxRect const &)*arg2); | |
7674 | ||
7675 | wxPyEndAllowThreads(__tstate); | |
7676 | if (PyErr_Occurred()) SWIG_fail; | |
7677 | } | |
7678 | Py_INCREF(Py_None); resultobj = Py_None; | |
7679 | return resultobj; | |
7680 | fail: | |
7681 | return NULL; | |
7682 | } | |
7683 | ||
7684 | ||
7685 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7686 | PyObject *resultobj; | |
7687 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7688 | wxRect result; | |
7689 | PyObject * obj0 = 0 ; | |
7690 | char *kwnames[] = { | |
7691 | (char *) "self", NULL | |
7692 | }; | |
7693 | ||
7694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7695 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7697 | { |
7698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7699 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
7700 | ||
7701 | wxPyEndAllowThreads(__tstate); | |
7702 | if (PyErr_Occurred()) SWIG_fail; | |
7703 | } | |
7704 | { | |
7705 | wxRect * resultptr; | |
7706 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 7707 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
7708 | } |
7709 | return resultobj; | |
7710 | fail: | |
7711 | return NULL; | |
7712 | } | |
7713 | ||
7714 | ||
7715 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) { | |
7716 | PyObject *obj; | |
7717 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7718 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
7719 | Py_INCREF(obj); | |
7720 | return Py_BuildValue((char *)""); | |
7721 | } | |
7722 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7723 | PyObject *resultobj; | |
7724 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 7725 | int arg2 ; |
d14a1e28 RD |
7726 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
7727 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7728 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7729 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7730 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7731 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
7732 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7733 | wxSashLayoutWindow *result; | |
7734 | wxPoint temp3 ; | |
7735 | wxSize temp4 ; | |
e811c8ce | 7736 | bool temp6 = False ; |
d14a1e28 | 7737 | PyObject * obj0 = 0 ; |
994141e6 | 7738 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7739 | PyObject * obj2 = 0 ; |
7740 | PyObject * obj3 = 0 ; | |
994141e6 | 7741 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
7742 | PyObject * obj5 = 0 ; |
7743 | char *kwnames[] = { | |
7744 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7745 | }; | |
7746 | ||
994141e6 | 7747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
7748 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
7749 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7750 | arg2 = (int) SWIG_AsInt(obj1); | |
7751 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7752 | if (obj2) { |
7753 | { | |
7754 | arg3 = &temp3; | |
7755 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7756 | } | |
7757 | } | |
7758 | if (obj3) { | |
7759 | { | |
7760 | arg4 = &temp4; | |
7761 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7762 | } | |
7763 | } | |
994141e6 | 7764 | if (obj4) { |
15afbcd0 RD |
7765 | arg5 = (long) SWIG_AsLong(obj4); |
7766 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7767 | } |
d14a1e28 RD |
7768 | if (obj5) { |
7769 | { | |
7770 | arg6 = wxString_in_helper(obj5); | |
7771 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 7772 | temp6 = True; |
d14a1e28 RD |
7773 | } |
7774 | } | |
7775 | { | |
7776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7777 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7778 | ||
7779 | wxPyEndAllowThreads(__tstate); | |
7780 | if (PyErr_Occurred()) SWIG_fail; | |
7781 | } | |
15afbcd0 | 7782 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
7783 | { |
7784 | if (temp6) | |
7785 | delete arg6; | |
7786 | } | |
7787 | return resultobj; | |
7788 | fail: | |
7789 | { | |
7790 | if (temp6) | |
7791 | delete arg6; | |
7792 | } | |
7793 | return NULL; | |
7794 | } | |
7795 | ||
7796 | ||
7797 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7798 | PyObject *resultobj; | |
7799 | wxSashLayoutWindow *result; | |
7800 | char *kwnames[] = { | |
7801 | NULL | |
7802 | }; | |
7803 | ||
7804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
7805 | { | |
7806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7807 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
7808 | ||
7809 | wxPyEndAllowThreads(__tstate); | |
7810 | if (PyErr_Occurred()) SWIG_fail; | |
7811 | } | |
15afbcd0 | 7812 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
7813 | return resultobj; |
7814 | fail: | |
7815 | return NULL; | |
7816 | } | |
7817 | ||
7818 | ||
7819 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7820 | PyObject *resultobj; | |
7821 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7822 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 7823 | int arg3 ; |
d14a1e28 RD |
7824 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
7825 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7826 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7827 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7828 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7829 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
7830 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7831 | bool result; | |
7832 | wxPoint temp4 ; | |
7833 | wxSize temp5 ; | |
e811c8ce | 7834 | bool temp7 = False ; |
d14a1e28 RD |
7835 | PyObject * obj0 = 0 ; |
7836 | PyObject * obj1 = 0 ; | |
994141e6 | 7837 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7838 | PyObject * obj3 = 0 ; |
7839 | PyObject * obj4 = 0 ; | |
994141e6 | 7840 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
7841 | PyObject * obj6 = 0 ; |
7842 | char *kwnames[] = { | |
7843 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7844 | }; | |
7845 | ||
994141e6 | 7846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
7847 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
7848 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7849 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
7850 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7851 | arg3 = (int) SWIG_AsInt(obj2); | |
7852 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7853 | if (obj3) { |
7854 | { | |
7855 | arg4 = &temp4; | |
7856 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7857 | } | |
7858 | } | |
7859 | if (obj4) { | |
7860 | { | |
7861 | arg5 = &temp5; | |
7862 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7863 | } | |
7864 | } | |
994141e6 | 7865 | if (obj5) { |
15afbcd0 RD |
7866 | arg6 = (long) SWIG_AsLong(obj5); |
7867 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7868 | } |
d14a1e28 RD |
7869 | if (obj6) { |
7870 | { | |
7871 | arg7 = wxString_in_helper(obj6); | |
7872 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 7873 | temp7 = True; |
d14a1e28 RD |
7874 | } |
7875 | } | |
7876 | { | |
7877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7878 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7879 | ||
7880 | wxPyEndAllowThreads(__tstate); | |
7881 | if (PyErr_Occurred()) SWIG_fail; | |
7882 | } | |
4d5c3d91 | 7883 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
7884 | { |
7885 | if (temp7) | |
7886 | delete arg7; | |
7887 | } | |
7888 | return resultobj; | |
7889 | fail: | |
7890 | { | |
7891 | if (temp7) | |
7892 | delete arg7; | |
7893 | } | |
7894 | return NULL; | |
7895 | } | |
7896 | ||
7897 | ||
7898 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7899 | PyObject *resultobj; | |
7900 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7901 | int result; | |
7902 | PyObject * obj0 = 0 ; | |
7903 | char *kwnames[] = { | |
7904 | (char *) "self", NULL | |
7905 | }; | |
7906 | ||
7907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
7909 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7910 | { |
7911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7912 | result = (int)(arg1)->GetAlignment(); | |
7913 | ||
7914 | wxPyEndAllowThreads(__tstate); | |
7915 | if (PyErr_Occurred()) SWIG_fail; | |
7916 | } | |
15afbcd0 | 7917 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7918 | return resultobj; |
7919 | fail: | |
7920 | return NULL; | |
7921 | } | |
7922 | ||
7923 | ||
7924 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7925 | PyObject *resultobj; | |
7926 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7927 | int result; | |
7928 | PyObject * obj0 = 0 ; | |
7929 | char *kwnames[] = { | |
7930 | (char *) "self", NULL | |
7931 | }; | |
7932 | ||
7933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7934 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
7935 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7936 | { |
7937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7938 | result = (int)(arg1)->GetOrientation(); | |
7939 | ||
7940 | wxPyEndAllowThreads(__tstate); | |
7941 | if (PyErr_Occurred()) SWIG_fail; | |
7942 | } | |
15afbcd0 | 7943 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7944 | return resultobj; |
7945 | fail: | |
7946 | return NULL; | |
7947 | } | |
7948 | ||
7949 | ||
7950 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7951 | PyObject *resultobj; | |
7952 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7953 | int arg2 ; | |
7954 | PyObject * obj0 = 0 ; | |
994141e6 | 7955 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7956 | char *kwnames[] = { |
7957 | (char *) "self",(char *) "alignment", NULL | |
7958 | }; | |
7959 | ||
994141e6 | 7960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7961 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
7962 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7963 | arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1); | |
7964 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7965 | { |
7966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7967 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
7968 | ||
7969 | wxPyEndAllowThreads(__tstate); | |
7970 | if (PyErr_Occurred()) SWIG_fail; | |
7971 | } | |
7972 | Py_INCREF(Py_None); resultobj = Py_None; | |
7973 | return resultobj; | |
7974 | fail: | |
7975 | return NULL; | |
7976 | } | |
7977 | ||
7978 | ||
7979 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7980 | PyObject *resultobj; | |
7981 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7982 | wxSize *arg2 = 0 ; | |
7983 | wxSize temp2 ; | |
7984 | PyObject * obj0 = 0 ; | |
7985 | PyObject * obj1 = 0 ; | |
7986 | char *kwnames[] = { | |
7987 | (char *) "self",(char *) "size", NULL | |
7988 | }; | |
7989 | ||
7990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7991 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
7992 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7993 | { |
7994 | arg2 = &temp2; | |
7995 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
7996 | } | |
7997 | { | |
7998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7999 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
8000 | ||
8001 | wxPyEndAllowThreads(__tstate); | |
8002 | if (PyErr_Occurred()) SWIG_fail; | |
8003 | } | |
8004 | Py_INCREF(Py_None); resultobj = Py_None; | |
8005 | return resultobj; | |
8006 | fail: | |
8007 | return NULL; | |
8008 | } | |
8009 | ||
8010 | ||
8011 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8012 | PyObject *resultobj; | |
8013 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8014 | int arg2 ; | |
8015 | PyObject * obj0 = 0 ; | |
994141e6 | 8016 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8017 | char *kwnames[] = { |
8018 | (char *) "self",(char *) "orientation", NULL | |
8019 | }; | |
8020 | ||
994141e6 | 8021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8022 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8023 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8024 | arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1); | |
8025 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8026 | { |
8027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8028 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8029 | ||
8030 | wxPyEndAllowThreads(__tstate); | |
8031 | if (PyErr_Occurred()) SWIG_fail; | |
8032 | } | |
8033 | Py_INCREF(Py_None); resultobj = Py_None; | |
8034 | return resultobj; | |
8035 | fail: | |
8036 | return NULL; | |
8037 | } | |
8038 | ||
8039 | ||
8040 | static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) { | |
8041 | PyObject *obj; | |
8042 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8043 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
8044 | Py_INCREF(obj); | |
8045 | return Py_BuildValue((char *)""); | |
8046 | } | |
8047 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8048 | PyObject *resultobj; | |
8049 | wxLayoutAlgorithm *result; | |
8050 | char *kwnames[] = { | |
8051 | NULL | |
8052 | }; | |
8053 | ||
8054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
8055 | { | |
8056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8057 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
8058 | ||
8059 | wxPyEndAllowThreads(__tstate); | |
8060 | if (PyErr_Occurred()) SWIG_fail; | |
8061 | } | |
15afbcd0 | 8062 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); |
d14a1e28 RD |
8063 | return resultobj; |
8064 | fail: | |
8065 | return NULL; | |
8066 | } | |
8067 | ||
8068 | ||
8069 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8070 | PyObject *resultobj; | |
8071 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8072 | PyObject * obj0 = 0 ; | |
8073 | char *kwnames[] = { | |
8074 | (char *) "self", NULL | |
8075 | }; | |
8076 | ||
8077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8078 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8079 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8080 | { |
8081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8082 | delete arg1; | |
8083 | ||
8084 | wxPyEndAllowThreads(__tstate); | |
8085 | if (PyErr_Occurred()) SWIG_fail; | |
8086 | } | |
8087 | Py_INCREF(Py_None); resultobj = Py_None; | |
8088 | return resultobj; | |
8089 | fail: | |
8090 | return NULL; | |
8091 | } | |
8092 | ||
8093 | ||
8094 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8095 | PyObject *resultobj; | |
8096 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8097 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
8098 | wxRect *arg3 = (wxRect *) NULL ; | |
8099 | bool result; | |
8100 | PyObject * obj0 = 0 ; | |
8101 | PyObject * obj1 = 0 ; | |
8102 | PyObject * obj2 = 0 ; | |
8103 | char *kwnames[] = { | |
8104 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
8105 | }; | |
8106 | ||
8107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8108 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8109 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8110 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
8111 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8112 | if (obj2) { |
15afbcd0 RD |
8113 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect, |
8114 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8115 | } |
8116 | { | |
8117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8118 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
8119 | ||
8120 | wxPyEndAllowThreads(__tstate); | |
8121 | if (PyErr_Occurred()) SWIG_fail; | |
8122 | } | |
4d5c3d91 | 8123 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8124 | return resultobj; |
8125 | fail: | |
8126 | return NULL; | |
8127 | } | |
8128 | ||
8129 | ||
8130 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8131 | PyObject *resultobj; | |
8132 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8133 | wxFrame *arg2 = (wxFrame *) 0 ; | |
8134 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8135 | bool result; | |
8136 | PyObject * obj0 = 0 ; | |
8137 | PyObject * obj1 = 0 ; | |
8138 | PyObject * obj2 = 0 ; | |
8139 | char *kwnames[] = { | |
8140 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
8141 | }; | |
8142 | ||
8143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8146 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
8147 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8148 | if (obj2) { |
15afbcd0 RD |
8149 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
8150 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8151 | } |
8152 | { | |
8153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8154 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
8155 | ||
8156 | wxPyEndAllowThreads(__tstate); | |
8157 | if (PyErr_Occurred()) SWIG_fail; | |
8158 | } | |
4d5c3d91 | 8159 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8160 | return resultobj; |
8161 | fail: | |
8162 | return NULL; | |
8163 | } | |
8164 | ||
8165 | ||
8166 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8167 | PyObject *resultobj; | |
8168 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8169 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8170 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8171 | bool result; | |
8172 | PyObject * obj0 = 0 ; | |
8173 | PyObject * obj1 = 0 ; | |
8174 | PyObject * obj2 = 0 ; | |
8175 | char *kwnames[] = { | |
8176 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
8177 | }; | |
8178 | ||
8179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8180 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8181 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8182 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8183 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8184 | if (obj2) { |
15afbcd0 RD |
8185 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
8186 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8187 | } |
8188 | { | |
8189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8190 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
8191 | ||
8192 | wxPyEndAllowThreads(__tstate); | |
8193 | if (PyErr_Occurred()) SWIG_fail; | |
8194 | } | |
4d5c3d91 | 8195 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8196 | return resultobj; |
8197 | fail: | |
8198 | return NULL; | |
8199 | } | |
8200 | ||
8201 | ||
8202 | static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) { | |
8203 | PyObject *obj; | |
8204 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8205 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
8206 | Py_INCREF(obj); | |
8207 | return Py_BuildValue((char *)""); | |
8208 | } | |
8209 | static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8210 | PyObject *resultobj; | |
8211 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8212 | int arg2 = (int) wxBORDER_NONE ; | |
8213 | wxPopupWindow *result; | |
8214 | PyObject * obj0 = 0 ; | |
994141e6 | 8215 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8216 | char *kwnames[] = { |
8217 | (char *) "parent",(char *) "flags", NULL | |
8218 | }; | |
8219 | ||
994141e6 | 8220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8221 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8222 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8223 | if (obj1) { |
15afbcd0 RD |
8224 | arg2 = (int) SWIG_AsInt(obj1); |
8225 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8226 | } |
d14a1e28 RD |
8227 | { |
8228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8229 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
8230 | ||
8231 | wxPyEndAllowThreads(__tstate); | |
8232 | if (PyErr_Occurred()) SWIG_fail; | |
8233 | } | |
15afbcd0 | 8234 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
8235 | return resultobj; |
8236 | fail: | |
8237 | return NULL; | |
8238 | } | |
8239 | ||
8240 | ||
8241 | static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8242 | PyObject *resultobj; | |
8243 | wxPopupWindow *result; | |
8244 | char *kwnames[] = { | |
8245 | NULL | |
8246 | }; | |
8247 | ||
8248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
8249 | { | |
8250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8251 | result = (wxPopupWindow *)new wxPopupWindow(); | |
8252 | ||
8253 | wxPyEndAllowThreads(__tstate); | |
8254 | if (PyErr_Occurred()) SWIG_fail; | |
8255 | } | |
15afbcd0 | 8256 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
8257 | return resultobj; |
8258 | fail: | |
8259 | return NULL; | |
8260 | } | |
8261 | ||
8262 | ||
8263 | static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8264 | PyObject *resultobj; | |
8265 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8266 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8267 | int arg3 = (int) wxBORDER_NONE ; | |
8268 | bool result; | |
8269 | PyObject * obj0 = 0 ; | |
8270 | PyObject * obj1 = 0 ; | |
994141e6 | 8271 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8272 | char *kwnames[] = { |
8273 | (char *) "self",(char *) "parent",(char *) "flags", NULL | |
8274 | }; | |
8275 | ||
994141e6 | 8276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
8277 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, |
8278 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8279 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8280 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8281 | if (obj2) { |
15afbcd0 RD |
8282 | arg3 = (int) SWIG_AsInt(obj2); |
8283 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8284 | } |
d14a1e28 RD |
8285 | { |
8286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8287 | result = (bool)(arg1)->Create(arg2,arg3); | |
8288 | ||
8289 | wxPyEndAllowThreads(__tstate); | |
8290 | if (PyErr_Occurred()) SWIG_fail; | |
8291 | } | |
4d5c3d91 | 8292 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8293 | return resultobj; |
8294 | fail: | |
8295 | return NULL; | |
8296 | } | |
8297 | ||
8298 | ||
8299 | static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8300 | PyObject *resultobj; | |
8301 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8302 | wxPoint *arg2 = 0 ; | |
8303 | wxSize *arg3 = 0 ; | |
8304 | wxPoint temp2 ; | |
8305 | wxSize temp3 ; | |
8306 | PyObject * obj0 = 0 ; | |
8307 | PyObject * obj1 = 0 ; | |
8308 | PyObject * obj2 = 0 ; | |
8309 | char *kwnames[] = { | |
8310 | (char *) "self",(char *) "ptOrigin",(char *) "size", NULL | |
8311 | }; | |
8312 | ||
8313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8314 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, |
8315 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8316 | { |
8317 | arg2 = &temp2; | |
8318 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
8319 | } | |
8320 | { | |
8321 | arg3 = &temp3; | |
8322 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
8323 | } | |
8324 | { | |
8325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8326 | (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3); | |
8327 | ||
8328 | wxPyEndAllowThreads(__tstate); | |
8329 | if (PyErr_Occurred()) SWIG_fail; | |
8330 | } | |
8331 | Py_INCREF(Py_None); resultobj = Py_None; | |
8332 | return resultobj; | |
8333 | fail: | |
8334 | return NULL; | |
8335 | } | |
8336 | ||
8337 | ||
8338 | static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) { | |
8339 | PyObject *obj; | |
8340 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8341 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
8342 | Py_INCREF(obj); | |
8343 | return Py_BuildValue((char *)""); | |
8344 | } | |
8345 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8346 | PyObject *resultobj; | |
8347 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8348 | int arg2 = (int) wxBORDER_NONE ; | |
8349 | wxPyPopupTransientWindow *result; | |
8350 | PyObject * obj0 = 0 ; | |
994141e6 | 8351 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8352 | char *kwnames[] = { |
8353 | (char *) "parent",(char *) "style", NULL | |
8354 | }; | |
8355 | ||
994141e6 | 8356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8357 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8358 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8359 | if (obj1) { |
15afbcd0 RD |
8360 | arg2 = (int) SWIG_AsInt(obj1); |
8361 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8362 | } |
d14a1e28 RD |
8363 | { |
8364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8365 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
8366 | ||
8367 | wxPyEndAllowThreads(__tstate); | |
8368 | if (PyErr_Occurred()) SWIG_fail; | |
8369 | } | |
15afbcd0 | 8370 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
8371 | return resultobj; |
8372 | fail: | |
8373 | return NULL; | |
8374 | } | |
8375 | ||
8376 | ||
8377 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8378 | PyObject *resultobj; | |
8379 | wxPyPopupTransientWindow *result; | |
8380 | char *kwnames[] = { | |
8381 | NULL | |
8382 | }; | |
8383 | ||
8384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
8385 | { | |
8386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8387 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
8388 | ||
8389 | wxPyEndAllowThreads(__tstate); | |
8390 | if (PyErr_Occurred()) SWIG_fail; | |
8391 | } | |
15afbcd0 | 8392 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
8393 | return resultobj; |
8394 | fail: | |
8395 | return NULL; | |
8396 | } | |
8397 | ||
8398 | ||
8399 | static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8400 | PyObject *resultobj; | |
8401 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8402 | PyObject *arg2 = (PyObject *) 0 ; | |
8403 | PyObject *arg3 = (PyObject *) 0 ; | |
8404 | PyObject * obj0 = 0 ; | |
8405 | PyObject * obj1 = 0 ; | |
8406 | PyObject * obj2 = 0 ; | |
8407 | char *kwnames[] = { | |
8408 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8409 | }; | |
8410 | ||
8411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8412 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8413 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8414 | arg2 = obj1; |
8415 | arg3 = obj2; | |
8416 | { | |
8417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8418 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8419 | ||
8420 | wxPyEndAllowThreads(__tstate); | |
8421 | if (PyErr_Occurred()) SWIG_fail; | |
8422 | } | |
8423 | Py_INCREF(Py_None); resultobj = Py_None; | |
8424 | return resultobj; | |
8425 | fail: | |
8426 | return NULL; | |
8427 | } | |
8428 | ||
8429 | ||
8430 | static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8431 | PyObject *resultobj; | |
8432 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8433 | wxWindow *arg2 = (wxWindow *) NULL ; | |
8434 | PyObject * obj0 = 0 ; | |
8435 | PyObject * obj1 = 0 ; | |
8436 | char *kwnames[] = { | |
8437 | (char *) "self",(char *) "focus", NULL | |
8438 | }; | |
8439 | ||
8440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8441 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8442 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8443 | if (obj1) { |
15afbcd0 RD |
8444 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
8445 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8446 | } |
8447 | { | |
8448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8449 | (arg1)->Popup(arg2); | |
8450 | ||
8451 | wxPyEndAllowThreads(__tstate); | |
8452 | if (PyErr_Occurred()) SWIG_fail; | |
8453 | } | |
8454 | Py_INCREF(Py_None); resultobj = Py_None; | |
8455 | return resultobj; | |
8456 | fail: | |
8457 | return NULL; | |
8458 | } | |
8459 | ||
8460 | ||
8461 | static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8462 | PyObject *resultobj; | |
8463 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8464 | PyObject * obj0 = 0 ; | |
8465 | char *kwnames[] = { | |
8466 | (char *) "self", NULL | |
8467 | }; | |
8468 | ||
8469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8470 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8471 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8472 | { |
8473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8474 | (arg1)->Dismiss(); | |
8475 | ||
8476 | wxPyEndAllowThreads(__tstate); | |
8477 | if (PyErr_Occurred()) SWIG_fail; | |
8478 | } | |
8479 | Py_INCREF(Py_None); resultobj = Py_None; | |
8480 | return resultobj; | |
8481 | fail: | |
8482 | return NULL; | |
8483 | } | |
8484 | ||
8485 | ||
8486 | static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) { | |
8487 | PyObject *obj; | |
8488 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8489 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
8490 | Py_INCREF(obj); | |
8491 | return Py_BuildValue((char *)""); | |
8492 | } | |
8493 | static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8494 | PyObject *resultobj; | |
8495 | wxWindow *arg1 = (wxWindow *) 0 ; | |
fd3f2efe | 8496 | wxString *arg2 = 0 ; |
e811c8ce | 8497 | int arg3 = (int) 100 ; |
d14a1e28 RD |
8498 | wxRect *arg4 = (wxRect *) NULL ; |
8499 | wxTipWindow *result; | |
fd3f2efe | 8500 | bool temp2 = False ; |
d14a1e28 RD |
8501 | PyObject * obj0 = 0 ; |
8502 | PyObject * obj1 = 0 ; | |
994141e6 | 8503 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8504 | PyObject * obj3 = 0 ; |
8505 | char *kwnames[] = { | |
8506 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
8507 | }; | |
8508 | ||
994141e6 | 8509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
8510 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8511 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
fd3f2efe RD |
8512 | { |
8513 | arg2 = wxString_in_helper(obj1); | |
8514 | if (arg2 == NULL) SWIG_fail; | |
8515 | temp2 = True; | |
8516 | } | |
994141e6 | 8517 | if (obj2) { |
15afbcd0 RD |
8518 | arg3 = (int) SWIG_AsInt(obj2); |
8519 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8520 | } |
d14a1e28 | 8521 | if (obj3) { |
15afbcd0 RD |
8522 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect, |
8523 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8524 | } |
8525 | { | |
8526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
fd3f2efe | 8527 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); |
d14a1e28 RD |
8528 | |
8529 | wxPyEndAllowThreads(__tstate); | |
8530 | if (PyErr_Occurred()) SWIG_fail; | |
8531 | } | |
15afbcd0 | 8532 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); |
fd3f2efe RD |
8533 | { |
8534 | if (temp2) | |
8535 | delete arg2; | |
8536 | } | |
d14a1e28 RD |
8537 | return resultobj; |
8538 | fail: | |
fd3f2efe RD |
8539 | { |
8540 | if (temp2) | |
8541 | delete arg2; | |
8542 | } | |
d14a1e28 RD |
8543 | return NULL; |
8544 | } | |
8545 | ||
8546 | ||
8547 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8548 | PyObject *resultobj; | |
8549 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8550 | wxRect *arg2 = 0 ; | |
8551 | wxRect temp2 ; | |
8552 | PyObject * obj0 = 0 ; | |
8553 | PyObject * obj1 = 0 ; | |
8554 | char *kwnames[] = { | |
8555 | (char *) "self",(char *) "rectBound", NULL | |
8556 | }; | |
8557 | ||
8558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8559 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
8560 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8561 | { |
8562 | arg2 = &temp2; | |
8563 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8564 | } | |
8565 | { | |
8566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8567 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
8568 | ||
8569 | wxPyEndAllowThreads(__tstate); | |
8570 | if (PyErr_Occurred()) SWIG_fail; | |
8571 | } | |
8572 | Py_INCREF(Py_None); resultobj = Py_None; | |
8573 | return resultobj; | |
8574 | fail: | |
8575 | return NULL; | |
8576 | } | |
8577 | ||
8578 | ||
8579 | static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8580 | PyObject *resultobj; | |
8581 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8582 | PyObject * obj0 = 0 ; | |
8583 | char *kwnames[] = { | |
8584 | (char *) "self", NULL | |
8585 | }; | |
8586 | ||
8587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8588 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
8589 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8590 | { |
8591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8592 | (arg1)->Close(); | |
8593 | ||
8594 | wxPyEndAllowThreads(__tstate); | |
8595 | if (PyErr_Occurred()) SWIG_fail; | |
8596 | } | |
8597 | Py_INCREF(Py_None); resultobj = Py_None; | |
8598 | return resultobj; | |
8599 | fail: | |
8600 | return NULL; | |
8601 | } | |
8602 | ||
8603 | ||
8604 | static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) { | |
8605 | PyObject *obj; | |
8606 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8607 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
8608 | Py_INCREF(obj); | |
8609 | return Py_BuildValue((char *)""); | |
8610 | } | |
8611 | static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8612 | PyObject *resultobj; | |
8613 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 8614 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
8615 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8616 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8617 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8618 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8619 | long arg5 = (long) 0 ; | |
8620 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
8621 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8622 | wxPyVScrolledWindow *result; | |
8623 | wxPoint temp3 ; | |
8624 | wxSize temp4 ; | |
e811c8ce | 8625 | bool temp6 = False ; |
d14a1e28 | 8626 | PyObject * obj0 = 0 ; |
994141e6 | 8627 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8628 | PyObject * obj2 = 0 ; |
8629 | PyObject * obj3 = 0 ; | |
994141e6 | 8630 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
8631 | PyObject * obj5 = 0 ; |
8632 | char *kwnames[] = { | |
8633 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8634 | }; | |
8635 | ||
994141e6 | 8636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
8637 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8638 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8639 | if (obj1) { |
15afbcd0 RD |
8640 | arg2 = (int) SWIG_AsInt(obj1); |
8641 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8642 | } |
d14a1e28 RD |
8643 | if (obj2) { |
8644 | { | |
8645 | arg3 = &temp3; | |
8646 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8647 | } | |
8648 | } | |
8649 | if (obj3) { | |
8650 | { | |
8651 | arg4 = &temp4; | |
8652 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8653 | } | |
8654 | } | |
994141e6 | 8655 | if (obj4) { |
15afbcd0 RD |
8656 | arg5 = (long) SWIG_AsLong(obj4); |
8657 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8658 | } |
d14a1e28 RD |
8659 | if (obj5) { |
8660 | { | |
8661 | arg6 = wxString_in_helper(obj5); | |
8662 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 8663 | temp6 = True; |
d14a1e28 RD |
8664 | } |
8665 | } | |
8666 | { | |
8667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8668 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8669 | ||
8670 | wxPyEndAllowThreads(__tstate); | |
8671 | if (PyErr_Occurred()) SWIG_fail; | |
8672 | } | |
15afbcd0 | 8673 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
8674 | { |
8675 | if (temp6) | |
8676 | delete arg6; | |
8677 | } | |
8678 | return resultobj; | |
8679 | fail: | |
8680 | { | |
8681 | if (temp6) | |
8682 | delete arg6; | |
8683 | } | |
8684 | return NULL; | |
8685 | } | |
8686 | ||
8687 | ||
8688 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8689 | PyObject *resultobj; | |
8690 | wxPyVScrolledWindow *result; | |
8691 | char *kwnames[] = { | |
8692 | NULL | |
8693 | }; | |
8694 | ||
8695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
8696 | { | |
8697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8698 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
8699 | ||
8700 | wxPyEndAllowThreads(__tstate); | |
8701 | if (PyErr_Occurred()) SWIG_fail; | |
8702 | } | |
15afbcd0 | 8703 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
8704 | return resultobj; |
8705 | fail: | |
8706 | return NULL; | |
8707 | } | |
8708 | ||
8709 | ||
8710 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8711 | PyObject *resultobj; | |
8712 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8713 | PyObject *arg2 = (PyObject *) 0 ; | |
8714 | PyObject *arg3 = (PyObject *) 0 ; | |
8715 | PyObject * obj0 = 0 ; | |
8716 | PyObject * obj1 = 0 ; | |
8717 | PyObject * obj2 = 0 ; | |
8718 | char *kwnames[] = { | |
8719 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8720 | }; | |
8721 | ||
8722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8723 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8724 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8725 | arg2 = obj1; |
8726 | arg3 = obj2; | |
8727 | { | |
8728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8729 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8730 | ||
8731 | wxPyEndAllowThreads(__tstate); | |
8732 | if (PyErr_Occurred()) SWIG_fail; | |
8733 | } | |
8734 | Py_INCREF(Py_None); resultobj = Py_None; | |
8735 | return resultobj; | |
8736 | fail: | |
8737 | return NULL; | |
8738 | } | |
8739 | ||
8740 | ||
8741 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8742 | PyObject *resultobj; | |
8743 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8744 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 8745 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
8746 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8747 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8748 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8749 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8750 | long arg6 = (long) 0 ; | |
8751 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
8752 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8753 | bool result; | |
8754 | wxPoint temp4 ; | |
8755 | wxSize temp5 ; | |
e811c8ce | 8756 | bool temp7 = False ; |
d14a1e28 RD |
8757 | PyObject * obj0 = 0 ; |
8758 | PyObject * obj1 = 0 ; | |
994141e6 | 8759 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8760 | PyObject * obj3 = 0 ; |
8761 | PyObject * obj4 = 0 ; | |
994141e6 | 8762 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
8763 | PyObject * obj6 = 0 ; |
8764 | char *kwnames[] = { | |
8765 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8766 | }; | |
8767 | ||
994141e6 | 8768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
8769 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8770 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8771 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8772 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8773 | if (obj2) { |
15afbcd0 RD |
8774 | arg3 = (int) SWIG_AsInt(obj2); |
8775 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8776 | } |
d14a1e28 RD |
8777 | if (obj3) { |
8778 | { | |
8779 | arg4 = &temp4; | |
8780 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8781 | } | |
8782 | } | |
8783 | if (obj4) { | |
8784 | { | |
8785 | arg5 = &temp5; | |
8786 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8787 | } | |
8788 | } | |
994141e6 | 8789 | if (obj5) { |
15afbcd0 RD |
8790 | arg6 = (long) SWIG_AsLong(obj5); |
8791 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8792 | } |
d14a1e28 RD |
8793 | if (obj6) { |
8794 | { | |
8795 | arg7 = wxString_in_helper(obj6); | |
8796 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 8797 | temp7 = True; |
d14a1e28 RD |
8798 | } |
8799 | } | |
8800 | { | |
8801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8802 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8803 | ||
8804 | wxPyEndAllowThreads(__tstate); | |
8805 | if (PyErr_Occurred()) SWIG_fail; | |
8806 | } | |
4d5c3d91 | 8807 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8808 | { |
8809 | if (temp7) | |
8810 | delete arg7; | |
8811 | } | |
8812 | return resultobj; | |
8813 | fail: | |
8814 | { | |
8815 | if (temp7) | |
8816 | delete arg7; | |
8817 | } | |
8818 | return NULL; | |
8819 | } | |
8820 | ||
8821 | ||
8822 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8823 | PyObject *resultobj; | |
8824 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8825 | size_t arg2 ; | |
8826 | PyObject * obj0 = 0 ; | |
8827 | PyObject * obj1 = 0 ; | |
8828 | char *kwnames[] = { | |
8829 | (char *) "self",(char *) "count", NULL | |
8830 | }; | |
8831 | ||
8832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8833 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8834 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8835 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
8836 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8837 | { |
8838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8839 | (arg1)->SetLineCount(arg2); | |
8840 | ||
8841 | wxPyEndAllowThreads(__tstate); | |
8842 | if (PyErr_Occurred()) SWIG_fail; | |
8843 | } | |
8844 | Py_INCREF(Py_None); resultobj = Py_None; | |
8845 | return resultobj; | |
8846 | fail: | |
8847 | return NULL; | |
8848 | } | |
8849 | ||
8850 | ||
8851 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8852 | PyObject *resultobj; | |
8853 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8854 | size_t arg2 ; | |
8855 | bool result; | |
8856 | PyObject * obj0 = 0 ; | |
8857 | PyObject * obj1 = 0 ; | |
8858 | char *kwnames[] = { | |
8859 | (char *) "self",(char *) "line", NULL | |
8860 | }; | |
8861 | ||
8862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8863 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8864 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8865 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
8866 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8867 | { |
8868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8869 | result = (bool)(arg1)->ScrollToLine(arg2); | |
8870 | ||
8871 | wxPyEndAllowThreads(__tstate); | |
8872 | if (PyErr_Occurred()) SWIG_fail; | |
8873 | } | |
4d5c3d91 | 8874 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8875 | return resultobj; |
8876 | fail: | |
8877 | return NULL; | |
8878 | } | |
8879 | ||
8880 | ||
8881 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8882 | PyObject *resultobj; | |
8883 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8884 | int arg2 ; | |
8885 | bool result; | |
8886 | PyObject * obj0 = 0 ; | |
994141e6 | 8887 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8888 | char *kwnames[] = { |
8889 | (char *) "self",(char *) "lines", NULL | |
8890 | }; | |
8891 | ||
994141e6 | 8892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8893 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8894 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8895 | arg2 = (int) SWIG_AsInt(obj1); | |
8896 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8897 | { |
8898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8899 | result = (bool)(arg1)->ScrollLines(arg2); | |
8900 | ||
8901 | wxPyEndAllowThreads(__tstate); | |
8902 | if (PyErr_Occurred()) SWIG_fail; | |
8903 | } | |
4d5c3d91 | 8904 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8905 | return resultobj; |
8906 | fail: | |
8907 | return NULL; | |
8908 | } | |
8909 | ||
8910 | ||
8911 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8912 | PyObject *resultobj; | |
8913 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8914 | int arg2 ; | |
8915 | bool result; | |
8916 | PyObject * obj0 = 0 ; | |
994141e6 | 8917 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8918 | char *kwnames[] = { |
8919 | (char *) "self",(char *) "pages", NULL | |
8920 | }; | |
8921 | ||
994141e6 | 8922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8923 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8925 | arg2 = (int) SWIG_AsInt(obj1); | |
8926 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8927 | { |
8928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8929 | result = (bool)(arg1)->ScrollPages(arg2); | |
8930 | ||
8931 | wxPyEndAllowThreads(__tstate); | |
8932 | if (PyErr_Occurred()) SWIG_fail; | |
8933 | } | |
4d5c3d91 | 8934 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8935 | return resultobj; |
8936 | fail: | |
8937 | return NULL; | |
8938 | } | |
8939 | ||
8940 | ||
8941 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8942 | PyObject *resultobj; | |
8943 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8944 | size_t arg2 ; | |
8945 | PyObject * obj0 = 0 ; | |
8946 | PyObject * obj1 = 0 ; | |
8947 | char *kwnames[] = { | |
8948 | (char *) "self",(char *) "line", NULL | |
8949 | }; | |
8950 | ||
8951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8952 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8953 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8954 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
8955 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8956 | { |
8957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8958 | (arg1)->RefreshLine(arg2); | |
8959 | ||
8960 | wxPyEndAllowThreads(__tstate); | |
8961 | if (PyErr_Occurred()) SWIG_fail; | |
8962 | } | |
8963 | Py_INCREF(Py_None); resultobj = Py_None; | |
8964 | return resultobj; | |
8965 | fail: | |
8966 | return NULL; | |
8967 | } | |
8968 | ||
8969 | ||
8970 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8971 | PyObject *resultobj; | |
8972 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8973 | size_t arg2 ; | |
8974 | size_t arg3 ; | |
8975 | PyObject * obj0 = 0 ; | |
8976 | PyObject * obj1 = 0 ; | |
8977 | PyObject * obj2 = 0 ; | |
8978 | char *kwnames[] = { | |
8979 | (char *) "self",(char *) "from",(char *) "to", NULL | |
8980 | }; | |
8981 | ||
8982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8983 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8984 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8985 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
8986 | if (PyErr_Occurred()) SWIG_fail; | |
8987 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
8988 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8989 | { |
8990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8991 | (arg1)->RefreshLines(arg2,arg3); | |
8992 | ||
8993 | wxPyEndAllowThreads(__tstate); | |
8994 | if (PyErr_Occurred()) SWIG_fail; | |
8995 | } | |
8996 | Py_INCREF(Py_None); resultobj = Py_None; | |
8997 | return resultobj; | |
8998 | fail: | |
8999 | return NULL; | |
9000 | } | |
9001 | ||
9002 | ||
9003 | static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9004 | PyObject *resultobj; | |
9005 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
e811c8ce RD |
9006 | int arg2 ; |
9007 | int arg3 ; | |
d14a1e28 RD |
9008 | int result; |
9009 | PyObject * obj0 = 0 ; | |
994141e6 RD |
9010 | PyObject * obj1 = 0 ; |
9011 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
9012 | char *kwnames[] = { |
9013 | (char *) "self",(char *) "x",(char *) "y", NULL | |
9014 | }; | |
9015 | ||
994141e6 | 9016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
9017 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9018 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9019 | arg2 = (int) SWIG_AsInt(obj1); | |
9020 | if (PyErr_Occurred()) SWIG_fail; | |
9021 | arg3 = (int) SWIG_AsInt(obj2); | |
9022 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9023 | { |
9024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9025 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
9026 | ||
9027 | wxPyEndAllowThreads(__tstate); | |
9028 | if (PyErr_Occurred()) SWIG_fail; | |
9029 | } | |
15afbcd0 | 9030 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9031 | return resultobj; |
9032 | fail: | |
9033 | return NULL; | |
9034 | } | |
9035 | ||
9036 | ||
9037 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9038 | PyObject *resultobj; | |
9039 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9040 | wxPoint *arg2 = 0 ; | |
9041 | int result; | |
9042 | wxPoint temp2 ; | |
9043 | PyObject * obj0 = 0 ; | |
9044 | PyObject * obj1 = 0 ; | |
9045 | char *kwnames[] = { | |
9046 | (char *) "self",(char *) "pt", NULL | |
9047 | }; | |
9048 | ||
9049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9050 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9051 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9052 | { |
9053 | arg2 = &temp2; | |
9054 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9055 | } | |
9056 | { | |
9057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9058 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
9059 | ||
9060 | wxPyEndAllowThreads(__tstate); | |
9061 | if (PyErr_Occurred()) SWIG_fail; | |
9062 | } | |
15afbcd0 | 9063 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9064 | return resultobj; |
9065 | fail: | |
9066 | return NULL; | |
9067 | } | |
9068 | ||
9069 | ||
9070 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9071 | PyObject *resultobj; | |
9072 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9073 | PyObject * obj0 = 0 ; | |
9074 | char *kwnames[] = { | |
9075 | (char *) "self", NULL | |
9076 | }; | |
9077 | ||
9078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9079 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9080 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9081 | { |
9082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9083 | (arg1)->RefreshAll(); | |
9084 | ||
9085 | wxPyEndAllowThreads(__tstate); | |
9086 | if (PyErr_Occurred()) SWIG_fail; | |
9087 | } | |
9088 | Py_INCREF(Py_None); resultobj = Py_None; | |
9089 | return resultobj; | |
9090 | fail: | |
9091 | return NULL; | |
9092 | } | |
9093 | ||
9094 | ||
9095 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9096 | PyObject *resultobj; | |
9097 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9098 | size_t result; | |
9099 | PyObject * obj0 = 0 ; | |
9100 | char *kwnames[] = { | |
9101 | (char *) "self", NULL | |
9102 | }; | |
9103 | ||
9104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9105 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9106 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9107 | { |
9108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9109 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
9110 | ||
9111 | wxPyEndAllowThreads(__tstate); | |
9112 | if (PyErr_Occurred()) SWIG_fail; | |
9113 | } | |
15afbcd0 | 9114 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9115 | return resultobj; |
9116 | fail: | |
9117 | return NULL; | |
9118 | } | |
9119 | ||
9120 | ||
9121 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9122 | PyObject *resultobj; | |
9123 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9124 | size_t result; | |
9125 | PyObject * obj0 = 0 ; | |
9126 | char *kwnames[] = { | |
9127 | (char *) "self", NULL | |
9128 | }; | |
9129 | ||
9130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9131 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9132 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9133 | { |
9134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9135 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
9136 | ||
9137 | wxPyEndAllowThreads(__tstate); | |
9138 | if (PyErr_Occurred()) SWIG_fail; | |
9139 | } | |
15afbcd0 | 9140 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9141 | return resultobj; |
9142 | fail: | |
9143 | return NULL; | |
9144 | } | |
9145 | ||
9146 | ||
9147 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9148 | PyObject *resultobj; | |
9149 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9150 | size_t result; | |
9151 | PyObject * obj0 = 0 ; | |
9152 | char *kwnames[] = { | |
9153 | (char *) "self", NULL | |
9154 | }; | |
9155 | ||
9156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9157 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9158 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9159 | { |
9160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9161 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
9162 | ||
9163 | wxPyEndAllowThreads(__tstate); | |
9164 | if (PyErr_Occurred()) SWIG_fail; | |
9165 | } | |
15afbcd0 | 9166 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9167 | return resultobj; |
9168 | fail: | |
9169 | return NULL; | |
9170 | } | |
9171 | ||
9172 | ||
9173 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9174 | PyObject *resultobj; | |
9175 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9176 | size_t arg2 ; | |
9177 | bool result; | |
9178 | PyObject * obj0 = 0 ; | |
9179 | PyObject * obj1 = 0 ; | |
9180 | char *kwnames[] = { | |
9181 | (char *) "self",(char *) "line", NULL | |
9182 | }; | |
9183 | ||
9184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9185 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9186 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9187 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9188 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9189 | { |
9190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9191 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
9192 | ||
9193 | wxPyEndAllowThreads(__tstate); | |
9194 | if (PyErr_Occurred()) SWIG_fail; | |
9195 | } | |
4d5c3d91 | 9196 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9197 | return resultobj; |
9198 | fail: | |
9199 | return NULL; | |
9200 | } | |
9201 | ||
9202 | ||
9203 | static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
9204 | PyObject *obj; | |
9205 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9206 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
9207 | Py_INCREF(obj); | |
9208 | return Py_BuildValue((char *)""); | |
9209 | } | |
b2dc1044 RD |
9210 | static int _wrap_VListBoxNameStr_set(PyObject *_val) { |
9211 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); | |
9212 | return 1; | |
9213 | } | |
9214 | ||
9215 | ||
9216 | static PyObject *_wrap_VListBoxNameStr_get() { | |
9217 | PyObject *pyobj; | |
9218 | ||
9219 | { | |
9220 | #if wxUSE_UNICODE | |
9221 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9222 | #else | |
9223 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9224 | #endif | |
9225 | } | |
9226 | return pyobj; | |
9227 | } | |
9228 | ||
9229 | ||
d14a1e28 RD |
9230 | static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) { |
9231 | PyObject *resultobj; | |
9232 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 9233 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
9234 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
9235 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9236 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9237 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9238 | long arg5 = (long) 0 ; | |
9239 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
9240 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9241 | wxPyVListBox *result; | |
9242 | wxPoint temp3 ; | |
9243 | wxSize temp4 ; | |
e811c8ce | 9244 | bool temp6 = False ; |
d14a1e28 | 9245 | PyObject * obj0 = 0 ; |
994141e6 | 9246 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9247 | PyObject * obj2 = 0 ; |
9248 | PyObject * obj3 = 0 ; | |
994141e6 | 9249 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
9250 | PyObject * obj5 = 0 ; |
9251 | char *kwnames[] = { | |
9252 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9253 | }; | |
9254 | ||
994141e6 | 9255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
9256 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9257 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9258 | if (obj1) { |
15afbcd0 RD |
9259 | arg2 = (int) SWIG_AsInt(obj1); |
9260 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9261 | } |
d14a1e28 RD |
9262 | if (obj2) { |
9263 | { | |
9264 | arg3 = &temp3; | |
9265 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9266 | } | |
9267 | } | |
9268 | if (obj3) { | |
9269 | { | |
9270 | arg4 = &temp4; | |
9271 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9272 | } | |
9273 | } | |
994141e6 | 9274 | if (obj4) { |
15afbcd0 RD |
9275 | arg5 = (long) SWIG_AsLong(obj4); |
9276 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9277 | } |
d14a1e28 RD |
9278 | if (obj5) { |
9279 | { | |
9280 | arg6 = wxString_in_helper(obj5); | |
9281 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 9282 | temp6 = True; |
d14a1e28 RD |
9283 | } |
9284 | } | |
9285 | { | |
9286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9287 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9288 | ||
9289 | wxPyEndAllowThreads(__tstate); | |
9290 | if (PyErr_Occurred()) SWIG_fail; | |
9291 | } | |
15afbcd0 | 9292 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
9293 | { |
9294 | if (temp6) | |
9295 | delete arg6; | |
9296 | } | |
9297 | return resultobj; | |
9298 | fail: | |
9299 | { | |
9300 | if (temp6) | |
9301 | delete arg6; | |
9302 | } | |
9303 | return NULL; | |
9304 | } | |
9305 | ||
9306 | ||
9307 | static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9308 | PyObject *resultobj; | |
9309 | wxPyVListBox *result; | |
9310 | char *kwnames[] = { | |
9311 | NULL | |
9312 | }; | |
9313 | ||
9314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
9315 | { | |
9316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9317 | result = (wxPyVListBox *)new wxPyVListBox(); | |
9318 | ||
9319 | wxPyEndAllowThreads(__tstate); | |
9320 | if (PyErr_Occurred()) SWIG_fail; | |
9321 | } | |
15afbcd0 | 9322 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
9323 | return resultobj; |
9324 | fail: | |
9325 | return NULL; | |
9326 | } | |
9327 | ||
9328 | ||
9329 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9330 | PyObject *resultobj; | |
9331 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9332 | PyObject *arg2 = (PyObject *) 0 ; | |
9333 | PyObject *arg3 = (PyObject *) 0 ; | |
9334 | PyObject * obj0 = 0 ; | |
9335 | PyObject * obj1 = 0 ; | |
9336 | PyObject * obj2 = 0 ; | |
9337 | char *kwnames[] = { | |
9338 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9339 | }; | |
9340 | ||
9341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9342 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9343 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9344 | arg2 = obj1; |
9345 | arg3 = obj2; | |
9346 | { | |
9347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9348 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9349 | ||
9350 | wxPyEndAllowThreads(__tstate); | |
9351 | if (PyErr_Occurred()) SWIG_fail; | |
9352 | } | |
9353 | Py_INCREF(Py_None); resultobj = Py_None; | |
9354 | return resultobj; | |
9355 | fail: | |
9356 | return NULL; | |
9357 | } | |
9358 | ||
9359 | ||
9360 | static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9361 | PyObject *resultobj; | |
9362 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9363 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 9364 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
9365 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
9366 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9367 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9368 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9369 | long arg6 = (long) 0 ; | |
9370 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
9371 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9372 | bool result; | |
9373 | wxPoint temp4 ; | |
9374 | wxSize temp5 ; | |
e811c8ce | 9375 | bool temp7 = False ; |
d14a1e28 RD |
9376 | PyObject * obj0 = 0 ; |
9377 | PyObject * obj1 = 0 ; | |
994141e6 | 9378 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9379 | PyObject * obj3 = 0 ; |
9380 | PyObject * obj4 = 0 ; | |
994141e6 | 9381 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
9382 | PyObject * obj6 = 0 ; |
9383 | char *kwnames[] = { | |
9384 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9385 | }; | |
9386 | ||
994141e6 | 9387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
9388 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9389 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9390 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
9391 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9392 | if (obj2) { |
15afbcd0 RD |
9393 | arg3 = (int) SWIG_AsInt(obj2); |
9394 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9395 | } |
d14a1e28 RD |
9396 | if (obj3) { |
9397 | { | |
9398 | arg4 = &temp4; | |
9399 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9400 | } | |
9401 | } | |
9402 | if (obj4) { | |
9403 | { | |
9404 | arg5 = &temp5; | |
9405 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9406 | } | |
9407 | } | |
994141e6 | 9408 | if (obj5) { |
15afbcd0 RD |
9409 | arg6 = (long) SWIG_AsLong(obj5); |
9410 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9411 | } |
d14a1e28 RD |
9412 | if (obj6) { |
9413 | { | |
9414 | arg7 = wxString_in_helper(obj6); | |
9415 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 9416 | temp7 = True; |
d14a1e28 RD |
9417 | } |
9418 | } | |
9419 | { | |
9420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9421 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9422 | ||
9423 | wxPyEndAllowThreads(__tstate); | |
9424 | if (PyErr_Occurred()) SWIG_fail; | |
9425 | } | |
4d5c3d91 | 9426 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9427 | { |
9428 | if (temp7) | |
9429 | delete arg7; | |
9430 | } | |
9431 | return resultobj; | |
9432 | fail: | |
9433 | { | |
9434 | if (temp7) | |
9435 | delete arg7; | |
9436 | } | |
9437 | return NULL; | |
9438 | } | |
9439 | ||
9440 | ||
9441 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9442 | PyObject *resultobj; | |
9443 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9444 | size_t result; | |
9445 | PyObject * obj0 = 0 ; | |
9446 | char *kwnames[] = { | |
9447 | (char *) "self", NULL | |
9448 | }; | |
9449 | ||
9450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9451 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9452 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9453 | { |
9454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9455 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
9456 | ||
9457 | wxPyEndAllowThreads(__tstate); | |
9458 | if (PyErr_Occurred()) SWIG_fail; | |
9459 | } | |
15afbcd0 | 9460 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9461 | return resultobj; |
9462 | fail: | |
9463 | return NULL; | |
9464 | } | |
9465 | ||
9466 | ||
9467 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9468 | PyObject *resultobj; | |
9469 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9470 | bool result; | |
9471 | PyObject * obj0 = 0 ; | |
9472 | char *kwnames[] = { | |
9473 | (char *) "self", NULL | |
9474 | }; | |
9475 | ||
9476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9477 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9478 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9479 | { |
9480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9481 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
9482 | ||
9483 | wxPyEndAllowThreads(__tstate); | |
9484 | if (PyErr_Occurred()) SWIG_fail; | |
9485 | } | |
4d5c3d91 | 9486 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9487 | return resultobj; |
9488 | fail: | |
9489 | return NULL; | |
9490 | } | |
9491 | ||
9492 | ||
9493 | static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9494 | PyObject *resultobj; | |
9495 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9496 | int result; | |
9497 | PyObject * obj0 = 0 ; | |
9498 | char *kwnames[] = { | |
9499 | (char *) "self", NULL | |
9500 | }; | |
9501 | ||
9502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9505 | { |
9506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9507 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
9508 | ||
9509 | wxPyEndAllowThreads(__tstate); | |
9510 | if (PyErr_Occurred()) SWIG_fail; | |
9511 | } | |
15afbcd0 | 9512 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9513 | return resultobj; |
9514 | fail: | |
9515 | return NULL; | |
9516 | } | |
9517 | ||
9518 | ||
9519 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9520 | PyObject *resultobj; | |
9521 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9522 | size_t arg2 ; | |
9523 | bool result; | |
9524 | PyObject * obj0 = 0 ; | |
9525 | PyObject * obj1 = 0 ; | |
9526 | char *kwnames[] = { | |
9527 | (char *) "self",(char *) "item", NULL | |
9528 | }; | |
9529 | ||
9530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9533 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9534 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9535 | { |
9536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9537 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
9538 | ||
9539 | wxPyEndAllowThreads(__tstate); | |
9540 | if (PyErr_Occurred()) SWIG_fail; | |
9541 | } | |
4d5c3d91 | 9542 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9543 | return resultobj; |
9544 | fail: | |
9545 | return NULL; | |
9546 | } | |
9547 | ||
9548 | ||
9549 | static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9550 | PyObject *resultobj; | |
9551 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9552 | size_t arg2 ; | |
9553 | bool result; | |
9554 | PyObject * obj0 = 0 ; | |
9555 | PyObject * obj1 = 0 ; | |
9556 | char *kwnames[] = { | |
9557 | (char *) "self",(char *) "item", NULL | |
9558 | }; | |
9559 | ||
9560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9561 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9562 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9563 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9564 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9565 | { |
9566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9567 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
9568 | ||
9569 | wxPyEndAllowThreads(__tstate); | |
9570 | if (PyErr_Occurred()) SWIG_fail; | |
9571 | } | |
4d5c3d91 | 9572 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9573 | return resultobj; |
9574 | fail: | |
9575 | return NULL; | |
9576 | } | |
9577 | ||
9578 | ||
9579 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9580 | PyObject *resultobj; | |
9581 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9582 | size_t result; | |
9583 | PyObject * obj0 = 0 ; | |
9584 | char *kwnames[] = { | |
9585 | (char *) "self", NULL | |
9586 | }; | |
9587 | ||
9588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9589 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9590 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9591 | { |
9592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9593 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
9594 | ||
9595 | wxPyEndAllowThreads(__tstate); | |
9596 | if (PyErr_Occurred()) SWIG_fail; | |
9597 | } | |
15afbcd0 | 9598 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9599 | return resultobj; |
9600 | fail: | |
9601 | return NULL; | |
9602 | } | |
9603 | ||
9604 | ||
9605 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9606 | PyObject *resultobj; | |
9607 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9608 | unsigned long *arg2 = 0 ; | |
9609 | int result; | |
9610 | PyObject * obj0 = 0 ; | |
9611 | PyObject * obj1 = 0 ; | |
9612 | char *kwnames[] = { | |
9613 | (char *) "self",(char *) "cookie", NULL | |
9614 | }; | |
9615 | ||
9616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9617 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9618 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9619 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long, | |
9620 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
9621 | SWIG_fail; | |
d14a1e28 | 9622 | if (arg2 == NULL) { |
15afbcd0 RD |
9623 | PyErr_SetString(PyExc_TypeError,"null reference"); |
9624 | SWIG_fail; | |
d14a1e28 RD |
9625 | } |
9626 | { | |
9627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9628 | result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2); | |
9629 | ||
9630 | wxPyEndAllowThreads(__tstate); | |
9631 | if (PyErr_Occurred()) SWIG_fail; | |
9632 | } | |
15afbcd0 | 9633 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9634 | return resultobj; |
9635 | fail: | |
9636 | return NULL; | |
9637 | } | |
9638 | ||
9639 | ||
9640 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9641 | PyObject *resultobj; | |
9642 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9643 | unsigned long *arg2 = 0 ; | |
9644 | int result; | |
9645 | PyObject * obj0 = 0 ; | |
9646 | PyObject * obj1 = 0 ; | |
9647 | char *kwnames[] = { | |
9648 | (char *) "self",(char *) "cookie", NULL | |
9649 | }; | |
9650 | ||
9651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9652 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9653 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9654 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long, | |
9655 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
9656 | SWIG_fail; | |
d14a1e28 | 9657 | if (arg2 == NULL) { |
15afbcd0 RD |
9658 | PyErr_SetString(PyExc_TypeError,"null reference"); |
9659 | SWIG_fail; | |
d14a1e28 RD |
9660 | } |
9661 | { | |
9662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9663 | result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2); | |
9664 | ||
9665 | wxPyEndAllowThreads(__tstate); | |
9666 | if (PyErr_Occurred()) SWIG_fail; | |
9667 | } | |
15afbcd0 | 9668 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9669 | return resultobj; |
9670 | fail: | |
9671 | return NULL; | |
9672 | } | |
9673 | ||
9674 | ||
9675 | static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9676 | PyObject *resultobj; | |
9677 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9678 | wxPoint result; | |
9679 | PyObject * obj0 = 0 ; | |
9680 | char *kwnames[] = { | |
9681 | (char *) "self", NULL | |
9682 | }; | |
9683 | ||
9684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9685 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9686 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9687 | { |
9688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9689 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
9690 | ||
9691 | wxPyEndAllowThreads(__tstate); | |
9692 | if (PyErr_Occurred()) SWIG_fail; | |
9693 | } | |
9694 | { | |
9695 | wxPoint * resultptr; | |
9696 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 9697 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
9698 | } |
9699 | return resultobj; | |
9700 | fail: | |
9701 | return NULL; | |
9702 | } | |
9703 | ||
9704 | ||
9705 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9706 | PyObject *resultobj; | |
9707 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9708 | wxColour *result; | |
9709 | PyObject * obj0 = 0 ; | |
9710 | char *kwnames[] = { | |
9711 | (char *) "self", NULL | |
9712 | }; | |
9713 | ||
9714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9715 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9716 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9717 | { |
9718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9719 | { | |
9720 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
9721 | result = (wxColour *) &_result_ref; | |
9722 | } | |
9723 | ||
9724 | wxPyEndAllowThreads(__tstate); | |
9725 | if (PyErr_Occurred()) SWIG_fail; | |
9726 | } | |
15afbcd0 | 9727 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
9728 | return resultobj; |
9729 | fail: | |
9730 | return NULL; | |
9731 | } | |
9732 | ||
9733 | ||
9734 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9735 | PyObject *resultobj; | |
9736 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9737 | size_t arg2 ; | |
9738 | PyObject * obj0 = 0 ; | |
9739 | PyObject * obj1 = 0 ; | |
9740 | char *kwnames[] = { | |
9741 | (char *) "self",(char *) "count", NULL | |
9742 | }; | |
9743 | ||
9744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9745 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9746 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9747 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9748 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9749 | { |
9750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9751 | (arg1)->SetItemCount(arg2); | |
9752 | ||
9753 | wxPyEndAllowThreads(__tstate); | |
9754 | if (PyErr_Occurred()) SWIG_fail; | |
9755 | } | |
9756 | Py_INCREF(Py_None); resultobj = Py_None; | |
9757 | return resultobj; | |
9758 | fail: | |
9759 | return NULL; | |
9760 | } | |
9761 | ||
9762 | ||
9763 | static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9764 | PyObject *resultobj; | |
9765 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9766 | PyObject * obj0 = 0 ; | |
9767 | char *kwnames[] = { | |
9768 | (char *) "self", NULL | |
9769 | }; | |
9770 | ||
9771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9772 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9773 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9774 | { |
9775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9776 | (arg1)->Clear(); | |
9777 | ||
9778 | wxPyEndAllowThreads(__tstate); | |
9779 | if (PyErr_Occurred()) SWIG_fail; | |
9780 | } | |
9781 | Py_INCREF(Py_None); resultobj = Py_None; | |
9782 | return resultobj; | |
9783 | fail: | |
9784 | return NULL; | |
9785 | } | |
9786 | ||
9787 | ||
9788 | static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9789 | PyObject *resultobj; | |
9790 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9791 | int arg2 ; | |
9792 | PyObject * obj0 = 0 ; | |
994141e6 | 9793 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9794 | char *kwnames[] = { |
9795 | (char *) "self",(char *) "selection", NULL | |
9796 | }; | |
9797 | ||
994141e6 | 9798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9799 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9800 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9801 | arg2 = (int) SWIG_AsInt(obj1); | |
9802 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9803 | { |
9804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9805 | (arg1)->SetSelection(arg2); | |
9806 | ||
9807 | wxPyEndAllowThreads(__tstate); | |
9808 | if (PyErr_Occurred()) SWIG_fail; | |
9809 | } | |
9810 | Py_INCREF(Py_None); resultobj = Py_None; | |
9811 | return resultobj; | |
9812 | fail: | |
9813 | return NULL; | |
9814 | } | |
9815 | ||
9816 | ||
9817 | static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9818 | PyObject *resultobj; | |
9819 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9820 | size_t arg2 ; | |
e811c8ce | 9821 | bool arg3 = (bool) True ; |
d14a1e28 RD |
9822 | bool result; |
9823 | PyObject * obj0 = 0 ; | |
9824 | PyObject * obj1 = 0 ; | |
9825 | PyObject * obj2 = 0 ; | |
9826 | char *kwnames[] = { | |
9827 | (char *) "self",(char *) "item",(char *) "select", NULL | |
9828 | }; | |
9829 | ||
9830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9831 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9832 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9833 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9834 | if (PyErr_Occurred()) SWIG_fail; | |
a41e16b6 | 9835 | if (obj2) { |
15afbcd0 RD |
9836 | arg3 = (bool) SWIG_AsBool(obj2); |
9837 | if (PyErr_Occurred()) SWIG_fail; | |
a41e16b6 | 9838 | } |
d14a1e28 RD |
9839 | { |
9840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9841 | result = (bool)(arg1)->Select(arg2,arg3); | |
9842 | ||
9843 | wxPyEndAllowThreads(__tstate); | |
9844 | if (PyErr_Occurred()) SWIG_fail; | |
9845 | } | |
4d5c3d91 | 9846 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9847 | return resultobj; |
9848 | fail: | |
9849 | return NULL; | |
9850 | } | |
9851 | ||
9852 | ||
9853 | static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9854 | PyObject *resultobj; | |
9855 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9856 | size_t arg2 ; | |
9857 | size_t arg3 ; | |
9858 | bool result; | |
9859 | PyObject * obj0 = 0 ; | |
9860 | PyObject * obj1 = 0 ; | |
9861 | PyObject * obj2 = 0 ; | |
15afbcd0 RD |
9862 | char *kwnames[] = { |
9863 | (char *) "self",(char *) "from",(char *) "to", NULL | |
9864 | }; | |
9865 | ||
9866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9867 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
9868 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9869 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9870 | if (PyErr_Occurred()) SWIG_fail; | |
9871 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
9872 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9873 | { |
9874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9875 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
9876 | ||
9877 | wxPyEndAllowThreads(__tstate); | |
9878 | if (PyErr_Occurred()) SWIG_fail; | |
9879 | } | |
4d5c3d91 | 9880 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9881 | return resultobj; |
9882 | fail: | |
9883 | return NULL; | |
9884 | } | |
9885 | ||
9886 | ||
9887 | static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9888 | PyObject *resultobj; | |
9889 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9890 | size_t arg2 ; | |
9891 | PyObject * obj0 = 0 ; | |
9892 | PyObject * obj1 = 0 ; | |
9893 | char *kwnames[] = { | |
9894 | (char *) "self",(char *) "item", NULL | |
9895 | }; | |
9896 | ||
9897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9898 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9899 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9900 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9901 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9902 | { |
9903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9904 | (arg1)->Toggle(arg2); | |
9905 | ||
9906 | wxPyEndAllowThreads(__tstate); | |
9907 | if (PyErr_Occurred()) SWIG_fail; | |
9908 | } | |
9909 | Py_INCREF(Py_None); resultobj = Py_None; | |
9910 | return resultobj; | |
9911 | fail: | |
9912 | return NULL; | |
9913 | } | |
9914 | ||
9915 | ||
9916 | static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9917 | PyObject *resultobj; | |
9918 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9919 | bool result; | |
9920 | PyObject * obj0 = 0 ; | |
9921 | char *kwnames[] = { | |
9922 | (char *) "self", NULL | |
9923 | }; | |
9924 | ||
9925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9926 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9927 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9928 | { |
9929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9930 | result = (bool)(arg1)->SelectAll(); | |
9931 | ||
9932 | wxPyEndAllowThreads(__tstate); | |
9933 | if (PyErr_Occurred()) SWIG_fail; | |
9934 | } | |
4d5c3d91 | 9935 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9936 | return resultobj; |
9937 | fail: | |
9938 | return NULL; | |
9939 | } | |
9940 | ||
9941 | ||
9942 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9943 | PyObject *resultobj; | |
9944 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9945 | bool result; | |
9946 | PyObject * obj0 = 0 ; | |
9947 | char *kwnames[] = { | |
9948 | (char *) "self", NULL | |
9949 | }; | |
9950 | ||
9951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9952 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9953 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9954 | { |
9955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9956 | result = (bool)(arg1)->DeselectAll(); | |
9957 | ||
9958 | wxPyEndAllowThreads(__tstate); | |
9959 | if (PyErr_Occurred()) SWIG_fail; | |
9960 | } | |
4d5c3d91 | 9961 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9962 | return resultobj; |
9963 | fail: | |
9964 | return NULL; | |
9965 | } | |
9966 | ||
9967 | ||
9968 | static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9969 | PyObject *resultobj; | |
9970 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9971 | wxPoint *arg2 = 0 ; | |
9972 | wxPoint temp2 ; | |
9973 | PyObject * obj0 = 0 ; | |
9974 | PyObject * obj1 = 0 ; | |
9975 | char *kwnames[] = { | |
9976 | (char *) "self",(char *) "pt", NULL | |
9977 | }; | |
9978 | ||
9979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9980 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9981 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9982 | { |
9983 | arg2 = &temp2; | |
9984 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9985 | } | |
9986 | { | |
9987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9988 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
9989 | ||
9990 | wxPyEndAllowThreads(__tstate); | |
9991 | if (PyErr_Occurred()) SWIG_fail; | |
9992 | } | |
9993 | Py_INCREF(Py_None); resultobj = Py_None; | |
9994 | return resultobj; | |
9995 | fail: | |
9996 | return NULL; | |
9997 | } | |
9998 | ||
9999 | ||
10000 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10001 | PyObject *resultobj; | |
10002 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
e811c8ce RD |
10003 | int arg2 ; |
10004 | int arg3 ; | |
d14a1e28 | 10005 | PyObject * obj0 = 0 ; |
994141e6 RD |
10006 | PyObject * obj1 = 0 ; |
10007 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
10008 | char *kwnames[] = { |
10009 | (char *) "self",(char *) "x",(char *) "y", NULL | |
10010 | }; | |
10011 | ||
994141e6 | 10012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
10013 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10014 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10015 | arg2 = (int) SWIG_AsInt(obj1); | |
10016 | if (PyErr_Occurred()) SWIG_fail; | |
10017 | arg3 = (int) SWIG_AsInt(obj2); | |
10018 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10019 | { |
10020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10021 | (arg1)->SetMargins(arg2,arg3); | |
10022 | ||
10023 | wxPyEndAllowThreads(__tstate); | |
10024 | if (PyErr_Occurred()) SWIG_fail; | |
10025 | } | |
10026 | Py_INCREF(Py_None); resultobj = Py_None; | |
10027 | return resultobj; | |
10028 | fail: | |
10029 | return NULL; | |
10030 | } | |
10031 | ||
10032 | ||
10033 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10034 | PyObject *resultobj; | |
10035 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10036 | wxColour *arg2 = 0 ; | |
10037 | wxColour temp2 ; | |
10038 | PyObject * obj0 = 0 ; | |
10039 | PyObject * obj1 = 0 ; | |
10040 | char *kwnames[] = { | |
10041 | (char *) "self",(char *) "col", NULL | |
10042 | }; | |
10043 | ||
10044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10045 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10046 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10047 | { |
10048 | arg2 = &temp2; | |
10049 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10050 | } | |
10051 | { | |
10052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10053 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
10054 | ||
10055 | wxPyEndAllowThreads(__tstate); | |
10056 | if (PyErr_Occurred()) SWIG_fail; | |
10057 | } | |
10058 | Py_INCREF(Py_None); resultobj = Py_None; | |
10059 | return resultobj; | |
10060 | fail: | |
10061 | return NULL; | |
10062 | } | |
10063 | ||
10064 | ||
10065 | static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) { | |
10066 | PyObject *obj; | |
10067 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10068 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
10069 | Py_INCREF(obj); | |
10070 | return Py_BuildValue((char *)""); | |
10071 | } | |
10072 | static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10073 | PyObject *resultobj; | |
10074 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 10075 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
10076 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10077 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10078 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10079 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10080 | long arg5 = (long) 0 ; | |
10081 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
10082 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10083 | wxPyHtmlListBox *result; | |
10084 | wxPoint temp3 ; | |
10085 | wxSize temp4 ; | |
e811c8ce | 10086 | bool temp6 = False ; |
d14a1e28 | 10087 | PyObject * obj0 = 0 ; |
994141e6 | 10088 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10089 | PyObject * obj2 = 0 ; |
10090 | PyObject * obj3 = 0 ; | |
994141e6 | 10091 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
10092 | PyObject * obj5 = 0 ; |
10093 | char *kwnames[] = { | |
10094 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10095 | }; | |
10096 | ||
994141e6 | 10097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
10098 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
10099 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 10100 | if (obj1) { |
15afbcd0 RD |
10101 | arg2 = (int) SWIG_AsInt(obj1); |
10102 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10103 | } |
d14a1e28 RD |
10104 | if (obj2) { |
10105 | { | |
10106 | arg3 = &temp3; | |
10107 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10108 | } | |
10109 | } | |
10110 | if (obj3) { | |
10111 | { | |
10112 | arg4 = &temp4; | |
10113 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10114 | } | |
10115 | } | |
994141e6 | 10116 | if (obj4) { |
15afbcd0 RD |
10117 | arg5 = (long) SWIG_AsLong(obj4); |
10118 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10119 | } |
d14a1e28 RD |
10120 | if (obj5) { |
10121 | { | |
10122 | arg6 = wxString_in_helper(obj5); | |
10123 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 10124 | temp6 = True; |
d14a1e28 RD |
10125 | } |
10126 | } | |
10127 | { | |
10128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10129 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10130 | ||
10131 | wxPyEndAllowThreads(__tstate); | |
10132 | if (PyErr_Occurred()) SWIG_fail; | |
10133 | } | |
15afbcd0 | 10134 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
10135 | { |
10136 | if (temp6) | |
10137 | delete arg6; | |
10138 | } | |
10139 | return resultobj; | |
10140 | fail: | |
10141 | { | |
10142 | if (temp6) | |
10143 | delete arg6; | |
10144 | } | |
10145 | return NULL; | |
10146 | } | |
10147 | ||
10148 | ||
10149 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10150 | PyObject *resultobj; | |
10151 | wxPyHtmlListBox *result; | |
10152 | char *kwnames[] = { | |
10153 | NULL | |
10154 | }; | |
10155 | ||
10156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
10157 | { | |
10158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10159 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
10160 | ||
10161 | wxPyEndAllowThreads(__tstate); | |
10162 | if (PyErr_Occurred()) SWIG_fail; | |
10163 | } | |
15afbcd0 | 10164 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
10165 | return resultobj; |
10166 | fail: | |
10167 | return NULL; | |
10168 | } | |
10169 | ||
10170 | ||
10171 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10172 | PyObject *resultobj; | |
10173 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10174 | PyObject *arg2 = (PyObject *) 0 ; | |
10175 | PyObject *arg3 = (PyObject *) 0 ; | |
10176 | PyObject * obj0 = 0 ; | |
10177 | PyObject * obj1 = 0 ; | |
10178 | PyObject * obj2 = 0 ; | |
10179 | char *kwnames[] = { | |
10180 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10181 | }; | |
10182 | ||
10183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10184 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10185 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10186 | arg2 = obj1; |
10187 | arg3 = obj2; | |
10188 | { | |
10189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10190 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10191 | ||
10192 | wxPyEndAllowThreads(__tstate); | |
10193 | if (PyErr_Occurred()) SWIG_fail; | |
10194 | } | |
10195 | Py_INCREF(Py_None); resultobj = Py_None; | |
10196 | return resultobj; | |
10197 | fail: | |
10198 | return NULL; | |
10199 | } | |
10200 | ||
10201 | ||
10202 | static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10203 | PyObject *resultobj; | |
10204 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10205 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 10206 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
10207 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10208 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10209 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10210 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10211 | long arg6 = (long) 0 ; | |
10212 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
10213 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10214 | bool result; | |
10215 | wxPoint temp4 ; | |
10216 | wxSize temp5 ; | |
e811c8ce | 10217 | bool temp7 = False ; |
d14a1e28 RD |
10218 | PyObject * obj0 = 0 ; |
10219 | PyObject * obj1 = 0 ; | |
994141e6 | 10220 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10221 | PyObject * obj3 = 0 ; |
10222 | PyObject * obj4 = 0 ; | |
994141e6 | 10223 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
10224 | PyObject * obj6 = 0 ; |
10225 | char *kwnames[] = { | |
10226 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10227 | }; | |
10228 | ||
994141e6 | 10229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
10230 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10231 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10232 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
10233 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 10234 | if (obj2) { |
15afbcd0 RD |
10235 | arg3 = (int) SWIG_AsInt(obj2); |
10236 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10237 | } |
d14a1e28 RD |
10238 | if (obj3) { |
10239 | { | |
10240 | arg4 = &temp4; | |
10241 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10242 | } | |
10243 | } | |
10244 | if (obj4) { | |
10245 | { | |
10246 | arg5 = &temp5; | |
10247 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10248 | } | |
10249 | } | |
994141e6 | 10250 | if (obj5) { |
15afbcd0 RD |
10251 | arg6 = (long) SWIG_AsLong(obj5); |
10252 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10253 | } |
d14a1e28 RD |
10254 | if (obj6) { |
10255 | { | |
10256 | arg7 = wxString_in_helper(obj6); | |
10257 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 10258 | temp7 = True; |
d14a1e28 RD |
10259 | } |
10260 | } | |
10261 | { | |
10262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10263 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10264 | ||
10265 | wxPyEndAllowThreads(__tstate); | |
10266 | if (PyErr_Occurred()) SWIG_fail; | |
10267 | } | |
4d5c3d91 | 10268 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10269 | { |
10270 | if (temp7) | |
10271 | delete arg7; | |
10272 | } | |
10273 | return resultobj; | |
10274 | fail: | |
10275 | { | |
10276 | if (temp7) | |
10277 | delete arg7; | |
10278 | } | |
10279 | return NULL; | |
10280 | } | |
10281 | ||
10282 | ||
10283 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10284 | PyObject *resultobj; | |
10285 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10286 | PyObject * obj0 = 0 ; | |
10287 | char *kwnames[] = { | |
10288 | (char *) "self", NULL | |
10289 | }; | |
10290 | ||
10291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10292 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10293 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10294 | { |
10295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10296 | (arg1)->RefreshAll(); | |
10297 | ||
10298 | wxPyEndAllowThreads(__tstate); | |
10299 | if (PyErr_Occurred()) SWIG_fail; | |
10300 | } | |
10301 | Py_INCREF(Py_None); resultobj = Py_None; | |
10302 | return resultobj; | |
10303 | fail: | |
10304 | return NULL; | |
10305 | } | |
10306 | ||
10307 | ||
10308 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10309 | PyObject *resultobj; | |
10310 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10311 | size_t arg2 ; | |
10312 | PyObject * obj0 = 0 ; | |
10313 | PyObject * obj1 = 0 ; | |
10314 | char *kwnames[] = { | |
10315 | (char *) "self",(char *) "count", NULL | |
10316 | }; | |
10317 | ||
10318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10319 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10320 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10321 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10322 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10323 | { |
10324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10325 | (arg1)->SetItemCount(arg2); | |
10326 | ||
10327 | wxPyEndAllowThreads(__tstate); | |
10328 | if (PyErr_Occurred()) SWIG_fail; | |
10329 | } | |
10330 | Py_INCREF(Py_None); resultobj = Py_None; | |
10331 | return resultobj; | |
10332 | fail: | |
10333 | return NULL; | |
10334 | } | |
10335 | ||
10336 | ||
10337 | static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) { | |
10338 | PyObject *obj; | |
10339 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10340 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
10341 | Py_INCREF(obj); | |
10342 | return Py_BuildValue((char *)""); | |
10343 | } | |
10344 | static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10345 | PyObject *resultobj; | |
10346 | wxTaskBarIcon *result; | |
10347 | char *kwnames[] = { | |
10348 | NULL | |
10349 | }; | |
10350 | ||
10351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
10352 | { | |
10353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10354 | result = (wxTaskBarIcon *)new wxTaskBarIcon(); | |
10355 | ||
10356 | wxPyEndAllowThreads(__tstate); | |
10357 | if (PyErr_Occurred()) SWIG_fail; | |
10358 | } | |
15afbcd0 | 10359 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1); |
d14a1e28 RD |
10360 | return resultobj; |
10361 | fail: | |
10362 | return NULL; | |
10363 | } | |
10364 | ||
10365 | ||
10366 | static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10367 | PyObject *resultobj; | |
10368 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10369 | PyObject * obj0 = 0 ; | |
10370 | char *kwnames[] = { | |
10371 | (char *) "self", NULL | |
10372 | }; | |
10373 | ||
10374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10375 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10377 | { |
10378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10379 | delete arg1; | |
10380 | ||
10381 | wxPyEndAllowThreads(__tstate); | |
10382 | if (PyErr_Occurred()) SWIG_fail; | |
10383 | } | |
10384 | Py_INCREF(Py_None); resultobj = Py_None; | |
10385 | return resultobj; | |
10386 | fail: | |
10387 | return NULL; | |
10388 | } | |
10389 | ||
10390 | ||
10391 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10392 | PyObject *resultobj; | |
10393 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10394 | bool result; | |
10395 | PyObject * obj0 = 0 ; | |
10396 | char *kwnames[] = { | |
10397 | (char *) "self", NULL | |
10398 | }; | |
10399 | ||
10400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10401 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10402 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10403 | { |
10404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10405 | result = (bool)((wxTaskBarIcon const *)arg1)->IsOk(); | |
10406 | ||
10407 | wxPyEndAllowThreads(__tstate); | |
10408 | if (PyErr_Occurred()) SWIG_fail; | |
10409 | } | |
4d5c3d91 | 10410 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10411 | return resultobj; |
10412 | fail: | |
10413 | return NULL; | |
10414 | } | |
10415 | ||
10416 | ||
10417 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10418 | PyObject *resultobj; | |
10419 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10420 | bool result; | |
10421 | PyObject * obj0 = 0 ; | |
10422 | char *kwnames[] = { | |
10423 | (char *) "self", NULL | |
10424 | }; | |
10425 | ||
10426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10427 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10428 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10429 | { |
10430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10431 | result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled(); | |
10432 | ||
10433 | wxPyEndAllowThreads(__tstate); | |
10434 | if (PyErr_Occurred()) SWIG_fail; | |
10435 | } | |
4d5c3d91 | 10436 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10437 | return resultobj; |
10438 | fail: | |
10439 | return NULL; | |
10440 | } | |
10441 | ||
10442 | ||
10443 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10444 | PyObject *resultobj; | |
10445 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10446 | wxIcon *arg2 = 0 ; | |
10447 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10448 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10449 | bool result; | |
e811c8ce | 10450 | bool temp3 = False ; |
d14a1e28 RD |
10451 | PyObject * obj0 = 0 ; |
10452 | PyObject * obj1 = 0 ; | |
10453 | PyObject * obj2 = 0 ; | |
10454 | char *kwnames[] = { | |
10455 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
10456 | }; | |
10457 | ||
10458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10459 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10460 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10461 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
10462 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
10463 | SWIG_fail; | |
d14a1e28 | 10464 | if (arg2 == NULL) { |
15afbcd0 RD |
10465 | PyErr_SetString(PyExc_TypeError,"null reference"); |
10466 | SWIG_fail; | |
d14a1e28 RD |
10467 | } |
10468 | if (obj2) { | |
10469 | { | |
10470 | arg3 = wxString_in_helper(obj2); | |
10471 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 10472 | temp3 = True; |
d14a1e28 RD |
10473 | } |
10474 | } | |
10475 | { | |
10476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10477 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
10478 | ||
10479 | wxPyEndAllowThreads(__tstate); | |
10480 | if (PyErr_Occurred()) SWIG_fail; | |
10481 | } | |
4d5c3d91 | 10482 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10483 | { |
10484 | if (temp3) | |
10485 | delete arg3; | |
10486 | } | |
10487 | return resultobj; | |
10488 | fail: | |
10489 | { | |
10490 | if (temp3) | |
10491 | delete arg3; | |
10492 | } | |
10493 | return NULL; | |
10494 | } | |
10495 | ||
10496 | ||
10497 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10498 | PyObject *resultobj; | |
10499 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10500 | bool result; | |
10501 | PyObject * obj0 = 0 ; | |
10502 | char *kwnames[] = { | |
10503 | (char *) "self", NULL | |
10504 | }; | |
10505 | ||
10506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10507 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10508 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10509 | { |
10510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10511 | result = (bool)(arg1)->RemoveIcon(); | |
10512 | ||
10513 | wxPyEndAllowThreads(__tstate); | |
10514 | if (PyErr_Occurred()) SWIG_fail; | |
10515 | } | |
4d5c3d91 | 10516 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10517 | return resultobj; |
10518 | fail: | |
10519 | return NULL; | |
10520 | } | |
10521 | ||
10522 | ||
10523 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10524 | PyObject *resultobj; | |
10525 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10526 | wxMenu *arg2 = (wxMenu *) 0 ; | |
10527 | bool result; | |
10528 | PyObject * obj0 = 0 ; | |
10529 | PyObject * obj1 = 0 ; | |
10530 | char *kwnames[] = { | |
10531 | (char *) "self",(char *) "menu", NULL | |
10532 | }; | |
10533 | ||
10534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10535 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10537 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, | |
10538 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10539 | { |
10540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10541 | result = (bool)(arg1)->PopupMenu(arg2); | |
10542 | ||
10543 | wxPyEndAllowThreads(__tstate); | |
10544 | if (PyErr_Occurred()) SWIG_fail; | |
10545 | } | |
4d5c3d91 | 10546 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10547 | return resultobj; |
10548 | fail: | |
10549 | return NULL; | |
10550 | } | |
10551 | ||
10552 | ||
10553 | static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) { | |
10554 | PyObject *obj; | |
10555 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10556 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj); | |
10557 | Py_INCREF(obj); | |
10558 | return Py_BuildValue((char *)""); | |
10559 | } | |
10560 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10561 | PyObject *resultobj; | |
10562 | wxEventType arg1 ; | |
10563 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
10564 | wxTaskBarIconEvent *result; | |
994141e6 | 10565 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
10566 | PyObject * obj1 = 0 ; |
10567 | char *kwnames[] = { | |
10568 | (char *) "evtType",(char *) "tbIcon", NULL | |
10569 | }; | |
10570 | ||
994141e6 | 10571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10572 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
10573 | if (PyErr_Occurred()) SWIG_fail; | |
10574 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon, | |
10575 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10576 | { |
10577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10578 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
10579 | ||
10580 | wxPyEndAllowThreads(__tstate); | |
10581 | if (PyErr_Occurred()) SWIG_fail; | |
10582 | } | |
15afbcd0 | 10583 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); |
d14a1e28 RD |
10584 | return resultobj; |
10585 | fail: | |
10586 | return NULL; | |
10587 | } | |
10588 | ||
10589 | ||
10590 | static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) { | |
10591 | PyObject *obj; | |
10592 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10593 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
10594 | Py_INCREF(obj); | |
10595 | return Py_BuildValue((char *)""); | |
10596 | } | |
b2dc1044 RD |
10597 | static int _wrap_FileSelectorPromptStr_set(PyObject *_val) { |
10598 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); | |
10599 | return 1; | |
10600 | } | |
10601 | ||
10602 | ||
10603 | static PyObject *_wrap_FileSelectorPromptStr_get() { | |
10604 | PyObject *pyobj; | |
10605 | ||
10606 | { | |
10607 | #if wxUSE_UNICODE | |
10608 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
10609 | #else | |
10610 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
10611 | #endif | |
10612 | } | |
10613 | return pyobj; | |
10614 | } | |
10615 | ||
10616 | ||
10617 | static int _wrap_DirSelectorPromptStr_set(PyObject *_val) { | |
10618 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); | |
10619 | return 1; | |
10620 | } | |
10621 | ||
10622 | ||
10623 | static PyObject *_wrap_DirSelectorPromptStr_get() { | |
10624 | PyObject *pyobj; | |
10625 | ||
10626 | { | |
10627 | #if wxUSE_UNICODE | |
10628 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
10629 | #else | |
10630 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
10631 | #endif | |
10632 | } | |
10633 | return pyobj; | |
10634 | } | |
10635 | ||
10636 | ||
10637 | static int _wrap_DirDialogNameStr_set(PyObject *_val) { | |
10638 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); | |
10639 | return 1; | |
10640 | } | |
10641 | ||
10642 | ||
10643 | static PyObject *_wrap_DirDialogNameStr_get() { | |
10644 | PyObject *pyobj; | |
10645 | ||
10646 | { | |
10647 | #if wxUSE_UNICODE | |
10648 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
10649 | #else | |
10650 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
10651 | #endif | |
10652 | } | |
10653 | return pyobj; | |
10654 | } | |
10655 | ||
10656 | ||
10657 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) { | |
10658 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); | |
10659 | return 1; | |
10660 | } | |
10661 | ||
10662 | ||
10663 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() { | |
10664 | PyObject *pyobj; | |
10665 | ||
10666 | { | |
10667 | #if wxUSE_UNICODE | |
10668 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
10669 | #else | |
10670 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
10671 | #endif | |
10672 | } | |
10673 | return pyobj; | |
10674 | } | |
10675 | ||
10676 | ||
10677 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) { | |
10678 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); | |
10679 | return 1; | |
10680 | } | |
10681 | ||
10682 | ||
10683 | static PyObject *_wrap_GetTextFromUserPromptStr_get() { | |
10684 | PyObject *pyobj; | |
10685 | ||
10686 | { | |
10687 | #if wxUSE_UNICODE | |
10688 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
10689 | #else | |
10690 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
10691 | #endif | |
10692 | } | |
10693 | return pyobj; | |
10694 | } | |
10695 | ||
10696 | ||
10697 | static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) { | |
10698 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); | |
10699 | return 1; | |
10700 | } | |
10701 | ||
10702 | ||
10703 | static PyObject *_wrap_MessageBoxCaptionStr_get() { | |
10704 | PyObject *pyobj; | |
10705 | ||
10706 | { | |
10707 | #if wxUSE_UNICODE | |
10708 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
10709 | #else | |
10710 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
10711 | #endif | |
10712 | } | |
10713 | return pyobj; | |
10714 | } | |
10715 | ||
10716 | ||
d14a1e28 RD |
10717 | static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { |
10718 | PyObject *resultobj; | |
10719 | wxColourData *result; | |
10720 | char *kwnames[] = { | |
10721 | NULL | |
10722 | }; | |
10723 | ||
10724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
10725 | { | |
10726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10727 | result = (wxColourData *)new wxColourData(); | |
10728 | ||
10729 | wxPyEndAllowThreads(__tstate); | |
10730 | if (PyErr_Occurred()) SWIG_fail; | |
10731 | } | |
15afbcd0 | 10732 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); |
d14a1e28 RD |
10733 | return resultobj; |
10734 | fail: | |
10735 | return NULL; | |
10736 | } | |
10737 | ||
10738 | ||
10739 | static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10740 | PyObject *resultobj; | |
10741 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10742 | PyObject * obj0 = 0 ; | |
10743 | char *kwnames[] = { | |
10744 | (char *) "self", NULL | |
10745 | }; | |
10746 | ||
10747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10748 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10749 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10750 | { |
10751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10752 | delete arg1; | |
10753 | ||
10754 | wxPyEndAllowThreads(__tstate); | |
10755 | if (PyErr_Occurred()) SWIG_fail; | |
10756 | } | |
10757 | Py_INCREF(Py_None); resultobj = Py_None; | |
10758 | return resultobj; | |
10759 | fail: | |
10760 | return NULL; | |
10761 | } | |
10762 | ||
10763 | ||
10764 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10765 | PyObject *resultobj; | |
10766 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10767 | bool result; | |
10768 | PyObject * obj0 = 0 ; | |
10769 | char *kwnames[] = { | |
10770 | (char *) "self", NULL | |
10771 | }; | |
10772 | ||
10773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10774 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10775 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10776 | { |
10777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10778 | result = (bool)(arg1)->GetChooseFull(); | |
10779 | ||
10780 | wxPyEndAllowThreads(__tstate); | |
10781 | if (PyErr_Occurred()) SWIG_fail; | |
10782 | } | |
4d5c3d91 | 10783 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10784 | return resultobj; |
10785 | fail: | |
10786 | return NULL; | |
10787 | } | |
10788 | ||
10789 | ||
10790 | static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10791 | PyObject *resultobj; | |
10792 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10793 | wxColour result; | |
10794 | PyObject * obj0 = 0 ; | |
10795 | char *kwnames[] = { | |
10796 | (char *) "self", NULL | |
10797 | }; | |
10798 | ||
10799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10800 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10801 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10802 | { |
10803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10804 | result = (arg1)->GetColour(); | |
10805 | ||
10806 | wxPyEndAllowThreads(__tstate); | |
10807 | if (PyErr_Occurred()) SWIG_fail; | |
10808 | } | |
10809 | { | |
10810 | wxColour * resultptr; | |
10811 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 10812 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
10813 | } |
10814 | return resultobj; | |
10815 | fail: | |
10816 | return NULL; | |
10817 | } | |
10818 | ||
10819 | ||
10820 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10821 | PyObject *resultobj; | |
10822 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10823 | int arg2 ; | |
10824 | wxColour result; | |
10825 | PyObject * obj0 = 0 ; | |
994141e6 | 10826 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10827 | char *kwnames[] = { |
10828 | (char *) "self",(char *) "i", NULL | |
10829 | }; | |
10830 | ||
994141e6 | 10831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10832 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10833 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10834 | arg2 = (int) SWIG_AsInt(obj1); | |
10835 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10836 | { |
10837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10838 | result = (arg1)->GetCustomColour(arg2); | |
10839 | ||
10840 | wxPyEndAllowThreads(__tstate); | |
10841 | if (PyErr_Occurred()) SWIG_fail; | |
10842 | } | |
10843 | { | |
10844 | wxColour * resultptr; | |
10845 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 10846 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
10847 | } |
10848 | return resultobj; | |
10849 | fail: | |
10850 | return NULL; | |
10851 | } | |
10852 | ||
10853 | ||
10854 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10855 | PyObject *resultobj; | |
10856 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10857 | int arg2 ; | |
10858 | PyObject * obj0 = 0 ; | |
994141e6 | 10859 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10860 | char *kwnames[] = { |
10861 | (char *) "self",(char *) "flag", NULL | |
10862 | }; | |
10863 | ||
994141e6 | 10864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10865 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10866 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10867 | arg2 = (int) SWIG_AsInt(obj1); | |
10868 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10869 | { |
10870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10871 | (arg1)->SetChooseFull(arg2); | |
10872 | ||
10873 | wxPyEndAllowThreads(__tstate); | |
10874 | if (PyErr_Occurred()) SWIG_fail; | |
10875 | } | |
10876 | Py_INCREF(Py_None); resultobj = Py_None; | |
10877 | return resultobj; | |
10878 | fail: | |
10879 | return NULL; | |
10880 | } | |
10881 | ||
10882 | ||
10883 | static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10884 | PyObject *resultobj; | |
10885 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10886 | wxColour *arg2 = 0 ; | |
10887 | wxColour temp2 ; | |
10888 | PyObject * obj0 = 0 ; | |
10889 | PyObject * obj1 = 0 ; | |
10890 | char *kwnames[] = { | |
10891 | (char *) "self",(char *) "colour", NULL | |
10892 | }; | |
10893 | ||
10894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10895 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10896 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10897 | { |
10898 | arg2 = &temp2; | |
10899 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10900 | } | |
10901 | { | |
10902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10903 | (arg1)->SetColour((wxColour const &)*arg2); | |
10904 | ||
10905 | wxPyEndAllowThreads(__tstate); | |
10906 | if (PyErr_Occurred()) SWIG_fail; | |
10907 | } | |
10908 | Py_INCREF(Py_None); resultobj = Py_None; | |
10909 | return resultobj; | |
10910 | fail: | |
10911 | return NULL; | |
10912 | } | |
10913 | ||
10914 | ||
10915 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10916 | PyObject *resultobj; | |
10917 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10918 | int arg2 ; | |
10919 | wxColour *arg3 = 0 ; | |
10920 | wxColour temp3 ; | |
10921 | PyObject * obj0 = 0 ; | |
994141e6 | 10922 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10923 | PyObject * obj2 = 0 ; |
10924 | char *kwnames[] = { | |
10925 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
10926 | }; | |
10927 | ||
994141e6 | 10928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
10929 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10930 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10931 | arg2 = (int) SWIG_AsInt(obj1); | |
10932 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10933 | { |
10934 | arg3 = &temp3; | |
10935 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10936 | } | |
10937 | { | |
10938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10939 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
10940 | ||
10941 | wxPyEndAllowThreads(__tstate); | |
10942 | if (PyErr_Occurred()) SWIG_fail; | |
10943 | } | |
10944 | Py_INCREF(Py_None); resultobj = Py_None; | |
10945 | return resultobj; | |
10946 | fail: | |
10947 | return NULL; | |
10948 | } | |
10949 | ||
10950 | ||
10951 | static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) { | |
10952 | PyObject *obj; | |
10953 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10954 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
10955 | Py_INCREF(obj); | |
10956 | return Py_BuildValue((char *)""); | |
10957 | } | |
10958 | static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10959 | PyObject *resultobj; | |
10960 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10961 | wxColourData *arg2 = (wxColourData *) NULL ; | |
10962 | wxColourDialog *result; | |
10963 | PyObject * obj0 = 0 ; | |
10964 | PyObject * obj1 = 0 ; | |
10965 | char *kwnames[] = { | |
10966 | (char *) "parent",(char *) "data", NULL | |
10967 | }; | |
10968 | ||
10969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10970 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
10971 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 10972 | if (obj1) { |
15afbcd0 RD |
10973 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData, |
10974 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10975 | } |
10976 | { | |
10977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10978 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
10979 | ||
10980 | wxPyEndAllowThreads(__tstate); | |
10981 | if (PyErr_Occurred()) SWIG_fail; | |
10982 | } | |
15afbcd0 | 10983 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); |
d14a1e28 RD |
10984 | return resultobj; |
10985 | fail: | |
10986 | return NULL; | |
10987 | } | |
10988 | ||
10989 | ||
10990 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10991 | PyObject *resultobj; | |
10992 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
10993 | wxColourData *result; | |
10994 | PyObject * obj0 = 0 ; | |
10995 | char *kwnames[] = { | |
10996 | (char *) "self", NULL | |
10997 | }; | |
10998 | ||
10999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11000 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog, |
11001 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11002 | { |
11003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11004 | { | |
11005 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
11006 | result = (wxColourData *) &_result_ref; | |
11007 | } | |
11008 | ||
11009 | wxPyEndAllowThreads(__tstate); | |
11010 | if (PyErr_Occurred()) SWIG_fail; | |
11011 | } | |
15afbcd0 | 11012 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); |
d14a1e28 RD |
11013 | return resultobj; |
11014 | fail: | |
11015 | return NULL; | |
11016 | } | |
11017 | ||
11018 | ||
d14a1e28 RD |
11019 | static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) { |
11020 | PyObject *obj; | |
11021 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11022 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
11023 | Py_INCREF(obj); | |
11024 | return Py_BuildValue((char *)""); | |
11025 | } | |
11026 | static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11027 | PyObject *resultobj; | |
11028 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11029 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
11030 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11031 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11032 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11033 | long arg4 = (long) 0 ; | |
11034 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
11035 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
11036 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
11037 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
11038 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
11039 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11040 | wxDirDialog *result; | |
e811c8ce RD |
11041 | bool temp2 = False ; |
11042 | bool temp3 = False ; | |
d14a1e28 RD |
11043 | wxPoint temp5 ; |
11044 | wxSize temp6 ; | |
e811c8ce | 11045 | bool temp7 = False ; |
d14a1e28 RD |
11046 | PyObject * obj0 = 0 ; |
11047 | PyObject * obj1 = 0 ; | |
11048 | PyObject * obj2 = 0 ; | |
994141e6 | 11049 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
11050 | PyObject * obj4 = 0 ; |
11051 | PyObject * obj5 = 0 ; | |
11052 | PyObject * obj6 = 0 ; | |
11053 | char *kwnames[] = { | |
11054 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
11055 | }; | |
11056 | ||
994141e6 | 11057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
11058 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11059 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11060 | if (obj1) { |
11061 | { | |
11062 | arg2 = wxString_in_helper(obj1); | |
11063 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11064 | temp2 = True; |
d14a1e28 RD |
11065 | } |
11066 | } | |
11067 | if (obj2) { | |
11068 | { | |
11069 | arg3 = wxString_in_helper(obj2); | |
11070 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 11071 | temp3 = True; |
d14a1e28 RD |
11072 | } |
11073 | } | |
994141e6 | 11074 | if (obj3) { |
15afbcd0 RD |
11075 | arg4 = (long) SWIG_AsLong(obj3); |
11076 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 11077 | } |
d14a1e28 RD |
11078 | if (obj4) { |
11079 | { | |
11080 | arg5 = &temp5; | |
11081 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
11082 | } | |
11083 | } | |
11084 | if (obj5) { | |
11085 | { | |
11086 | arg6 = &temp6; | |
11087 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
11088 | } | |
11089 | } | |
11090 | if (obj6) { | |
11091 | { | |
11092 | arg7 = wxString_in_helper(obj6); | |
11093 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 11094 | temp7 = True; |
d14a1e28 RD |
11095 | } |
11096 | } | |
11097 | { | |
11098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11099 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
11100 | ||
11101 | wxPyEndAllowThreads(__tstate); | |
11102 | if (PyErr_Occurred()) SWIG_fail; | |
11103 | } | |
15afbcd0 | 11104 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); |
d14a1e28 RD |
11105 | { |
11106 | if (temp2) | |
11107 | delete arg2; | |
11108 | } | |
11109 | { | |
11110 | if (temp3) | |
11111 | delete arg3; | |
11112 | } | |
11113 | { | |
11114 | if (temp7) | |
11115 | delete arg7; | |
11116 | } | |
11117 | return resultobj; | |
11118 | fail: | |
11119 | { | |
11120 | if (temp2) | |
11121 | delete arg2; | |
11122 | } | |
11123 | { | |
11124 | if (temp3) | |
11125 | delete arg3; | |
11126 | } | |
11127 | { | |
11128 | if (temp7) | |
11129 | delete arg7; | |
11130 | } | |
11131 | return NULL; | |
11132 | } | |
11133 | ||
11134 | ||
11135 | static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11136 | PyObject *resultobj; | |
11137 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11138 | wxString result; | |
11139 | PyObject * obj0 = 0 ; | |
11140 | char *kwnames[] = { | |
11141 | (char *) "self", NULL | |
11142 | }; | |
11143 | ||
11144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11145 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11146 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11147 | { |
11148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11149 | result = (arg1)->GetPath(); | |
11150 | ||
11151 | wxPyEndAllowThreads(__tstate); | |
11152 | if (PyErr_Occurred()) SWIG_fail; | |
11153 | } | |
11154 | { | |
11155 | #if wxUSE_UNICODE | |
11156 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11157 | #else | |
11158 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11159 | #endif | |
11160 | } | |
11161 | return resultobj; | |
11162 | fail: | |
11163 | return NULL; | |
11164 | } | |
11165 | ||
11166 | ||
11167 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11168 | PyObject *resultobj; | |
11169 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11170 | wxString result; | |
11171 | PyObject * obj0 = 0 ; | |
11172 | char *kwnames[] = { | |
11173 | (char *) "self", NULL | |
11174 | }; | |
11175 | ||
11176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11177 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11178 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11179 | { |
11180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11181 | result = (arg1)->GetMessage(); | |
11182 | ||
11183 | wxPyEndAllowThreads(__tstate); | |
11184 | if (PyErr_Occurred()) SWIG_fail; | |
11185 | } | |
11186 | { | |
11187 | #if wxUSE_UNICODE | |
11188 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11189 | #else | |
11190 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11191 | #endif | |
11192 | } | |
11193 | return resultobj; | |
11194 | fail: | |
11195 | return NULL; | |
11196 | } | |
11197 | ||
11198 | ||
11199 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11200 | PyObject *resultobj; | |
11201 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11202 | long result; | |
11203 | PyObject * obj0 = 0 ; | |
11204 | char *kwnames[] = { | |
11205 | (char *) "self", NULL | |
11206 | }; | |
11207 | ||
11208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11209 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11210 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11211 | { |
11212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11213 | result = (long)(arg1)->GetStyle(); | |
11214 | ||
11215 | wxPyEndAllowThreads(__tstate); | |
11216 | if (PyErr_Occurred()) SWIG_fail; | |
11217 | } | |
15afbcd0 | 11218 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
11219 | return resultobj; |
11220 | fail: | |
11221 | return NULL; | |
11222 | } | |
11223 | ||
11224 | ||
11225 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11226 | PyObject *resultobj; | |
11227 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11228 | wxString *arg2 = 0 ; | |
e811c8ce | 11229 | bool temp2 = False ; |
d14a1e28 RD |
11230 | PyObject * obj0 = 0 ; |
11231 | PyObject * obj1 = 0 ; | |
11232 | char *kwnames[] = { | |
11233 | (char *) "self",(char *) "message", NULL | |
11234 | }; | |
11235 | ||
11236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11239 | { |
11240 | arg2 = wxString_in_helper(obj1); | |
11241 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11242 | temp2 = True; |
d14a1e28 RD |
11243 | } |
11244 | { | |
11245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11246 | (arg1)->SetMessage((wxString const &)*arg2); | |
11247 | ||
11248 | wxPyEndAllowThreads(__tstate); | |
11249 | if (PyErr_Occurred()) SWIG_fail; | |
11250 | } | |
11251 | Py_INCREF(Py_None); resultobj = Py_None; | |
11252 | { | |
11253 | if (temp2) | |
11254 | delete arg2; | |
11255 | } | |
11256 | return resultobj; | |
11257 | fail: | |
11258 | { | |
11259 | if (temp2) | |
11260 | delete arg2; | |
11261 | } | |
11262 | return NULL; | |
11263 | } | |
11264 | ||
11265 | ||
11266 | static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11267 | PyObject *resultobj; | |
11268 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11269 | wxString *arg2 = 0 ; | |
e811c8ce | 11270 | bool temp2 = False ; |
d14a1e28 RD |
11271 | PyObject * obj0 = 0 ; |
11272 | PyObject * obj1 = 0 ; | |
11273 | char *kwnames[] = { | |
11274 | (char *) "self",(char *) "path", NULL | |
11275 | }; | |
11276 | ||
11277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11278 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11280 | { |
11281 | arg2 = wxString_in_helper(obj1); | |
11282 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11283 | temp2 = True; |
d14a1e28 RD |
11284 | } |
11285 | { | |
11286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11287 | (arg1)->SetPath((wxString const &)*arg2); | |
11288 | ||
11289 | wxPyEndAllowThreads(__tstate); | |
11290 | if (PyErr_Occurred()) SWIG_fail; | |
11291 | } | |
11292 | Py_INCREF(Py_None); resultobj = Py_None; | |
11293 | { | |
11294 | if (temp2) | |
11295 | delete arg2; | |
11296 | } | |
11297 | return resultobj; | |
11298 | fail: | |
11299 | { | |
11300 | if (temp2) | |
11301 | delete arg2; | |
11302 | } | |
11303 | return NULL; | |
11304 | } | |
11305 | ||
11306 | ||
d14a1e28 RD |
11307 | static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) { |
11308 | PyObject *obj; | |
11309 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11310 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
11311 | Py_INCREF(obj); | |
11312 | return Py_BuildValue((char *)""); | |
11313 | } | |
11314 | static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11315 | PyObject *resultobj; | |
11316 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11317 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
11318 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11319 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11320 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11321 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11322 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11323 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
11324 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
11325 | long arg6 = (long) 0 ; | |
11326 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
11327 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
11328 | wxFileDialog *result; | |
e811c8ce RD |
11329 | bool temp2 = False ; |
11330 | bool temp3 = False ; | |
11331 | bool temp4 = False ; | |
11332 | bool temp5 = False ; | |
d14a1e28 RD |
11333 | wxPoint temp7 ; |
11334 | PyObject * obj0 = 0 ; | |
11335 | PyObject * obj1 = 0 ; | |
11336 | PyObject * obj2 = 0 ; | |
11337 | PyObject * obj3 = 0 ; | |
11338 | PyObject * obj4 = 0 ; | |
994141e6 | 11339 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
11340 | PyObject * obj6 = 0 ; |
11341 | char *kwnames[] = { | |
11342 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
11343 | }; | |
11344 | ||
994141e6 | 11345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
11346 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11347 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11348 | if (obj1) { |
11349 | { | |
11350 | arg2 = wxString_in_helper(obj1); | |
11351 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11352 | temp2 = True; |
d14a1e28 RD |
11353 | } |
11354 | } | |
11355 | if (obj2) { | |
11356 | { | |
11357 | arg3 = wxString_in_helper(obj2); | |
11358 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 11359 | temp3 = True; |
d14a1e28 RD |
11360 | } |
11361 | } | |
11362 | if (obj3) { | |
11363 | { | |
11364 | arg4 = wxString_in_helper(obj3); | |
11365 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 11366 | temp4 = True; |
d14a1e28 RD |
11367 | } |
11368 | } | |
11369 | if (obj4) { | |
11370 | { | |
11371 | arg5 = wxString_in_helper(obj4); | |
11372 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 11373 | temp5 = True; |
d14a1e28 RD |
11374 | } |
11375 | } | |
994141e6 | 11376 | if (obj5) { |
15afbcd0 RD |
11377 | arg6 = (long) SWIG_AsLong(obj5); |
11378 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 11379 | } |
d14a1e28 RD |
11380 | if (obj6) { |
11381 | { | |
11382 | arg7 = &temp7; | |
11383 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
11384 | } | |
11385 | } | |
11386 | { | |
11387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11388 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
11389 | ||
11390 | wxPyEndAllowThreads(__tstate); | |
11391 | if (PyErr_Occurred()) SWIG_fail; | |
11392 | } | |
15afbcd0 | 11393 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); |
d14a1e28 RD |
11394 | { |
11395 | if (temp2) | |
11396 | delete arg2; | |
11397 | } | |
11398 | { | |
11399 | if (temp3) | |
11400 | delete arg3; | |
11401 | } | |
11402 | { | |
11403 | if (temp4) | |
11404 | delete arg4; | |
11405 | } | |
11406 | { | |
11407 | if (temp5) | |
11408 | delete arg5; | |
11409 | } | |
11410 | return resultobj; | |
11411 | fail: | |
11412 | { | |
11413 | if (temp2) | |
11414 | delete arg2; | |
11415 | } | |
11416 | { | |
11417 | if (temp3) | |
11418 | delete arg3; | |
11419 | } | |
11420 | { | |
11421 | if (temp4) | |
11422 | delete arg4; | |
11423 | } | |
11424 | { | |
11425 | if (temp5) | |
11426 | delete arg5; | |
11427 | } | |
11428 | return NULL; | |
11429 | } | |
11430 | ||
11431 | ||
11432 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11433 | PyObject *resultobj; | |
11434 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11435 | wxString *arg2 = 0 ; | |
e811c8ce | 11436 | bool temp2 = False ; |
d14a1e28 RD |
11437 | PyObject * obj0 = 0 ; |
11438 | PyObject * obj1 = 0 ; | |
11439 | char *kwnames[] = { | |
11440 | (char *) "self",(char *) "message", NULL | |
11441 | }; | |
11442 | ||
11443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11444 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11445 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11446 | { |
11447 | arg2 = wxString_in_helper(obj1); | |
11448 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11449 | temp2 = True; |
d14a1e28 RD |
11450 | } |
11451 | { | |
11452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11453 | (arg1)->SetMessage((wxString const &)*arg2); | |
11454 | ||
11455 | wxPyEndAllowThreads(__tstate); | |
11456 | if (PyErr_Occurred()) SWIG_fail; | |
11457 | } | |
11458 | Py_INCREF(Py_None); resultobj = Py_None; | |
11459 | { | |
11460 | if (temp2) | |
11461 | delete arg2; | |
11462 | } | |
11463 | return resultobj; | |
11464 | fail: | |
11465 | { | |
11466 | if (temp2) | |
11467 | delete arg2; | |
11468 | } | |
11469 | return NULL; | |
11470 | } | |
11471 | ||
11472 | ||
11473 | static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11474 | PyObject *resultobj; | |
11475 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11476 | wxString *arg2 = 0 ; | |
e811c8ce | 11477 | bool temp2 = False ; |
d14a1e28 RD |
11478 | PyObject * obj0 = 0 ; |
11479 | PyObject * obj1 = 0 ; | |
11480 | char *kwnames[] = { | |
11481 | (char *) "self",(char *) "path", NULL | |
11482 | }; | |
11483 | ||
11484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11485 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11486 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11487 | { |
11488 | arg2 = wxString_in_helper(obj1); | |
11489 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11490 | temp2 = True; |
d14a1e28 RD |
11491 | } |
11492 | { | |
11493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11494 | (arg1)->SetPath((wxString const &)*arg2); | |
11495 | ||
11496 | wxPyEndAllowThreads(__tstate); | |
11497 | if (PyErr_Occurred()) SWIG_fail; | |
11498 | } | |
11499 | Py_INCREF(Py_None); resultobj = Py_None; | |
11500 | { | |
11501 | if (temp2) | |
11502 | delete arg2; | |
11503 | } | |
11504 | return resultobj; | |
11505 | fail: | |
11506 | { | |
11507 | if (temp2) | |
11508 | delete arg2; | |
11509 | } | |
11510 | return NULL; | |
11511 | } | |
11512 | ||
11513 | ||
11514 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11515 | PyObject *resultobj; | |
11516 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11517 | wxString *arg2 = 0 ; | |
e811c8ce | 11518 | bool temp2 = False ; |
d14a1e28 RD |
11519 | PyObject * obj0 = 0 ; |
11520 | PyObject * obj1 = 0 ; | |
11521 | char *kwnames[] = { | |
11522 | (char *) "self",(char *) "dir", NULL | |
11523 | }; | |
11524 | ||
11525 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11526 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11527 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11528 | { |
11529 | arg2 = wxString_in_helper(obj1); | |
11530 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11531 | temp2 = True; |
d14a1e28 RD |
11532 | } |
11533 | { | |
11534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11535 | (arg1)->SetDirectory((wxString const &)*arg2); | |
11536 | ||
11537 | wxPyEndAllowThreads(__tstate); | |
11538 | if (PyErr_Occurred()) SWIG_fail; | |
11539 | } | |
11540 | Py_INCREF(Py_None); resultobj = Py_None; | |
11541 | { | |
11542 | if (temp2) | |
11543 | delete arg2; | |
11544 | } | |
11545 | return resultobj; | |
11546 | fail: | |
11547 | { | |
11548 | if (temp2) | |
11549 | delete arg2; | |
11550 | } | |
11551 | return NULL; | |
11552 | } | |
11553 | ||
11554 | ||
11555 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11556 | PyObject *resultobj; | |
11557 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11558 | wxString *arg2 = 0 ; | |
e811c8ce | 11559 | bool temp2 = False ; |
d14a1e28 RD |
11560 | PyObject * obj0 = 0 ; |
11561 | PyObject * obj1 = 0 ; | |
11562 | char *kwnames[] = { | |
11563 | (char *) "self",(char *) "name", NULL | |
11564 | }; | |
11565 | ||
11566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11567 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11568 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11569 | { |
11570 | arg2 = wxString_in_helper(obj1); | |
11571 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11572 | temp2 = True; |
d14a1e28 RD |
11573 | } |
11574 | { | |
11575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11576 | (arg1)->SetFilename((wxString const &)*arg2); | |
11577 | ||
11578 | wxPyEndAllowThreads(__tstate); | |
11579 | if (PyErr_Occurred()) SWIG_fail; | |
11580 | } | |
11581 | Py_INCREF(Py_None); resultobj = Py_None; | |
11582 | { | |
11583 | if (temp2) | |
11584 | delete arg2; | |
11585 | } | |
11586 | return resultobj; | |
11587 | fail: | |
11588 | { | |
11589 | if (temp2) | |
11590 | delete arg2; | |
11591 | } | |
11592 | return NULL; | |
11593 | } | |
11594 | ||
11595 | ||
11596 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11597 | PyObject *resultobj; | |
11598 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11599 | wxString *arg2 = 0 ; | |
e811c8ce | 11600 | bool temp2 = False ; |
d14a1e28 RD |
11601 | PyObject * obj0 = 0 ; |
11602 | PyObject * obj1 = 0 ; | |
11603 | char *kwnames[] = { | |
11604 | (char *) "self",(char *) "wildCard", NULL | |
11605 | }; | |
11606 | ||
11607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11608 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11609 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11610 | { |
11611 | arg2 = wxString_in_helper(obj1); | |
11612 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11613 | temp2 = True; |
d14a1e28 RD |
11614 | } |
11615 | { | |
11616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11617 | (arg1)->SetWildcard((wxString const &)*arg2); | |
11618 | ||
11619 | wxPyEndAllowThreads(__tstate); | |
11620 | if (PyErr_Occurred()) SWIG_fail; | |
11621 | } | |
11622 | Py_INCREF(Py_None); resultobj = Py_None; | |
11623 | { | |
11624 | if (temp2) | |
11625 | delete arg2; | |
11626 | } | |
11627 | return resultobj; | |
11628 | fail: | |
11629 | { | |
11630 | if (temp2) | |
11631 | delete arg2; | |
11632 | } | |
11633 | return NULL; | |
11634 | } | |
11635 | ||
11636 | ||
11637 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11638 | PyObject *resultobj; | |
11639 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11640 | long arg2 ; | |
11641 | PyObject * obj0 = 0 ; | |
994141e6 | 11642 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11643 | char *kwnames[] = { |
11644 | (char *) "self",(char *) "style", NULL | |
11645 | }; | |
11646 | ||
994141e6 | 11647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11648 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11649 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11650 | arg2 = (long) SWIG_AsLong(obj1); | |
11651 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11652 | { |
11653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11654 | (arg1)->SetStyle(arg2); | |
11655 | ||
11656 | wxPyEndAllowThreads(__tstate); | |
11657 | if (PyErr_Occurred()) SWIG_fail; | |
11658 | } | |
11659 | Py_INCREF(Py_None); resultobj = Py_None; | |
11660 | return resultobj; | |
11661 | fail: | |
11662 | return NULL; | |
11663 | } | |
11664 | ||
11665 | ||
11666 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11667 | PyObject *resultobj; | |
11668 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11669 | int arg2 ; | |
11670 | PyObject * obj0 = 0 ; | |
994141e6 | 11671 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11672 | char *kwnames[] = { |
11673 | (char *) "self",(char *) "filterIndex", NULL | |
11674 | }; | |
11675 | ||
994141e6 | 11676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11677 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11678 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11679 | arg2 = (int) SWIG_AsInt(obj1); | |
11680 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11681 | { |
11682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11683 | (arg1)->SetFilterIndex(arg2); | |
11684 | ||
11685 | wxPyEndAllowThreads(__tstate); | |
11686 | if (PyErr_Occurred()) SWIG_fail; | |
11687 | } | |
11688 | Py_INCREF(Py_None); resultobj = Py_None; | |
11689 | return resultobj; | |
11690 | fail: | |
11691 | return NULL; | |
11692 | } | |
11693 | ||
11694 | ||
11695 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11696 | PyObject *resultobj; | |
11697 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11698 | wxString result; | |
11699 | PyObject * obj0 = 0 ; | |
11700 | char *kwnames[] = { | |
11701 | (char *) "self", NULL | |
11702 | }; | |
11703 | ||
11704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11705 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11706 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11707 | { |
11708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11709 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
11710 | ||
11711 | wxPyEndAllowThreads(__tstate); | |
11712 | if (PyErr_Occurred()) SWIG_fail; | |
11713 | } | |
11714 | { | |
11715 | #if wxUSE_UNICODE | |
11716 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11717 | #else | |
11718 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11719 | #endif | |
11720 | } | |
11721 | return resultobj; | |
11722 | fail: | |
11723 | return NULL; | |
11724 | } | |
11725 | ||
11726 | ||
11727 | static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11728 | PyObject *resultobj; | |
11729 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11730 | wxString result; | |
11731 | PyObject * obj0 = 0 ; | |
11732 | char *kwnames[] = { | |
11733 | (char *) "self", NULL | |
11734 | }; | |
11735 | ||
11736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11737 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11738 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11739 | { |
11740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11741 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
11742 | ||
11743 | wxPyEndAllowThreads(__tstate); | |
11744 | if (PyErr_Occurred()) SWIG_fail; | |
11745 | } | |
11746 | { | |
11747 | #if wxUSE_UNICODE | |
11748 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11749 | #else | |
11750 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11751 | #endif | |
11752 | } | |
11753 | return resultobj; | |
11754 | fail: | |
11755 | return NULL; | |
11756 | } | |
11757 | ||
11758 | ||
11759 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11760 | PyObject *resultobj; | |
11761 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11762 | wxString result; | |
11763 | PyObject * obj0 = 0 ; | |
11764 | char *kwnames[] = { | |
11765 | (char *) "self", NULL | |
11766 | }; | |
11767 | ||
11768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11769 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11770 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11771 | { |
11772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11773 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
11774 | ||
11775 | wxPyEndAllowThreads(__tstate); | |
11776 | if (PyErr_Occurred()) SWIG_fail; | |
11777 | } | |
11778 | { | |
11779 | #if wxUSE_UNICODE | |
11780 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11781 | #else | |
11782 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11783 | #endif | |
11784 | } | |
11785 | return resultobj; | |
11786 | fail: | |
11787 | return NULL; | |
11788 | } | |
11789 | ||
11790 | ||
11791 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11792 | PyObject *resultobj; | |
11793 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11794 | wxString result; | |
11795 | PyObject * obj0 = 0 ; | |
11796 | char *kwnames[] = { | |
11797 | (char *) "self", NULL | |
11798 | }; | |
11799 | ||
11800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11801 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11802 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11803 | { |
11804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11805 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
11806 | ||
11807 | wxPyEndAllowThreads(__tstate); | |
11808 | if (PyErr_Occurred()) SWIG_fail; | |
11809 | } | |
11810 | { | |
11811 | #if wxUSE_UNICODE | |
11812 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11813 | #else | |
11814 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11815 | #endif | |
11816 | } | |
11817 | return resultobj; | |
11818 | fail: | |
11819 | return NULL; | |
11820 | } | |
11821 | ||
11822 | ||
11823 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11824 | PyObject *resultobj; | |
11825 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11826 | wxString result; | |
11827 | PyObject * obj0 = 0 ; | |
11828 | char *kwnames[] = { | |
11829 | (char *) "self", NULL | |
11830 | }; | |
11831 | ||
11832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11833 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11834 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11835 | { |
11836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11837 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
11838 | ||
11839 | wxPyEndAllowThreads(__tstate); | |
11840 | if (PyErr_Occurred()) SWIG_fail; | |
11841 | } | |
11842 | { | |
11843 | #if wxUSE_UNICODE | |
11844 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11845 | #else | |
11846 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11847 | #endif | |
11848 | } | |
11849 | return resultobj; | |
11850 | fail: | |
11851 | return NULL; | |
11852 | } | |
11853 | ||
11854 | ||
11855 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11856 | PyObject *resultobj; | |
11857 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11858 | long result; | |
11859 | PyObject * obj0 = 0 ; | |
11860 | char *kwnames[] = { | |
11861 | (char *) "self", NULL | |
11862 | }; | |
11863 | ||
11864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11865 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11866 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11867 | { |
11868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11869 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
11870 | ||
11871 | wxPyEndAllowThreads(__tstate); | |
11872 | if (PyErr_Occurred()) SWIG_fail; | |
11873 | } | |
15afbcd0 | 11874 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
11875 | return resultobj; |
11876 | fail: | |
11877 | return NULL; | |
11878 | } | |
11879 | ||
11880 | ||
11881 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11882 | PyObject *resultobj; | |
11883 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11884 | int result; | |
11885 | PyObject * obj0 = 0 ; | |
11886 | char *kwnames[] = { | |
11887 | (char *) "self", NULL | |
11888 | }; | |
11889 | ||
11890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11891 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11893 | { |
11894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11895 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
11896 | ||
11897 | wxPyEndAllowThreads(__tstate); | |
11898 | if (PyErr_Occurred()) SWIG_fail; | |
11899 | } | |
15afbcd0 | 11900 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
11901 | return resultobj; |
11902 | fail: | |
11903 | return NULL; | |
11904 | } | |
11905 | ||
11906 | ||
11907 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11908 | PyObject *resultobj; | |
11909 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11910 | PyObject *result; | |
11911 | PyObject * obj0 = 0 ; | |
11912 | char *kwnames[] = { | |
11913 | (char *) "self", NULL | |
11914 | }; | |
11915 | ||
11916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11919 | { |
11920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11921 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
11922 | ||
11923 | wxPyEndAllowThreads(__tstate); | |
11924 | if (PyErr_Occurred()) SWIG_fail; | |
11925 | } | |
11926 | resultobj = result; | |
11927 | return resultobj; | |
11928 | fail: | |
11929 | return NULL; | |
11930 | } | |
11931 | ||
11932 | ||
11933 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11934 | PyObject *resultobj; | |
11935 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11936 | PyObject *result; | |
11937 | PyObject * obj0 = 0 ; | |
11938 | char *kwnames[] = { | |
11939 | (char *) "self", NULL | |
11940 | }; | |
11941 | ||
11942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11945 | { |
11946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11947 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
11948 | ||
11949 | wxPyEndAllowThreads(__tstate); | |
11950 | if (PyErr_Occurred()) SWIG_fail; | |
11951 | } | |
11952 | resultobj = result; | |
11953 | return resultobj; | |
11954 | fail: | |
11955 | return NULL; | |
11956 | } | |
11957 | ||
11958 | ||
11959 | static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) { | |
11960 | PyObject *obj; | |
11961 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11962 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
11963 | Py_INCREF(obj); | |
11964 | return Py_BuildValue((char *)""); | |
11965 | } | |
11966 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11967 | PyObject *resultobj; | |
11968 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11969 | wxString *arg2 = 0 ; | |
11970 | wxString *arg3 = 0 ; | |
4d5c3d91 | 11971 | int arg4 = (int) 0 ; |
d14a1e28 RD |
11972 | wxString *arg5 = (wxString *) 0 ; |
11973 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
11974 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
11975 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
11976 | wxMultiChoiceDialog *result; | |
e811c8ce RD |
11977 | bool temp2 = False ; |
11978 | bool temp3 = False ; | |
4d5c3d91 | 11979 | wxPoint temp6 ; |
d14a1e28 RD |
11980 | PyObject * obj0 = 0 ; |
11981 | PyObject * obj1 = 0 ; | |
11982 | PyObject * obj2 = 0 ; | |
994141e6 | 11983 | PyObject * obj3 = 0 ; |
d14a1e28 | 11984 | PyObject * obj4 = 0 ; |
994141e6 | 11985 | PyObject * obj5 = 0 ; |
d14a1e28 | 11986 | char *kwnames[] = { |
4d5c3d91 | 11987 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL |
d14a1e28 RD |
11988 | }; |
11989 | ||
4d5c3d91 | 11990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
11991 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11992 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11993 | { |
11994 | arg2 = wxString_in_helper(obj1); | |
11995 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11996 | temp2 = True; |
d14a1e28 RD |
11997 | } |
11998 | { | |
11999 | arg3 = wxString_in_helper(obj2); | |
12000 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12001 | temp3 = True; |
d14a1e28 | 12002 | } |
4d5c3d91 RD |
12003 | if (obj3) { |
12004 | { | |
12005 | arg4 = PyList_Size(obj3); | |
12006 | arg5 = wxString_LIST_helper(obj3); | |
12007 | if (arg5 == NULL) SWIG_fail; | |
12008 | } | |
7eae615b | 12009 | } |
4d5c3d91 | 12010 | if (obj4) { |
15afbcd0 RD |
12011 | arg6 = (long) SWIG_AsLong(obj4); |
12012 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12013 | } |
4d5c3d91 | 12014 | if (obj5) { |
d14a1e28 | 12015 | { |
4d5c3d91 RD |
12016 | arg7 = &temp6; |
12017 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
d14a1e28 RD |
12018 | } |
12019 | } | |
12020 | { | |
12021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12022 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12023 | ||
12024 | wxPyEndAllowThreads(__tstate); | |
12025 | if (PyErr_Occurred()) SWIG_fail; | |
12026 | } | |
15afbcd0 | 12027 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); |
d14a1e28 RD |
12028 | { |
12029 | if (temp2) | |
12030 | delete arg2; | |
12031 | } | |
12032 | { | |
12033 | if (temp3) | |
12034 | delete arg3; | |
12035 | } | |
7eae615b | 12036 | { |
4d5c3d91 | 12037 | if (arg5) delete [] arg5; |
7eae615b | 12038 | } |
d14a1e28 RD |
12039 | return resultobj; |
12040 | fail: | |
12041 | { | |
12042 | if (temp2) | |
12043 | delete arg2; | |
12044 | } | |
12045 | { | |
12046 | if (temp3) | |
12047 | delete arg3; | |
12048 | } | |
7eae615b | 12049 | { |
4d5c3d91 | 12050 | if (arg5) delete [] arg5; |
7eae615b | 12051 | } |
d14a1e28 RD |
12052 | return NULL; |
12053 | } | |
12054 | ||
12055 | ||
12056 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12057 | PyObject *resultobj; | |
12058 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12059 | wxArrayInt *arg2 = 0 ; | |
3adfb63b | 12060 | bool temp2 = False ; |
d14a1e28 RD |
12061 | PyObject * obj0 = 0 ; |
12062 | PyObject * obj1 = 0 ; | |
12063 | char *kwnames[] = { | |
12064 | (char *) "self",(char *) "selections", NULL | |
12065 | }; | |
12066 | ||
12067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12068 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
12069 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12070 | { |
12071 | if (! PySequence_Check(obj1)) { | |
12072 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
12073 | SWIG_fail; | |
12074 | } | |
12075 | arg2 = new wxArrayInt; | |
3adfb63b | 12076 | temp2 = True; |
d14a1e28 RD |
12077 | int i, len=PySequence_Length(obj1); |
12078 | for (i=0; i<len; i++) { | |
12079 | PyObject* item = PySequence_GetItem(obj1, i); | |
12080 | PyObject* number = PyNumber_Int(item); | |
12081 | arg2->Add(PyInt_AS_LONG(number)); | |
12082 | Py_DECREF(item); | |
12083 | Py_DECREF(number); | |
12084 | } | |
12085 | } | |
12086 | { | |
12087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12088 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
12089 | ||
12090 | wxPyEndAllowThreads(__tstate); | |
12091 | if (PyErr_Occurred()) SWIG_fail; | |
12092 | } | |
12093 | Py_INCREF(Py_None); resultobj = Py_None; | |
12094 | { | |
3adfb63b | 12095 | if (temp2) delete arg2; |
d14a1e28 RD |
12096 | } |
12097 | return resultobj; | |
12098 | fail: | |
12099 | { | |
3adfb63b | 12100 | if (temp2) delete arg2; |
d14a1e28 RD |
12101 | } |
12102 | return NULL; | |
12103 | } | |
12104 | ||
12105 | ||
12106 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12107 | PyObject *resultobj; | |
12108 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12109 | PyObject *result; | |
12110 | PyObject * obj0 = 0 ; | |
12111 | char *kwnames[] = { | |
12112 | (char *) "self", NULL | |
12113 | }; | |
12114 | ||
12115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12116 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
12117 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12118 | { |
12119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12120 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
12121 | ||
12122 | wxPyEndAllowThreads(__tstate); | |
12123 | if (PyErr_Occurred()) SWIG_fail; | |
12124 | } | |
12125 | resultobj = result; | |
12126 | return resultobj; | |
12127 | fail: | |
12128 | return NULL; | |
12129 | } | |
12130 | ||
12131 | ||
12132 | static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) { | |
12133 | PyObject *obj; | |
12134 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12135 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
12136 | Py_INCREF(obj); | |
12137 | return Py_BuildValue((char *)""); | |
12138 | } | |
12139 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12140 | PyObject *resultobj; | |
12141 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12142 | wxString *arg2 = 0 ; | |
12143 | wxString *arg3 = 0 ; | |
12144 | int arg4 ; | |
12145 | wxString *arg5 = (wxString *) 0 ; | |
12146 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
12147 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12148 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12149 | wxSingleChoiceDialog *result; | |
e811c8ce RD |
12150 | bool temp2 = False ; |
12151 | bool temp3 = False ; | |
d14a1e28 RD |
12152 | wxPoint temp6 ; |
12153 | PyObject * obj0 = 0 ; | |
12154 | PyObject * obj1 = 0 ; | |
12155 | PyObject * obj2 = 0 ; | |
12156 | PyObject * obj3 = 0 ; | |
994141e6 | 12157 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12158 | PyObject * obj5 = 0 ; |
12159 | char *kwnames[] = { | |
12160 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
12161 | }; | |
12162 | ||
994141e6 | 12163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12164 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12165 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12166 | { |
12167 | arg2 = wxString_in_helper(obj1); | |
12168 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12169 | temp2 = True; |
d14a1e28 RD |
12170 | } |
12171 | { | |
12172 | arg3 = wxString_in_helper(obj2); | |
12173 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12174 | temp3 = True; |
d14a1e28 RD |
12175 | } |
12176 | { | |
12177 | arg4 = PyList_Size(obj3); | |
12178 | arg5 = wxString_LIST_helper(obj3); | |
12179 | if (arg5 == NULL) SWIG_fail; | |
12180 | } | |
994141e6 | 12181 | if (obj4) { |
15afbcd0 RD |
12182 | arg6 = (long) SWIG_AsLong(obj4); |
12183 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12184 | } |
d14a1e28 RD |
12185 | if (obj5) { |
12186 | { | |
12187 | arg7 = &temp6; | |
12188 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
12189 | } | |
12190 | } | |
12191 | { | |
12192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12193 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12194 | ||
12195 | wxPyEndAllowThreads(__tstate); | |
12196 | if (PyErr_Occurred()) SWIG_fail; | |
12197 | } | |
15afbcd0 | 12198 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); |
d14a1e28 RD |
12199 | { |
12200 | if (temp2) | |
12201 | delete arg2; | |
12202 | } | |
12203 | { | |
12204 | if (temp3) | |
12205 | delete arg3; | |
12206 | } | |
12207 | { | |
12208 | if (arg5) delete [] arg5; | |
12209 | } | |
12210 | return resultobj; | |
12211 | fail: | |
12212 | { | |
12213 | if (temp2) | |
12214 | delete arg2; | |
12215 | } | |
12216 | { | |
12217 | if (temp3) | |
12218 | delete arg3; | |
12219 | } | |
12220 | { | |
12221 | if (arg5) delete [] arg5; | |
12222 | } | |
12223 | return NULL; | |
12224 | } | |
12225 | ||
12226 | ||
12227 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12228 | PyObject *resultobj; | |
12229 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12230 | int result; | |
12231 | PyObject * obj0 = 0 ; | |
12232 | char *kwnames[] = { | |
12233 | (char *) "self", NULL | |
12234 | }; | |
12235 | ||
12236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12239 | { |
12240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12241 | result = (int)(arg1)->GetSelection(); | |
12242 | ||
12243 | wxPyEndAllowThreads(__tstate); | |
12244 | if (PyErr_Occurred()) SWIG_fail; | |
12245 | } | |
15afbcd0 | 12246 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
12247 | return resultobj; |
12248 | fail: | |
12249 | return NULL; | |
12250 | } | |
12251 | ||
12252 | ||
12253 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12254 | PyObject *resultobj; | |
12255 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12256 | wxString result; | |
12257 | PyObject * obj0 = 0 ; | |
12258 | char *kwnames[] = { | |
12259 | (char *) "self", NULL | |
12260 | }; | |
12261 | ||
12262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12263 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12264 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12265 | { |
12266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12267 | result = (arg1)->GetStringSelection(); | |
12268 | ||
12269 | wxPyEndAllowThreads(__tstate); | |
12270 | if (PyErr_Occurred()) SWIG_fail; | |
12271 | } | |
12272 | { | |
12273 | #if wxUSE_UNICODE | |
12274 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12275 | #else | |
12276 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12277 | #endif | |
12278 | } | |
12279 | return resultobj; | |
12280 | fail: | |
12281 | return NULL; | |
12282 | } | |
12283 | ||
12284 | ||
12285 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12286 | PyObject *resultobj; | |
12287 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12288 | int arg2 ; | |
12289 | PyObject * obj0 = 0 ; | |
994141e6 | 12290 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12291 | char *kwnames[] = { |
12292 | (char *) "self",(char *) "sel", NULL | |
12293 | }; | |
12294 | ||
994141e6 | 12295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12296 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12297 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12298 | arg2 = (int) SWIG_AsInt(obj1); | |
12299 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12300 | { |
12301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12302 | (arg1)->SetSelection(arg2); | |
12303 | ||
12304 | wxPyEndAllowThreads(__tstate); | |
12305 | if (PyErr_Occurred()) SWIG_fail; | |
12306 | } | |
12307 | Py_INCREF(Py_None); resultobj = Py_None; | |
12308 | return resultobj; | |
12309 | fail: | |
12310 | return NULL; | |
12311 | } | |
12312 | ||
12313 | ||
d14a1e28 RD |
12314 | static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) { |
12315 | PyObject *obj; | |
12316 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12317 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
12318 | Py_INCREF(obj); | |
12319 | return Py_BuildValue((char *)""); | |
12320 | } | |
12321 | static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12322 | PyObject *resultobj; | |
12323 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12324 | wxString *arg2 = 0 ; | |
12325 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
12326 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12327 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12328 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12329 | long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
12330 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
12331 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
12332 | wxTextEntryDialog *result; | |
e811c8ce RD |
12333 | bool temp2 = False ; |
12334 | bool temp3 = False ; | |
12335 | bool temp4 = False ; | |
d14a1e28 RD |
12336 | wxPoint temp6 ; |
12337 | PyObject * obj0 = 0 ; | |
12338 | PyObject * obj1 = 0 ; | |
12339 | PyObject * obj2 = 0 ; | |
12340 | PyObject * obj3 = 0 ; | |
994141e6 | 12341 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12342 | PyObject * obj5 = 0 ; |
12343 | char *kwnames[] = { | |
12344 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
12345 | }; | |
12346 | ||
994141e6 | 12347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12348 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12349 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12350 | { |
12351 | arg2 = wxString_in_helper(obj1); | |
12352 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12353 | temp2 = True; |
d14a1e28 RD |
12354 | } |
12355 | if (obj2) { | |
12356 | { | |
12357 | arg3 = wxString_in_helper(obj2); | |
12358 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12359 | temp3 = True; |
d14a1e28 RD |
12360 | } |
12361 | } | |
12362 | if (obj3) { | |
12363 | { | |
12364 | arg4 = wxString_in_helper(obj3); | |
12365 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 12366 | temp4 = True; |
d14a1e28 RD |
12367 | } |
12368 | } | |
994141e6 | 12369 | if (obj4) { |
15afbcd0 RD |
12370 | arg5 = (long) SWIG_AsLong(obj4); |
12371 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12372 | } |
d14a1e28 RD |
12373 | if (obj5) { |
12374 | { | |
12375 | arg6 = &temp6; | |
12376 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
12377 | } | |
12378 | } | |
12379 | { | |
12380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12381 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
12382 | ||
12383 | wxPyEndAllowThreads(__tstate); | |
12384 | if (PyErr_Occurred()) SWIG_fail; | |
12385 | } | |
15afbcd0 | 12386 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); |
d14a1e28 RD |
12387 | { |
12388 | if (temp2) | |
12389 | delete arg2; | |
12390 | } | |
12391 | { | |
12392 | if (temp3) | |
12393 | delete arg3; | |
12394 | } | |
12395 | { | |
12396 | if (temp4) | |
12397 | delete arg4; | |
12398 | } | |
12399 | return resultobj; | |
12400 | fail: | |
12401 | { | |
12402 | if (temp2) | |
12403 | delete arg2; | |
12404 | } | |
12405 | { | |
12406 | if (temp3) | |
12407 | delete arg3; | |
12408 | } | |
12409 | { | |
12410 | if (temp4) | |
12411 | delete arg4; | |
12412 | } | |
12413 | return NULL; | |
12414 | } | |
12415 | ||
12416 | ||
12417 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12418 | PyObject *resultobj; | |
12419 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12420 | wxString result; | |
12421 | PyObject * obj0 = 0 ; | |
12422 | char *kwnames[] = { | |
12423 | (char *) "self", NULL | |
12424 | }; | |
12425 | ||
12426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12427 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
12428 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12429 | { |
12430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12431 | result = (arg1)->GetValue(); | |
12432 | ||
12433 | wxPyEndAllowThreads(__tstate); | |
12434 | if (PyErr_Occurred()) SWIG_fail; | |
12435 | } | |
12436 | { | |
12437 | #if wxUSE_UNICODE | |
12438 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12439 | #else | |
12440 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12441 | #endif | |
12442 | } | |
12443 | return resultobj; | |
12444 | fail: | |
12445 | return NULL; | |
12446 | } | |
12447 | ||
12448 | ||
12449 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12450 | PyObject *resultobj; | |
12451 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12452 | wxString *arg2 = 0 ; | |
e811c8ce | 12453 | bool temp2 = False ; |
d14a1e28 RD |
12454 | PyObject * obj0 = 0 ; |
12455 | PyObject * obj1 = 0 ; | |
12456 | char *kwnames[] = { | |
12457 | (char *) "self",(char *) "value", NULL | |
12458 | }; | |
12459 | ||
12460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12461 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
12462 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12463 | { |
12464 | arg2 = wxString_in_helper(obj1); | |
12465 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12466 | temp2 = True; |
d14a1e28 RD |
12467 | } |
12468 | { | |
12469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12470 | (arg1)->SetValue((wxString const &)*arg2); | |
12471 | ||
12472 | wxPyEndAllowThreads(__tstate); | |
12473 | if (PyErr_Occurred()) SWIG_fail; | |
12474 | } | |
12475 | Py_INCREF(Py_None); resultobj = Py_None; | |
12476 | { | |
12477 | if (temp2) | |
12478 | delete arg2; | |
12479 | } | |
12480 | return resultobj; | |
12481 | fail: | |
12482 | { | |
12483 | if (temp2) | |
12484 | delete arg2; | |
12485 | } | |
12486 | return NULL; | |
12487 | } | |
12488 | ||
12489 | ||
d14a1e28 RD |
12490 | static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) { |
12491 | PyObject *obj; | |
12492 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12493 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
12494 | Py_INCREF(obj); | |
12495 | return Py_BuildValue((char *)""); | |
12496 | } | |
12497 | static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12498 | PyObject *resultobj; | |
12499 | wxFontData *result; | |
12500 | char *kwnames[] = { | |
12501 | NULL | |
12502 | }; | |
12503 | ||
12504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
12505 | { | |
12506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12507 | result = (wxFontData *)new wxFontData(); | |
12508 | ||
12509 | wxPyEndAllowThreads(__tstate); | |
12510 | if (PyErr_Occurred()) SWIG_fail; | |
12511 | } | |
15afbcd0 | 12512 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); |
d14a1e28 RD |
12513 | return resultobj; |
12514 | fail: | |
12515 | return NULL; | |
12516 | } | |
12517 | ||
12518 | ||
12519 | static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12520 | PyObject *resultobj; | |
12521 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12522 | PyObject * obj0 = 0 ; | |
12523 | char *kwnames[] = { | |
12524 | (char *) "self", NULL | |
12525 | }; | |
12526 | ||
12527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12528 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12529 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12530 | { |
12531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12532 | delete arg1; | |
12533 | ||
12534 | wxPyEndAllowThreads(__tstate); | |
12535 | if (PyErr_Occurred()) SWIG_fail; | |
12536 | } | |
12537 | Py_INCREF(Py_None); resultobj = Py_None; | |
12538 | return resultobj; | |
12539 | fail: | |
12540 | return NULL; | |
12541 | } | |
12542 | ||
12543 | ||
12544 | static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12545 | PyObject *resultobj; | |
12546 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12547 | bool arg2 ; | |
12548 | PyObject * obj0 = 0 ; | |
12549 | PyObject * obj1 = 0 ; | |
12550 | char *kwnames[] = { | |
12551 | (char *) "self",(char *) "enable", NULL | |
12552 | }; | |
12553 | ||
12554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12555 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12556 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12557 | arg2 = (bool) SWIG_AsBool(obj1); | |
12558 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12559 | { |
12560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12561 | (arg1)->EnableEffects(arg2); | |
12562 | ||
12563 | wxPyEndAllowThreads(__tstate); | |
12564 | if (PyErr_Occurred()) SWIG_fail; | |
12565 | } | |
12566 | Py_INCREF(Py_None); resultobj = Py_None; | |
12567 | return resultobj; | |
12568 | fail: | |
12569 | return NULL; | |
12570 | } | |
12571 | ||
12572 | ||
12573 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12574 | PyObject *resultobj; | |
12575 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12576 | bool result; | |
12577 | PyObject * obj0 = 0 ; | |
12578 | char *kwnames[] = { | |
12579 | (char *) "self", NULL | |
12580 | }; | |
12581 | ||
12582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12583 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12584 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12585 | { |
12586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12587 | result = (bool)(arg1)->GetAllowSymbols(); | |
12588 | ||
12589 | wxPyEndAllowThreads(__tstate); | |
12590 | if (PyErr_Occurred()) SWIG_fail; | |
12591 | } | |
4d5c3d91 | 12592 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
12593 | return resultobj; |
12594 | fail: | |
12595 | return NULL; | |
12596 | } | |
12597 | ||
12598 | ||
12599 | static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12600 | PyObject *resultobj; | |
12601 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12602 | wxColour result; | |
12603 | PyObject * obj0 = 0 ; | |
12604 | char *kwnames[] = { | |
12605 | (char *) "self", NULL | |
12606 | }; | |
12607 | ||
12608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12609 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12610 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12611 | { |
12612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12613 | result = (arg1)->GetColour(); | |
12614 | ||
12615 | wxPyEndAllowThreads(__tstate); | |
12616 | if (PyErr_Occurred()) SWIG_fail; | |
12617 | } | |
12618 | { | |
12619 | wxColour * resultptr; | |
12620 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 12621 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
12622 | } |
12623 | return resultobj; | |
12624 | fail: | |
12625 | return NULL; | |
12626 | } | |
12627 | ||
12628 | ||
12629 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12630 | PyObject *resultobj; | |
12631 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12632 | wxFont result; | |
12633 | PyObject * obj0 = 0 ; | |
12634 | char *kwnames[] = { | |
12635 | (char *) "self", NULL | |
12636 | }; | |
12637 | ||
12638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12639 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12640 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12641 | { |
12642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12643 | result = (arg1)->GetChosenFont(); | |
12644 | ||
12645 | wxPyEndAllowThreads(__tstate); | |
12646 | if (PyErr_Occurred()) SWIG_fail; | |
12647 | } | |
12648 | { | |
12649 | wxFont * resultptr; | |
12650 | resultptr = new wxFont((wxFont &) result); | |
15afbcd0 | 12651 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
12652 | } |
12653 | return resultobj; | |
12654 | fail: | |
12655 | return NULL; | |
12656 | } | |
12657 | ||
12658 | ||
12659 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12660 | PyObject *resultobj; | |
12661 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12662 | bool result; | |
12663 | PyObject * obj0 = 0 ; | |
12664 | char *kwnames[] = { | |
12665 | (char *) "self", NULL | |
12666 | }; | |
12667 | ||
12668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12669 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12670 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12671 | { |
12672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12673 | result = (bool)(arg1)->GetEnableEffects(); | |
12674 | ||
12675 | wxPyEndAllowThreads(__tstate); | |
12676 | if (PyErr_Occurred()) SWIG_fail; | |
12677 | } | |
4d5c3d91 | 12678 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
12679 | return resultobj; |
12680 | fail: | |
12681 | return NULL; | |
12682 | } | |
12683 | ||
12684 | ||
12685 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12686 | PyObject *resultobj; | |
12687 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12688 | wxFont result; | |
12689 | PyObject * obj0 = 0 ; | |
12690 | char *kwnames[] = { | |
12691 | (char *) "self", NULL | |
12692 | }; | |
12693 | ||
12694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12695 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12697 | { |
12698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12699 | result = (arg1)->GetInitialFont(); | |
12700 | ||
12701 | wxPyEndAllowThreads(__tstate); | |
12702 | if (PyErr_Occurred()) SWIG_fail; | |
12703 | } | |
12704 | { | |
12705 | wxFont * resultptr; | |
12706 | resultptr = new wxFont((wxFont &) result); | |
15afbcd0 | 12707 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
12708 | } |
12709 | return resultobj; | |
12710 | fail: | |
12711 | return NULL; | |
12712 | } | |
12713 | ||
12714 | ||
12715 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12716 | PyObject *resultobj; | |
12717 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12718 | bool result; | |
12719 | PyObject * obj0 = 0 ; | |
12720 | char *kwnames[] = { | |
12721 | (char *) "self", NULL | |
12722 | }; | |
12723 | ||
12724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12725 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12726 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12727 | { |
12728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12729 | result = (bool)(arg1)->GetShowHelp(); | |
12730 | ||
12731 | wxPyEndAllowThreads(__tstate); | |
12732 | if (PyErr_Occurred()) SWIG_fail; | |
12733 | } | |
4d5c3d91 | 12734 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
12735 | return resultobj; |
12736 | fail: | |
12737 | return NULL; | |
12738 | } | |
12739 | ||
12740 | ||
12741 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12742 | PyObject *resultobj; | |
12743 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12744 | bool arg2 ; | |
12745 | PyObject * obj0 = 0 ; | |
12746 | PyObject * obj1 = 0 ; | |
12747 | char *kwnames[] = { | |
12748 | (char *) "self",(char *) "allowSymbols", NULL | |
12749 | }; | |
12750 | ||
12751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12752 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12753 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12754 | arg2 = (bool) SWIG_AsBool(obj1); | |
12755 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12756 | { |
12757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12758 | (arg1)->SetAllowSymbols(arg2); | |
12759 | ||
12760 | wxPyEndAllowThreads(__tstate); | |
12761 | if (PyErr_Occurred()) SWIG_fail; | |
12762 | } | |
12763 | Py_INCREF(Py_None); resultobj = Py_None; | |
12764 | return resultobj; | |
12765 | fail: | |
12766 | return NULL; | |
12767 | } | |
12768 | ||
12769 | ||
12770 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12771 | PyObject *resultobj; | |
12772 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12773 | wxFont *arg2 = 0 ; | |
12774 | PyObject * obj0 = 0 ; | |
12775 | PyObject * obj1 = 0 ; | |
12776 | char *kwnames[] = { | |
12777 | (char *) "self",(char *) "font", NULL | |
12778 | }; | |
12779 | ||
12780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12781 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12782 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12783 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
12784 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
12785 | SWIG_fail; | |
d14a1e28 | 12786 | if (arg2 == NULL) { |
15afbcd0 RD |
12787 | PyErr_SetString(PyExc_TypeError,"null reference"); |
12788 | SWIG_fail; | |
d14a1e28 RD |
12789 | } |
12790 | { | |
12791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12792 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
12793 | ||
12794 | wxPyEndAllowThreads(__tstate); | |
12795 | if (PyErr_Occurred()) SWIG_fail; | |
12796 | } | |
12797 | Py_INCREF(Py_None); resultobj = Py_None; | |
12798 | return resultobj; | |
12799 | fail: | |
12800 | return NULL; | |
12801 | } | |
12802 | ||
12803 | ||
12804 | static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12805 | PyObject *resultobj; | |
12806 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12807 | wxColour *arg2 = 0 ; | |
12808 | wxColour temp2 ; | |
12809 | PyObject * obj0 = 0 ; | |
12810 | PyObject * obj1 = 0 ; | |
12811 | char *kwnames[] = { | |
12812 | (char *) "self",(char *) "colour", NULL | |
12813 | }; | |
12814 | ||
12815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12816 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12817 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12818 | { |
12819 | arg2 = &temp2; | |
12820 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12821 | } | |
12822 | { | |
12823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12824 | (arg1)->SetColour((wxColour const &)*arg2); | |
12825 | ||
12826 | wxPyEndAllowThreads(__tstate); | |
12827 | if (PyErr_Occurred()) SWIG_fail; | |
12828 | } | |
12829 | Py_INCREF(Py_None); resultobj = Py_None; | |
12830 | return resultobj; | |
12831 | fail: | |
12832 | return NULL; | |
12833 | } | |
12834 | ||
12835 | ||
12836 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12837 | PyObject *resultobj; | |
12838 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12839 | wxFont *arg2 = 0 ; | |
12840 | PyObject * obj0 = 0 ; | |
12841 | PyObject * obj1 = 0 ; | |
12842 | char *kwnames[] = { | |
12843 | (char *) "self",(char *) "font", NULL | |
12844 | }; | |
12845 | ||
12846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12847 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12848 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12849 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
12850 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
12851 | SWIG_fail; | |
d14a1e28 | 12852 | if (arg2 == NULL) { |
15afbcd0 RD |
12853 | PyErr_SetString(PyExc_TypeError,"null reference"); |
12854 | SWIG_fail; | |
d14a1e28 RD |
12855 | } |
12856 | { | |
12857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12858 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
12859 | ||
12860 | wxPyEndAllowThreads(__tstate); | |
12861 | if (PyErr_Occurred()) SWIG_fail; | |
12862 | } | |
12863 | Py_INCREF(Py_None); resultobj = Py_None; | |
12864 | return resultobj; | |
12865 | fail: | |
12866 | return NULL; | |
12867 | } | |
12868 | ||
12869 | ||
12870 | static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12871 | PyObject *resultobj; | |
12872 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12873 | int arg2 ; | |
12874 | int arg3 ; | |
12875 | PyObject * obj0 = 0 ; | |
994141e6 RD |
12876 | PyObject * obj1 = 0 ; |
12877 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
12878 | char *kwnames[] = { |
12879 | (char *) "self",(char *) "min",(char *) "max", NULL | |
12880 | }; | |
12881 | ||
994141e6 | 12882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12883 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12885 | arg2 = (int) SWIG_AsInt(obj1); | |
12886 | if (PyErr_Occurred()) SWIG_fail; | |
12887 | arg3 = (int) SWIG_AsInt(obj2); | |
12888 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12889 | { |
12890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12891 | (arg1)->SetRange(arg2,arg3); | |
12892 | ||
12893 | wxPyEndAllowThreads(__tstate); | |
12894 | if (PyErr_Occurred()) SWIG_fail; | |
12895 | } | |
12896 | Py_INCREF(Py_None); resultobj = Py_None; | |
12897 | return resultobj; | |
12898 | fail: | |
12899 | return NULL; | |
12900 | } | |
12901 | ||
12902 | ||
12903 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12904 | PyObject *resultobj; | |
12905 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12906 | bool arg2 ; | |
12907 | PyObject * obj0 = 0 ; | |
12908 | PyObject * obj1 = 0 ; | |
12909 | char *kwnames[] = { | |
12910 | (char *) "self",(char *) "showHelp", NULL | |
12911 | }; | |
12912 | ||
12913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12914 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12915 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12916 | arg2 = (bool) SWIG_AsBool(obj1); | |
12917 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12918 | { |
12919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12920 | (arg1)->SetShowHelp(arg2); | |
12921 | ||
12922 | wxPyEndAllowThreads(__tstate); | |
12923 | if (PyErr_Occurred()) SWIG_fail; | |
12924 | } | |
12925 | Py_INCREF(Py_None); resultobj = Py_None; | |
12926 | return resultobj; | |
12927 | fail: | |
12928 | return NULL; | |
12929 | } | |
12930 | ||
12931 | ||
12932 | static PyObject * FontData_swigregister(PyObject *self, PyObject *args) { | |
12933 | PyObject *obj; | |
12934 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12935 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
12936 | Py_INCREF(obj); | |
12937 | return Py_BuildValue((char *)""); | |
12938 | } | |
15afbcd0 | 12939 | static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 12940 | PyObject *resultobj; |
e498079e RD |
12941 | wxWindow *arg1 = (wxWindow *) 0 ; |
12942 | wxFontData *arg2 = 0 ; | |
12943 | wxFontDialog *result; | |
d14a1e28 | 12944 | PyObject * obj0 = 0 ; |
e498079e | 12945 | PyObject * obj1 = 0 ; |
15afbcd0 RD |
12946 | char *kwnames[] = { |
12947 | (char *) "parent",(char *) "data", NULL | |
12948 | }; | |
d14a1e28 | 12949 | |
15afbcd0 RD |
12950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; |
12951 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
12952 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12953 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData, | |
12954 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
12955 | SWIG_fail; | |
e498079e | 12956 | if (arg2 == NULL) { |
15afbcd0 RD |
12957 | PyErr_SetString(PyExc_TypeError,"null reference"); |
12958 | SWIG_fail; | |
e498079e | 12959 | } |
d14a1e28 RD |
12960 | { |
12961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e498079e | 12962 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); |
d14a1e28 RD |
12963 | |
12964 | wxPyEndAllowThreads(__tstate); | |
12965 | if (PyErr_Occurred()) SWIG_fail; | |
12966 | } | |
15afbcd0 | 12967 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); |
d14a1e28 RD |
12968 | return resultobj; |
12969 | fail: | |
12970 | return NULL; | |
12971 | } | |
12972 | ||
12973 | ||
e498079e | 12974 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12975 | PyObject *resultobj; |
12976 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
e498079e | 12977 | wxFontData *result; |
d14a1e28 RD |
12978 | PyObject * obj0 = 0 ; |
12979 | char *kwnames[] = { | |
12980 | (char *) "self", NULL | |
12981 | }; | |
12982 | ||
e498079e | 12983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
12984 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog, |
12985 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12986 | { |
12987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e498079e RD |
12988 | { |
12989 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
12990 | result = (wxFontData *) &_result_ref; | |
12991 | } | |
d14a1e28 RD |
12992 | |
12993 | wxPyEndAllowThreads(__tstate); | |
12994 | if (PyErr_Occurred()) SWIG_fail; | |
12995 | } | |
15afbcd0 | 12996 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); |
d14a1e28 RD |
12997 | return resultobj; |
12998 | fail: | |
12999 | return NULL; | |
13000 | } | |
13001 | ||
13002 | ||
13003 | static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) { | |
13004 | PyObject *obj; | |
13005 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13006 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
13007 | Py_INCREF(obj); | |
13008 | return Py_BuildValue((char *)""); | |
13009 | } | |
13010 | static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13011 | PyObject *resultobj; | |
13012 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13013 | wxString *arg2 = 0 ; | |
13014 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
13015 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13016 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
13017 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13018 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13019 | wxMessageDialog *result; | |
e811c8ce RD |
13020 | bool temp2 = False ; |
13021 | bool temp3 = False ; | |
d14a1e28 RD |
13022 | wxPoint temp5 ; |
13023 | PyObject * obj0 = 0 ; | |
13024 | PyObject * obj1 = 0 ; | |
13025 | PyObject * obj2 = 0 ; | |
994141e6 | 13026 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
13027 | PyObject * obj4 = 0 ; |
13028 | char *kwnames[] = { | |
13029 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
13030 | }; | |
13031 | ||
994141e6 | 13032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
13033 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
13034 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13035 | { |
13036 | arg2 = wxString_in_helper(obj1); | |
13037 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13038 | temp2 = True; |
d14a1e28 RD |
13039 | } |
13040 | if (obj2) { | |
13041 | { | |
13042 | arg3 = wxString_in_helper(obj2); | |
13043 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 13044 | temp3 = True; |
d14a1e28 RD |
13045 | } |
13046 | } | |
994141e6 | 13047 | if (obj3) { |
15afbcd0 RD |
13048 | arg4 = (long) SWIG_AsLong(obj3); |
13049 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13050 | } |
d14a1e28 RD |
13051 | if (obj4) { |
13052 | { | |
13053 | arg5 = &temp5; | |
13054 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13055 | } | |
13056 | } | |
13057 | { | |
13058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13059 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
13060 | ||
13061 | wxPyEndAllowThreads(__tstate); | |
13062 | if (PyErr_Occurred()) SWIG_fail; | |
13063 | } | |
15afbcd0 | 13064 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); |
d14a1e28 RD |
13065 | { |
13066 | if (temp2) | |
13067 | delete arg2; | |
13068 | } | |
13069 | { | |
13070 | if (temp3) | |
13071 | delete arg3; | |
13072 | } | |
13073 | return resultobj; | |
13074 | fail: | |
13075 | { | |
13076 | if (temp2) | |
13077 | delete arg2; | |
13078 | } | |
13079 | { | |
13080 | if (temp3) | |
13081 | delete arg3; | |
13082 | } | |
13083 | return NULL; | |
13084 | } | |
13085 | ||
13086 | ||
d14a1e28 RD |
13087 | static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) { |
13088 | PyObject *obj; | |
13089 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13090 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
13091 | Py_INCREF(obj); | |
13092 | return Py_BuildValue((char *)""); | |
13093 | } | |
13094 | static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13095 | PyObject *resultobj; | |
13096 | wxString *arg1 = 0 ; | |
13097 | wxString *arg2 = 0 ; | |
13098 | int arg3 = (int) 100 ; | |
13099 | wxWindow *arg4 = (wxWindow *) NULL ; | |
13100 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
13101 | wxProgressDialog *result; | |
e811c8ce RD |
13102 | bool temp1 = False ; |
13103 | bool temp2 = False ; | |
d14a1e28 RD |
13104 | PyObject * obj0 = 0 ; |
13105 | PyObject * obj1 = 0 ; | |
994141e6 | 13106 | PyObject * obj2 = 0 ; |
d14a1e28 | 13107 | PyObject * obj3 = 0 ; |
994141e6 | 13108 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
13109 | char *kwnames[] = { |
13110 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
13111 | }; | |
13112 | ||
994141e6 | 13113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
13114 | { |
13115 | arg1 = wxString_in_helper(obj0); | |
13116 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 13117 | temp1 = True; |
d14a1e28 RD |
13118 | } |
13119 | { | |
13120 | arg2 = wxString_in_helper(obj1); | |
13121 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13122 | temp2 = True; |
d14a1e28 | 13123 | } |
994141e6 | 13124 | if (obj2) { |
15afbcd0 RD |
13125 | arg3 = (int) SWIG_AsInt(obj2); |
13126 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13127 | } |
d14a1e28 | 13128 | if (obj3) { |
15afbcd0 RD |
13129 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, |
13130 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 13131 | } |
994141e6 | 13132 | if (obj4) { |
15afbcd0 RD |
13133 | arg5 = (int) SWIG_AsInt(obj4); |
13134 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13135 | } |
d14a1e28 RD |
13136 | { |
13137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13138 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
13139 | ||
13140 | wxPyEndAllowThreads(__tstate); | |
13141 | if (PyErr_Occurred()) SWIG_fail; | |
13142 | } | |
15afbcd0 | 13143 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); |
d14a1e28 RD |
13144 | { |
13145 | if (temp1) | |
13146 | delete arg1; | |
13147 | } | |
13148 | { | |
13149 | if (temp2) | |
13150 | delete arg2; | |
13151 | } | |
13152 | return resultobj; | |
13153 | fail: | |
13154 | { | |
13155 | if (temp1) | |
13156 | delete arg1; | |
13157 | } | |
13158 | { | |
13159 | if (temp2) | |
13160 | delete arg2; | |
13161 | } | |
13162 | return NULL; | |
13163 | } | |
13164 | ||
13165 | ||
13166 | static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13167 | PyObject *resultobj; | |
13168 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13169 | int arg2 ; | |
13170 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13171 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13172 | bool result; | |
e811c8ce | 13173 | bool temp3 = False ; |
d14a1e28 | 13174 | PyObject * obj0 = 0 ; |
994141e6 | 13175 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13176 | PyObject * obj2 = 0 ; |
13177 | char *kwnames[] = { | |
13178 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
13179 | }; | |
13180 | ||
994141e6 | 13181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
13182 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
13183 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13184 | arg2 = (int) SWIG_AsInt(obj1); | |
13185 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13186 | if (obj2) { |
13187 | { | |
13188 | arg3 = wxString_in_helper(obj2); | |
13189 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 13190 | temp3 = True; |
d14a1e28 RD |
13191 | } |
13192 | } | |
13193 | { | |
13194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13195 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
13196 | ||
13197 | wxPyEndAllowThreads(__tstate); | |
13198 | if (PyErr_Occurred()) SWIG_fail; | |
13199 | } | |
4d5c3d91 | 13200 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
13201 | { |
13202 | if (temp3) | |
13203 | delete arg3; | |
13204 | } | |
13205 | return resultobj; | |
13206 | fail: | |
13207 | { | |
13208 | if (temp3) | |
13209 | delete arg3; | |
13210 | } | |
13211 | return NULL; | |
13212 | } | |
13213 | ||
13214 | ||
13215 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13216 | PyObject *resultobj; | |
13217 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13218 | PyObject * obj0 = 0 ; | |
13219 | char *kwnames[] = { | |
13220 | (char *) "self", NULL | |
13221 | }; | |
13222 | ||
13223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13224 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
13225 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13226 | { |
13227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13228 | (arg1)->Resume(); | |
13229 | ||
13230 | wxPyEndAllowThreads(__tstate); | |
13231 | if (PyErr_Occurred()) SWIG_fail; | |
13232 | } | |
13233 | Py_INCREF(Py_None); resultobj = Py_None; | |
13234 | return resultobj; | |
13235 | fail: | |
13236 | return NULL; | |
13237 | } | |
13238 | ||
13239 | ||
13240 | static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) { | |
13241 | PyObject *obj; | |
13242 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13243 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
13244 | Py_INCREF(obj); | |
13245 | return Py_BuildValue((char *)""); | |
13246 | } | |
13247 | static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13248 | PyObject *resultobj; | |
13249 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
13250 | int arg2 = (int) 0 ; | |
13251 | wxFindDialogEvent *result; | |
994141e6 RD |
13252 | PyObject * obj0 = 0 ; |
13253 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
13254 | char *kwnames[] = { |
13255 | (char *) "commandType",(char *) "id", NULL | |
13256 | }; | |
13257 | ||
994141e6 RD |
13258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; |
13259 | if (obj0) { | |
15afbcd0 RD |
13260 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
13261 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
13262 | } |
13263 | if (obj1) { | |
15afbcd0 RD |
13264 | arg2 = (int) SWIG_AsInt(obj1); |
13265 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13266 | } |
d14a1e28 RD |
13267 | { |
13268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13269 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
13270 | ||
13271 | wxPyEndAllowThreads(__tstate); | |
13272 | if (PyErr_Occurred()) SWIG_fail; | |
13273 | } | |
15afbcd0 | 13274 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); |
d14a1e28 RD |
13275 | return resultobj; |
13276 | fail: | |
13277 | return NULL; | |
13278 | } | |
13279 | ||
13280 | ||
13281 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13282 | PyObject *resultobj; | |
13283 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13284 | int result; | |
13285 | PyObject * obj0 = 0 ; | |
13286 | char *kwnames[] = { | |
13287 | (char *) "self", NULL | |
13288 | }; | |
13289 | ||
13290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13291 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13292 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13293 | { |
13294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13295 | result = (int)(arg1)->GetFlags(); | |
13296 | ||
13297 | wxPyEndAllowThreads(__tstate); | |
13298 | if (PyErr_Occurred()) SWIG_fail; | |
13299 | } | |
15afbcd0 | 13300 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13301 | return resultobj; |
13302 | fail: | |
13303 | return NULL; | |
13304 | } | |
13305 | ||
13306 | ||
13307 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13308 | PyObject *resultobj; | |
13309 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
cc6dd355 | 13310 | wxString *result; |
d14a1e28 RD |
13311 | PyObject * obj0 = 0 ; |
13312 | char *kwnames[] = { | |
13313 | (char *) "self", NULL | |
13314 | }; | |
13315 | ||
13316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13317 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13318 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13319 | { |
13320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
cc6dd355 RD |
13321 | { |
13322 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13323 | result = (wxString *) &_result_ref; | |
13324 | } | |
d14a1e28 RD |
13325 | |
13326 | wxPyEndAllowThreads(__tstate); | |
13327 | if (PyErr_Occurred()) SWIG_fail; | |
13328 | } | |
13329 | { | |
13330 | #if wxUSE_UNICODE | |
cc6dd355 | 13331 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); |
d14a1e28 | 13332 | #else |
cc6dd355 | 13333 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); |
d14a1e28 RD |
13334 | #endif |
13335 | } | |
13336 | return resultobj; | |
13337 | fail: | |
13338 | return NULL; | |
13339 | } | |
13340 | ||
13341 | ||
13342 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13343 | PyObject *resultobj; | |
13344 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13345 | wxString *result; | |
13346 | PyObject * obj0 = 0 ; | |
13347 | char *kwnames[] = { | |
13348 | (char *) "self", NULL | |
13349 | }; | |
13350 | ||
13351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13352 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13353 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13354 | { |
13355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13356 | { | |
13357 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13358 | result = (wxString *) &_result_ref; | |
13359 | } | |
13360 | ||
13361 | wxPyEndAllowThreads(__tstate); | |
13362 | if (PyErr_Occurred()) SWIG_fail; | |
13363 | } | |
cc6dd355 RD |
13364 | { |
13365 | #if wxUSE_UNICODE | |
13366 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13367 | #else | |
13368 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13369 | #endif | |
13370 | } | |
d14a1e28 RD |
13371 | return resultobj; |
13372 | fail: | |
13373 | return NULL; | |
13374 | } | |
13375 | ||
13376 | ||
13377 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13378 | PyObject *resultobj; | |
13379 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13380 | wxFindReplaceDialog *result; | |
13381 | PyObject * obj0 = 0 ; | |
13382 | char *kwnames[] = { | |
13383 | (char *) "self", NULL | |
13384 | }; | |
13385 | ||
13386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13387 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13388 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13389 | { |
13390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13391 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
13392 | ||
13393 | wxPyEndAllowThreads(__tstate); | |
13394 | if (PyErr_Occurred()) SWIG_fail; | |
13395 | } | |
15afbcd0 | 13396 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); |
d14a1e28 RD |
13397 | return resultobj; |
13398 | fail: | |
13399 | return NULL; | |
13400 | } | |
13401 | ||
13402 | ||
13403 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13404 | PyObject *resultobj; | |
13405 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13406 | int arg2 ; | |
13407 | PyObject * obj0 = 0 ; | |
994141e6 | 13408 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13409 | char *kwnames[] = { |
13410 | (char *) "self",(char *) "flags", NULL | |
13411 | }; | |
13412 | ||
994141e6 | 13413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13414 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13415 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13416 | arg2 = (int) SWIG_AsInt(obj1); | |
13417 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13418 | { |
13419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13420 | (arg1)->SetFlags(arg2); | |
13421 | ||
13422 | wxPyEndAllowThreads(__tstate); | |
13423 | if (PyErr_Occurred()) SWIG_fail; | |
13424 | } | |
13425 | Py_INCREF(Py_None); resultobj = Py_None; | |
13426 | return resultobj; | |
13427 | fail: | |
13428 | return NULL; | |
13429 | } | |
13430 | ||
13431 | ||
13432 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13433 | PyObject *resultobj; | |
13434 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13435 | wxString *arg2 = 0 ; | |
e811c8ce | 13436 | bool temp2 = False ; |
d14a1e28 RD |
13437 | PyObject * obj0 = 0 ; |
13438 | PyObject * obj1 = 0 ; | |
13439 | char *kwnames[] = { | |
13440 | (char *) "self",(char *) "str", NULL | |
13441 | }; | |
13442 | ||
13443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13444 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13445 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13446 | { |
13447 | arg2 = wxString_in_helper(obj1); | |
13448 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13449 | temp2 = True; |
d14a1e28 RD |
13450 | } |
13451 | { | |
13452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13453 | (arg1)->SetFindString((wxString const &)*arg2); | |
13454 | ||
13455 | wxPyEndAllowThreads(__tstate); | |
13456 | if (PyErr_Occurred()) SWIG_fail; | |
13457 | } | |
13458 | Py_INCREF(Py_None); resultobj = Py_None; | |
13459 | { | |
13460 | if (temp2) | |
13461 | delete arg2; | |
13462 | } | |
13463 | return resultobj; | |
13464 | fail: | |
13465 | { | |
13466 | if (temp2) | |
13467 | delete arg2; | |
13468 | } | |
13469 | return NULL; | |
13470 | } | |
13471 | ||
13472 | ||
13473 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13474 | PyObject *resultobj; | |
13475 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13476 | wxString *arg2 = 0 ; | |
e811c8ce | 13477 | bool temp2 = False ; |
d14a1e28 RD |
13478 | PyObject * obj0 = 0 ; |
13479 | PyObject * obj1 = 0 ; | |
13480 | char *kwnames[] = { | |
13481 | (char *) "self",(char *) "str", NULL | |
13482 | }; | |
13483 | ||
13484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13485 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13486 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13487 | { |
13488 | arg2 = wxString_in_helper(obj1); | |
13489 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13490 | temp2 = True; |
d14a1e28 RD |
13491 | } |
13492 | { | |
13493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13494 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
13495 | ||
13496 | wxPyEndAllowThreads(__tstate); | |
13497 | if (PyErr_Occurred()) SWIG_fail; | |
13498 | } | |
13499 | Py_INCREF(Py_None); resultobj = Py_None; | |
13500 | { | |
13501 | if (temp2) | |
13502 | delete arg2; | |
13503 | } | |
13504 | return resultobj; | |
13505 | fail: | |
13506 | { | |
13507 | if (temp2) | |
13508 | delete arg2; | |
13509 | } | |
13510 | return NULL; | |
13511 | } | |
13512 | ||
13513 | ||
13514 | static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) { | |
13515 | PyObject *obj; | |
13516 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13517 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
13518 | Py_INCREF(obj); | |
13519 | return Py_BuildValue((char *)""); | |
13520 | } | |
13521 | static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13522 | PyObject *resultobj; | |
13523 | int arg1 = (int) 0 ; | |
13524 | wxFindReplaceData *result; | |
994141e6 | 13525 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
13526 | char *kwnames[] = { |
13527 | (char *) "flags", NULL | |
13528 | }; | |
13529 | ||
994141e6 RD |
13530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; |
13531 | if (obj0) { | |
15afbcd0 RD |
13532 | arg1 = (int) SWIG_AsInt(obj0); |
13533 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13534 | } |
d14a1e28 RD |
13535 | { |
13536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13537 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
13538 | ||
13539 | wxPyEndAllowThreads(__tstate); | |
13540 | if (PyErr_Occurred()) SWIG_fail; | |
13541 | } | |
15afbcd0 | 13542 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); |
d14a1e28 RD |
13543 | return resultobj; |
13544 | fail: | |
13545 | return NULL; | |
13546 | } | |
13547 | ||
13548 | ||
13549 | static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13550 | PyObject *resultobj; | |
13551 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13552 | PyObject * obj0 = 0 ; | |
13553 | char *kwnames[] = { | |
13554 | (char *) "self", NULL | |
13555 | }; | |
13556 | ||
13557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13558 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13559 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13560 | { |
13561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13562 | delete arg1; | |
13563 | ||
13564 | wxPyEndAllowThreads(__tstate); | |
13565 | if (PyErr_Occurred()) SWIG_fail; | |
13566 | } | |
13567 | Py_INCREF(Py_None); resultobj = Py_None; | |
13568 | return resultobj; | |
13569 | fail: | |
13570 | return NULL; | |
13571 | } | |
13572 | ||
13573 | ||
13574 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13575 | PyObject *resultobj; | |
13576 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13577 | wxString *result; | |
13578 | PyObject * obj0 = 0 ; | |
13579 | char *kwnames[] = { | |
13580 | (char *) "self", NULL | |
13581 | }; | |
13582 | ||
13583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13584 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13585 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13586 | { |
13587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13588 | { | |
13589 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13590 | result = (wxString *) &_result_ref; | |
13591 | } | |
13592 | ||
13593 | wxPyEndAllowThreads(__tstate); | |
13594 | if (PyErr_Occurred()) SWIG_fail; | |
13595 | } | |
cc6dd355 RD |
13596 | { |
13597 | #if wxUSE_UNICODE | |
13598 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13599 | #else | |
13600 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13601 | #endif | |
13602 | } | |
d14a1e28 RD |
13603 | return resultobj; |
13604 | fail: | |
13605 | return NULL; | |
13606 | } | |
13607 | ||
13608 | ||
13609 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13610 | PyObject *resultobj; | |
13611 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13612 | wxString *result; | |
13613 | PyObject * obj0 = 0 ; | |
13614 | char *kwnames[] = { | |
13615 | (char *) "self", NULL | |
13616 | }; | |
13617 | ||
13618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13619 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13620 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13621 | { |
13622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13623 | { | |
13624 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13625 | result = (wxString *) &_result_ref; | |
13626 | } | |
13627 | ||
13628 | wxPyEndAllowThreads(__tstate); | |
13629 | if (PyErr_Occurred()) SWIG_fail; | |
13630 | } | |
cc6dd355 RD |
13631 | { |
13632 | #if wxUSE_UNICODE | |
13633 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13634 | #else | |
13635 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13636 | #endif | |
13637 | } | |
d14a1e28 RD |
13638 | return resultobj; |
13639 | fail: | |
13640 | return NULL; | |
13641 | } | |
13642 | ||
13643 | ||
13644 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13645 | PyObject *resultobj; | |
13646 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13647 | int result; | |
13648 | PyObject * obj0 = 0 ; | |
13649 | char *kwnames[] = { | |
13650 | (char *) "self", NULL | |
13651 | }; | |
13652 | ||
13653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13654 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13655 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13656 | { |
13657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13658 | result = (int)(arg1)->GetFlags(); | |
13659 | ||
13660 | wxPyEndAllowThreads(__tstate); | |
13661 | if (PyErr_Occurred()) SWIG_fail; | |
13662 | } | |
15afbcd0 | 13663 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13664 | return resultobj; |
13665 | fail: | |
13666 | return NULL; | |
13667 | } | |
13668 | ||
13669 | ||
13670 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13671 | PyObject *resultobj; | |
13672 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13673 | int arg2 ; | |
13674 | PyObject * obj0 = 0 ; | |
994141e6 | 13675 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13676 | char *kwnames[] = { |
13677 | (char *) "self",(char *) "flags", NULL | |
13678 | }; | |
13679 | ||
994141e6 | 13680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13681 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13682 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13683 | arg2 = (int) SWIG_AsInt(obj1); | |
13684 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13685 | { |
13686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13687 | (arg1)->SetFlags(arg2); | |
13688 | ||
13689 | wxPyEndAllowThreads(__tstate); | |
13690 | if (PyErr_Occurred()) SWIG_fail; | |
13691 | } | |
13692 | Py_INCREF(Py_None); resultobj = Py_None; | |
13693 | return resultobj; | |
13694 | fail: | |
13695 | return NULL; | |
13696 | } | |
13697 | ||
13698 | ||
13699 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13700 | PyObject *resultobj; | |
13701 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13702 | wxString *arg2 = 0 ; | |
e811c8ce | 13703 | bool temp2 = False ; |
d14a1e28 RD |
13704 | PyObject * obj0 = 0 ; |
13705 | PyObject * obj1 = 0 ; | |
13706 | char *kwnames[] = { | |
13707 | (char *) "self",(char *) "str", NULL | |
13708 | }; | |
13709 | ||
13710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13711 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13712 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13713 | { |
13714 | arg2 = wxString_in_helper(obj1); | |
13715 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13716 | temp2 = True; |
d14a1e28 RD |
13717 | } |
13718 | { | |
13719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13720 | (arg1)->SetFindString((wxString const &)*arg2); | |
13721 | ||
13722 | wxPyEndAllowThreads(__tstate); | |
13723 | if (PyErr_Occurred()) SWIG_fail; | |
13724 | } | |
13725 | Py_INCREF(Py_None); resultobj = Py_None; | |
13726 | { | |
13727 | if (temp2) | |
13728 | delete arg2; | |
13729 | } | |
13730 | return resultobj; | |
13731 | fail: | |
13732 | { | |
13733 | if (temp2) | |
13734 | delete arg2; | |
13735 | } | |
13736 | return NULL; | |
13737 | } | |
13738 | ||
13739 | ||
13740 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13741 | PyObject *resultobj; | |
13742 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13743 | wxString *arg2 = 0 ; | |
e811c8ce | 13744 | bool temp2 = False ; |
d14a1e28 RD |
13745 | PyObject * obj0 = 0 ; |
13746 | PyObject * obj1 = 0 ; | |
13747 | char *kwnames[] = { | |
13748 | (char *) "self",(char *) "str", NULL | |
13749 | }; | |
13750 | ||
13751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13752 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13753 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13754 | { |
13755 | arg2 = wxString_in_helper(obj1); | |
13756 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13757 | temp2 = True; |
d14a1e28 RD |
13758 | } |
13759 | { | |
13760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13761 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
13762 | ||
13763 | wxPyEndAllowThreads(__tstate); | |
13764 | if (PyErr_Occurred()) SWIG_fail; | |
13765 | } | |
13766 | Py_INCREF(Py_None); resultobj = Py_None; | |
13767 | { | |
13768 | if (temp2) | |
13769 | delete arg2; | |
13770 | } | |
13771 | return resultobj; | |
13772 | fail: | |
13773 | { | |
13774 | if (temp2) | |
13775 | delete arg2; | |
13776 | } | |
13777 | return NULL; | |
13778 | } | |
13779 | ||
13780 | ||
13781 | static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) { | |
13782 | PyObject *obj; | |
13783 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13784 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
13785 | Py_INCREF(obj); | |
13786 | return Py_BuildValue((char *)""); | |
13787 | } | |
13788 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13789 | PyObject *resultobj; | |
13790 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13791 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
13792 | wxString *arg3 = 0 ; | |
13793 | int arg4 = (int) 0 ; | |
13794 | wxFindReplaceDialog *result; | |
e811c8ce | 13795 | bool temp3 = False ; |
d14a1e28 RD |
13796 | PyObject * obj0 = 0 ; |
13797 | PyObject * obj1 = 0 ; | |
13798 | PyObject * obj2 = 0 ; | |
994141e6 | 13799 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
13800 | char *kwnames[] = { |
13801 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
13802 | }; | |
13803 | ||
994141e6 | 13804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
13805 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
13806 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13807 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
13808 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13809 | { |
13810 | arg3 = wxString_in_helper(obj2); | |
13811 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 13812 | temp3 = True; |
d14a1e28 | 13813 | } |
994141e6 | 13814 | if (obj3) { |
15afbcd0 RD |
13815 | arg4 = (int) SWIG_AsInt(obj3); |
13816 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13817 | } |
d14a1e28 RD |
13818 | { |
13819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13820 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
13821 | ||
13822 | wxPyEndAllowThreads(__tstate); | |
13823 | if (PyErr_Occurred()) SWIG_fail; | |
13824 | } | |
15afbcd0 | 13825 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
13826 | { |
13827 | if (temp3) | |
13828 | delete arg3; | |
13829 | } | |
13830 | return resultobj; | |
13831 | fail: | |
13832 | { | |
13833 | if (temp3) | |
13834 | delete arg3; | |
13835 | } | |
13836 | return NULL; | |
13837 | } | |
13838 | ||
13839 | ||
13840 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13841 | PyObject *resultobj; | |
13842 | wxFindReplaceDialog *result; | |
13843 | char *kwnames[] = { | |
13844 | NULL | |
13845 | }; | |
13846 | ||
13847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
13848 | { | |
13849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13850 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
13851 | ||
13852 | wxPyEndAllowThreads(__tstate); | |
13853 | if (PyErr_Occurred()) SWIG_fail; | |
13854 | } | |
15afbcd0 | 13855 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
13856 | return resultobj; |
13857 | fail: | |
13858 | return NULL; | |
13859 | } | |
13860 | ||
13861 | ||
13862 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13863 | PyObject *resultobj; | |
13864 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
13865 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13866 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
13867 | wxString *arg4 = 0 ; | |
13868 | int arg5 = (int) 0 ; | |
13869 | bool result; | |
e811c8ce | 13870 | bool temp4 = False ; |
d14a1e28 RD |
13871 | PyObject * obj0 = 0 ; |
13872 | PyObject * obj1 = 0 ; | |
13873 | PyObject * obj2 = 0 ; | |
13874 | PyObject * obj3 = 0 ; | |
994141e6 | 13875 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
13876 | char *kwnames[] = { |
13877 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
13878 | }; | |
13879 | ||
994141e6 | 13880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
13881 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
13882 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13883 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
13884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13885 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData, | |
13886 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13887 | { |
13888 | arg4 = wxString_in_helper(obj3); | |
13889 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 13890 | temp4 = True; |
d14a1e28 | 13891 | } |
994141e6 | 13892 | if (obj4) { |
15afbcd0 RD |
13893 | arg5 = (int) SWIG_AsInt(obj4); |
13894 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13895 | } |
d14a1e28 RD |
13896 | { |
13897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13898 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
13899 | ||
13900 | wxPyEndAllowThreads(__tstate); | |
13901 | if (PyErr_Occurred()) SWIG_fail; | |
13902 | } | |
4d5c3d91 | 13903 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
13904 | { |
13905 | if (temp4) | |
13906 | delete arg4; | |
13907 | } | |
13908 | return resultobj; | |
13909 | fail: | |
13910 | { | |
13911 | if (temp4) | |
13912 | delete arg4; | |
13913 | } | |
13914 | return NULL; | |
13915 | } | |
13916 | ||
13917 | ||
13918 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13919 | PyObject *resultobj; | |
13920 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
13921 | wxFindReplaceData *result; | |
13922 | PyObject * obj0 = 0 ; | |
13923 | char *kwnames[] = { | |
13924 | (char *) "self", NULL | |
13925 | }; | |
13926 | ||
13927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13928 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
13929 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13930 | { |
13931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13932 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
13933 | ||
13934 | wxPyEndAllowThreads(__tstate); | |
13935 | if (PyErr_Occurred()) SWIG_fail; | |
13936 | } | |
15afbcd0 | 13937 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); |
d14a1e28 RD |
13938 | return resultobj; |
13939 | fail: | |
13940 | return NULL; | |
13941 | } | |
13942 | ||
13943 | ||
13944 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13945 | PyObject *resultobj; | |
13946 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
13947 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
13948 | PyObject * obj0 = 0 ; | |
13949 | PyObject * obj1 = 0 ; | |
13950 | char *kwnames[] = { | |
13951 | (char *) "self",(char *) "data", NULL | |
13952 | }; | |
13953 | ||
13954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
13956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13957 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
13958 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13959 | { |
13960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13961 | (arg1)->SetData(arg2); | |
13962 | ||
13963 | wxPyEndAllowThreads(__tstate); | |
13964 | if (PyErr_Occurred()) SWIG_fail; | |
13965 | } | |
13966 | Py_INCREF(Py_None); resultobj = Py_None; | |
13967 | return resultobj; | |
13968 | fail: | |
13969 | return NULL; | |
13970 | } | |
13971 | ||
13972 | ||
13973 | static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) { | |
13974 | PyObject *obj; | |
13975 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13976 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
13977 | Py_INCREF(obj); | |
13978 | return Py_BuildValue((char *)""); | |
13979 | } | |
13980 | static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13981 | PyObject *resultobj; | |
13982 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 13983 | int arg2 ; |
d14a1e28 RD |
13984 | wxString *arg3 = 0 ; |
13985 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
13986 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
13987 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
13988 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
13989 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
13990 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
13991 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
13992 | wxMDIParentFrame *result; | |
e811c8ce | 13993 | bool temp3 = False ; |
d14a1e28 RD |
13994 | wxPoint temp4 ; |
13995 | wxSize temp5 ; | |
e811c8ce | 13996 | bool temp7 = False ; |
d14a1e28 | 13997 | PyObject * obj0 = 0 ; |
994141e6 | 13998 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13999 | PyObject * obj2 = 0 ; |
14000 | PyObject * obj3 = 0 ; | |
14001 | PyObject * obj4 = 0 ; | |
994141e6 | 14002 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14003 | PyObject * obj6 = 0 ; |
14004 | char *kwnames[] = { | |
14005 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14006 | }; | |
14007 | ||
994141e6 | 14008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
14009 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14011 | arg2 = (int const) SWIG_AsInt(obj1); | |
14012 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14013 | { |
14014 | arg3 = wxString_in_helper(obj2); | |
14015 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 14016 | temp3 = True; |
d14a1e28 RD |
14017 | } |
14018 | if (obj3) { | |
14019 | { | |
14020 | arg4 = &temp4; | |
14021 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14022 | } | |
14023 | } | |
14024 | if (obj4) { | |
14025 | { | |
14026 | arg5 = &temp5; | |
14027 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14028 | } | |
14029 | } | |
994141e6 | 14030 | if (obj5) { |
15afbcd0 RD |
14031 | arg6 = (long) SWIG_AsLong(obj5); |
14032 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14033 | } |
d14a1e28 RD |
14034 | if (obj6) { |
14035 | { | |
14036 | arg7 = wxString_in_helper(obj6); | |
14037 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 14038 | temp7 = True; |
d14a1e28 RD |
14039 | } |
14040 | } | |
14041 | { | |
14042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14043 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14044 | ||
14045 | wxPyEndAllowThreads(__tstate); | |
14046 | if (PyErr_Occurred()) SWIG_fail; | |
14047 | } | |
15afbcd0 | 14048 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
14049 | { |
14050 | if (temp3) | |
14051 | delete arg3; | |
14052 | } | |
14053 | { | |
14054 | if (temp7) | |
14055 | delete arg7; | |
14056 | } | |
14057 | return resultobj; | |
14058 | fail: | |
14059 | { | |
14060 | if (temp3) | |
14061 | delete arg3; | |
14062 | } | |
14063 | { | |
14064 | if (temp7) | |
14065 | delete arg7; | |
14066 | } | |
14067 | return NULL; | |
14068 | } | |
14069 | ||
14070 | ||
14071 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14072 | PyObject *resultobj; | |
14073 | wxMDIParentFrame *result; | |
14074 | char *kwnames[] = { | |
14075 | NULL | |
14076 | }; | |
14077 | ||
14078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
14079 | { | |
14080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14081 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
14082 | ||
14083 | wxPyEndAllowThreads(__tstate); | |
14084 | if (PyErr_Occurred()) SWIG_fail; | |
14085 | } | |
15afbcd0 | 14086 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
14087 | return resultobj; |
14088 | fail: | |
14089 | return NULL; | |
14090 | } | |
14091 | ||
14092 | ||
14093 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14094 | PyObject *resultobj; | |
14095 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14096 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 14097 | int arg3 ; |
d14a1e28 RD |
14098 | wxString *arg4 = 0 ; |
14099 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14100 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14101 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14102 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14103 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14104 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14105 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14106 | bool result; | |
e811c8ce | 14107 | bool temp4 = False ; |
d14a1e28 RD |
14108 | wxPoint temp5 ; |
14109 | wxSize temp6 ; | |
e811c8ce | 14110 | bool temp8 = False ; |
d14a1e28 RD |
14111 | PyObject * obj0 = 0 ; |
14112 | PyObject * obj1 = 0 ; | |
994141e6 | 14113 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14114 | PyObject * obj3 = 0 ; |
14115 | PyObject * obj4 = 0 ; | |
14116 | PyObject * obj5 = 0 ; | |
994141e6 | 14117 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14118 | PyObject * obj7 = 0 ; |
14119 | char *kwnames[] = { | |
14120 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14121 | }; | |
14122 | ||
994141e6 | 14123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
14124 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14125 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14126 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
14127 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14128 | arg3 = (int const) SWIG_AsInt(obj2); | |
14129 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14130 | { |
14131 | arg4 = wxString_in_helper(obj3); | |
14132 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 14133 | temp4 = True; |
d14a1e28 RD |
14134 | } |
14135 | if (obj4) { | |
14136 | { | |
14137 | arg5 = &temp5; | |
14138 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14139 | } | |
14140 | } | |
14141 | if (obj5) { | |
14142 | { | |
14143 | arg6 = &temp6; | |
14144 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14145 | } | |
14146 | } | |
994141e6 | 14147 | if (obj6) { |
15afbcd0 RD |
14148 | arg7 = (long) SWIG_AsLong(obj6); |
14149 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14150 | } |
d14a1e28 RD |
14151 | if (obj7) { |
14152 | { | |
14153 | arg8 = wxString_in_helper(obj7); | |
14154 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 14155 | temp8 = True; |
d14a1e28 RD |
14156 | } |
14157 | } | |
14158 | { | |
14159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14160 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14161 | ||
14162 | wxPyEndAllowThreads(__tstate); | |
14163 | if (PyErr_Occurred()) SWIG_fail; | |
14164 | } | |
4d5c3d91 | 14165 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
14166 | { |
14167 | if (temp4) | |
14168 | delete arg4; | |
14169 | } | |
14170 | { | |
14171 | if (temp8) | |
14172 | delete arg8; | |
14173 | } | |
14174 | return resultobj; | |
14175 | fail: | |
14176 | { | |
14177 | if (temp4) | |
14178 | delete arg4; | |
14179 | } | |
14180 | { | |
14181 | if (temp8) | |
14182 | delete arg8; | |
14183 | } | |
14184 | return NULL; | |
14185 | } | |
14186 | ||
14187 | ||
14188 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14189 | PyObject *resultobj; | |
14190 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14191 | PyObject * obj0 = 0 ; | |
14192 | char *kwnames[] = { | |
14193 | (char *) "self", NULL | |
14194 | }; | |
14195 | ||
14196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14197 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14198 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14199 | { |
14200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14201 | (arg1)->ActivateNext(); | |
14202 | ||
14203 | wxPyEndAllowThreads(__tstate); | |
14204 | if (PyErr_Occurred()) SWIG_fail; | |
14205 | } | |
14206 | Py_INCREF(Py_None); resultobj = Py_None; | |
14207 | return resultobj; | |
14208 | fail: | |
14209 | return NULL; | |
14210 | } | |
14211 | ||
14212 | ||
14213 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14214 | PyObject *resultobj; | |
14215 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14216 | PyObject * obj0 = 0 ; | |
14217 | char *kwnames[] = { | |
14218 | (char *) "self", NULL | |
14219 | }; | |
14220 | ||
14221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14222 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14223 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14224 | { |
14225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14226 | (arg1)->ActivatePrevious(); | |
14227 | ||
14228 | wxPyEndAllowThreads(__tstate); | |
14229 | if (PyErr_Occurred()) SWIG_fail; | |
14230 | } | |
14231 | Py_INCREF(Py_None); resultobj = Py_None; | |
14232 | return resultobj; | |
14233 | fail: | |
14234 | return NULL; | |
14235 | } | |
14236 | ||
14237 | ||
14238 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14239 | PyObject *resultobj; | |
14240 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14241 | PyObject * obj0 = 0 ; | |
14242 | char *kwnames[] = { | |
14243 | (char *) "self", NULL | |
14244 | }; | |
14245 | ||
14246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14247 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14248 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14249 | { |
14250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14251 | (arg1)->ArrangeIcons(); | |
14252 | ||
14253 | wxPyEndAllowThreads(__tstate); | |
14254 | if (PyErr_Occurred()) SWIG_fail; | |
14255 | } | |
14256 | Py_INCREF(Py_None); resultobj = Py_None; | |
14257 | return resultobj; | |
14258 | fail: | |
14259 | return NULL; | |
14260 | } | |
14261 | ||
14262 | ||
14263 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14264 | PyObject *resultobj; | |
14265 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14266 | PyObject * obj0 = 0 ; | |
14267 | char *kwnames[] = { | |
14268 | (char *) "self", NULL | |
14269 | }; | |
14270 | ||
14271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14272 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14273 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14274 | { |
14275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14276 | (arg1)->Cascade(); | |
14277 | ||
14278 | wxPyEndAllowThreads(__tstate); | |
14279 | if (PyErr_Occurred()) SWIG_fail; | |
14280 | } | |
14281 | Py_INCREF(Py_None); resultobj = Py_None; | |
14282 | return resultobj; | |
14283 | fail: | |
14284 | return NULL; | |
14285 | } | |
14286 | ||
14287 | ||
14288 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14289 | PyObject *resultobj; | |
14290 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14291 | wxMDIChildFrame *result; | |
14292 | PyObject * obj0 = 0 ; | |
14293 | char *kwnames[] = { | |
14294 | (char *) "self", NULL | |
14295 | }; | |
14296 | ||
14297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14298 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14299 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14300 | { |
14301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14302 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
14303 | ||
14304 | wxPyEndAllowThreads(__tstate); | |
14305 | if (PyErr_Occurred()) SWIG_fail; | |
14306 | } | |
14307 | { | |
14308 | resultobj = wxPyMake_wxObject(result); | |
14309 | } | |
14310 | return resultobj; | |
14311 | fail: | |
14312 | return NULL; | |
14313 | } | |
14314 | ||
14315 | ||
14316 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14317 | PyObject *resultobj; | |
14318 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14319 | wxMDIClientWindow *result; | |
14320 | PyObject * obj0 = 0 ; | |
14321 | char *kwnames[] = { | |
14322 | (char *) "self", NULL | |
14323 | }; | |
14324 | ||
14325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14328 | { |
14329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14330 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
14331 | ||
14332 | wxPyEndAllowThreads(__tstate); | |
14333 | if (PyErr_Occurred()) SWIG_fail; | |
14334 | } | |
14335 | { | |
14336 | resultobj = wxPyMake_wxObject(result); | |
14337 | } | |
14338 | return resultobj; | |
14339 | fail: | |
14340 | return NULL; | |
14341 | } | |
14342 | ||
14343 | ||
14344 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14345 | PyObject *resultobj; | |
14346 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14347 | wxWindow *result; | |
14348 | PyObject * obj0 = 0 ; | |
14349 | char *kwnames[] = { | |
14350 | (char *) "self", NULL | |
14351 | }; | |
14352 | ||
14353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14354 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14355 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14356 | { |
14357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14358 | result = (wxWindow *)(arg1)->GetToolBar(); | |
14359 | ||
14360 | wxPyEndAllowThreads(__tstate); | |
14361 | if (PyErr_Occurred()) SWIG_fail; | |
14362 | } | |
14363 | { | |
14364 | resultobj = wxPyMake_wxObject(result); | |
14365 | } | |
14366 | return resultobj; | |
14367 | fail: | |
14368 | return NULL; | |
14369 | } | |
14370 | ||
14371 | ||
14372 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14373 | PyObject *resultobj; | |
14374 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14375 | PyObject * obj0 = 0 ; | |
14376 | char *kwnames[] = { | |
14377 | (char *) "self", NULL | |
14378 | }; | |
14379 | ||
14380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14381 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14382 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14383 | { |
14384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14385 | (arg1)->Tile(); | |
14386 | ||
14387 | wxPyEndAllowThreads(__tstate); | |
14388 | if (PyErr_Occurred()) SWIG_fail; | |
14389 | } | |
14390 | Py_INCREF(Py_None); resultobj = Py_None; | |
14391 | return resultobj; | |
14392 | fail: | |
14393 | return NULL; | |
14394 | } | |
14395 | ||
14396 | ||
14397 | static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) { | |
14398 | PyObject *obj; | |
14399 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14400 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
14401 | Py_INCREF(obj); | |
14402 | return Py_BuildValue((char *)""); | |
14403 | } | |
14404 | static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14405 | PyObject *resultobj; | |
14406 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
e811c8ce | 14407 | int arg2 ; |
d14a1e28 RD |
14408 | wxString *arg3 = 0 ; |
14409 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14410 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14411 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14412 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14413 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
14414 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14415 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14416 | wxMDIChildFrame *result; | |
e811c8ce | 14417 | bool temp3 = False ; |
d14a1e28 RD |
14418 | wxPoint temp4 ; |
14419 | wxSize temp5 ; | |
e811c8ce | 14420 | bool temp7 = False ; |
d14a1e28 | 14421 | PyObject * obj0 = 0 ; |
994141e6 | 14422 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14423 | PyObject * obj2 = 0 ; |
14424 | PyObject * obj3 = 0 ; | |
14425 | PyObject * obj4 = 0 ; | |
994141e6 | 14426 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14427 | PyObject * obj6 = 0 ; |
14428 | char *kwnames[] = { | |
14429 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14430 | }; | |
14431 | ||
994141e6 | 14432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
14433 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14434 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14435 | arg2 = (int const) SWIG_AsInt(obj1); | |
14436 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14437 | { |
14438 | arg3 = wxString_in_helper(obj2); | |
14439 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 14440 | temp3 = True; |
d14a1e28 RD |
14441 | } |
14442 | if (obj3) { | |
14443 | { | |
14444 | arg4 = &temp4; | |
14445 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14446 | } | |
14447 | } | |
14448 | if (obj4) { | |
14449 | { | |
14450 | arg5 = &temp5; | |
14451 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14452 | } | |
14453 | } | |
994141e6 | 14454 | if (obj5) { |
15afbcd0 RD |
14455 | arg6 = (long) SWIG_AsLong(obj5); |
14456 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14457 | } |
d14a1e28 RD |
14458 | if (obj6) { |
14459 | { | |
14460 | arg7 = wxString_in_helper(obj6); | |
14461 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 14462 | temp7 = True; |
d14a1e28 RD |
14463 | } |
14464 | } | |
14465 | { | |
14466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14467 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14468 | ||
14469 | wxPyEndAllowThreads(__tstate); | |
14470 | if (PyErr_Occurred()) SWIG_fail; | |
14471 | } | |
14472 | { | |
14473 | resultobj = wxPyMake_wxObject(result); | |
14474 | } | |
14475 | { | |
14476 | if (temp3) | |
14477 | delete arg3; | |
14478 | } | |
14479 | { | |
14480 | if (temp7) | |
14481 | delete arg7; | |
14482 | } | |
14483 | return resultobj; | |
14484 | fail: | |
14485 | { | |
14486 | if (temp3) | |
14487 | delete arg3; | |
14488 | } | |
14489 | { | |
14490 | if (temp7) | |
14491 | delete arg7; | |
14492 | } | |
14493 | return NULL; | |
14494 | } | |
14495 | ||
14496 | ||
14497 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14498 | PyObject *resultobj; | |
14499 | wxMDIChildFrame *result; | |
14500 | char *kwnames[] = { | |
14501 | NULL | |
14502 | }; | |
14503 | ||
14504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
14505 | { | |
14506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14507 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
14508 | ||
14509 | wxPyEndAllowThreads(__tstate); | |
14510 | if (PyErr_Occurred()) SWIG_fail; | |
14511 | } | |
14512 | { | |
14513 | resultobj = wxPyMake_wxObject(result); | |
14514 | } | |
14515 | return resultobj; | |
14516 | fail: | |
14517 | return NULL; | |
14518 | } | |
14519 | ||
14520 | ||
14521 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14522 | PyObject *resultobj; | |
14523 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14524 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
e811c8ce | 14525 | int arg3 ; |
d14a1e28 RD |
14526 | wxString *arg4 = 0 ; |
14527 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14528 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14529 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14530 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14531 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
14532 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14533 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14534 | bool result; | |
e811c8ce | 14535 | bool temp4 = False ; |
d14a1e28 RD |
14536 | wxPoint temp5 ; |
14537 | wxSize temp6 ; | |
e811c8ce | 14538 | bool temp8 = False ; |
d14a1e28 RD |
14539 | PyObject * obj0 = 0 ; |
14540 | PyObject * obj1 = 0 ; | |
994141e6 | 14541 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14542 | PyObject * obj3 = 0 ; |
14543 | PyObject * obj4 = 0 ; | |
14544 | PyObject * obj5 = 0 ; | |
994141e6 | 14545 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14546 | PyObject * obj7 = 0 ; |
14547 | char *kwnames[] = { | |
14548 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14549 | }; | |
14550 | ||
994141e6 | 14551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
14552 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14553 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14554 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
14555 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14556 | arg3 = (int const) SWIG_AsInt(obj2); | |
14557 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14558 | { |
14559 | arg4 = wxString_in_helper(obj3); | |
14560 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 14561 | temp4 = True; |
d14a1e28 RD |
14562 | } |
14563 | if (obj4) { | |
14564 | { | |
14565 | arg5 = &temp5; | |
14566 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14567 | } | |
14568 | } | |
14569 | if (obj5) { | |
14570 | { | |
14571 | arg6 = &temp6; | |
14572 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14573 | } | |
14574 | } | |
994141e6 | 14575 | if (obj6) { |
15afbcd0 RD |
14576 | arg7 = (long) SWIG_AsLong(obj6); |
14577 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14578 | } |
d14a1e28 RD |
14579 | if (obj7) { |
14580 | { | |
14581 | arg8 = wxString_in_helper(obj7); | |
14582 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 14583 | temp8 = True; |
d14a1e28 RD |
14584 | } |
14585 | } | |
14586 | { | |
14587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14588 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14589 | ||
14590 | wxPyEndAllowThreads(__tstate); | |
14591 | if (PyErr_Occurred()) SWIG_fail; | |
14592 | } | |
4d5c3d91 | 14593 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
14594 | { |
14595 | if (temp4) | |
14596 | delete arg4; | |
14597 | } | |
14598 | { | |
14599 | if (temp8) | |
14600 | delete arg8; | |
14601 | } | |
14602 | return resultobj; | |
14603 | fail: | |
14604 | { | |
14605 | if (temp4) | |
14606 | delete arg4; | |
14607 | } | |
14608 | { | |
14609 | if (temp8) | |
14610 | delete arg8; | |
14611 | } | |
14612 | return NULL; | |
14613 | } | |
14614 | ||
14615 | ||
14616 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14617 | PyObject *resultobj; | |
14618 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14619 | PyObject * obj0 = 0 ; | |
14620 | char *kwnames[] = { | |
14621 | (char *) "self", NULL | |
14622 | }; | |
14623 | ||
14624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14625 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14626 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14627 | { |
14628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14629 | (arg1)->Activate(); | |
14630 | ||
14631 | wxPyEndAllowThreads(__tstate); | |
14632 | if (PyErr_Occurred()) SWIG_fail; | |
14633 | } | |
14634 | Py_INCREF(Py_None); resultobj = Py_None; | |
14635 | return resultobj; | |
14636 | fail: | |
14637 | return NULL; | |
14638 | } | |
14639 | ||
14640 | ||
14641 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14642 | PyObject *resultobj; | |
14643 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14644 | bool arg2 ; | |
14645 | PyObject * obj0 = 0 ; | |
14646 | PyObject * obj1 = 0 ; | |
14647 | char *kwnames[] = { | |
14648 | (char *) "self",(char *) "maximize", NULL | |
14649 | }; | |
14650 | ||
14651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14652 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14653 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14654 | arg2 = (bool) SWIG_AsBool(obj1); | |
14655 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14656 | { |
14657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14658 | (arg1)->Maximize(arg2); | |
14659 | ||
14660 | wxPyEndAllowThreads(__tstate); | |
14661 | if (PyErr_Occurred()) SWIG_fail; | |
14662 | } | |
14663 | Py_INCREF(Py_None); resultobj = Py_None; | |
14664 | return resultobj; | |
14665 | fail: | |
14666 | return NULL; | |
14667 | } | |
14668 | ||
14669 | ||
14670 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14671 | PyObject *resultobj; | |
14672 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14673 | PyObject * obj0 = 0 ; | |
14674 | char *kwnames[] = { | |
14675 | (char *) "self", NULL | |
14676 | }; | |
14677 | ||
14678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14679 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14680 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14681 | { |
14682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14683 | (arg1)->Restore(); | |
14684 | ||
14685 | wxPyEndAllowThreads(__tstate); | |
14686 | if (PyErr_Occurred()) SWIG_fail; | |
14687 | } | |
14688 | Py_INCREF(Py_None); resultobj = Py_None; | |
14689 | return resultobj; | |
14690 | fail: | |
14691 | return NULL; | |
14692 | } | |
14693 | ||
14694 | ||
14695 | static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) { | |
14696 | PyObject *obj; | |
14697 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14698 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
14699 | Py_INCREF(obj); | |
14700 | return Py_BuildValue((char *)""); | |
14701 | } | |
14702 | static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14703 | PyObject *resultobj; | |
14704 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14705 | long arg2 = (long) 0 ; | |
14706 | wxMDIClientWindow *result; | |
14707 | PyObject * obj0 = 0 ; | |
994141e6 | 14708 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14709 | char *kwnames[] = { |
14710 | (char *) "parent",(char *) "style", NULL | |
14711 | }; | |
14712 | ||
994141e6 | 14713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
14714 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14715 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 14716 | if (obj1) { |
15afbcd0 RD |
14717 | arg2 = (long) SWIG_AsLong(obj1); |
14718 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14719 | } |
d14a1e28 RD |
14720 | { |
14721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14722 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
14723 | ||
14724 | wxPyEndAllowThreads(__tstate); | |
14725 | if (PyErr_Occurred()) SWIG_fail; | |
14726 | } | |
14727 | { | |
14728 | resultobj = wxPyMake_wxObject(result); | |
14729 | } | |
14730 | return resultobj; | |
14731 | fail: | |
14732 | return NULL; | |
14733 | } | |
14734 | ||
14735 | ||
14736 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14737 | PyObject *resultobj; | |
14738 | wxMDIClientWindow *result; | |
14739 | char *kwnames[] = { | |
14740 | NULL | |
14741 | }; | |
14742 | ||
14743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
14744 | { | |
14745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14746 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
14747 | ||
14748 | wxPyEndAllowThreads(__tstate); | |
14749 | if (PyErr_Occurred()) SWIG_fail; | |
14750 | } | |
14751 | { | |
14752 | resultobj = wxPyMake_wxObject(result); | |
14753 | } | |
14754 | return resultobj; | |
14755 | fail: | |
14756 | return NULL; | |
14757 | } | |
14758 | ||
14759 | ||
14760 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14761 | PyObject *resultobj; | |
14762 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
14763 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
14764 | long arg3 = (long) 0 ; | |
14765 | bool result; | |
14766 | PyObject * obj0 = 0 ; | |
14767 | PyObject * obj1 = 0 ; | |
994141e6 | 14768 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14769 | char *kwnames[] = { |
14770 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
14771 | }; | |
14772 | ||
994141e6 | 14773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
14774 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow, |
14775 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14776 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
14777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 14778 | if (obj2) { |
15afbcd0 RD |
14779 | arg3 = (long) SWIG_AsLong(obj2); |
14780 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14781 | } |
d14a1e28 RD |
14782 | { |
14783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14784 | result = (bool)(arg1)->Create(arg2,arg3); | |
14785 | ||
14786 | wxPyEndAllowThreads(__tstate); | |
14787 | if (PyErr_Occurred()) SWIG_fail; | |
14788 | } | |
4d5c3d91 | 14789 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
14790 | return resultobj; |
14791 | fail: | |
14792 | return NULL; | |
14793 | } | |
14794 | ||
14795 | ||
14796 | static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) { | |
14797 | PyObject *obj; | |
14798 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14799 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
14800 | Py_INCREF(obj); | |
14801 | return Py_BuildValue((char *)""); | |
14802 | } | |
14803 | static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14804 | PyObject *resultobj; | |
14805 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 14806 | int arg2 ; |
d14a1e28 RD |
14807 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
14808 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14809 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14810 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14811 | long arg5 = (long) 0 ; | |
14812 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
14813 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
14814 | wxPyWindow *result; | |
14815 | wxPoint temp3 ; | |
14816 | wxSize temp4 ; | |
e811c8ce | 14817 | bool temp6 = False ; |
d14a1e28 | 14818 | PyObject * obj0 = 0 ; |
994141e6 | 14819 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14820 | PyObject * obj2 = 0 ; |
14821 | PyObject * obj3 = 0 ; | |
994141e6 | 14822 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
14823 | PyObject * obj5 = 0 ; |
14824 | char *kwnames[] = { | |
14825 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14826 | }; | |
14827 | ||
994141e6 | 14828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
14829 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14830 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14831 | arg2 = (int const) SWIG_AsInt(obj1); | |
14832 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14833 | if (obj2) { |
14834 | { | |
14835 | arg3 = &temp3; | |
14836 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14837 | } | |
14838 | } | |
14839 | if (obj3) { | |
14840 | { | |
14841 | arg4 = &temp4; | |
14842 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14843 | } | |
14844 | } | |
994141e6 | 14845 | if (obj4) { |
15afbcd0 RD |
14846 | arg5 = (long) SWIG_AsLong(obj4); |
14847 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14848 | } |
d14a1e28 RD |
14849 | if (obj5) { |
14850 | { | |
14851 | arg6 = wxString_in_helper(obj5); | |
14852 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 14853 | temp6 = True; |
d14a1e28 RD |
14854 | } |
14855 | } | |
14856 | { | |
14857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14858 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
14859 | ||
14860 | wxPyEndAllowThreads(__tstate); | |
14861 | if (PyErr_Occurred()) SWIG_fail; | |
14862 | } | |
15afbcd0 | 14863 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); |
d14a1e28 RD |
14864 | { |
14865 | if (temp6) | |
14866 | delete arg6; | |
14867 | } | |
14868 | return resultobj; | |
14869 | fail: | |
14870 | { | |
14871 | if (temp6) | |
14872 | delete arg6; | |
14873 | } | |
14874 | return NULL; | |
14875 | } | |
14876 | ||
14877 | ||
14878 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14879 | PyObject *resultobj; | |
14880 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14881 | PyObject *arg2 = (PyObject *) 0 ; | |
14882 | PyObject *arg3 = (PyObject *) 0 ; | |
14883 | PyObject * obj0 = 0 ; | |
14884 | PyObject * obj1 = 0 ; | |
14885 | PyObject * obj2 = 0 ; | |
14886 | char *kwnames[] = { | |
14887 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
14888 | }; | |
14889 | ||
14890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
14891 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
14892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14893 | arg2 = obj1; |
14894 | arg3 = obj2; | |
14895 | { | |
14896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14897 | (arg1)->_setCallbackInfo(arg2,arg3); | |
14898 | ||
14899 | wxPyEndAllowThreads(__tstate); | |
14900 | if (PyErr_Occurred()) SWIG_fail; | |
14901 | } | |
14902 | Py_INCREF(Py_None); resultobj = Py_None; | |
14903 | return resultobj; | |
14904 | fail: | |
14905 | return NULL; | |
14906 | } | |
14907 | ||
14908 | ||
14909 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14910 | PyObject *resultobj; | |
14911 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14912 | int arg2 ; | |
14913 | int arg3 ; | |
14914 | int arg4 ; | |
14915 | int arg5 ; | |
14916 | PyObject * obj0 = 0 ; | |
994141e6 RD |
14917 | PyObject * obj1 = 0 ; |
14918 | PyObject * obj2 = 0 ; | |
14919 | PyObject * obj3 = 0 ; | |
14920 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
14921 | char *kwnames[] = { |
14922 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
14923 | }; | |
14924 | ||
994141e6 | 14925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
14926 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
14927 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14928 | arg2 = (int) SWIG_AsInt(obj1); | |
14929 | if (PyErr_Occurred()) SWIG_fail; | |
14930 | arg3 = (int) SWIG_AsInt(obj2); | |
14931 | if (PyErr_Occurred()) SWIG_fail; | |
14932 | arg4 = (int) SWIG_AsInt(obj3); | |
14933 | if (PyErr_Occurred()) SWIG_fail; | |
14934 | arg5 = (int) SWIG_AsInt(obj4); | |
14935 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14936 | { |
14937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14938 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
14939 | ||
14940 | wxPyEndAllowThreads(__tstate); | |
14941 | if (PyErr_Occurred()) SWIG_fail; | |
14942 | } | |
14943 | Py_INCREF(Py_None); resultobj = Py_None; | |
14944 | return resultobj; | |
14945 | fail: | |
14946 | return NULL; | |
14947 | } | |
14948 | ||
14949 | ||
14950 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14951 | PyObject *resultobj; | |
14952 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14953 | int arg2 ; | |
14954 | int arg3 ; | |
14955 | int arg4 ; | |
14956 | int arg5 ; | |
14957 | int arg6 = (int) wxSIZE_AUTO ; | |
14958 | PyObject * obj0 = 0 ; | |
994141e6 RD |
14959 | PyObject * obj1 = 0 ; |
14960 | PyObject * obj2 = 0 ; | |
14961 | PyObject * obj3 = 0 ; | |
14962 | PyObject * obj4 = 0 ; | |
14963 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
14964 | char *kwnames[] = { |
14965 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
14966 | }; | |
14967 | ||
994141e6 | 14968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
14969 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
14970 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14971 | arg2 = (int) SWIG_AsInt(obj1); | |
14972 | if (PyErr_Occurred()) SWIG_fail; | |
14973 | arg3 = (int) SWIG_AsInt(obj2); | |
14974 | if (PyErr_Occurred()) SWIG_fail; | |
14975 | arg4 = (int) SWIG_AsInt(obj3); | |
14976 | if (PyErr_Occurred()) SWIG_fail; | |
14977 | arg5 = (int) SWIG_AsInt(obj4); | |
14978 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14979 | if (obj5) { |
15afbcd0 RD |
14980 | arg6 = (int) SWIG_AsInt(obj5); |
14981 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14982 | } |
d14a1e28 RD |
14983 | { |
14984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14985 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
14986 | ||
14987 | wxPyEndAllowThreads(__tstate); | |
14988 | if (PyErr_Occurred()) SWIG_fail; | |
14989 | } | |
14990 | Py_INCREF(Py_None); resultobj = Py_None; | |
14991 | return resultobj; | |
14992 | fail: | |
14993 | return NULL; | |
14994 | } | |
14995 | ||
14996 | ||
14997 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14998 | PyObject *resultobj; | |
14999 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15000 | int arg2 ; | |
15001 | int arg3 ; | |
15002 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15003 | PyObject * obj1 = 0 ; |
15004 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15005 | char *kwnames[] = { |
15006 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15007 | }; | |
15008 | ||
994141e6 | 15009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
15010 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15011 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15012 | arg2 = (int) SWIG_AsInt(obj1); | |
15013 | if (PyErr_Occurred()) SWIG_fail; | |
15014 | arg3 = (int) SWIG_AsInt(obj2); | |
15015 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15016 | { |
15017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15018 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15019 | ||
15020 | wxPyEndAllowThreads(__tstate); | |
15021 | if (PyErr_Occurred()) SWIG_fail; | |
15022 | } | |
15023 | Py_INCREF(Py_None); resultobj = Py_None; | |
15024 | return resultobj; | |
15025 | fail: | |
15026 | return NULL; | |
15027 | } | |
15028 | ||
15029 | ||
15030 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15031 | PyObject *resultobj; | |
15032 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15033 | int arg2 ; | |
15034 | int arg3 ; | |
15035 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15036 | PyObject * obj1 = 0 ; |
15037 | PyObject * obj2 = 0 ; | |
d14a1e28 | 15038 | char *kwnames[] = { |
15afbcd0 RD |
15039 | (char *) "self",(char *) "x",(char *) "y", NULL |
15040 | }; | |
15041 | ||
15042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15043 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15044 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15045 | arg2 = (int) SWIG_AsInt(obj1); | |
15046 | if (PyErr_Occurred()) SWIG_fail; | |
15047 | arg3 = (int) SWIG_AsInt(obj2); | |
15048 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15049 | { |
15050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15051 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
15052 | ||
15053 | wxPyEndAllowThreads(__tstate); | |
15054 | if (PyErr_Occurred()) SWIG_fail; | |
15055 | } | |
15056 | Py_INCREF(Py_None); resultobj = Py_None; | |
15057 | return resultobj; | |
15058 | fail: | |
15059 | return NULL; | |
15060 | } | |
15061 | ||
15062 | ||
15063 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15064 | PyObject *resultobj; | |
15065 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15066 | int *arg2 = (int *) 0 ; | |
15067 | int *arg3 = (int *) 0 ; | |
15068 | int temp2 ; | |
15069 | int temp3 ; | |
15070 | PyObject * obj0 = 0 ; | |
15071 | char *kwnames[] = { | |
15072 | (char *) "self", NULL | |
15073 | }; | |
15074 | ||
15075 | arg2 = &temp2; | |
15076 | arg3 = &temp3; | |
15077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15078 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15079 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15080 | { |
15081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15082 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
15083 | ||
15084 | wxPyEndAllowThreads(__tstate); | |
15085 | if (PyErr_Occurred()) SWIG_fail; | |
15086 | } | |
15087 | Py_INCREF(Py_None); resultobj = Py_None; | |
15088 | { | |
15089 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15090 | resultobj = t_output_helper(resultobj,o); | |
15091 | } | |
15092 | { | |
15093 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15094 | resultobj = t_output_helper(resultobj,o); | |
15095 | } | |
15096 | return resultobj; | |
15097 | fail: | |
15098 | return NULL; | |
15099 | } | |
15100 | ||
15101 | ||
15102 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15103 | PyObject *resultobj; | |
15104 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15105 | int *arg2 = (int *) 0 ; | |
15106 | int *arg3 = (int *) 0 ; | |
15107 | int temp2 ; | |
15108 | int temp3 ; | |
15109 | PyObject * obj0 = 0 ; | |
15110 | char *kwnames[] = { | |
15111 | (char *) "self", NULL | |
15112 | }; | |
15113 | ||
15114 | arg2 = &temp2; | |
15115 | arg3 = &temp3; | |
15116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15117 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15118 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15119 | { |
15120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15121 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
15122 | ||
15123 | wxPyEndAllowThreads(__tstate); | |
15124 | if (PyErr_Occurred()) SWIG_fail; | |
15125 | } | |
15126 | Py_INCREF(Py_None); resultobj = Py_None; | |
15127 | { | |
15128 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15129 | resultobj = t_output_helper(resultobj,o); | |
15130 | } | |
15131 | { | |
15132 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15133 | resultobj = t_output_helper(resultobj,o); | |
15134 | } | |
15135 | return resultobj; | |
15136 | fail: | |
15137 | return NULL; | |
15138 | } | |
15139 | ||
15140 | ||
15141 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15142 | PyObject *resultobj; | |
15143 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15144 | int *arg2 = (int *) 0 ; | |
15145 | int *arg3 = (int *) 0 ; | |
15146 | int temp2 ; | |
15147 | int temp3 ; | |
15148 | PyObject * obj0 = 0 ; | |
15149 | char *kwnames[] = { | |
15150 | (char *) "self", NULL | |
15151 | }; | |
15152 | ||
15153 | arg2 = &temp2; | |
15154 | arg3 = &temp3; | |
15155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15156 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15157 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15158 | { |
15159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15160 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
15161 | ||
15162 | wxPyEndAllowThreads(__tstate); | |
15163 | if (PyErr_Occurred()) SWIG_fail; | |
15164 | } | |
15165 | Py_INCREF(Py_None); resultobj = Py_None; | |
15166 | { | |
15167 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15168 | resultobj = t_output_helper(resultobj,o); | |
15169 | } | |
15170 | { | |
15171 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15172 | resultobj = t_output_helper(resultobj,o); | |
15173 | } | |
15174 | return resultobj; | |
15175 | fail: | |
15176 | return NULL; | |
15177 | } | |
15178 | ||
15179 | ||
15180 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15181 | PyObject *resultobj; | |
15182 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15183 | wxSize result; | |
15184 | PyObject * obj0 = 0 ; | |
15185 | char *kwnames[] = { | |
15186 | (char *) "self", NULL | |
15187 | }; | |
15188 | ||
15189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15190 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15191 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15192 | { |
15193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15194 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
15195 | ||
15196 | wxPyEndAllowThreads(__tstate); | |
15197 | if (PyErr_Occurred()) SWIG_fail; | |
15198 | } | |
15199 | { | |
15200 | wxSize * resultptr; | |
15201 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 15202 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15203 | } |
15204 | return resultobj; | |
15205 | fail: | |
15206 | return NULL; | |
15207 | } | |
15208 | ||
15209 | ||
15210 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15211 | PyObject *resultobj; | |
15212 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15213 | wxSize result; | |
15214 | PyObject * obj0 = 0 ; | |
15215 | char *kwnames[] = { | |
15216 | (char *) "self", NULL | |
15217 | }; | |
15218 | ||
15219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15220 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15221 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15222 | { |
15223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15224 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
15225 | ||
15226 | wxPyEndAllowThreads(__tstate); | |
15227 | if (PyErr_Occurred()) SWIG_fail; | |
15228 | } | |
15229 | { | |
15230 | wxSize * resultptr; | |
15231 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 15232 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15233 | } |
15234 | return resultobj; | |
15235 | fail: | |
15236 | return NULL; | |
15237 | } | |
15238 | ||
15239 | ||
15240 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15241 | PyObject *resultobj; | |
15242 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15243 | PyObject * obj0 = 0 ; | |
15244 | char *kwnames[] = { | |
15245 | (char *) "self", NULL | |
15246 | }; | |
15247 | ||
15248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15249 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15250 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15251 | { |
15252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15253 | (arg1)->base_InitDialog(); | |
15254 | ||
15255 | wxPyEndAllowThreads(__tstate); | |
15256 | if (PyErr_Occurred()) SWIG_fail; | |
15257 | } | |
15258 | Py_INCREF(Py_None); resultobj = Py_None; | |
15259 | return resultobj; | |
15260 | fail: | |
15261 | return NULL; | |
15262 | } | |
15263 | ||
15264 | ||
15265 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15266 | PyObject *resultobj; | |
15267 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15268 | bool result; | |
15269 | PyObject * obj0 = 0 ; | |
15270 | char *kwnames[] = { | |
15271 | (char *) "self", NULL | |
15272 | }; | |
15273 | ||
15274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15275 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15276 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15277 | { |
15278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15279 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
15280 | ||
15281 | wxPyEndAllowThreads(__tstate); | |
15282 | if (PyErr_Occurred()) SWIG_fail; | |
15283 | } | |
4d5c3d91 | 15284 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15285 | return resultobj; |
15286 | fail: | |
15287 | return NULL; | |
15288 | } | |
15289 | ||
15290 | ||
15291 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15292 | PyObject *resultobj; | |
15293 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15294 | bool result; | |
15295 | PyObject * obj0 = 0 ; | |
15296 | char *kwnames[] = { | |
15297 | (char *) "self", NULL | |
15298 | }; | |
15299 | ||
15300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15301 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15302 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15303 | { |
15304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15305 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
15306 | ||
15307 | wxPyEndAllowThreads(__tstate); | |
15308 | if (PyErr_Occurred()) SWIG_fail; | |
15309 | } | |
4d5c3d91 | 15310 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15311 | return resultobj; |
15312 | fail: | |
15313 | return NULL; | |
15314 | } | |
15315 | ||
15316 | ||
15317 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15318 | PyObject *resultobj; | |
15319 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15320 | bool result; | |
15321 | PyObject * obj0 = 0 ; | |
15322 | char *kwnames[] = { | |
15323 | (char *) "self", NULL | |
15324 | }; | |
15325 | ||
15326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15327 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15328 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15329 | { |
15330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15331 | result = (bool)(arg1)->base_Validate(); | |
15332 | ||
15333 | wxPyEndAllowThreads(__tstate); | |
15334 | if (PyErr_Occurred()) SWIG_fail; | |
15335 | } | |
4d5c3d91 | 15336 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15337 | return resultobj; |
15338 | fail: | |
15339 | return NULL; | |
15340 | } | |
15341 | ||
15342 | ||
15343 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15344 | PyObject *resultobj; | |
15345 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15346 | bool result; | |
15347 | PyObject * obj0 = 0 ; | |
15348 | char *kwnames[] = { | |
15349 | (char *) "self", NULL | |
15350 | }; | |
15351 | ||
15352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15353 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15354 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15355 | { |
15356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15357 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
15358 | ||
15359 | wxPyEndAllowThreads(__tstate); | |
15360 | if (PyErr_Occurred()) SWIG_fail; | |
15361 | } | |
4d5c3d91 | 15362 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15363 | return resultobj; |
15364 | fail: | |
15365 | return NULL; | |
15366 | } | |
15367 | ||
15368 | ||
15369 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15370 | PyObject *resultobj; | |
15371 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15372 | bool result; | |
15373 | PyObject * obj0 = 0 ; | |
15374 | char *kwnames[] = { | |
15375 | (char *) "self", NULL | |
15376 | }; | |
15377 | ||
15378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15379 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15380 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15381 | { |
15382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15383 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
15384 | ||
15385 | wxPyEndAllowThreads(__tstate); | |
15386 | if (PyErr_Occurred()) SWIG_fail; | |
15387 | } | |
4d5c3d91 | 15388 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15389 | return resultobj; |
15390 | fail: | |
15391 | return NULL; | |
15392 | } | |
15393 | ||
15394 | ||
15395 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15396 | PyObject *resultobj; | |
15397 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15398 | wxSize result; | |
15399 | PyObject * obj0 = 0 ; | |
15400 | char *kwnames[] = { | |
15401 | (char *) "self", NULL | |
15402 | }; | |
15403 | ||
15404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15405 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15406 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15407 | { |
15408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15409 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
15410 | ||
15411 | wxPyEndAllowThreads(__tstate); | |
15412 | if (PyErr_Occurred()) SWIG_fail; | |
15413 | } | |
15414 | { | |
15415 | wxSize * resultptr; | |
15416 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 15417 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15418 | } |
15419 | return resultobj; | |
15420 | fail: | |
15421 | return NULL; | |
15422 | } | |
15423 | ||
15424 | ||
15425 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15426 | PyObject *resultobj; | |
15427 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15428 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15429 | PyObject * obj0 = 0 ; | |
15430 | PyObject * obj1 = 0 ; | |
15431 | char *kwnames[] = { | |
15432 | (char *) "self",(char *) "child", NULL | |
15433 | }; | |
15434 | ||
15435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
15436 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15437 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15438 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
15439 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15440 | { |
15441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15442 | (arg1)->base_AddChild(arg2); | |
15443 | ||
15444 | wxPyEndAllowThreads(__tstate); | |
15445 | if (PyErr_Occurred()) SWIG_fail; | |
15446 | } | |
15447 | Py_INCREF(Py_None); resultobj = Py_None; | |
15448 | return resultobj; | |
15449 | fail: | |
15450 | return NULL; | |
15451 | } | |
15452 | ||
15453 | ||
15454 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15455 | PyObject *resultobj; | |
15456 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15457 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15458 | PyObject * obj0 = 0 ; | |
15459 | PyObject * obj1 = 0 ; | |
15460 | char *kwnames[] = { | |
15461 | (char *) "self",(char *) "child", NULL | |
15462 | }; | |
15463 | ||
15464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
15465 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15466 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15467 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
15468 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15469 | { |
15470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15471 | (arg1)->base_RemoveChild(arg2); | |
15472 | ||
15473 | wxPyEndAllowThreads(__tstate); | |
15474 | if (PyErr_Occurred()) SWIG_fail; | |
15475 | } | |
15476 | Py_INCREF(Py_None); resultobj = Py_None; | |
15477 | return resultobj; | |
15478 | fail: | |
15479 | return NULL; | |
15480 | } | |
15481 | ||
15482 | ||
15483 | static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) { | |
15484 | PyObject *obj; | |
15485 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15486 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
15487 | Py_INCREF(obj); | |
15488 | return Py_BuildValue((char *)""); | |
15489 | } | |
15490 | static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15491 | PyObject *resultobj; | |
15492 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 15493 | int arg2 ; |
d14a1e28 RD |
15494 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15495 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15496 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15497 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15498 | long arg5 = (long) 0 ; | |
15499 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15500 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15501 | wxPyPanel *result; | |
15502 | wxPoint temp3 ; | |
15503 | wxSize temp4 ; | |
e811c8ce | 15504 | bool temp6 = False ; |
d14a1e28 | 15505 | PyObject * obj0 = 0 ; |
994141e6 | 15506 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15507 | PyObject * obj2 = 0 ; |
15508 | PyObject * obj3 = 0 ; | |
994141e6 | 15509 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15510 | PyObject * obj5 = 0 ; |
15511 | char *kwnames[] = { | |
15512 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15513 | }; | |
15514 | ||
994141e6 | 15515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15516 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15517 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15518 | arg2 = (int const) SWIG_AsInt(obj1); | |
15519 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15520 | if (obj2) { |
15521 | { | |
15522 | arg3 = &temp3; | |
15523 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15524 | } | |
15525 | } | |
15526 | if (obj3) { | |
15527 | { | |
15528 | arg4 = &temp4; | |
15529 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15530 | } | |
15531 | } | |
994141e6 | 15532 | if (obj4) { |
15afbcd0 RD |
15533 | arg5 = (long) SWIG_AsLong(obj4); |
15534 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15535 | } |
d14a1e28 RD |
15536 | if (obj5) { |
15537 | { | |
15538 | arg6 = wxString_in_helper(obj5); | |
15539 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 15540 | temp6 = True; |
d14a1e28 RD |
15541 | } |
15542 | } | |
15543 | { | |
15544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15545 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
15546 | ||
15547 | wxPyEndAllowThreads(__tstate); | |
15548 | if (PyErr_Occurred()) SWIG_fail; | |
15549 | } | |
15afbcd0 | 15550 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); |
d14a1e28 RD |
15551 | { |
15552 | if (temp6) | |
15553 | delete arg6; | |
15554 | } | |
15555 | return resultobj; | |
15556 | fail: | |
15557 | { | |
15558 | if (temp6) | |
15559 | delete arg6; | |
15560 | } | |
15561 | return NULL; | |
15562 | } | |
15563 | ||
15564 | ||
15565 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15566 | PyObject *resultobj; | |
15567 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15568 | PyObject *arg2 = (PyObject *) 0 ; | |
15569 | PyObject *arg3 = (PyObject *) 0 ; | |
15570 | PyObject * obj0 = 0 ; | |
15571 | PyObject * obj1 = 0 ; | |
15572 | PyObject * obj2 = 0 ; | |
15573 | char *kwnames[] = { | |
15574 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15575 | }; | |
15576 | ||
15577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
15578 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15579 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15580 | arg2 = obj1; |
15581 | arg3 = obj2; | |
15582 | { | |
15583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15584 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15585 | ||
15586 | wxPyEndAllowThreads(__tstate); | |
15587 | if (PyErr_Occurred()) SWIG_fail; | |
15588 | } | |
15589 | Py_INCREF(Py_None); resultobj = Py_None; | |
15590 | return resultobj; | |
15591 | fail: | |
15592 | return NULL; | |
15593 | } | |
15594 | ||
15595 | ||
15596 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15597 | PyObject *resultobj; | |
15598 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15599 | int arg2 ; | |
15600 | int arg3 ; | |
15601 | int arg4 ; | |
15602 | int arg5 ; | |
15603 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15604 | PyObject * obj1 = 0 ; |
15605 | PyObject * obj2 = 0 ; | |
15606 | PyObject * obj3 = 0 ; | |
15607 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
15608 | char *kwnames[] = { |
15609 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15610 | }; | |
15611 | ||
994141e6 | 15612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
15613 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15614 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15615 | arg2 = (int) SWIG_AsInt(obj1); | |
15616 | if (PyErr_Occurred()) SWIG_fail; | |
15617 | arg3 = (int) SWIG_AsInt(obj2); | |
15618 | if (PyErr_Occurred()) SWIG_fail; | |
15619 | arg4 = (int) SWIG_AsInt(obj3); | |
15620 | if (PyErr_Occurred()) SWIG_fail; | |
15621 | arg5 = (int) SWIG_AsInt(obj4); | |
15622 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15623 | { |
15624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15625 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
15626 | ||
15627 | wxPyEndAllowThreads(__tstate); | |
15628 | if (PyErr_Occurred()) SWIG_fail; | |
15629 | } | |
15630 | Py_INCREF(Py_None); resultobj = Py_None; | |
15631 | return resultobj; | |
15632 | fail: | |
15633 | return NULL; | |
15634 | } | |
15635 | ||
15636 | ||
15637 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15638 | PyObject *resultobj; | |
15639 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15640 | int arg2 ; | |
15641 | int arg3 ; | |
15642 | int arg4 ; | |
15643 | int arg5 ; | |
15644 | int arg6 = (int) wxSIZE_AUTO ; | |
15645 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15646 | PyObject * obj1 = 0 ; |
15647 | PyObject * obj2 = 0 ; | |
15648 | PyObject * obj3 = 0 ; | |
15649 | PyObject * obj4 = 0 ; | |
15650 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
15651 | char *kwnames[] = { |
15652 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
15653 | }; | |
15654 | ||
994141e6 | 15655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15656 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15657 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15658 | arg2 = (int) SWIG_AsInt(obj1); | |
15659 | if (PyErr_Occurred()) SWIG_fail; | |
15660 | arg3 = (int) SWIG_AsInt(obj2); | |
15661 | if (PyErr_Occurred()) SWIG_fail; | |
15662 | arg4 = (int) SWIG_AsInt(obj3); | |
15663 | if (PyErr_Occurred()) SWIG_fail; | |
15664 | arg5 = (int) SWIG_AsInt(obj4); | |
15665 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15666 | if (obj5) { |
15afbcd0 RD |
15667 | arg6 = (int) SWIG_AsInt(obj5); |
15668 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15669 | } |
d14a1e28 RD |
15670 | { |
15671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15672 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
15673 | ||
15674 | wxPyEndAllowThreads(__tstate); | |
15675 | if (PyErr_Occurred()) SWIG_fail; | |
15676 | } | |
15677 | Py_INCREF(Py_None); resultobj = Py_None; | |
15678 | return resultobj; | |
15679 | fail: | |
15680 | return NULL; | |
15681 | } | |
15682 | ||
15683 | ||
15684 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15685 | PyObject *resultobj; | |
15686 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15687 | int arg2 ; | |
15688 | int arg3 ; | |
15689 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15690 | PyObject * obj1 = 0 ; |
15691 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15692 | char *kwnames[] = { |
15693 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15694 | }; | |
15695 | ||
994141e6 | 15696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
15697 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15698 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15699 | arg2 = (int) SWIG_AsInt(obj1); | |
15700 | if (PyErr_Occurred()) SWIG_fail; | |
15701 | arg3 = (int) SWIG_AsInt(obj2); | |
15702 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15703 | { |
15704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15705 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15706 | ||
15707 | wxPyEndAllowThreads(__tstate); | |
15708 | if (PyErr_Occurred()) SWIG_fail; | |
15709 | } | |
15710 | Py_INCREF(Py_None); resultobj = Py_None; | |
15711 | return resultobj; | |
15712 | fail: | |
15713 | return NULL; | |
15714 | } | |
15715 | ||
15716 | ||
15717 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15718 | PyObject *resultobj; | |
15719 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15720 | int arg2 ; | |
15721 | int arg3 ; | |
15722 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15723 | PyObject * obj1 = 0 ; |
15724 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15725 | char *kwnames[] = { |
15726 | (char *) "self",(char *) "x",(char *) "y", NULL | |
15727 | }; | |
15728 | ||
994141e6 | 15729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
15730 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15731 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15732 | arg2 = (int) SWIG_AsInt(obj1); | |
15733 | if (PyErr_Occurred()) SWIG_fail; | |
15734 | arg3 = (int) SWIG_AsInt(obj2); | |
15735 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15736 | { |
15737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15738 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
15739 | ||
15740 | wxPyEndAllowThreads(__tstate); | |
15741 | if (PyErr_Occurred()) SWIG_fail; | |
15742 | } | |
15743 | Py_INCREF(Py_None); resultobj = Py_None; | |
15744 | return resultobj; | |
15745 | fail: | |
15746 | return NULL; | |
15747 | } | |
15748 | ||
15749 | ||
15750 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15751 | PyObject *resultobj; | |
15752 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15753 | int *arg2 = (int *) 0 ; | |
15754 | int *arg3 = (int *) 0 ; | |
15755 | int temp2 ; | |
15756 | int temp3 ; | |
15757 | PyObject * obj0 = 0 ; | |
15758 | char *kwnames[] = { | |
15759 | (char *) "self", NULL | |
15760 | }; | |
15761 | ||
15762 | arg2 = &temp2; | |
15763 | arg3 = &temp3; | |
15764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15765 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15766 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15767 | { |
15768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15769 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
15770 | ||
15771 | wxPyEndAllowThreads(__tstate); | |
15772 | if (PyErr_Occurred()) SWIG_fail; | |
15773 | } | |
15774 | Py_INCREF(Py_None); resultobj = Py_None; | |
15775 | { | |
15776 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15777 | resultobj = t_output_helper(resultobj,o); | |
15778 | } | |
15779 | { | |
15780 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15781 | resultobj = t_output_helper(resultobj,o); | |
15782 | } | |
15783 | return resultobj; | |
15784 | fail: | |
15785 | return NULL; | |
15786 | } | |
15787 | ||
15788 | ||
15789 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15790 | PyObject *resultobj; | |
15791 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15792 | int *arg2 = (int *) 0 ; | |
15793 | int *arg3 = (int *) 0 ; | |
15794 | int temp2 ; | |
15795 | int temp3 ; | |
15796 | PyObject * obj0 = 0 ; | |
15797 | char *kwnames[] = { | |
15798 | (char *) "self", NULL | |
15799 | }; | |
15800 | ||
15801 | arg2 = &temp2; | |
15802 | arg3 = &temp3; | |
15803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15806 | { |
15807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15808 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
15809 | ||
15810 | wxPyEndAllowThreads(__tstate); | |
15811 | if (PyErr_Occurred()) SWIG_fail; | |
15812 | } | |
15813 | Py_INCREF(Py_None); resultobj = Py_None; | |
15814 | { | |
15815 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15816 | resultobj = t_output_helper(resultobj,o); | |
15817 | } | |
15818 | { | |
15819 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15820 | resultobj = t_output_helper(resultobj,o); | |
15821 | } | |
15822 | return resultobj; | |
15823 | fail: | |
15824 | return NULL; | |
15825 | } | |
15826 | ||
15827 | ||
15828 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15829 | PyObject *resultobj; | |
15830 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15831 | int *arg2 = (int *) 0 ; | |
15832 | int *arg3 = (int *) 0 ; | |
15833 | int temp2 ; | |
15834 | int temp3 ; | |
15835 | PyObject * obj0 = 0 ; | |
15836 | char *kwnames[] = { | |
15837 | (char *) "self", NULL | |
15838 | }; | |
15839 | ||
15840 | arg2 = &temp2; | |
15841 | arg3 = &temp3; | |
15842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15843 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15844 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15845 | { |
15846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15847 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
15848 | ||
15849 | wxPyEndAllowThreads(__tstate); | |
15850 | if (PyErr_Occurred()) SWIG_fail; | |
15851 | } | |
15852 | Py_INCREF(Py_None); resultobj = Py_None; | |
15853 | { | |
15854 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15855 | resultobj = t_output_helper(resultobj,o); | |
15856 | } | |
15857 | { | |
15858 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15859 | resultobj = t_output_helper(resultobj,o); | |
15860 | } | |
15861 | return resultobj; | |
15862 | fail: | |
15863 | return NULL; | |
15864 | } | |
15865 | ||
15866 | ||
15867 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15868 | PyObject *resultobj; | |
15869 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15870 | wxSize result; | |
15871 | PyObject * obj0 = 0 ; | |
15872 | char *kwnames[] = { | |
15873 | (char *) "self", NULL | |
15874 | }; | |
15875 | ||
15876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15877 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15878 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15879 | { |
15880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15881 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
15882 | ||
15883 | wxPyEndAllowThreads(__tstate); | |
15884 | if (PyErr_Occurred()) SWIG_fail; | |
15885 | } | |
15886 | { | |
15887 | wxSize * resultptr; | |
15888 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 15889 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15890 | } |
15891 | return resultobj; | |
15892 | fail: | |
15893 | return NULL; | |
15894 | } | |
15895 | ||
15896 | ||
15897 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15898 | PyObject *resultobj; | |
15899 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15900 | wxSize result; | |
15901 | PyObject * obj0 = 0 ; | |
15902 | char *kwnames[] = { | |
15903 | (char *) "self", NULL | |
15904 | }; | |
15905 | ||
15906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15907 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15908 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15909 | { |
15910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15911 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
15912 | ||
15913 | wxPyEndAllowThreads(__tstate); | |
15914 | if (PyErr_Occurred()) SWIG_fail; | |
15915 | } | |
15916 | { | |
15917 | wxSize * resultptr; | |
15918 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 15919 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15920 | } |
15921 | return resultobj; | |
15922 | fail: | |
15923 | return NULL; | |
15924 | } | |
15925 | ||
15926 | ||
15927 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15928 | PyObject *resultobj; | |
15929 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15930 | PyObject * obj0 = 0 ; | |
15931 | char *kwnames[] = { | |
15932 | (char *) "self", NULL | |
15933 | }; | |
15934 | ||
15935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15936 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15937 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15938 | { |
15939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15940 | (arg1)->base_InitDialog(); | |
15941 | ||
15942 | wxPyEndAllowThreads(__tstate); | |
15943 | if (PyErr_Occurred()) SWIG_fail; | |
15944 | } | |
15945 | Py_INCREF(Py_None); resultobj = Py_None; | |
15946 | return resultobj; | |
15947 | fail: | |
15948 | return NULL; | |
15949 | } | |
15950 | ||
15951 | ||
15952 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15953 | PyObject *resultobj; | |
15954 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15955 | bool result; | |
15956 | PyObject * obj0 = 0 ; | |
15957 | char *kwnames[] = { | |
15958 | (char *) "self", NULL | |
15959 | }; | |
15960 | ||
15961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15962 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15963 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15964 | { |
15965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15966 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
15967 | ||
15968 | wxPyEndAllowThreads(__tstate); | |
15969 | if (PyErr_Occurred()) SWIG_fail; | |
15970 | } | |
4d5c3d91 | 15971 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15972 | return resultobj; |
15973 | fail: | |
15974 | return NULL; | |
15975 | } | |
15976 | ||
15977 | ||
15978 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15979 | PyObject *resultobj; | |
15980 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15981 | bool result; | |
15982 | PyObject * obj0 = 0 ; | |
15983 | char *kwnames[] = { | |
15984 | (char *) "self", NULL | |
15985 | }; | |
15986 | ||
15987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15988 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15989 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15990 | { |
15991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15992 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
15993 | ||
15994 | wxPyEndAllowThreads(__tstate); | |
15995 | if (PyErr_Occurred()) SWIG_fail; | |
15996 | } | |
4d5c3d91 | 15997 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15998 | return resultobj; |
15999 | fail: | |
16000 | return NULL; | |
16001 | } | |
16002 | ||
16003 | ||
16004 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16005 | PyObject *resultobj; | |
16006 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16007 | bool result; | |
16008 | PyObject * obj0 = 0 ; | |
16009 | char *kwnames[] = { | |
16010 | (char *) "self", NULL | |
16011 | }; | |
16012 | ||
16013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16014 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16015 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16016 | { |
16017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16018 | result = (bool)(arg1)->base_Validate(); | |
16019 | ||
16020 | wxPyEndAllowThreads(__tstate); | |
16021 | if (PyErr_Occurred()) SWIG_fail; | |
16022 | } | |
4d5c3d91 | 16023 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16024 | return resultobj; |
16025 | fail: | |
16026 | return NULL; | |
16027 | } | |
16028 | ||
16029 | ||
16030 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16031 | PyObject *resultobj; | |
16032 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16033 | bool result; | |
16034 | PyObject * obj0 = 0 ; | |
16035 | char *kwnames[] = { | |
16036 | (char *) "self", NULL | |
16037 | }; | |
16038 | ||
16039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16040 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16041 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16042 | { |
16043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16044 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
16045 | ||
16046 | wxPyEndAllowThreads(__tstate); | |
16047 | if (PyErr_Occurred()) SWIG_fail; | |
16048 | } | |
4d5c3d91 | 16049 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16050 | return resultobj; |
16051 | fail: | |
16052 | return NULL; | |
16053 | } | |
16054 | ||
16055 | ||
16056 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16057 | PyObject *resultobj; | |
16058 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16059 | bool result; | |
16060 | PyObject * obj0 = 0 ; | |
16061 | char *kwnames[] = { | |
16062 | (char *) "self", NULL | |
16063 | }; | |
16064 | ||
16065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16066 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16067 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16068 | { |
16069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16070 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
16071 | ||
16072 | wxPyEndAllowThreads(__tstate); | |
16073 | if (PyErr_Occurred()) SWIG_fail; | |
16074 | } | |
4d5c3d91 | 16075 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16076 | return resultobj; |
16077 | fail: | |
16078 | return NULL; | |
16079 | } | |
16080 | ||
16081 | ||
16082 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16083 | PyObject *resultobj; | |
16084 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16085 | wxSize result; | |
16086 | PyObject * obj0 = 0 ; | |
16087 | char *kwnames[] = { | |
16088 | (char *) "self", NULL | |
16089 | }; | |
16090 | ||
16091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16092 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16093 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16094 | { |
16095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16096 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
16097 | ||
16098 | wxPyEndAllowThreads(__tstate); | |
16099 | if (PyErr_Occurred()) SWIG_fail; | |
16100 | } | |
16101 | { | |
16102 | wxSize * resultptr; | |
16103 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16104 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16105 | } |
16106 | return resultobj; | |
16107 | fail: | |
16108 | return NULL; | |
16109 | } | |
16110 | ||
16111 | ||
16112 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16113 | PyObject *resultobj; | |
16114 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16115 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16116 | PyObject * obj0 = 0 ; | |
16117 | PyObject * obj1 = 0 ; | |
16118 | char *kwnames[] = { | |
16119 | (char *) "self",(char *) "child", NULL | |
16120 | }; | |
16121 | ||
16122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16123 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16124 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16125 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16126 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16127 | { |
16128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16129 | (arg1)->base_AddChild(arg2); | |
16130 | ||
16131 | wxPyEndAllowThreads(__tstate); | |
16132 | if (PyErr_Occurred()) SWIG_fail; | |
16133 | } | |
16134 | Py_INCREF(Py_None); resultobj = Py_None; | |
16135 | return resultobj; | |
16136 | fail: | |
16137 | return NULL; | |
16138 | } | |
16139 | ||
16140 | ||
16141 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16142 | PyObject *resultobj; | |
16143 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16144 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16145 | PyObject * obj0 = 0 ; | |
16146 | PyObject * obj1 = 0 ; | |
16147 | char *kwnames[] = { | |
16148 | (char *) "self",(char *) "child", NULL | |
16149 | }; | |
16150 | ||
16151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16152 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16153 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16154 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16155 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16156 | { |
16157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16158 | (arg1)->base_RemoveChild(arg2); | |
16159 | ||
16160 | wxPyEndAllowThreads(__tstate); | |
16161 | if (PyErr_Occurred()) SWIG_fail; | |
16162 | } | |
16163 | Py_INCREF(Py_None); resultobj = Py_None; | |
16164 | return resultobj; | |
16165 | fail: | |
16166 | return NULL; | |
16167 | } | |
16168 | ||
16169 | ||
16170 | static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) { | |
16171 | PyObject *obj; | |
16172 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16173 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
16174 | Py_INCREF(obj); | |
16175 | return Py_BuildValue((char *)""); | |
16176 | } | |
b2dc1044 RD |
16177 | static int _wrap_PrintoutTitleStr_set(PyObject *_val) { |
16178 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); | |
16179 | return 1; | |
16180 | } | |
16181 | ||
16182 | ||
16183 | static PyObject *_wrap_PrintoutTitleStr_get() { | |
16184 | PyObject *pyobj; | |
16185 | ||
16186 | { | |
16187 | #if wxUSE_UNICODE | |
16188 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
16189 | #else | |
16190 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
16191 | #endif | |
16192 | } | |
16193 | return pyobj; | |
16194 | } | |
16195 | ||
16196 | ||
16197 | static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) { | |
16198 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); | |
16199 | return 1; | |
16200 | } | |
16201 | ||
16202 | ||
16203 | static PyObject *_wrap_PreviewCanvasNameStr_get() { | |
16204 | PyObject *pyobj; | |
16205 | ||
16206 | { | |
16207 | #if wxUSE_UNICODE | |
16208 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
16209 | #else | |
16210 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
16211 | #endif | |
16212 | } | |
16213 | return pyobj; | |
16214 | } | |
16215 | ||
16216 | ||
d14a1e28 RD |
16217 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { |
16218 | PyObject *resultobj; | |
16219 | wxPrintData *result; | |
16220 | char *kwnames[] = { | |
16221 | NULL | |
16222 | }; | |
16223 | ||
16224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail; | |
16225 | { | |
16226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16227 | result = (wxPrintData *)new wxPrintData(); | |
16228 | ||
16229 | wxPyEndAllowThreads(__tstate); | |
16230 | if (PyErr_Occurred()) SWIG_fail; | |
16231 | } | |
15afbcd0 | 16232 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); |
d14a1e28 RD |
16233 | return resultobj; |
16234 | fail: | |
16235 | return NULL; | |
16236 | } | |
16237 | ||
16238 | ||
16239 | static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16240 | PyObject *resultobj; | |
16241 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16242 | PyObject * obj0 = 0 ; | |
16243 | char *kwnames[] = { | |
16244 | (char *) "self", NULL | |
16245 | }; | |
16246 | ||
16247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16248 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16249 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16250 | { |
16251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16252 | delete arg1; | |
16253 | ||
16254 | wxPyEndAllowThreads(__tstate); | |
16255 | if (PyErr_Occurred()) SWIG_fail; | |
16256 | } | |
16257 | Py_INCREF(Py_None); resultobj = Py_None; | |
16258 | return resultobj; | |
16259 | fail: | |
16260 | return NULL; | |
16261 | } | |
16262 | ||
16263 | ||
16264 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16265 | PyObject *resultobj; | |
16266 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16267 | int result; | |
16268 | PyObject * obj0 = 0 ; | |
16269 | char *kwnames[] = { | |
16270 | (char *) "self", NULL | |
16271 | }; | |
16272 | ||
16273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16274 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16275 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16276 | { |
16277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16278 | result = (int)(arg1)->GetNoCopies(); | |
16279 | ||
16280 | wxPyEndAllowThreads(__tstate); | |
16281 | if (PyErr_Occurred()) SWIG_fail; | |
16282 | } | |
15afbcd0 | 16283 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16284 | return resultobj; |
16285 | fail: | |
16286 | return NULL; | |
16287 | } | |
16288 | ||
16289 | ||
16290 | static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16291 | PyObject *resultobj; | |
16292 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16293 | bool result; | |
16294 | PyObject * obj0 = 0 ; | |
16295 | char *kwnames[] = { | |
16296 | (char *) "self", NULL | |
16297 | }; | |
16298 | ||
16299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16300 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16301 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16302 | { |
16303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16304 | result = (bool)(arg1)->GetCollate(); | |
16305 | ||
16306 | wxPyEndAllowThreads(__tstate); | |
16307 | if (PyErr_Occurred()) SWIG_fail; | |
16308 | } | |
4d5c3d91 | 16309 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16310 | return resultobj; |
16311 | fail: | |
16312 | return NULL; | |
16313 | } | |
16314 | ||
16315 | ||
16316 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16317 | PyObject *resultobj; | |
16318 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16319 | int result; | |
16320 | PyObject * obj0 = 0 ; | |
16321 | char *kwnames[] = { | |
16322 | (char *) "self", NULL | |
16323 | }; | |
16324 | ||
16325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16328 | { |
16329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16330 | result = (int)(arg1)->GetOrientation(); | |
16331 | ||
16332 | wxPyEndAllowThreads(__tstate); | |
16333 | if (PyErr_Occurred()) SWIG_fail; | |
16334 | } | |
15afbcd0 | 16335 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16336 | return resultobj; |
16337 | fail: | |
16338 | return NULL; | |
16339 | } | |
16340 | ||
16341 | ||
16342 | static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16343 | PyObject *resultobj; | |
16344 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16345 | bool result; | |
16346 | PyObject * obj0 = 0 ; | |
16347 | char *kwnames[] = { | |
16348 | (char *) "self", NULL | |
16349 | }; | |
16350 | ||
16351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16352 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16353 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16354 | { |
16355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16356 | result = (bool)(arg1)->Ok(); | |
16357 | ||
16358 | wxPyEndAllowThreads(__tstate); | |
16359 | if (PyErr_Occurred()) SWIG_fail; | |
16360 | } | |
4d5c3d91 | 16361 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16362 | return resultobj; |
16363 | fail: | |
16364 | return NULL; | |
16365 | } | |
16366 | ||
16367 | ||
16368 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16369 | PyObject *resultobj; | |
16370 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16371 | wxString *result; | |
16372 | PyObject * obj0 = 0 ; | |
16373 | char *kwnames[] = { | |
16374 | (char *) "self", NULL | |
16375 | }; | |
16376 | ||
16377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16378 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16379 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16380 | { |
16381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16382 | { | |
16383 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
16384 | result = (wxString *) &_result_ref; | |
16385 | } | |
16386 | ||
16387 | wxPyEndAllowThreads(__tstate); | |
16388 | if (PyErr_Occurred()) SWIG_fail; | |
16389 | } | |
cc6dd355 RD |
16390 | { |
16391 | #if wxUSE_UNICODE | |
16392 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16393 | #else | |
16394 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16395 | #endif | |
16396 | } | |
d14a1e28 RD |
16397 | return resultobj; |
16398 | fail: | |
16399 | return NULL; | |
16400 | } | |
16401 | ||
16402 | ||
16403 | static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16404 | PyObject *resultobj; | |
16405 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16406 | bool result; | |
16407 | PyObject * obj0 = 0 ; | |
16408 | char *kwnames[] = { | |
16409 | (char *) "self", NULL | |
16410 | }; | |
16411 | ||
16412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16413 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16414 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16415 | { |
16416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16417 | result = (bool)(arg1)->GetColour(); | |
16418 | ||
16419 | wxPyEndAllowThreads(__tstate); | |
16420 | if (PyErr_Occurred()) SWIG_fail; | |
16421 | } | |
4d5c3d91 | 16422 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16423 | return resultobj; |
16424 | fail: | |
16425 | return NULL; | |
16426 | } | |
16427 | ||
16428 | ||
16429 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16430 | PyObject *resultobj; | |
16431 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16432 | int result; | |
16433 | PyObject * obj0 = 0 ; | |
16434 | char *kwnames[] = { | |
16435 | (char *) "self", NULL | |
16436 | }; | |
16437 | ||
16438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16439 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16440 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16441 | { |
16442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16443 | result = (int)(arg1)->GetDuplex(); | |
16444 | ||
16445 | wxPyEndAllowThreads(__tstate); | |
16446 | if (PyErr_Occurred()) SWIG_fail; | |
16447 | } | |
15afbcd0 | 16448 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16449 | return resultobj; |
16450 | fail: | |
16451 | return NULL; | |
16452 | } | |
16453 | ||
16454 | ||
16455 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16456 | PyObject *resultobj; | |
16457 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16458 | int result; | |
16459 | PyObject * obj0 = 0 ; | |
16460 | char *kwnames[] = { | |
16461 | (char *) "self", NULL | |
16462 | }; | |
16463 | ||
16464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16465 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16466 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16467 | { |
16468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16469 | result = (int)(arg1)->GetPaperId(); | |
16470 | ||
16471 | wxPyEndAllowThreads(__tstate); | |
16472 | if (PyErr_Occurred()) SWIG_fail; | |
16473 | } | |
15afbcd0 | 16474 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16475 | return resultobj; |
16476 | fail: | |
16477 | return NULL; | |
16478 | } | |
16479 | ||
16480 | ||
16481 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16482 | PyObject *resultobj; | |
16483 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16484 | wxSize *result; | |
16485 | PyObject * obj0 = 0 ; | |
16486 | char *kwnames[] = { | |
16487 | (char *) "self", NULL | |
16488 | }; | |
16489 | ||
16490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16491 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16492 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16493 | { |
16494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16495 | { | |
16496 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
16497 | result = (wxSize *) &_result_ref; | |
16498 | } | |
16499 | ||
16500 | wxPyEndAllowThreads(__tstate); | |
16501 | if (PyErr_Occurred()) SWIG_fail; | |
16502 | } | |
15afbcd0 | 16503 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); |
d14a1e28 RD |
16504 | return resultobj; |
16505 | fail: | |
16506 | return NULL; | |
16507 | } | |
16508 | ||
16509 | ||
16510 | static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16511 | PyObject *resultobj; | |
16512 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
b2dc1044 | 16513 | int result; |
d14a1e28 RD |
16514 | PyObject * obj0 = 0 ; |
16515 | char *kwnames[] = { | |
16516 | (char *) "self", NULL | |
16517 | }; | |
16518 | ||
16519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16520 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16521 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16522 | { |
16523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b2dc1044 | 16524 | result = (int)(arg1)->GetQuality(); |
d14a1e28 RD |
16525 | |
16526 | wxPyEndAllowThreads(__tstate); | |
16527 | if (PyErr_Occurred()) SWIG_fail; | |
16528 | } | |
15afbcd0 | 16529 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16530 | return resultobj; |
16531 | fail: | |
16532 | return NULL; | |
16533 | } | |
16534 | ||
16535 | ||
16536 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16537 | PyObject *resultobj; | |
16538 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16539 | int arg2 ; | |
16540 | PyObject * obj0 = 0 ; | |
994141e6 | 16541 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16542 | char *kwnames[] = { |
16543 | (char *) "self",(char *) "v", NULL | |
16544 | }; | |
16545 | ||
994141e6 | 16546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
16547 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16549 | arg2 = (int) SWIG_AsInt(obj1); | |
16550 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16551 | { |
16552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16553 | (arg1)->SetNoCopies(arg2); | |
16554 | ||
16555 | wxPyEndAllowThreads(__tstate); | |
16556 | if (PyErr_Occurred()) SWIG_fail; | |
16557 | } | |
16558 | Py_INCREF(Py_None); resultobj = Py_None; | |
16559 | return resultobj; | |
16560 | fail: | |
16561 | return NULL; | |
16562 | } | |
16563 | ||
16564 | ||
16565 | static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16566 | PyObject *resultobj; | |
16567 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16568 | bool arg2 ; | |
16569 | PyObject * obj0 = 0 ; | |
16570 | PyObject * obj1 = 0 ; | |
16571 | char *kwnames[] = { | |
16572 | (char *) "self",(char *) "flag", NULL | |
16573 | }; | |
16574 | ||
16575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16576 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16578 | arg2 = (bool) SWIG_AsBool(obj1); | |
16579 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16580 | { |
16581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16582 | (arg1)->SetCollate(arg2); | |
16583 | ||
16584 | wxPyEndAllowThreads(__tstate); | |
16585 | if (PyErr_Occurred()) SWIG_fail; | |
16586 | } | |
16587 | Py_INCREF(Py_None); resultobj = Py_None; | |
16588 | return resultobj; | |
16589 | fail: | |
16590 | return NULL; | |
16591 | } | |
16592 | ||
16593 | ||
16594 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16595 | PyObject *resultobj; | |
16596 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16597 | int arg2 ; | |
16598 | PyObject * obj0 = 0 ; | |
994141e6 | 16599 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16600 | char *kwnames[] = { |
16601 | (char *) "self",(char *) "orient", NULL | |
16602 | }; | |
16603 | ||
994141e6 | 16604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
16605 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16606 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16607 | arg2 = (int) SWIG_AsInt(obj1); | |
16608 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16609 | { |
16610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16611 | (arg1)->SetOrientation(arg2); | |
16612 | ||
16613 | wxPyEndAllowThreads(__tstate); | |
16614 | if (PyErr_Occurred()) SWIG_fail; | |
16615 | } | |
16616 | Py_INCREF(Py_None); resultobj = Py_None; | |
16617 | return resultobj; | |
16618 | fail: | |
16619 | return NULL; | |
16620 | } | |
16621 | ||
16622 | ||
16623 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16624 | PyObject *resultobj; | |
16625 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16626 | wxString *arg2 = 0 ; | |
e811c8ce | 16627 | bool temp2 = False ; |
d14a1e28 RD |
16628 | PyObject * obj0 = 0 ; |
16629 | PyObject * obj1 = 0 ; | |
16630 | char *kwnames[] = { | |
16631 | (char *) "self",(char *) "name", NULL | |
16632 | }; | |
16633 | ||
16634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16635 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16636 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16637 | { |
16638 | arg2 = wxString_in_helper(obj1); | |
16639 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 16640 | temp2 = True; |
d14a1e28 RD |
16641 | } |
16642 | { | |
16643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16644 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
16645 | ||
16646 | wxPyEndAllowThreads(__tstate); | |
16647 | if (PyErr_Occurred()) SWIG_fail; | |
16648 | } | |
16649 | Py_INCREF(Py_None); resultobj = Py_None; | |
16650 | { | |
16651 | if (temp2) | |
16652 | delete arg2; | |
16653 | } | |
16654 | return resultobj; | |
16655 | fail: | |
16656 | { | |
16657 | if (temp2) | |
16658 | delete arg2; | |
16659 | } | |
16660 | return NULL; | |
16661 | } | |
16662 | ||
16663 | ||
16664 | static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16665 | PyObject *resultobj; | |
16666 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16667 | bool arg2 ; | |
16668 | PyObject * obj0 = 0 ; | |
16669 | PyObject * obj1 = 0 ; | |
16670 | char *kwnames[] = { | |
16671 | (char *) "self",(char *) "colour", NULL | |
16672 | }; | |
16673 | ||
16674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16675 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16676 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16677 | arg2 = (bool) SWIG_AsBool(obj1); | |
16678 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16679 | { |
16680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16681 | (arg1)->SetColour(arg2); | |
16682 | ||
16683 | wxPyEndAllowThreads(__tstate); | |
16684 | if (PyErr_Occurred()) SWIG_fail; | |
16685 | } | |
16686 | Py_INCREF(Py_None); resultobj = Py_None; | |
16687 | return resultobj; | |
16688 | fail: | |
16689 | return NULL; | |
16690 | } | |
16691 | ||
16692 | ||
16693 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16694 | PyObject *resultobj; | |
16695 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16696 | int arg2 ; | |
16697 | PyObject * obj0 = 0 ; | |
994141e6 | 16698 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16699 | char *kwnames[] = { |
16700 | (char *) "self",(char *) "duplex", NULL | |
16701 | }; | |
16702 | ||
994141e6 | 16703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
16704 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16705 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16706 | arg2 = (wxDuplexMode) SWIG_AsInt(obj1); | |
16707 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16708 | { |
16709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16710 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
16711 | ||
16712 | wxPyEndAllowThreads(__tstate); | |
16713 | if (PyErr_Occurred()) SWIG_fail; | |
16714 | } | |
16715 | Py_INCREF(Py_None); resultobj = Py_None; | |
16716 | return resultobj; | |
16717 | fail: | |
16718 | return NULL; | |
16719 | } | |
16720 | ||
16721 | ||
16722 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16723 | PyObject *resultobj; | |
16724 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16725 | int arg2 ; | |
16726 | PyObject * obj0 = 0 ; | |
994141e6 | 16727 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16728 | char *kwnames[] = { |
16729 | (char *) "self",(char *) "sizeId", NULL | |
16730 | }; | |
16731 | ||
994141e6 | 16732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
16733 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16734 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16735 | arg2 = (wxPaperSize) SWIG_AsInt(obj1); | |
16736 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16737 | { |
16738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16739 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
16740 | ||
16741 | wxPyEndAllowThreads(__tstate); | |
16742 | if (PyErr_Occurred()) SWIG_fail; | |
16743 | } | |
16744 | Py_INCREF(Py_None); resultobj = Py_None; | |
16745 | return resultobj; | |
16746 | fail: | |
16747 | return NULL; | |
16748 | } | |
16749 | ||
16750 | ||
16751 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16752 | PyObject *resultobj; | |
16753 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16754 | wxSize *arg2 = 0 ; | |
16755 | wxSize temp2 ; | |
16756 | PyObject * obj0 = 0 ; | |
16757 | PyObject * obj1 = 0 ; | |
16758 | char *kwnames[] = { | |
16759 | (char *) "self",(char *) "sz", NULL | |
16760 | }; | |
16761 | ||
16762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16763 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16764 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16765 | { |
16766 | arg2 = &temp2; | |
16767 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
16768 | } | |
16769 | { | |
16770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16771 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
16772 | ||
16773 | wxPyEndAllowThreads(__tstate); | |
16774 | if (PyErr_Occurred()) SWIG_fail; | |
16775 | } | |
16776 | Py_INCREF(Py_None); resultobj = Py_None; | |
16777 | return resultobj; | |
16778 | fail: | |
16779 | return NULL; | |
16780 | } | |
16781 | ||
16782 | ||
16783 | static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16784 | PyObject *resultobj; | |
16785 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
b2dc1044 | 16786 | int arg2 ; |
d14a1e28 | 16787 | PyObject * obj0 = 0 ; |
994141e6 | 16788 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16789 | char *kwnames[] = { |
16790 | (char *) "self",(char *) "quality", NULL | |
16791 | }; | |
16792 | ||
994141e6 | 16793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
16794 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16795 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16796 | arg2 = (int) SWIG_AsInt(obj1); | |
16797 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16798 | { |
16799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16800 | (arg1)->SetQuality(arg2); | |
16801 | ||
16802 | wxPyEndAllowThreads(__tstate); | |
16803 | if (PyErr_Occurred()) SWIG_fail; | |
16804 | } | |
16805 | Py_INCREF(Py_None); resultobj = Py_None; | |
16806 | return resultobj; | |
16807 | fail: | |
16808 | return NULL; | |
16809 | } | |
16810 | ||
16811 | ||
16812 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16813 | PyObject *resultobj; | |
16814 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16815 | wxString *result; | |
16816 | PyObject * obj0 = 0 ; | |
16817 | char *kwnames[] = { | |
16818 | (char *) "self", NULL | |
16819 | }; | |
16820 | ||
16821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16822 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16823 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16824 | { |
16825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16826 | { | |
16827 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); | |
16828 | result = (wxString *) &_result_ref; | |
16829 | } | |
16830 | ||
16831 | wxPyEndAllowThreads(__tstate); | |
16832 | if (PyErr_Occurred()) SWIG_fail; | |
16833 | } | |
cc6dd355 RD |
16834 | { |
16835 | #if wxUSE_UNICODE | |
16836 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16837 | #else | |
16838 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16839 | #endif | |
16840 | } | |
d14a1e28 RD |
16841 | return resultobj; |
16842 | fail: | |
16843 | return NULL; | |
16844 | } | |
16845 | ||
16846 | ||
16847 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16848 | PyObject *resultobj; | |
16849 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16850 | wxString *result; | |
16851 | PyObject * obj0 = 0 ; | |
16852 | char *kwnames[] = { | |
16853 | (char *) "self", NULL | |
16854 | }; | |
16855 | ||
16856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16857 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16858 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16859 | { |
16860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16861 | { | |
16862 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); | |
16863 | result = (wxString *) &_result_ref; | |
16864 | } | |
16865 | ||
16866 | wxPyEndAllowThreads(__tstate); | |
16867 | if (PyErr_Occurred()) SWIG_fail; | |
16868 | } | |
cc6dd355 RD |
16869 | { |
16870 | #if wxUSE_UNICODE | |
16871 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16872 | #else | |
16873 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16874 | #endif | |
16875 | } | |
d14a1e28 RD |
16876 | return resultobj; |
16877 | fail: | |
16878 | return NULL; | |
16879 | } | |
16880 | ||
16881 | ||
16882 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16883 | PyObject *resultobj; | |
16884 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16885 | wxString *result; | |
16886 | PyObject * obj0 = 0 ; | |
16887 | char *kwnames[] = { | |
16888 | (char *) "self", NULL | |
16889 | }; | |
16890 | ||
16891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16892 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16893 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16894 | { |
16895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16896 | { | |
16897 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); | |
16898 | result = (wxString *) &_result_ref; | |
16899 | } | |
16900 | ||
16901 | wxPyEndAllowThreads(__tstate); | |
16902 | if (PyErr_Occurred()) SWIG_fail; | |
16903 | } | |
cc6dd355 RD |
16904 | { |
16905 | #if wxUSE_UNICODE | |
16906 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16907 | #else | |
16908 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16909 | #endif | |
16910 | } | |
d14a1e28 RD |
16911 | return resultobj; |
16912 | fail: | |
16913 | return NULL; | |
16914 | } | |
16915 | ||
16916 | ||
16917 | static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16918 | PyObject *resultobj; | |
16919 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16920 | wxString *result; | |
16921 | PyObject * obj0 = 0 ; | |
16922 | char *kwnames[] = { | |
16923 | (char *) "self", NULL | |
16924 | }; | |
16925 | ||
16926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16927 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16928 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16929 | { |
16930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16931 | { | |
16932 | wxString const &_result_ref = (arg1)->GetFilename(); | |
16933 | result = (wxString *) &_result_ref; | |
16934 | } | |
16935 | ||
16936 | wxPyEndAllowThreads(__tstate); | |
16937 | if (PyErr_Occurred()) SWIG_fail; | |
16938 | } | |
cc6dd355 RD |
16939 | { |
16940 | #if wxUSE_UNICODE | |
16941 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16942 | #else | |
16943 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16944 | #endif | |
16945 | } | |
d14a1e28 RD |
16946 | return resultobj; |
16947 | fail: | |
16948 | return NULL; | |
16949 | } | |
16950 | ||
16951 | ||
16952 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16953 | PyObject *resultobj; | |
16954 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16955 | wxString *result; | |
16956 | PyObject * obj0 = 0 ; | |
16957 | char *kwnames[] = { | |
16958 | (char *) "self", NULL | |
16959 | }; | |
16960 | ||
16961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16962 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16963 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16964 | { |
16965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16966 | { | |
16967 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
16968 | result = (wxString *) &_result_ref; | |
16969 | } | |
16970 | ||
16971 | wxPyEndAllowThreads(__tstate); | |
16972 | if (PyErr_Occurred()) SWIG_fail; | |
16973 | } | |
cc6dd355 RD |
16974 | { |
16975 | #if wxUSE_UNICODE | |
16976 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16977 | #else | |
16978 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16979 | #endif | |
16980 | } | |
d14a1e28 RD |
16981 | return resultobj; |
16982 | fail: | |
16983 | return NULL; | |
16984 | } | |
16985 | ||
16986 | ||
16987 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16988 | PyObject *resultobj; | |
16989 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16990 | double result; | |
16991 | PyObject * obj0 = 0 ; | |
16992 | char *kwnames[] = { | |
16993 | (char *) "self", NULL | |
16994 | }; | |
16995 | ||
16996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16997 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16998 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16999 | { |
17000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17001 | result = (double)(arg1)->GetPrinterScaleX(); | |
17002 | ||
17003 | wxPyEndAllowThreads(__tstate); | |
17004 | if (PyErr_Occurred()) SWIG_fail; | |
17005 | } | |
15afbcd0 | 17006 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
17007 | return resultobj; |
17008 | fail: | |
17009 | return NULL; | |
17010 | } | |
17011 | ||
17012 | ||
17013 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17014 | PyObject *resultobj; | |
17015 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17016 | double result; | |
17017 | PyObject * obj0 = 0 ; | |
17018 | char *kwnames[] = { | |
17019 | (char *) "self", NULL | |
17020 | }; | |
17021 | ||
17022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17023 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17024 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17025 | { |
17026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17027 | result = (double)(arg1)->GetPrinterScaleY(); | |
17028 | ||
17029 | wxPyEndAllowThreads(__tstate); | |
17030 | if (PyErr_Occurred()) SWIG_fail; | |
17031 | } | |
15afbcd0 | 17032 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
17033 | return resultobj; |
17034 | fail: | |
17035 | return NULL; | |
17036 | } | |
17037 | ||
17038 | ||
17039 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17040 | PyObject *resultobj; | |
17041 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17042 | long result; | |
17043 | PyObject * obj0 = 0 ; | |
17044 | char *kwnames[] = { | |
17045 | (char *) "self", NULL | |
17046 | }; | |
17047 | ||
17048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17049 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17050 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17051 | { |
17052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17053 | result = (long)(arg1)->GetPrinterTranslateX(); | |
17054 | ||
17055 | wxPyEndAllowThreads(__tstate); | |
17056 | if (PyErr_Occurred()) SWIG_fail; | |
17057 | } | |
15afbcd0 | 17058 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
17059 | return resultobj; |
17060 | fail: | |
17061 | return NULL; | |
17062 | } | |
17063 | ||
17064 | ||
17065 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17066 | PyObject *resultobj; | |
17067 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17068 | long result; | |
17069 | PyObject * obj0 = 0 ; | |
17070 | char *kwnames[] = { | |
17071 | (char *) "self", NULL | |
17072 | }; | |
17073 | ||
17074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17075 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17077 | { |
17078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17079 | result = (long)(arg1)->GetPrinterTranslateY(); | |
17080 | ||
17081 | wxPyEndAllowThreads(__tstate); | |
17082 | if (PyErr_Occurred()) SWIG_fail; | |
17083 | } | |
15afbcd0 | 17084 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
17085 | return resultobj; |
17086 | fail: | |
17087 | return NULL; | |
17088 | } | |
17089 | ||
17090 | ||
17091 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17092 | PyObject *resultobj; | |
17093 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17094 | int result; | |
17095 | PyObject * obj0 = 0 ; | |
17096 | char *kwnames[] = { | |
17097 | (char *) "self", NULL | |
17098 | }; | |
17099 | ||
17100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17101 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17102 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17103 | { |
17104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17105 | result = (int)(arg1)->GetPrintMode(); | |
17106 | ||
17107 | wxPyEndAllowThreads(__tstate); | |
17108 | if (PyErr_Occurred()) SWIG_fail; | |
17109 | } | |
15afbcd0 | 17110 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
17111 | return resultobj; |
17112 | fail: | |
17113 | return NULL; | |
17114 | } | |
17115 | ||
17116 | ||
17117 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17118 | PyObject *resultobj; | |
17119 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17120 | wxString *arg2 = 0 ; | |
e811c8ce | 17121 | bool temp2 = False ; |
d14a1e28 RD |
17122 | PyObject * obj0 = 0 ; |
17123 | PyObject * obj1 = 0 ; | |
17124 | char *kwnames[] = { | |
17125 | (char *) "self",(char *) "command", NULL | |
17126 | }; | |
17127 | ||
17128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17129 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17130 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17131 | { |
17132 | arg2 = wxString_in_helper(obj1); | |
17133 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17134 | temp2 = True; |
d14a1e28 RD |
17135 | } |
17136 | { | |
17137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17138 | (arg1)->SetPrinterCommand((wxString const &)*arg2); | |
17139 | ||
17140 | wxPyEndAllowThreads(__tstate); | |
17141 | if (PyErr_Occurred()) SWIG_fail; | |
17142 | } | |
17143 | Py_INCREF(Py_None); resultobj = Py_None; | |
17144 | { | |
17145 | if (temp2) | |
17146 | delete arg2; | |
17147 | } | |
17148 | return resultobj; | |
17149 | fail: | |
17150 | { | |
17151 | if (temp2) | |
17152 | delete arg2; | |
17153 | } | |
17154 | return NULL; | |
17155 | } | |
17156 | ||
17157 | ||
17158 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17159 | PyObject *resultobj; | |
17160 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17161 | wxString *arg2 = 0 ; | |
e811c8ce | 17162 | bool temp2 = False ; |
d14a1e28 RD |
17163 | PyObject * obj0 = 0 ; |
17164 | PyObject * obj1 = 0 ; | |
17165 | char *kwnames[] = { | |
17166 | (char *) "self",(char *) "options", NULL | |
17167 | }; | |
17168 | ||
17169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17170 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17171 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17172 | { |
17173 | arg2 = wxString_in_helper(obj1); | |
17174 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17175 | temp2 = True; |
d14a1e28 RD |
17176 | } |
17177 | { | |
17178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17179 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
17180 | ||
17181 | wxPyEndAllowThreads(__tstate); | |
17182 | if (PyErr_Occurred()) SWIG_fail; | |
17183 | } | |
17184 | Py_INCREF(Py_None); resultobj = Py_None; | |
17185 | { | |
17186 | if (temp2) | |
17187 | delete arg2; | |
17188 | } | |
17189 | return resultobj; | |
17190 | fail: | |
17191 | { | |
17192 | if (temp2) | |
17193 | delete arg2; | |
17194 | } | |
17195 | return NULL; | |
17196 | } | |
17197 | ||
17198 | ||
17199 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17200 | PyObject *resultobj; | |
17201 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17202 | wxString *arg2 = 0 ; | |
e811c8ce | 17203 | bool temp2 = False ; |
d14a1e28 RD |
17204 | PyObject * obj0 = 0 ; |
17205 | PyObject * obj1 = 0 ; | |
17206 | char *kwnames[] = { | |
17207 | (char *) "self",(char *) "command", NULL | |
17208 | }; | |
17209 | ||
17210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17211 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17212 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17213 | { |
17214 | arg2 = wxString_in_helper(obj1); | |
17215 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17216 | temp2 = True; |
d14a1e28 RD |
17217 | } |
17218 | { | |
17219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17220 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
17221 | ||
17222 | wxPyEndAllowThreads(__tstate); | |
17223 | if (PyErr_Occurred()) SWIG_fail; | |
17224 | } | |
17225 | Py_INCREF(Py_None); resultobj = Py_None; | |
17226 | { | |
17227 | if (temp2) | |
17228 | delete arg2; | |
17229 | } | |
17230 | return resultobj; | |
17231 | fail: | |
17232 | { | |
17233 | if (temp2) | |
17234 | delete arg2; | |
17235 | } | |
17236 | return NULL; | |
17237 | } | |
17238 | ||
17239 | ||
17240 | static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17241 | PyObject *resultobj; | |
17242 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17243 | wxString *arg2 = 0 ; | |
e811c8ce | 17244 | bool temp2 = False ; |
d14a1e28 RD |
17245 | PyObject * obj0 = 0 ; |
17246 | PyObject * obj1 = 0 ; | |
17247 | char *kwnames[] = { | |
17248 | (char *) "self",(char *) "filename", NULL | |
17249 | }; | |
17250 | ||
17251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17252 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17253 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17254 | { |
17255 | arg2 = wxString_in_helper(obj1); | |
17256 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17257 | temp2 = True; |
d14a1e28 RD |
17258 | } |
17259 | { | |
17260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17261 | (arg1)->SetFilename((wxString const &)*arg2); | |
17262 | ||
17263 | wxPyEndAllowThreads(__tstate); | |
17264 | if (PyErr_Occurred()) SWIG_fail; | |
17265 | } | |
17266 | Py_INCREF(Py_None); resultobj = Py_None; | |
17267 | { | |
17268 | if (temp2) | |
17269 | delete arg2; | |
17270 | } | |
17271 | return resultobj; | |
17272 | fail: | |
17273 | { | |
17274 | if (temp2) | |
17275 | delete arg2; | |
17276 | } | |
17277 | return NULL; | |
17278 | } | |
17279 | ||
17280 | ||
17281 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17282 | PyObject *resultobj; | |
17283 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17284 | wxString *arg2 = 0 ; | |
e811c8ce | 17285 | bool temp2 = False ; |
d14a1e28 RD |
17286 | PyObject * obj0 = 0 ; |
17287 | PyObject * obj1 = 0 ; | |
17288 | char *kwnames[] = { | |
17289 | (char *) "self",(char *) "path", NULL | |
17290 | }; | |
17291 | ||
17292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17293 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17294 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17295 | { |
17296 | arg2 = wxString_in_helper(obj1); | |
17297 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17298 | temp2 = True; |
d14a1e28 RD |
17299 | } |
17300 | { | |
17301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17302 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
17303 | ||
17304 | wxPyEndAllowThreads(__tstate); | |
17305 | if (PyErr_Occurred()) SWIG_fail; | |
17306 | } | |
17307 | Py_INCREF(Py_None); resultobj = Py_None; | |
17308 | { | |
17309 | if (temp2) | |
17310 | delete arg2; | |
17311 | } | |
17312 | return resultobj; | |
17313 | fail: | |
17314 | { | |
17315 | if (temp2) | |
17316 | delete arg2; | |
17317 | } | |
17318 | return NULL; | |
17319 | } | |
17320 | ||
17321 | ||
17322 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17323 | PyObject *resultobj; | |
17324 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17325 | double arg2 ; | |
17326 | PyObject * obj0 = 0 ; | |
994141e6 | 17327 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17328 | char *kwnames[] = { |
17329 | (char *) "self",(char *) "x", NULL | |
17330 | }; | |
17331 | ||
994141e6 | 17332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17333 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17334 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17335 | arg2 = (double) SWIG_AsDouble(obj1); | |
17336 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17337 | { |
17338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17339 | (arg1)->SetPrinterScaleX(arg2); | |
17340 | ||
17341 | wxPyEndAllowThreads(__tstate); | |
17342 | if (PyErr_Occurred()) SWIG_fail; | |
17343 | } | |
17344 | Py_INCREF(Py_None); resultobj = Py_None; | |
17345 | return resultobj; | |
17346 | fail: | |
17347 | return NULL; | |
17348 | } | |
17349 | ||
17350 | ||
17351 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17352 | PyObject *resultobj; | |
17353 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17354 | double arg2 ; | |
17355 | PyObject * obj0 = 0 ; | |
994141e6 | 17356 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17357 | char *kwnames[] = { |
17358 | (char *) "self",(char *) "y", NULL | |
17359 | }; | |
17360 | ||
994141e6 | 17361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17362 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17363 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17364 | arg2 = (double) SWIG_AsDouble(obj1); | |
17365 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17366 | { |
17367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17368 | (arg1)->SetPrinterScaleY(arg2); | |
17369 | ||
17370 | wxPyEndAllowThreads(__tstate); | |
17371 | if (PyErr_Occurred()) SWIG_fail; | |
17372 | } | |
17373 | Py_INCREF(Py_None); resultobj = Py_None; | |
17374 | return resultobj; | |
17375 | fail: | |
17376 | return NULL; | |
17377 | } | |
17378 | ||
17379 | ||
17380 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17381 | PyObject *resultobj; | |
17382 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17383 | double arg2 ; | |
17384 | double arg3 ; | |
17385 | PyObject * obj0 = 0 ; | |
994141e6 RD |
17386 | PyObject * obj1 = 0 ; |
17387 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
17388 | char *kwnames[] = { |
17389 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17390 | }; | |
17391 | ||
994141e6 | 17392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
17393 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17394 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17395 | arg2 = (double) SWIG_AsDouble(obj1); | |
17396 | if (PyErr_Occurred()) SWIG_fail; | |
17397 | arg3 = (double) SWIG_AsDouble(obj2); | |
17398 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17399 | { |
17400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17401 | (arg1)->SetPrinterScaling(arg2,arg3); | |
17402 | ||
17403 | wxPyEndAllowThreads(__tstate); | |
17404 | if (PyErr_Occurred()) SWIG_fail; | |
17405 | } | |
17406 | Py_INCREF(Py_None); resultobj = Py_None; | |
17407 | return resultobj; | |
17408 | fail: | |
17409 | return NULL; | |
17410 | } | |
17411 | ||
17412 | ||
17413 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17414 | PyObject *resultobj; | |
17415 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17416 | long arg2 ; | |
17417 | PyObject * obj0 = 0 ; | |
994141e6 | 17418 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17419 | char *kwnames[] = { |
17420 | (char *) "self",(char *) "x", NULL | |
17421 | }; | |
17422 | ||
994141e6 | 17423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17424 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17425 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17426 | arg2 = (long) SWIG_AsLong(obj1); | |
17427 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17428 | { |
17429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17430 | (arg1)->SetPrinterTranslateX(arg2); | |
17431 | ||
17432 | wxPyEndAllowThreads(__tstate); | |
17433 | if (PyErr_Occurred()) SWIG_fail; | |
17434 | } | |
17435 | Py_INCREF(Py_None); resultobj = Py_None; | |
17436 | return resultobj; | |
17437 | fail: | |
17438 | return NULL; | |
17439 | } | |
17440 | ||
17441 | ||
17442 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17443 | PyObject *resultobj; | |
17444 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17445 | long arg2 ; | |
17446 | PyObject * obj0 = 0 ; | |
994141e6 | 17447 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17448 | char *kwnames[] = { |
17449 | (char *) "self",(char *) "y", NULL | |
17450 | }; | |
17451 | ||
994141e6 | 17452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17455 | arg2 = (long) SWIG_AsLong(obj1); | |
17456 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17457 | { |
17458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17459 | (arg1)->SetPrinterTranslateY(arg2); | |
17460 | ||
17461 | wxPyEndAllowThreads(__tstate); | |
17462 | if (PyErr_Occurred()) SWIG_fail; | |
17463 | } | |
17464 | Py_INCREF(Py_None); resultobj = Py_None; | |
17465 | return resultobj; | |
17466 | fail: | |
17467 | return NULL; | |
17468 | } | |
17469 | ||
17470 | ||
17471 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17472 | PyObject *resultobj; | |
17473 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17474 | long arg2 ; | |
17475 | long arg3 ; | |
17476 | PyObject * obj0 = 0 ; | |
994141e6 RD |
17477 | PyObject * obj1 = 0 ; |
17478 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
17479 | char *kwnames[] = { |
17480 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17481 | }; | |
17482 | ||
994141e6 | 17483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
17484 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17485 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17486 | arg2 = (long) SWIG_AsLong(obj1); | |
17487 | if (PyErr_Occurred()) SWIG_fail; | |
17488 | arg3 = (long) SWIG_AsLong(obj2); | |
17489 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17490 | { |
17491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17492 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
17493 | ||
17494 | wxPyEndAllowThreads(__tstate); | |
17495 | if (PyErr_Occurred()) SWIG_fail; | |
17496 | } | |
17497 | Py_INCREF(Py_None); resultobj = Py_None; | |
17498 | return resultobj; | |
17499 | fail: | |
17500 | return NULL; | |
17501 | } | |
17502 | ||
17503 | ||
17504 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17505 | PyObject *resultobj; | |
17506 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17507 | int arg2 ; | |
17508 | PyObject * obj0 = 0 ; | |
994141e6 | 17509 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17510 | char *kwnames[] = { |
17511 | (char *) "self",(char *) "printMode", NULL | |
17512 | }; | |
17513 | ||
994141e6 | 17514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17515 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17516 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17517 | arg2 = (wxPrintMode) SWIG_AsInt(obj1); | |
17518 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17519 | { |
17520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17521 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
17522 | ||
17523 | wxPyEndAllowThreads(__tstate); | |
17524 | if (PyErr_Occurred()) SWIG_fail; | |
17525 | } | |
17526 | Py_INCREF(Py_None); resultobj = Py_None; | |
17527 | return resultobj; | |
17528 | fail: | |
17529 | return NULL; | |
17530 | } | |
17531 | ||
17532 | ||
db914595 RD |
17533 | static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { |
17534 | PyObject *resultobj; | |
17535 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17536 | wxOutputStream *result; | |
17537 | PyObject * obj0 = 0 ; | |
17538 | char *kwnames[] = { | |
17539 | (char *) "self", NULL | |
17540 | }; | |
17541 | ||
17542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17543 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17544 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
17545 | { |
17546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17547 | result = (wxOutputStream *)(arg1)->GetOutputStream(); | |
17548 | ||
17549 | wxPyEndAllowThreads(__tstate); | |
17550 | if (PyErr_Occurred()) SWIG_fail; | |
17551 | } | |
15afbcd0 | 17552 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0); |
db914595 RD |
17553 | return resultobj; |
17554 | fail: | |
17555 | return NULL; | |
17556 | } | |
17557 | ||
17558 | ||
17559 | static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17560 | PyObject *resultobj; | |
17561 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17562 | wxOutputStream *arg2 = (wxOutputStream *) 0 ; | |
17563 | PyObject * obj0 = 0 ; | |
17564 | PyObject * obj1 = 0 ; | |
17565 | char *kwnames[] = { | |
17566 | (char *) "self",(char *) "outputstream", NULL | |
17567 | }; | |
17568 | ||
17569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17570 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17571 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17572 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream, | |
17573 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
17574 | { |
17575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17576 | (arg1)->SetOutputStream(arg2); | |
17577 | ||
17578 | wxPyEndAllowThreads(__tstate); | |
17579 | if (PyErr_Occurred()) SWIG_fail; | |
17580 | } | |
17581 | Py_INCREF(Py_None); resultobj = Py_None; | |
17582 | return resultobj; | |
17583 | fail: | |
17584 | return NULL; | |
17585 | } | |
17586 | ||
17587 | ||
d14a1e28 RD |
17588 | static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) { |
17589 | PyObject *obj; | |
17590 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17591 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
17592 | Py_INCREF(obj); | |
17593 | return Py_BuildValue((char *)""); | |
17594 | } | |
17595 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17596 | PyObject *resultobj; | |
17597 | wxPageSetupDialogData *result; | |
17598 | char *kwnames[] = { | |
17599 | NULL | |
17600 | }; | |
17601 | ||
17602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail; | |
17603 | { | |
17604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17605 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
17606 | ||
17607 | wxPyEndAllowThreads(__tstate); | |
17608 | if (PyErr_Occurred()) SWIG_fail; | |
17609 | } | |
15afbcd0 | 17610 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); |
d14a1e28 RD |
17611 | return resultobj; |
17612 | fail: | |
17613 | return NULL; | |
17614 | } | |
17615 | ||
17616 | ||
17617 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17618 | PyObject *resultobj; | |
17619 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17620 | PyObject * obj0 = 0 ; | |
17621 | char *kwnames[] = { | |
17622 | (char *) "self", NULL | |
17623 | }; | |
17624 | ||
17625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17626 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17627 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17628 | { |
17629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17630 | delete arg1; | |
17631 | ||
17632 | wxPyEndAllowThreads(__tstate); | |
17633 | if (PyErr_Occurred()) SWIG_fail; | |
17634 | } | |
17635 | Py_INCREF(Py_None); resultobj = Py_None; | |
17636 | return resultobj; | |
17637 | fail: | |
17638 | return NULL; | |
17639 | } | |
17640 | ||
17641 | ||
17642 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17643 | PyObject *resultobj; | |
17644 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17645 | bool arg2 ; | |
17646 | PyObject * obj0 = 0 ; | |
17647 | PyObject * obj1 = 0 ; | |
17648 | char *kwnames[] = { | |
17649 | (char *) "self",(char *) "flag", NULL | |
17650 | }; | |
17651 | ||
17652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17653 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17654 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17655 | arg2 = (bool) SWIG_AsBool(obj1); | |
17656 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17657 | { |
17658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17659 | (arg1)->EnableHelp(arg2); | |
17660 | ||
17661 | wxPyEndAllowThreads(__tstate); | |
17662 | if (PyErr_Occurred()) SWIG_fail; | |
17663 | } | |
17664 | Py_INCREF(Py_None); resultobj = Py_None; | |
17665 | return resultobj; | |
17666 | fail: | |
17667 | return NULL; | |
17668 | } | |
17669 | ||
17670 | ||
17671 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17672 | PyObject *resultobj; | |
17673 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17674 | bool arg2 ; | |
17675 | PyObject * obj0 = 0 ; | |
17676 | PyObject * obj1 = 0 ; | |
17677 | char *kwnames[] = { | |
17678 | (char *) "self",(char *) "flag", NULL | |
17679 | }; | |
17680 | ||
17681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17682 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17683 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17684 | arg2 = (bool) SWIG_AsBool(obj1); | |
17685 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17686 | { |
17687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17688 | (arg1)->EnableMargins(arg2); | |
17689 | ||
17690 | wxPyEndAllowThreads(__tstate); | |
17691 | if (PyErr_Occurred()) SWIG_fail; | |
17692 | } | |
17693 | Py_INCREF(Py_None); resultobj = Py_None; | |
17694 | return resultobj; | |
17695 | fail: | |
17696 | return NULL; | |
17697 | } | |
17698 | ||
17699 | ||
17700 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17701 | PyObject *resultobj; | |
17702 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17703 | bool arg2 ; | |
17704 | PyObject * obj0 = 0 ; | |
17705 | PyObject * obj1 = 0 ; | |
17706 | char *kwnames[] = { | |
17707 | (char *) "self",(char *) "flag", NULL | |
17708 | }; | |
17709 | ||
17710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17711 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17712 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17713 | arg2 = (bool) SWIG_AsBool(obj1); | |
17714 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17715 | { |
17716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17717 | (arg1)->EnableOrientation(arg2); | |
17718 | ||
17719 | wxPyEndAllowThreads(__tstate); | |
17720 | if (PyErr_Occurred()) SWIG_fail; | |
17721 | } | |
17722 | Py_INCREF(Py_None); resultobj = Py_None; | |
17723 | return resultobj; | |
17724 | fail: | |
17725 | return NULL; | |
17726 | } | |
17727 | ||
17728 | ||
17729 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17730 | PyObject *resultobj; | |
17731 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17732 | bool arg2 ; | |
17733 | PyObject * obj0 = 0 ; | |
17734 | PyObject * obj1 = 0 ; | |
17735 | char *kwnames[] = { | |
17736 | (char *) "self",(char *) "flag", NULL | |
17737 | }; | |
17738 | ||
17739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17740 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17741 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17742 | arg2 = (bool) SWIG_AsBool(obj1); | |
17743 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17744 | { |
17745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17746 | (arg1)->EnablePaper(arg2); | |
17747 | ||
17748 | wxPyEndAllowThreads(__tstate); | |
17749 | if (PyErr_Occurred()) SWIG_fail; | |
17750 | } | |
17751 | Py_INCREF(Py_None); resultobj = Py_None; | |
17752 | return resultobj; | |
17753 | fail: | |
17754 | return NULL; | |
17755 | } | |
17756 | ||
17757 | ||
17758 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17759 | PyObject *resultobj; | |
17760 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17761 | bool arg2 ; | |
17762 | PyObject * obj0 = 0 ; | |
17763 | PyObject * obj1 = 0 ; | |
17764 | char *kwnames[] = { | |
17765 | (char *) "self",(char *) "flag", NULL | |
17766 | }; | |
17767 | ||
17768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17769 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17770 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17771 | arg2 = (bool) SWIG_AsBool(obj1); | |
17772 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17773 | { |
17774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17775 | (arg1)->EnablePrinter(arg2); | |
17776 | ||
17777 | wxPyEndAllowThreads(__tstate); | |
17778 | if (PyErr_Occurred()) SWIG_fail; | |
17779 | } | |
17780 | Py_INCREF(Py_None); resultobj = Py_None; | |
17781 | return resultobj; | |
17782 | fail: | |
17783 | return NULL; | |
17784 | } | |
17785 | ||
17786 | ||
17787 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17788 | PyObject *resultobj; | |
17789 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17790 | bool result; | |
17791 | PyObject * obj0 = 0 ; | |
17792 | char *kwnames[] = { | |
17793 | (char *) "self", NULL | |
17794 | }; | |
17795 | ||
17796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17797 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17798 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17799 | { |
17800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17801 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
17802 | ||
17803 | wxPyEndAllowThreads(__tstate); | |
17804 | if (PyErr_Occurred()) SWIG_fail; | |
17805 | } | |
4d5c3d91 | 17806 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17807 | return resultobj; |
17808 | fail: | |
17809 | return NULL; | |
17810 | } | |
17811 | ||
17812 | ||
17813 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17814 | PyObject *resultobj; | |
17815 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17816 | bool result; | |
17817 | PyObject * obj0 = 0 ; | |
17818 | char *kwnames[] = { | |
17819 | (char *) "self", NULL | |
17820 | }; | |
17821 | ||
17822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17823 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17825 | { |
17826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17827 | result = (bool)(arg1)->GetEnableMargins(); | |
17828 | ||
17829 | wxPyEndAllowThreads(__tstate); | |
17830 | if (PyErr_Occurred()) SWIG_fail; | |
17831 | } | |
4d5c3d91 | 17832 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17833 | return resultobj; |
17834 | fail: | |
17835 | return NULL; | |
17836 | } | |
17837 | ||
17838 | ||
17839 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17840 | PyObject *resultobj; | |
17841 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17842 | bool result; | |
17843 | PyObject * obj0 = 0 ; | |
17844 | char *kwnames[] = { | |
17845 | (char *) "self", NULL | |
17846 | }; | |
17847 | ||
17848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17849 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17850 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17851 | { |
17852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17853 | result = (bool)(arg1)->GetEnableOrientation(); | |
17854 | ||
17855 | wxPyEndAllowThreads(__tstate); | |
17856 | if (PyErr_Occurred()) SWIG_fail; | |
17857 | } | |
4d5c3d91 | 17858 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17859 | return resultobj; |
17860 | fail: | |
17861 | return NULL; | |
17862 | } | |
17863 | ||
17864 | ||
17865 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17866 | PyObject *resultobj; | |
17867 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17868 | bool result; | |
17869 | PyObject * obj0 = 0 ; | |
17870 | char *kwnames[] = { | |
17871 | (char *) "self", NULL | |
17872 | }; | |
17873 | ||
17874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17875 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17876 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17877 | { |
17878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17879 | result = (bool)(arg1)->GetEnablePaper(); | |
17880 | ||
17881 | wxPyEndAllowThreads(__tstate); | |
17882 | if (PyErr_Occurred()) SWIG_fail; | |
17883 | } | |
4d5c3d91 | 17884 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17885 | return resultobj; |
17886 | fail: | |
17887 | return NULL; | |
17888 | } | |
17889 | ||
17890 | ||
17891 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17892 | PyObject *resultobj; | |
17893 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17894 | bool result; | |
17895 | PyObject * obj0 = 0 ; | |
17896 | char *kwnames[] = { | |
17897 | (char *) "self", NULL | |
17898 | }; | |
17899 | ||
17900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17901 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17902 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17903 | { |
17904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17905 | result = (bool)(arg1)->GetEnablePrinter(); | |
17906 | ||
17907 | wxPyEndAllowThreads(__tstate); | |
17908 | if (PyErr_Occurred()) SWIG_fail; | |
17909 | } | |
4d5c3d91 | 17910 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17911 | return resultobj; |
17912 | fail: | |
17913 | return NULL; | |
17914 | } | |
17915 | ||
17916 | ||
17917 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17918 | PyObject *resultobj; | |
17919 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17920 | bool result; | |
17921 | PyObject * obj0 = 0 ; | |
17922 | char *kwnames[] = { | |
17923 | (char *) "self", NULL | |
17924 | }; | |
17925 | ||
17926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17927 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17928 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17929 | { |
17930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17931 | result = (bool)(arg1)->GetEnableHelp(); | |
17932 | ||
17933 | wxPyEndAllowThreads(__tstate); | |
17934 | if (PyErr_Occurred()) SWIG_fail; | |
17935 | } | |
4d5c3d91 | 17936 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17937 | return resultobj; |
17938 | fail: | |
17939 | return NULL; | |
17940 | } | |
17941 | ||
17942 | ||
17943 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17944 | PyObject *resultobj; | |
17945 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17946 | bool result; | |
17947 | PyObject * obj0 = 0 ; | |
17948 | char *kwnames[] = { | |
17949 | (char *) "self", NULL | |
17950 | }; | |
17951 | ||
17952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17953 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17954 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17955 | { |
17956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17957 | result = (bool)(arg1)->GetDefaultInfo(); | |
17958 | ||
17959 | wxPyEndAllowThreads(__tstate); | |
17960 | if (PyErr_Occurred()) SWIG_fail; | |
17961 | } | |
4d5c3d91 | 17962 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17963 | return resultobj; |
17964 | fail: | |
17965 | return NULL; | |
17966 | } | |
17967 | ||
17968 | ||
17969 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17970 | PyObject *resultobj; | |
17971 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17972 | wxPoint result; | |
17973 | PyObject * obj0 = 0 ; | |
17974 | char *kwnames[] = { | |
17975 | (char *) "self", NULL | |
17976 | }; | |
17977 | ||
17978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17979 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17980 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17981 | { |
17982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17983 | result = (arg1)->GetMarginTopLeft(); | |
17984 | ||
17985 | wxPyEndAllowThreads(__tstate); | |
17986 | if (PyErr_Occurred()) SWIG_fail; | |
17987 | } | |
17988 | { | |
17989 | wxPoint * resultptr; | |
17990 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 17991 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
17992 | } |
17993 | return resultobj; | |
17994 | fail: | |
17995 | return NULL; | |
17996 | } | |
17997 | ||
17998 | ||
17999 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18000 | PyObject *resultobj; | |
18001 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18002 | wxPoint result; | |
18003 | PyObject * obj0 = 0 ; | |
18004 | char *kwnames[] = { | |
18005 | (char *) "self", NULL | |
18006 | }; | |
18007 | ||
18008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18009 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18011 | { |
18012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18013 | result = (arg1)->GetMarginBottomRight(); | |
18014 | ||
18015 | wxPyEndAllowThreads(__tstate); | |
18016 | if (PyErr_Occurred()) SWIG_fail; | |
18017 | } | |
18018 | { | |
18019 | wxPoint * resultptr; | |
18020 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 18021 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
18022 | } |
18023 | return resultobj; | |
18024 | fail: | |
18025 | return NULL; | |
18026 | } | |
18027 | ||
18028 | ||
18029 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18030 | PyObject *resultobj; | |
18031 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18032 | wxPoint result; | |
18033 | PyObject * obj0 = 0 ; | |
18034 | char *kwnames[] = { | |
18035 | (char *) "self", NULL | |
18036 | }; | |
18037 | ||
18038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18039 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18040 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18041 | { |
18042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18043 | result = (arg1)->GetMinMarginTopLeft(); | |
18044 | ||
18045 | wxPyEndAllowThreads(__tstate); | |
18046 | if (PyErr_Occurred()) SWIG_fail; | |
18047 | } | |
18048 | { | |
18049 | wxPoint * resultptr; | |
18050 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 18051 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
18052 | } |
18053 | return resultobj; | |
18054 | fail: | |
18055 | return NULL; | |
18056 | } | |
18057 | ||
18058 | ||
18059 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18060 | PyObject *resultobj; | |
18061 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18062 | wxPoint result; | |
18063 | PyObject * obj0 = 0 ; | |
18064 | char *kwnames[] = { | |
18065 | (char *) "self", NULL | |
18066 | }; | |
18067 | ||
18068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18069 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18071 | { |
18072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18073 | result = (arg1)->GetMinMarginBottomRight(); | |
18074 | ||
18075 | wxPyEndAllowThreads(__tstate); | |
18076 | if (PyErr_Occurred()) SWIG_fail; | |
18077 | } | |
18078 | { | |
18079 | wxPoint * resultptr; | |
18080 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 18081 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
18082 | } |
18083 | return resultobj; | |
18084 | fail: | |
18085 | return NULL; | |
18086 | } | |
18087 | ||
18088 | ||
18089 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18090 | PyObject *resultobj; | |
18091 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18092 | int result; | |
18093 | PyObject * obj0 = 0 ; | |
18094 | char *kwnames[] = { | |
18095 | (char *) "self", NULL | |
18096 | }; | |
18097 | ||
18098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18099 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18100 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18101 | { |
18102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18103 | result = (int)(arg1)->GetPaperId(); | |
18104 | ||
18105 | wxPyEndAllowThreads(__tstate); | |
18106 | if (PyErr_Occurred()) SWIG_fail; | |
18107 | } | |
15afbcd0 | 18108 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18109 | return resultobj; |
18110 | fail: | |
18111 | return NULL; | |
18112 | } | |
18113 | ||
18114 | ||
18115 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18116 | PyObject *resultobj; | |
18117 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18118 | wxSize result; | |
18119 | PyObject * obj0 = 0 ; | |
18120 | char *kwnames[] = { | |
18121 | (char *) "self", NULL | |
18122 | }; | |
18123 | ||
18124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18125 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18126 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18127 | { |
18128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18129 | result = (arg1)->GetPaperSize(); | |
18130 | ||
18131 | wxPyEndAllowThreads(__tstate); | |
18132 | if (PyErr_Occurred()) SWIG_fail; | |
18133 | } | |
18134 | { | |
18135 | wxSize * resultptr; | |
18136 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 18137 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
18138 | } |
18139 | return resultobj; | |
18140 | fail: | |
18141 | return NULL; | |
18142 | } | |
18143 | ||
18144 | ||
18145 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18146 | PyObject *resultobj; | |
18147 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18148 | wxPrintData *result; | |
18149 | PyObject * obj0 = 0 ; | |
18150 | char *kwnames[] = { | |
18151 | (char *) "self", NULL | |
18152 | }; | |
18153 | ||
18154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18155 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18156 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18157 | { |
18158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18159 | { | |
18160 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
18161 | result = (wxPrintData *) &_result_ref; | |
18162 | } | |
18163 | ||
18164 | wxPyEndAllowThreads(__tstate); | |
18165 | if (PyErr_Occurred()) SWIG_fail; | |
18166 | } | |
15afbcd0 | 18167 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
18168 | return resultobj; |
18169 | fail: | |
18170 | return NULL; | |
18171 | } | |
18172 | ||
18173 | ||
18174 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18175 | PyObject *resultobj; | |
18176 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18177 | bool result; | |
18178 | PyObject * obj0 = 0 ; | |
18179 | char *kwnames[] = { | |
18180 | (char *) "self", NULL | |
18181 | }; | |
18182 | ||
18183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18184 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18185 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18186 | { |
18187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18188 | result = (bool)(arg1)->Ok(); | |
18189 | ||
18190 | wxPyEndAllowThreads(__tstate); | |
18191 | if (PyErr_Occurred()) SWIG_fail; | |
18192 | } | |
4d5c3d91 | 18193 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18194 | return resultobj; |
18195 | fail: | |
18196 | return NULL; | |
18197 | } | |
18198 | ||
18199 | ||
18200 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18201 | PyObject *resultobj; | |
18202 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18203 | bool arg2 ; | |
18204 | PyObject * obj0 = 0 ; | |
18205 | PyObject * obj1 = 0 ; | |
18206 | char *kwnames[] = { | |
18207 | (char *) "self",(char *) "flag", NULL | |
18208 | }; | |
18209 | ||
18210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18211 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18212 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18213 | arg2 = (bool) SWIG_AsBool(obj1); | |
18214 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18215 | { |
18216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18217 | (arg1)->SetDefaultInfo(arg2); | |
18218 | ||
18219 | wxPyEndAllowThreads(__tstate); | |
18220 | if (PyErr_Occurred()) SWIG_fail; | |
18221 | } | |
18222 | Py_INCREF(Py_None); resultobj = Py_None; | |
18223 | return resultobj; | |
18224 | fail: | |
18225 | return NULL; | |
18226 | } | |
18227 | ||
18228 | ||
18229 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18230 | PyObject *resultobj; | |
18231 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18232 | bool arg2 ; | |
18233 | PyObject * obj0 = 0 ; | |
18234 | PyObject * obj1 = 0 ; | |
18235 | char *kwnames[] = { | |
18236 | (char *) "self",(char *) "flag", NULL | |
18237 | }; | |
18238 | ||
18239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18242 | arg2 = (bool) SWIG_AsBool(obj1); | |
18243 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18244 | { |
18245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18246 | (arg1)->SetDefaultMinMargins(arg2); | |
18247 | ||
18248 | wxPyEndAllowThreads(__tstate); | |
18249 | if (PyErr_Occurred()) SWIG_fail; | |
18250 | } | |
18251 | Py_INCREF(Py_None); resultobj = Py_None; | |
18252 | return resultobj; | |
18253 | fail: | |
18254 | return NULL; | |
18255 | } | |
18256 | ||
18257 | ||
18258 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18259 | PyObject *resultobj; | |
18260 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18261 | wxPoint *arg2 = 0 ; | |
18262 | wxPoint temp2 ; | |
18263 | PyObject * obj0 = 0 ; | |
18264 | PyObject * obj1 = 0 ; | |
18265 | char *kwnames[] = { | |
18266 | (char *) "self",(char *) "pt", NULL | |
18267 | }; | |
18268 | ||
18269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18270 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18271 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18272 | { |
18273 | arg2 = &temp2; | |
18274 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18275 | } | |
18276 | { | |
18277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18278 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
18279 | ||
18280 | wxPyEndAllowThreads(__tstate); | |
18281 | if (PyErr_Occurred()) SWIG_fail; | |
18282 | } | |
18283 | Py_INCREF(Py_None); resultobj = Py_None; | |
18284 | return resultobj; | |
18285 | fail: | |
18286 | return NULL; | |
18287 | } | |
18288 | ||
18289 | ||
18290 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18291 | PyObject *resultobj; | |
18292 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18293 | wxPoint *arg2 = 0 ; | |
18294 | wxPoint temp2 ; | |
18295 | PyObject * obj0 = 0 ; | |
18296 | PyObject * obj1 = 0 ; | |
18297 | char *kwnames[] = { | |
18298 | (char *) "self",(char *) "pt", NULL | |
18299 | }; | |
18300 | ||
18301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18302 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18303 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18304 | { |
18305 | arg2 = &temp2; | |
18306 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18307 | } | |
18308 | { | |
18309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18310 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
18311 | ||
18312 | wxPyEndAllowThreads(__tstate); | |
18313 | if (PyErr_Occurred()) SWIG_fail; | |
18314 | } | |
18315 | Py_INCREF(Py_None); resultobj = Py_None; | |
18316 | return resultobj; | |
18317 | fail: | |
18318 | return NULL; | |
18319 | } | |
18320 | ||
18321 | ||
18322 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18323 | PyObject *resultobj; | |
18324 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18325 | wxPoint *arg2 = 0 ; | |
18326 | wxPoint temp2 ; | |
18327 | PyObject * obj0 = 0 ; | |
18328 | PyObject * obj1 = 0 ; | |
18329 | char *kwnames[] = { | |
18330 | (char *) "self",(char *) "pt", NULL | |
18331 | }; | |
18332 | ||
18333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18334 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18335 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18336 | { |
18337 | arg2 = &temp2; | |
18338 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18339 | } | |
18340 | { | |
18341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18342 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
18343 | ||
18344 | wxPyEndAllowThreads(__tstate); | |
18345 | if (PyErr_Occurred()) SWIG_fail; | |
18346 | } | |
18347 | Py_INCREF(Py_None); resultobj = Py_None; | |
18348 | return resultobj; | |
18349 | fail: | |
18350 | return NULL; | |
18351 | } | |
18352 | ||
18353 | ||
18354 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18355 | PyObject *resultobj; | |
18356 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18357 | wxPoint *arg2 = 0 ; | |
18358 | wxPoint temp2 ; | |
18359 | PyObject * obj0 = 0 ; | |
18360 | PyObject * obj1 = 0 ; | |
18361 | char *kwnames[] = { | |
18362 | (char *) "self",(char *) "pt", NULL | |
18363 | }; | |
18364 | ||
18365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18366 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18367 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18368 | { |
18369 | arg2 = &temp2; | |
18370 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18371 | } | |
18372 | { | |
18373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18374 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
18375 | ||
18376 | wxPyEndAllowThreads(__tstate); | |
18377 | if (PyErr_Occurred()) SWIG_fail; | |
18378 | } | |
18379 | Py_INCREF(Py_None); resultobj = Py_None; | |
18380 | return resultobj; | |
18381 | fail: | |
18382 | return NULL; | |
18383 | } | |
18384 | ||
18385 | ||
18386 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18387 | PyObject *resultobj; | |
18388 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18389 | int arg2 ; | |
18390 | PyObject * obj0 = 0 ; | |
994141e6 | 18391 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18392 | char *kwnames[] = { |
18393 | (char *) "self",(char *) "id", NULL | |
18394 | }; | |
18395 | ||
994141e6 | 18396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18397 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18398 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18399 | arg2 = (wxPaperSize) SWIG_AsInt(obj1); | |
18400 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18401 | { |
18402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18403 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
18404 | ||
18405 | wxPyEndAllowThreads(__tstate); | |
18406 | if (PyErr_Occurred()) SWIG_fail; | |
18407 | } | |
18408 | Py_INCREF(Py_None); resultobj = Py_None; | |
18409 | return resultobj; | |
18410 | fail: | |
18411 | return NULL; | |
18412 | } | |
18413 | ||
18414 | ||
18415 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18416 | PyObject *resultobj; | |
18417 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18418 | wxSize *arg2 = 0 ; | |
18419 | wxSize temp2 ; | |
18420 | PyObject * obj0 = 0 ; | |
18421 | PyObject * obj1 = 0 ; | |
18422 | char *kwnames[] = { | |
18423 | (char *) "self",(char *) "size", NULL | |
18424 | }; | |
18425 | ||
18426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18427 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18428 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18429 | { |
18430 | arg2 = &temp2; | |
18431 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
18432 | } | |
18433 | { | |
18434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18435 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
18436 | ||
18437 | wxPyEndAllowThreads(__tstate); | |
18438 | if (PyErr_Occurred()) SWIG_fail; | |
18439 | } | |
18440 | Py_INCREF(Py_None); resultobj = Py_None; | |
18441 | return resultobj; | |
18442 | fail: | |
18443 | return NULL; | |
18444 | } | |
18445 | ||
18446 | ||
18447 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18448 | PyObject *resultobj; | |
18449 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18450 | wxPrintData *arg2 = 0 ; | |
18451 | PyObject * obj0 = 0 ; | |
18452 | PyObject * obj1 = 0 ; | |
18453 | char *kwnames[] = { | |
18454 | (char *) "self",(char *) "printData", NULL | |
18455 | }; | |
18456 | ||
18457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18458 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18459 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18460 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
18461 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
18462 | SWIG_fail; | |
d14a1e28 | 18463 | if (arg2 == NULL) { |
15afbcd0 RD |
18464 | PyErr_SetString(PyExc_TypeError,"null reference"); |
18465 | SWIG_fail; | |
d14a1e28 RD |
18466 | } |
18467 | { | |
18468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18469 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
18470 | ||
18471 | wxPyEndAllowThreads(__tstate); | |
18472 | if (PyErr_Occurred()) SWIG_fail; | |
18473 | } | |
18474 | Py_INCREF(Py_None); resultobj = Py_None; | |
18475 | return resultobj; | |
18476 | fail: | |
18477 | return NULL; | |
18478 | } | |
18479 | ||
18480 | ||
18481 | static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) { | |
18482 | PyObject *obj; | |
18483 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18484 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
18485 | Py_INCREF(obj); | |
18486 | return Py_BuildValue((char *)""); | |
18487 | } | |
18488 | static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18489 | PyObject *resultobj; | |
18490 | wxWindow *arg1 = (wxWindow *) 0 ; | |
18491 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
18492 | wxPageSetupDialog *result; | |
18493 | PyObject * obj0 = 0 ; | |
18494 | PyObject * obj1 = 0 ; | |
18495 | char *kwnames[] = { | |
18496 | (char *) "parent",(char *) "data", NULL | |
18497 | }; | |
18498 | ||
18499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18500 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
18501 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 18502 | if (obj1) { |
15afbcd0 RD |
18503 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData, |
18504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18505 | } |
18506 | { | |
18507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18508 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
18509 | ||
18510 | wxPyEndAllowThreads(__tstate); | |
18511 | if (PyErr_Occurred()) SWIG_fail; | |
18512 | } | |
15afbcd0 | 18513 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); |
d14a1e28 RD |
18514 | return resultobj; |
18515 | fail: | |
18516 | return NULL; | |
18517 | } | |
18518 | ||
18519 | ||
18520 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18521 | PyObject *resultobj; | |
18522 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
18523 | wxPageSetupDialogData *result; | |
18524 | PyObject * obj0 = 0 ; | |
18525 | char *kwnames[] = { | |
18526 | (char *) "self", NULL | |
18527 | }; | |
18528 | ||
18529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18530 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
18531 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18532 | { |
18533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18534 | { | |
18535 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
18536 | result = (wxPageSetupDialogData *) &_result_ref; | |
18537 | } | |
18538 | ||
18539 | wxPyEndAllowThreads(__tstate); | |
18540 | if (PyErr_Occurred()) SWIG_fail; | |
18541 | } | |
15afbcd0 | 18542 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); |
d14a1e28 RD |
18543 | return resultobj; |
18544 | fail: | |
18545 | return NULL; | |
18546 | } | |
18547 | ||
18548 | ||
18549 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18550 | PyObject *resultobj; | |
18551 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
18552 | int result; | |
18553 | PyObject * obj0 = 0 ; | |
18554 | char *kwnames[] = { | |
18555 | (char *) "self", NULL | |
18556 | }; | |
18557 | ||
18558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18559 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
18560 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18561 | { |
18562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18563 | result = (int)(arg1)->ShowModal(); | |
18564 | ||
18565 | wxPyEndAllowThreads(__tstate); | |
18566 | if (PyErr_Occurred()) SWIG_fail; | |
18567 | } | |
15afbcd0 | 18568 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18569 | return resultobj; |
18570 | fail: | |
18571 | return NULL; | |
18572 | } | |
18573 | ||
18574 | ||
18575 | static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) { | |
18576 | PyObject *obj; | |
18577 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18578 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
18579 | Py_INCREF(obj); | |
18580 | return Py_BuildValue((char *)""); | |
18581 | } | |
4276dc52 | 18582 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
18583 | PyObject *resultobj; |
18584 | wxPrintDialogData *result; | |
d14a1e28 | 18585 | |
4276dc52 | 18586 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; |
d14a1e28 RD |
18587 | { |
18588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18589 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
18590 | ||
18591 | wxPyEndAllowThreads(__tstate); | |
18592 | if (PyErr_Occurred()) SWIG_fail; | |
18593 | } | |
15afbcd0 | 18594 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); |
d14a1e28 RD |
18595 | return resultobj; |
18596 | fail: | |
18597 | return NULL; | |
18598 | } | |
18599 | ||
18600 | ||
4276dc52 RD |
18601 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) { |
18602 | PyObject *resultobj; | |
18603 | wxPrintData *arg1 = 0 ; | |
18604 | wxPrintDialogData *result; | |
18605 | PyObject * obj0 = 0 ; | |
18606 | ||
18607 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
18608 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18609 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
18610 | SWIG_fail; | |
18611 | if (arg1 == NULL) { | |
18612 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
18613 | SWIG_fail; | |
18614 | } | |
18615 | { | |
18616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18617 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
18618 | ||
18619 | wxPyEndAllowThreads(__tstate); | |
18620 | if (PyErr_Occurred()) SWIG_fail; | |
18621 | } | |
18622 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
18623 | return resultobj; | |
18624 | fail: | |
18625 | return NULL; | |
18626 | } | |
18627 | ||
18628 | ||
18629 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { | |
18630 | int argc; | |
18631 | PyObject *argv[2]; | |
18632 | int ii; | |
18633 | ||
18634 | argc = PyObject_Length(args); | |
18635 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
18636 | argv[ii] = PyTuple_GetItem(args,ii); | |
18637 | } | |
18638 | if (argc == 0) { | |
18639 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
18640 | } | |
18641 | if (argc == 1) { | |
18642 | int _v; | |
18643 | { | |
18644 | void *ptr; | |
18645 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
18646 | _v = 0; | |
18647 | PyErr_Clear(); | |
18648 | } else { | |
18649 | _v = 1; | |
18650 | } | |
18651 | } | |
18652 | if (_v) { | |
18653 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
18654 | } | |
18655 | } | |
18656 | ||
18657 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'"); | |
18658 | return NULL; | |
18659 | } | |
18660 | ||
18661 | ||
d14a1e28 RD |
18662 | static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { |
18663 | PyObject *resultobj; | |
18664 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18665 | PyObject * obj0 = 0 ; | |
18666 | char *kwnames[] = { | |
18667 | (char *) "self", NULL | |
18668 | }; | |
18669 | ||
18670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18673 | { |
18674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18675 | delete arg1; | |
18676 | ||
18677 | wxPyEndAllowThreads(__tstate); | |
18678 | if (PyErr_Occurred()) SWIG_fail; | |
18679 | } | |
18680 | Py_INCREF(Py_None); resultobj = Py_None; | |
18681 | return resultobj; | |
18682 | fail: | |
18683 | return NULL; | |
18684 | } | |
18685 | ||
18686 | ||
18687 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18688 | PyObject *resultobj; | |
18689 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18690 | int result; | |
18691 | PyObject * obj0 = 0 ; | |
18692 | char *kwnames[] = { | |
18693 | (char *) "self", NULL | |
18694 | }; | |
18695 | ||
18696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18697 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18698 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18699 | { |
18700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18701 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
18702 | ||
18703 | wxPyEndAllowThreads(__tstate); | |
18704 | if (PyErr_Occurred()) SWIG_fail; | |
18705 | } | |
15afbcd0 | 18706 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18707 | return resultobj; |
18708 | fail: | |
18709 | return NULL; | |
18710 | } | |
18711 | ||
18712 | ||
18713 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18714 | PyObject *resultobj; | |
18715 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18716 | int result; | |
18717 | PyObject * obj0 = 0 ; | |
18718 | char *kwnames[] = { | |
18719 | (char *) "self", NULL | |
18720 | }; | |
18721 | ||
18722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18723 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18724 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18725 | { |
18726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18727 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
18728 | ||
18729 | wxPyEndAllowThreads(__tstate); | |
18730 | if (PyErr_Occurred()) SWIG_fail; | |
18731 | } | |
15afbcd0 | 18732 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18733 | return resultobj; |
18734 | fail: | |
18735 | return NULL; | |
18736 | } | |
18737 | ||
18738 | ||
18739 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18740 | PyObject *resultobj; | |
18741 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18742 | int result; | |
18743 | PyObject * obj0 = 0 ; | |
18744 | char *kwnames[] = { | |
18745 | (char *) "self", NULL | |
18746 | }; | |
18747 | ||
18748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18749 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18750 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18751 | { |
18752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18753 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
18754 | ||
18755 | wxPyEndAllowThreads(__tstate); | |
18756 | if (PyErr_Occurred()) SWIG_fail; | |
18757 | } | |
15afbcd0 | 18758 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18759 | return resultobj; |
18760 | fail: | |
18761 | return NULL; | |
18762 | } | |
18763 | ||
18764 | ||
18765 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18766 | PyObject *resultobj; | |
18767 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18768 | int result; | |
18769 | PyObject * obj0 = 0 ; | |
18770 | char *kwnames[] = { | |
18771 | (char *) "self", NULL | |
18772 | }; | |
18773 | ||
18774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18775 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18776 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18777 | { |
18778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18779 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
18780 | ||
18781 | wxPyEndAllowThreads(__tstate); | |
18782 | if (PyErr_Occurred()) SWIG_fail; | |
18783 | } | |
15afbcd0 | 18784 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18785 | return resultobj; |
18786 | fail: | |
18787 | return NULL; | |
18788 | } | |
18789 | ||
18790 | ||
18791 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18792 | PyObject *resultobj; | |
18793 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18794 | int result; | |
18795 | PyObject * obj0 = 0 ; | |
18796 | char *kwnames[] = { | |
18797 | (char *) "self", NULL | |
18798 | }; | |
18799 | ||
18800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18801 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18802 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18803 | { |
18804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18805 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
18806 | ||
18807 | wxPyEndAllowThreads(__tstate); | |
18808 | if (PyErr_Occurred()) SWIG_fail; | |
18809 | } | |
15afbcd0 | 18810 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18811 | return resultobj; |
18812 | fail: | |
18813 | return NULL; | |
18814 | } | |
18815 | ||
18816 | ||
18817 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18818 | PyObject *resultobj; | |
18819 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18820 | bool result; | |
18821 | PyObject * obj0 = 0 ; | |
18822 | char *kwnames[] = { | |
18823 | (char *) "self", NULL | |
18824 | }; | |
18825 | ||
18826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18827 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18828 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18829 | { |
18830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18831 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
18832 | ||
18833 | wxPyEndAllowThreads(__tstate); | |
18834 | if (PyErr_Occurred()) SWIG_fail; | |
18835 | } | |
4d5c3d91 | 18836 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18837 | return resultobj; |
18838 | fail: | |
18839 | return NULL; | |
18840 | } | |
18841 | ||
18842 | ||
18843 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18844 | PyObject *resultobj; | |
18845 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18846 | bool result; | |
18847 | PyObject * obj0 = 0 ; | |
18848 | char *kwnames[] = { | |
18849 | (char *) "self", NULL | |
18850 | }; | |
18851 | ||
18852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18853 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18854 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18855 | { |
18856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18857 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
18858 | ||
18859 | wxPyEndAllowThreads(__tstate); | |
18860 | if (PyErr_Occurred()) SWIG_fail; | |
18861 | } | |
4d5c3d91 | 18862 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18863 | return resultobj; |
18864 | fail: | |
18865 | return NULL; | |
18866 | } | |
18867 | ||
18868 | ||
18869 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18870 | PyObject *resultobj; | |
18871 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18872 | bool result; | |
18873 | PyObject * obj0 = 0 ; | |
18874 | char *kwnames[] = { | |
18875 | (char *) "self", NULL | |
18876 | }; | |
18877 | ||
18878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18879 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18880 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18881 | { |
18882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18883 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
18884 | ||
18885 | wxPyEndAllowThreads(__tstate); | |
18886 | if (PyErr_Occurred()) SWIG_fail; | |
18887 | } | |
4d5c3d91 | 18888 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18889 | return resultobj; |
18890 | fail: | |
18891 | return NULL; | |
18892 | } | |
18893 | ||
18894 | ||
18895 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18896 | PyObject *resultobj; | |
18897 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18898 | bool result; | |
18899 | PyObject * obj0 = 0 ; | |
18900 | char *kwnames[] = { | |
18901 | (char *) "self", NULL | |
18902 | }; | |
18903 | ||
18904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18905 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18906 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18907 | { |
18908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18909 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
18910 | ||
18911 | wxPyEndAllowThreads(__tstate); | |
18912 | if (PyErr_Occurred()) SWIG_fail; | |
18913 | } | |
4d5c3d91 | 18914 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18915 | return resultobj; |
18916 | fail: | |
18917 | return NULL; | |
18918 | } | |
18919 | ||
18920 | ||
18921 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18922 | PyObject *resultobj; | |
18923 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18924 | bool result; | |
18925 | PyObject * obj0 = 0 ; | |
18926 | char *kwnames[] = { | |
18927 | (char *) "self", NULL | |
18928 | }; | |
18929 | ||
18930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18931 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18932 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18933 | { |
18934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18935 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
18936 | ||
18937 | wxPyEndAllowThreads(__tstate); | |
18938 | if (PyErr_Occurred()) SWIG_fail; | |
18939 | } | |
4d5c3d91 | 18940 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18941 | return resultobj; |
18942 | fail: | |
18943 | return NULL; | |
18944 | } | |
18945 | ||
18946 | ||
18947 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18948 | PyObject *resultobj; | |
18949 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18950 | int arg2 ; | |
18951 | PyObject * obj0 = 0 ; | |
994141e6 | 18952 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18953 | char *kwnames[] = { |
18954 | (char *) "self",(char *) "v", NULL | |
18955 | }; | |
18956 | ||
994141e6 | 18957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18958 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18959 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18960 | arg2 = (int) SWIG_AsInt(obj1); | |
18961 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18962 | { |
18963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18964 | (arg1)->SetFromPage(arg2); | |
18965 | ||
18966 | wxPyEndAllowThreads(__tstate); | |
18967 | if (PyErr_Occurred()) SWIG_fail; | |
18968 | } | |
18969 | Py_INCREF(Py_None); resultobj = Py_None; | |
18970 | return resultobj; | |
18971 | fail: | |
18972 | return NULL; | |
18973 | } | |
18974 | ||
18975 | ||
18976 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18977 | PyObject *resultobj; | |
18978 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18979 | int arg2 ; | |
18980 | PyObject * obj0 = 0 ; | |
994141e6 | 18981 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18982 | char *kwnames[] = { |
18983 | (char *) "self",(char *) "v", NULL | |
18984 | }; | |
18985 | ||
994141e6 | 18986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18987 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18988 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18989 | arg2 = (int) SWIG_AsInt(obj1); | |
18990 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18991 | { |
18992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18993 | (arg1)->SetToPage(arg2); | |
18994 | ||
18995 | wxPyEndAllowThreads(__tstate); | |
18996 | if (PyErr_Occurred()) SWIG_fail; | |
18997 | } | |
18998 | Py_INCREF(Py_None); resultobj = Py_None; | |
18999 | return resultobj; | |
19000 | fail: | |
19001 | return NULL; | |
19002 | } | |
19003 | ||
19004 | ||
19005 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19006 | PyObject *resultobj; | |
19007 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19008 | int arg2 ; | |
19009 | PyObject * obj0 = 0 ; | |
994141e6 | 19010 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19011 | char *kwnames[] = { |
19012 | (char *) "self",(char *) "v", NULL | |
19013 | }; | |
19014 | ||
994141e6 | 19015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19016 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19017 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19018 | arg2 = (int) SWIG_AsInt(obj1); | |
19019 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19020 | { |
19021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19022 | (arg1)->SetMinPage(arg2); | |
19023 | ||
19024 | wxPyEndAllowThreads(__tstate); | |
19025 | if (PyErr_Occurred()) SWIG_fail; | |
19026 | } | |
19027 | Py_INCREF(Py_None); resultobj = Py_None; | |
19028 | return resultobj; | |
19029 | fail: | |
19030 | return NULL; | |
19031 | } | |
19032 | ||
19033 | ||
19034 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19035 | PyObject *resultobj; | |
19036 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19037 | int arg2 ; | |
19038 | PyObject * obj0 = 0 ; | |
994141e6 | 19039 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19040 | char *kwnames[] = { |
19041 | (char *) "self",(char *) "v", NULL | |
19042 | }; | |
19043 | ||
994141e6 | 19044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19045 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19046 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19047 | arg2 = (int) SWIG_AsInt(obj1); | |
19048 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19049 | { |
19050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19051 | (arg1)->SetMaxPage(arg2); | |
19052 | ||
19053 | wxPyEndAllowThreads(__tstate); | |
19054 | if (PyErr_Occurred()) SWIG_fail; | |
19055 | } | |
19056 | Py_INCREF(Py_None); resultobj = Py_None; | |
19057 | return resultobj; | |
19058 | fail: | |
19059 | return NULL; | |
19060 | } | |
19061 | ||
19062 | ||
19063 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19064 | PyObject *resultobj; | |
19065 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19066 | int arg2 ; | |
19067 | PyObject * obj0 = 0 ; | |
994141e6 | 19068 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19069 | char *kwnames[] = { |
19070 | (char *) "self",(char *) "v", NULL | |
19071 | }; | |
19072 | ||
994141e6 | 19073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19074 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19075 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19076 | arg2 = (int) SWIG_AsInt(obj1); | |
19077 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19078 | { |
19079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19080 | (arg1)->SetNoCopies(arg2); | |
19081 | ||
19082 | wxPyEndAllowThreads(__tstate); | |
19083 | if (PyErr_Occurred()) SWIG_fail; | |
19084 | } | |
19085 | Py_INCREF(Py_None); resultobj = Py_None; | |
19086 | return resultobj; | |
19087 | fail: | |
19088 | return NULL; | |
19089 | } | |
19090 | ||
19091 | ||
19092 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19093 | PyObject *resultobj; | |
19094 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19095 | bool arg2 ; | |
19096 | PyObject * obj0 = 0 ; | |
19097 | PyObject * obj1 = 0 ; | |
19098 | char *kwnames[] = { | |
19099 | (char *) "self",(char *) "flag", NULL | |
19100 | }; | |
19101 | ||
19102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19103 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19104 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19105 | arg2 = (bool) SWIG_AsBool(obj1); | |
19106 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19107 | { |
19108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19109 | (arg1)->SetAllPages(arg2); | |
19110 | ||
19111 | wxPyEndAllowThreads(__tstate); | |
19112 | if (PyErr_Occurred()) SWIG_fail; | |
19113 | } | |
19114 | Py_INCREF(Py_None); resultobj = Py_None; | |
19115 | return resultobj; | |
19116 | fail: | |
19117 | return NULL; | |
19118 | } | |
19119 | ||
19120 | ||
19121 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19122 | PyObject *resultobj; | |
19123 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19124 | bool arg2 ; | |
19125 | PyObject * obj0 = 0 ; | |
19126 | PyObject * obj1 = 0 ; | |
19127 | char *kwnames[] = { | |
19128 | (char *) "self",(char *) "flag", NULL | |
19129 | }; | |
19130 | ||
19131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19132 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19133 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19134 | arg2 = (bool) SWIG_AsBool(obj1); | |
19135 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19136 | { |
19137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19138 | (arg1)->SetSelection(arg2); | |
19139 | ||
19140 | wxPyEndAllowThreads(__tstate); | |
19141 | if (PyErr_Occurred()) SWIG_fail; | |
19142 | } | |
19143 | Py_INCREF(Py_None); resultobj = Py_None; | |
19144 | return resultobj; | |
19145 | fail: | |
19146 | return NULL; | |
19147 | } | |
19148 | ||
19149 | ||
19150 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19151 | PyObject *resultobj; | |
19152 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19153 | bool arg2 ; | |
19154 | PyObject * obj0 = 0 ; | |
19155 | PyObject * obj1 = 0 ; | |
19156 | char *kwnames[] = { | |
19157 | (char *) "self",(char *) "flag", NULL | |
19158 | }; | |
19159 | ||
19160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19161 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19162 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19163 | arg2 = (bool) SWIG_AsBool(obj1); | |
19164 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19165 | { |
19166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19167 | (arg1)->SetCollate(arg2); | |
19168 | ||
19169 | wxPyEndAllowThreads(__tstate); | |
19170 | if (PyErr_Occurred()) SWIG_fail; | |
19171 | } | |
19172 | Py_INCREF(Py_None); resultobj = Py_None; | |
19173 | return resultobj; | |
19174 | fail: | |
19175 | return NULL; | |
19176 | } | |
19177 | ||
19178 | ||
19179 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19180 | PyObject *resultobj; | |
19181 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19182 | bool arg2 ; | |
19183 | PyObject * obj0 = 0 ; | |
19184 | PyObject * obj1 = 0 ; | |
19185 | char *kwnames[] = { | |
19186 | (char *) "self",(char *) "flag", NULL | |
19187 | }; | |
19188 | ||
19189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19190 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19191 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19192 | arg2 = (bool) SWIG_AsBool(obj1); | |
19193 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19194 | { |
19195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19196 | (arg1)->SetPrintToFile(arg2); | |
19197 | ||
19198 | wxPyEndAllowThreads(__tstate); | |
19199 | if (PyErr_Occurred()) SWIG_fail; | |
19200 | } | |
19201 | Py_INCREF(Py_None); resultobj = Py_None; | |
19202 | return resultobj; | |
19203 | fail: | |
19204 | return NULL; | |
19205 | } | |
19206 | ||
19207 | ||
19208 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19209 | PyObject *resultobj; | |
19210 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19211 | bool arg2 ; | |
19212 | PyObject * obj0 = 0 ; | |
19213 | PyObject * obj1 = 0 ; | |
19214 | char *kwnames[] = { | |
19215 | (char *) "self",(char *) "flag", NULL | |
19216 | }; | |
19217 | ||
19218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19219 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19220 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19221 | arg2 = (bool) SWIG_AsBool(obj1); | |
19222 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19223 | { |
19224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19225 | (arg1)->SetSetupDialog(arg2); | |
19226 | ||
19227 | wxPyEndAllowThreads(__tstate); | |
19228 | if (PyErr_Occurred()) SWIG_fail; | |
19229 | } | |
19230 | Py_INCREF(Py_None); resultobj = Py_None; | |
19231 | return resultobj; | |
19232 | fail: | |
19233 | return NULL; | |
19234 | } | |
19235 | ||
19236 | ||
19237 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19238 | PyObject *resultobj; | |
19239 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19240 | bool arg2 ; | |
19241 | PyObject * obj0 = 0 ; | |
19242 | PyObject * obj1 = 0 ; | |
19243 | char *kwnames[] = { | |
19244 | (char *) "self",(char *) "flag", NULL | |
19245 | }; | |
19246 | ||
19247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19248 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19249 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19250 | arg2 = (bool) SWIG_AsBool(obj1); | |
19251 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19252 | { |
19253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19254 | (arg1)->EnablePrintToFile(arg2); | |
19255 | ||
19256 | wxPyEndAllowThreads(__tstate); | |
19257 | if (PyErr_Occurred()) SWIG_fail; | |
19258 | } | |
19259 | Py_INCREF(Py_None); resultobj = Py_None; | |
19260 | return resultobj; | |
19261 | fail: | |
19262 | return NULL; | |
19263 | } | |
19264 | ||
19265 | ||
19266 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19267 | PyObject *resultobj; | |
19268 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19269 | bool arg2 ; | |
19270 | PyObject * obj0 = 0 ; | |
19271 | PyObject * obj1 = 0 ; | |
19272 | char *kwnames[] = { | |
19273 | (char *) "self",(char *) "flag", NULL | |
19274 | }; | |
19275 | ||
19276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19277 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19278 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19279 | arg2 = (bool) SWIG_AsBool(obj1); | |
19280 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19281 | { |
19282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19283 | (arg1)->EnableSelection(arg2); | |
19284 | ||
19285 | wxPyEndAllowThreads(__tstate); | |
19286 | if (PyErr_Occurred()) SWIG_fail; | |
19287 | } | |
19288 | Py_INCREF(Py_None); resultobj = Py_None; | |
19289 | return resultobj; | |
19290 | fail: | |
19291 | return NULL; | |
19292 | } | |
19293 | ||
19294 | ||
19295 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19296 | PyObject *resultobj; | |
19297 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19298 | bool arg2 ; | |
19299 | PyObject * obj0 = 0 ; | |
19300 | PyObject * obj1 = 0 ; | |
19301 | char *kwnames[] = { | |
19302 | (char *) "self",(char *) "flag", NULL | |
19303 | }; | |
19304 | ||
19305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19306 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19307 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19308 | arg2 = (bool) SWIG_AsBool(obj1); | |
19309 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19310 | { |
19311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19312 | (arg1)->EnablePageNumbers(arg2); | |
19313 | ||
19314 | wxPyEndAllowThreads(__tstate); | |
19315 | if (PyErr_Occurred()) SWIG_fail; | |
19316 | } | |
19317 | Py_INCREF(Py_None); resultobj = Py_None; | |
19318 | return resultobj; | |
19319 | fail: | |
19320 | return NULL; | |
19321 | } | |
19322 | ||
19323 | ||
19324 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19325 | PyObject *resultobj; | |
19326 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19327 | bool arg2 ; | |
19328 | PyObject * obj0 = 0 ; | |
19329 | PyObject * obj1 = 0 ; | |
19330 | char *kwnames[] = { | |
19331 | (char *) "self",(char *) "flag", NULL | |
19332 | }; | |
19333 | ||
19334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19335 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19336 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19337 | arg2 = (bool) SWIG_AsBool(obj1); | |
19338 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19339 | { |
19340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19341 | (arg1)->EnableHelp(arg2); | |
19342 | ||
19343 | wxPyEndAllowThreads(__tstate); | |
19344 | if (PyErr_Occurred()) SWIG_fail; | |
19345 | } | |
19346 | Py_INCREF(Py_None); resultobj = Py_None; | |
19347 | return resultobj; | |
19348 | fail: | |
19349 | return NULL; | |
19350 | } | |
19351 | ||
19352 | ||
19353 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19354 | PyObject *resultobj; | |
19355 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19356 | bool result; | |
19357 | PyObject * obj0 = 0 ; | |
19358 | char *kwnames[] = { | |
19359 | (char *) "self", NULL | |
19360 | }; | |
19361 | ||
19362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19363 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19364 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19365 | { |
19366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19367 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
19368 | ||
19369 | wxPyEndAllowThreads(__tstate); | |
19370 | if (PyErr_Occurred()) SWIG_fail; | |
19371 | } | |
4d5c3d91 | 19372 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19373 | return resultobj; |
19374 | fail: | |
19375 | return NULL; | |
19376 | } | |
19377 | ||
19378 | ||
19379 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19380 | PyObject *resultobj; | |
19381 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19382 | bool result; | |
19383 | PyObject * obj0 = 0 ; | |
19384 | char *kwnames[] = { | |
19385 | (char *) "self", NULL | |
19386 | }; | |
19387 | ||
19388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19389 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19390 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19391 | { |
19392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19393 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
19394 | ||
19395 | wxPyEndAllowThreads(__tstate); | |
19396 | if (PyErr_Occurred()) SWIG_fail; | |
19397 | } | |
4d5c3d91 | 19398 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19399 | return resultobj; |
19400 | fail: | |
19401 | return NULL; | |
19402 | } | |
19403 | ||
19404 | ||
19405 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19406 | PyObject *resultobj; | |
19407 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19408 | bool result; | |
19409 | PyObject * obj0 = 0 ; | |
19410 | char *kwnames[] = { | |
19411 | (char *) "self", NULL | |
19412 | }; | |
19413 | ||
19414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19415 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19416 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19417 | { |
19418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19419 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
19420 | ||
19421 | wxPyEndAllowThreads(__tstate); | |
19422 | if (PyErr_Occurred()) SWIG_fail; | |
19423 | } | |
4d5c3d91 | 19424 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19425 | return resultobj; |
19426 | fail: | |
19427 | return NULL; | |
19428 | } | |
19429 | ||
19430 | ||
19431 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19432 | PyObject *resultobj; | |
19433 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19434 | bool result; | |
19435 | PyObject * obj0 = 0 ; | |
19436 | char *kwnames[] = { | |
19437 | (char *) "self", NULL | |
19438 | }; | |
19439 | ||
19440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19441 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19442 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19443 | { |
19444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19445 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
19446 | ||
19447 | wxPyEndAllowThreads(__tstate); | |
19448 | if (PyErr_Occurred()) SWIG_fail; | |
19449 | } | |
4d5c3d91 | 19450 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19451 | return resultobj; |
19452 | fail: | |
19453 | return NULL; | |
19454 | } | |
19455 | ||
19456 | ||
19457 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19458 | PyObject *resultobj; | |
19459 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19460 | bool result; | |
19461 | PyObject * obj0 = 0 ; | |
19462 | char *kwnames[] = { | |
19463 | (char *) "self", NULL | |
19464 | }; | |
19465 | ||
19466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19467 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19468 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19469 | { |
19470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19471 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
19472 | ||
19473 | wxPyEndAllowThreads(__tstate); | |
19474 | if (PyErr_Occurred()) SWIG_fail; | |
19475 | } | |
4d5c3d91 | 19476 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19477 | return resultobj; |
19478 | fail: | |
19479 | return NULL; | |
19480 | } | |
19481 | ||
19482 | ||
19483 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19484 | PyObject *resultobj; | |
19485 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19486 | wxPrintData *result; | |
19487 | PyObject * obj0 = 0 ; | |
19488 | char *kwnames[] = { | |
19489 | (char *) "self", NULL | |
19490 | }; | |
19491 | ||
19492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19493 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19494 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19495 | { |
19496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19497 | { | |
19498 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
19499 | result = (wxPrintData *) &_result_ref; | |
19500 | } | |
19501 | ||
19502 | wxPyEndAllowThreads(__tstate); | |
19503 | if (PyErr_Occurred()) SWIG_fail; | |
19504 | } | |
15afbcd0 | 19505 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
19506 | return resultobj; |
19507 | fail: | |
19508 | return NULL; | |
19509 | } | |
19510 | ||
19511 | ||
19512 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19513 | PyObject *resultobj; | |
19514 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19515 | wxPrintData *arg2 = 0 ; | |
19516 | PyObject * obj0 = 0 ; | |
19517 | PyObject * obj1 = 0 ; | |
19518 | char *kwnames[] = { | |
19519 | (char *) "self",(char *) "printData", NULL | |
19520 | }; | |
19521 | ||
19522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19523 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19524 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19525 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
19526 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
19527 | SWIG_fail; | |
d14a1e28 | 19528 | if (arg2 == NULL) { |
15afbcd0 RD |
19529 | PyErr_SetString(PyExc_TypeError,"null reference"); |
19530 | SWIG_fail; | |
d14a1e28 RD |
19531 | } |
19532 | { | |
19533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19534 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
19535 | ||
19536 | wxPyEndAllowThreads(__tstate); | |
19537 | if (PyErr_Occurred()) SWIG_fail; | |
19538 | } | |
19539 | Py_INCREF(Py_None); resultobj = Py_None; | |
19540 | return resultobj; | |
19541 | fail: | |
19542 | return NULL; | |
19543 | } | |
19544 | ||
19545 | ||
19546 | static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) { | |
19547 | PyObject *obj; | |
19548 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19549 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
19550 | Py_INCREF(obj); | |
19551 | return Py_BuildValue((char *)""); | |
19552 | } | |
19553 | static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19554 | PyObject *resultobj; | |
19555 | wxWindow *arg1 = (wxWindow *) 0 ; | |
19556 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
19557 | wxPrintDialog *result; | |
19558 | PyObject * obj0 = 0 ; | |
19559 | PyObject * obj1 = 0 ; | |
19560 | char *kwnames[] = { | |
19561 | (char *) "parent",(char *) "data", NULL | |
19562 | }; | |
19563 | ||
19564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19565 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
19566 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 19567 | if (obj1) { |
15afbcd0 RD |
19568 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData, |
19569 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19570 | } |
19571 | { | |
19572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19573 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
19574 | ||
19575 | wxPyEndAllowThreads(__tstate); | |
19576 | if (PyErr_Occurred()) SWIG_fail; | |
19577 | } | |
15afbcd0 | 19578 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); |
d14a1e28 RD |
19579 | return resultobj; |
19580 | fail: | |
19581 | return NULL; | |
19582 | } | |
19583 | ||
19584 | ||
19585 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19586 | PyObject *resultobj; | |
19587 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19588 | wxPrintDialogData *result; | |
19589 | PyObject * obj0 = 0 ; | |
19590 | char *kwnames[] = { | |
19591 | (char *) "self", NULL | |
19592 | }; | |
19593 | ||
19594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19595 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
19596 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19597 | { |
19598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19599 | { | |
19600 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
19601 | result = (wxPrintDialogData *) &_result_ref; | |
19602 | } | |
19603 | ||
19604 | wxPyEndAllowThreads(__tstate); | |
19605 | if (PyErr_Occurred()) SWIG_fail; | |
19606 | } | |
15afbcd0 | 19607 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
19608 | return resultobj; |
19609 | fail: | |
19610 | return NULL; | |
19611 | } | |
19612 | ||
19613 | ||
19614 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19615 | PyObject *resultobj; | |
19616 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19617 | wxDC *result; | |
19618 | PyObject * obj0 = 0 ; | |
19619 | char *kwnames[] = { | |
19620 | (char *) "self", NULL | |
19621 | }; | |
19622 | ||
19623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19624 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
19625 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19626 | { |
19627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19628 | result = (wxDC *)(arg1)->GetPrintDC(); | |
19629 | ||
19630 | wxPyEndAllowThreads(__tstate); | |
19631 | if (PyErr_Occurred()) SWIG_fail; | |
19632 | } | |
19633 | { | |
19634 | resultobj = wxPyMake_wxObject(result); | |
19635 | } | |
19636 | return resultobj; | |
19637 | fail: | |
19638 | return NULL; | |
19639 | } | |
19640 | ||
19641 | ||
19642 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19643 | PyObject *resultobj; | |
19644 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19645 | int result; | |
19646 | PyObject * obj0 = 0 ; | |
19647 | char *kwnames[] = { | |
19648 | (char *) "self", NULL | |
19649 | }; | |
19650 | ||
19651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19652 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
19653 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19654 | { |
19655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19656 | result = (int)(arg1)->ShowModal(); | |
19657 | ||
19658 | wxPyEndAllowThreads(__tstate); | |
19659 | if (PyErr_Occurred()) SWIG_fail; | |
19660 | } | |
15afbcd0 | 19661 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19662 | return resultobj; |
19663 | fail: | |
19664 | return NULL; | |
19665 | } | |
19666 | ||
19667 | ||
19668 | static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) { | |
19669 | PyObject *obj; | |
19670 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19671 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
19672 | Py_INCREF(obj); | |
19673 | return Py_BuildValue((char *)""); | |
19674 | } | |
19675 | static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19676 | PyObject *resultobj; | |
19677 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
19678 | wxPrinter *result; | |
19679 | PyObject * obj0 = 0 ; | |
19680 | char *kwnames[] = { | |
19681 | (char *) "data", NULL | |
19682 | }; | |
19683 | ||
19684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
19685 | if (obj0) { | |
15afbcd0 RD |
19686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19688 | } |
19689 | { | |
19690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19691 | result = (wxPrinter *)new wxPrinter(arg1); | |
19692 | ||
19693 | wxPyEndAllowThreads(__tstate); | |
19694 | if (PyErr_Occurred()) SWIG_fail; | |
19695 | } | |
15afbcd0 | 19696 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); |
d14a1e28 RD |
19697 | return resultobj; |
19698 | fail: | |
19699 | return NULL; | |
19700 | } | |
19701 | ||
19702 | ||
19703 | static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19704 | PyObject *resultobj; | |
19705 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19706 | PyObject * obj0 = 0 ; | |
19707 | char *kwnames[] = { | |
19708 | (char *) "self", NULL | |
19709 | }; | |
19710 | ||
19711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19712 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19713 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19714 | { |
19715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19716 | delete arg1; | |
19717 | ||
19718 | wxPyEndAllowThreads(__tstate); | |
19719 | if (PyErr_Occurred()) SWIG_fail; | |
19720 | } | |
19721 | Py_INCREF(Py_None); resultobj = Py_None; | |
19722 | return resultobj; | |
19723 | fail: | |
19724 | return NULL; | |
19725 | } | |
19726 | ||
19727 | ||
19728 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19729 | PyObject *resultobj; | |
19730 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19731 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19732 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
19733 | PyObject * obj0 = 0 ; | |
19734 | PyObject * obj1 = 0 ; | |
19735 | PyObject * obj2 = 0 ; | |
19736 | char *kwnames[] = { | |
19737 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
19738 | }; | |
19739 | ||
19740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
19741 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19742 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19743 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
19744 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19745 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
19746 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19747 | { |
19748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19749 | (arg1)->CreateAbortWindow(arg2,arg3); | |
19750 | ||
19751 | wxPyEndAllowThreads(__tstate); | |
19752 | if (PyErr_Occurred()) SWIG_fail; | |
19753 | } | |
19754 | Py_INCREF(Py_None); resultobj = Py_None; | |
19755 | return resultobj; | |
19756 | fail: | |
19757 | return NULL; | |
19758 | } | |
19759 | ||
19760 | ||
19761 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19762 | PyObject *resultobj; | |
19763 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19764 | wxPrintDialogData *result; | |
19765 | PyObject * obj0 = 0 ; | |
19766 | char *kwnames[] = { | |
19767 | (char *) "self", NULL | |
19768 | }; | |
19769 | ||
19770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19771 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19772 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19773 | { |
19774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19775 | { | |
19776 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
19777 | result = (wxPrintDialogData *) &_result_ref; | |
19778 | } | |
19779 | ||
19780 | wxPyEndAllowThreads(__tstate); | |
19781 | if (PyErr_Occurred()) SWIG_fail; | |
19782 | } | |
15afbcd0 | 19783 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
19784 | return resultobj; |
19785 | fail: | |
19786 | return NULL; | |
19787 | } | |
19788 | ||
19789 | ||
19790 | static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19791 | PyObject *resultobj; | |
19792 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19793 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19794 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
e811c8ce | 19795 | int arg4 = (int) True ; |
d14a1e28 RD |
19796 | bool result; |
19797 | PyObject * obj0 = 0 ; | |
19798 | PyObject * obj1 = 0 ; | |
19799 | PyObject * obj2 = 0 ; | |
994141e6 | 19800 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
19801 | char *kwnames[] = { |
19802 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL | |
19803 | }; | |
19804 | ||
994141e6 | 19805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
19806 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19807 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19808 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
19809 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19810 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
19811 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 19812 | if (obj3) { |
15afbcd0 RD |
19813 | arg4 = (int) SWIG_AsInt(obj3); |
19814 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 19815 | } |
d14a1e28 RD |
19816 | { |
19817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19818 | result = (bool)(arg1)->Print(arg2,arg3,arg4); | |
19819 | ||
19820 | wxPyEndAllowThreads(__tstate); | |
19821 | if (PyErr_Occurred()) SWIG_fail; | |
19822 | } | |
4d5c3d91 | 19823 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19824 | return resultobj; |
19825 | fail: | |
19826 | return NULL; | |
19827 | } | |
19828 | ||
19829 | ||
19830 | static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19831 | PyObject *resultobj; | |
19832 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19833 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19834 | wxDC *result; | |
19835 | PyObject * obj0 = 0 ; | |
19836 | PyObject * obj1 = 0 ; | |
19837 | char *kwnames[] = { | |
19838 | (char *) "self",(char *) "parent", NULL | |
19839 | }; | |
19840 | ||
19841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19842 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19843 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19844 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
19845 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19846 | { |
19847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19848 | result = (wxDC *)(arg1)->PrintDialog(arg2); | |
19849 | ||
19850 | wxPyEndAllowThreads(__tstate); | |
19851 | if (PyErr_Occurred()) SWIG_fail; | |
19852 | } | |
19853 | { | |
19854 | resultobj = wxPyMake_wxObject(result); | |
19855 | } | |
19856 | return resultobj; | |
19857 | fail: | |
19858 | return NULL; | |
19859 | } | |
19860 | ||
19861 | ||
19862 | static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19863 | PyObject *resultobj; | |
19864 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19865 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19866 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
19867 | wxString *arg4 = 0 ; | |
e811c8ce | 19868 | bool temp4 = False ; |
d14a1e28 RD |
19869 | PyObject * obj0 = 0 ; |
19870 | PyObject * obj1 = 0 ; | |
19871 | PyObject * obj2 = 0 ; | |
19872 | PyObject * obj3 = 0 ; | |
19873 | char *kwnames[] = { | |
19874 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL | |
19875 | }; | |
19876 | ||
19877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
15afbcd0 RD |
19878 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19879 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19880 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
19881 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19882 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
19883 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19884 | { |
19885 | arg4 = wxString_in_helper(obj3); | |
19886 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 19887 | temp4 = True; |
d14a1e28 RD |
19888 | } |
19889 | { | |
19890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19891 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); | |
19892 | ||
19893 | wxPyEndAllowThreads(__tstate); | |
19894 | if (PyErr_Occurred()) SWIG_fail; | |
19895 | } | |
19896 | Py_INCREF(Py_None); resultobj = Py_None; | |
19897 | { | |
19898 | if (temp4) | |
19899 | delete arg4; | |
19900 | } | |
19901 | return resultobj; | |
19902 | fail: | |
19903 | { | |
19904 | if (temp4) | |
19905 | delete arg4; | |
19906 | } | |
19907 | return NULL; | |
19908 | } | |
19909 | ||
19910 | ||
19911 | static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19912 | PyObject *resultobj; | |
19913 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19914 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19915 | bool result; | |
19916 | PyObject * obj0 = 0 ; | |
19917 | PyObject * obj1 = 0 ; | |
19918 | char *kwnames[] = { | |
19919 | (char *) "self",(char *) "parent", NULL | |
19920 | }; | |
19921 | ||
19922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19923 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19925 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
19926 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19927 | { |
19928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19929 | result = (bool)(arg1)->Setup(arg2); | |
19930 | ||
19931 | wxPyEndAllowThreads(__tstate); | |
19932 | if (PyErr_Occurred()) SWIG_fail; | |
19933 | } | |
4d5c3d91 | 19934 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19935 | return resultobj; |
19936 | fail: | |
19937 | return NULL; | |
19938 | } | |
19939 | ||
19940 | ||
19941 | static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19942 | PyObject *resultobj; | |
19943 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19944 | bool result; | |
19945 | PyObject * obj0 = 0 ; | |
19946 | char *kwnames[] = { | |
19947 | (char *) "self", NULL | |
19948 | }; | |
19949 | ||
19950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19951 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19952 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19953 | { |
19954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19955 | result = (bool)(arg1)->GetAbort(); | |
19956 | ||
19957 | wxPyEndAllowThreads(__tstate); | |
19958 | if (PyErr_Occurred()) SWIG_fail; | |
19959 | } | |
4d5c3d91 | 19960 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19961 | return resultobj; |
19962 | fail: | |
19963 | return NULL; | |
19964 | } | |
19965 | ||
19966 | ||
19967 | static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19968 | PyObject *resultobj; | |
19969 | int result; | |
19970 | char *kwnames[] = { | |
19971 | NULL | |
19972 | }; | |
19973 | ||
19974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
19975 | { | |
19976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19977 | result = (int)wxPrinter::GetLastError(); | |
19978 | ||
19979 | wxPyEndAllowThreads(__tstate); | |
19980 | if (PyErr_Occurred()) SWIG_fail; | |
19981 | } | |
15afbcd0 | 19982 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19983 | return resultobj; |
19984 | fail: | |
19985 | return NULL; | |
19986 | } | |
19987 | ||
19988 | ||
19989 | static PyObject * Printer_swigregister(PyObject *self, PyObject *args) { | |
19990 | PyObject *obj; | |
19991 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19992 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
19993 | Py_INCREF(obj); | |
19994 | return Py_BuildValue((char *)""); | |
19995 | } | |
19996 | static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19997 | PyObject *resultobj; | |
19998 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
19999 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
20000 | wxPyPrintout *result; | |
e811c8ce | 20001 | bool temp1 = False ; |
d14a1e28 RD |
20002 | PyObject * obj0 = 0 ; |
20003 | char *kwnames[] = { | |
20004 | (char *) "title", NULL | |
20005 | }; | |
20006 | ||
20007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
20008 | if (obj0) { | |
20009 | { | |
20010 | arg1 = wxString_in_helper(obj0); | |
20011 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 20012 | temp1 = True; |
d14a1e28 RD |
20013 | } |
20014 | } | |
20015 | { | |
20016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20017 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
20018 | ||
20019 | wxPyEndAllowThreads(__tstate); | |
20020 | if (PyErr_Occurred()) SWIG_fail; | |
20021 | } | |
20022 | { | |
20023 | resultobj = wxPyMake_wxObject(result); | |
20024 | } | |
20025 | { | |
20026 | if (temp1) | |
20027 | delete arg1; | |
20028 | } | |
20029 | return resultobj; | |
20030 | fail: | |
20031 | { | |
20032 | if (temp1) | |
20033 | delete arg1; | |
20034 | } | |
20035 | return NULL; | |
20036 | } | |
20037 | ||
20038 | ||
20039 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20040 | PyObject *resultobj; | |
20041 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20042 | PyObject *arg2 = (PyObject *) 0 ; | |
20043 | PyObject *arg3 = (PyObject *) 0 ; | |
20044 | PyObject * obj0 = 0 ; | |
20045 | PyObject * obj1 = 0 ; | |
20046 | PyObject * obj2 = 0 ; | |
20047 | char *kwnames[] = { | |
20048 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
20049 | }; | |
20050 | ||
20051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
20052 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20053 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20054 | arg2 = obj1; |
20055 | arg3 = obj2; | |
20056 | { | |
20057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20058 | (arg1)->_setCallbackInfo(arg2,arg3); | |
20059 | ||
20060 | wxPyEndAllowThreads(__tstate); | |
20061 | if (PyErr_Occurred()) SWIG_fail; | |
20062 | } | |
20063 | Py_INCREF(Py_None); resultobj = Py_None; | |
20064 | return resultobj; | |
20065 | fail: | |
20066 | return NULL; | |
20067 | } | |
20068 | ||
20069 | ||
20070 | static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20071 | PyObject *resultobj; | |
20072 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20073 | wxString result; | |
20074 | PyObject * obj0 = 0 ; | |
20075 | char *kwnames[] = { | |
20076 | (char *) "self", NULL | |
20077 | }; | |
20078 | ||
20079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20080 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20081 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20082 | { |
20083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20084 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
20085 | ||
20086 | wxPyEndAllowThreads(__tstate); | |
20087 | if (PyErr_Occurred()) SWIG_fail; | |
20088 | } | |
20089 | { | |
20090 | #if wxUSE_UNICODE | |
20091 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
20092 | #else | |
20093 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
20094 | #endif | |
20095 | } | |
20096 | return resultobj; | |
20097 | fail: | |
20098 | return NULL; | |
20099 | } | |
20100 | ||
20101 | ||
20102 | static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20103 | PyObject *resultobj; | |
20104 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20105 | wxDC *result; | |
20106 | PyObject * obj0 = 0 ; | |
20107 | char *kwnames[] = { | |
20108 | (char *) "self", NULL | |
20109 | }; | |
20110 | ||
20111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20112 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20113 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20114 | { |
20115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20116 | result = (wxDC *)(arg1)->GetDC(); | |
20117 | ||
20118 | wxPyEndAllowThreads(__tstate); | |
20119 | if (PyErr_Occurred()) SWIG_fail; | |
20120 | } | |
20121 | { | |
20122 | resultobj = wxPyMake_wxObject(result); | |
20123 | } | |
20124 | return resultobj; | |
20125 | fail: | |
20126 | return NULL; | |
20127 | } | |
20128 | ||
20129 | ||
20130 | static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20131 | PyObject *resultobj; | |
20132 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20133 | wxDC *arg2 = (wxDC *) 0 ; | |
20134 | PyObject * obj0 = 0 ; | |
20135 | PyObject * obj1 = 0 ; | |
20136 | char *kwnames[] = { | |
20137 | (char *) "self",(char *) "dc", NULL | |
20138 | }; | |
20139 | ||
20140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20141 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20142 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20143 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
20144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20145 | { |
20146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20147 | (arg1)->SetDC(arg2); | |
20148 | ||
20149 | wxPyEndAllowThreads(__tstate); | |
20150 | if (PyErr_Occurred()) SWIG_fail; | |
20151 | } | |
20152 | Py_INCREF(Py_None); resultobj = Py_None; | |
20153 | return resultobj; | |
20154 | fail: | |
20155 | return NULL; | |
20156 | } | |
20157 | ||
20158 | ||
322913ce | 20159 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20160 | PyObject *resultobj; |
20161 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
322913ce RD |
20162 | int arg2 ; |
20163 | int arg3 ; | |
d14a1e28 | 20164 | PyObject * obj0 = 0 ; |
994141e6 RD |
20165 | PyObject * obj1 = 0 ; |
20166 | PyObject * obj2 = 0 ; | |
d14a1e28 | 20167 | char *kwnames[] = { |
322913ce | 20168 | (char *) "self",(char *) "w",(char *) "h", NULL |
d14a1e28 RD |
20169 | }; |
20170 | ||
994141e6 | 20171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
20172 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20173 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20174 | arg2 = (int) SWIG_AsInt(obj1); | |
20175 | if (PyErr_Occurred()) SWIG_fail; | |
20176 | arg3 = (int) SWIG_AsInt(obj2); | |
20177 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20178 | { |
20179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 20180 | (arg1)->SetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
20181 | |
20182 | wxPyEndAllowThreads(__tstate); | |
20183 | if (PyErr_Occurred()) SWIG_fail; | |
20184 | } | |
20185 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
20186 | return resultobj; |
20187 | fail: | |
20188 | return NULL; | |
20189 | } | |
20190 | ||
20191 | ||
322913ce | 20192 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20193 | PyObject *resultobj; |
20194 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
322913ce RD |
20195 | int *arg2 = (int *) 0 ; |
20196 | int *arg3 = (int *) 0 ; | |
20197 | int temp2 ; | |
20198 | int temp3 ; | |
d14a1e28 RD |
20199 | PyObject * obj0 = 0 ; |
20200 | char *kwnames[] = { | |
322913ce | 20201 | (char *) "self", NULL |
d14a1e28 RD |
20202 | }; |
20203 | ||
322913ce RD |
20204 | arg2 = &temp2; |
20205 | arg3 = &temp3; | |
20206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20207 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20208 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20209 | { |
20210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 20211 | (arg1)->GetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
20212 | |
20213 | wxPyEndAllowThreads(__tstate); | |
20214 | if (PyErr_Occurred()) SWIG_fail; | |
20215 | } | |
20216 | Py_INCREF(Py_None); resultobj = Py_None; | |
322913ce RD |
20217 | { |
20218 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20219 | resultobj = t_output_helper(resultobj,o); | |
20220 | } | |
20221 | { | |
20222 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20223 | resultobj = t_output_helper(resultobj,o); | |
20224 | } | |
d14a1e28 RD |
20225 | return resultobj; |
20226 | fail: | |
20227 | return NULL; | |
20228 | } | |
20229 | ||
20230 | ||
20231 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20232 | PyObject *resultobj; | |
20233 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20234 | int arg2 ; | |
20235 | int arg3 ; | |
20236 | PyObject * obj0 = 0 ; | |
994141e6 RD |
20237 | PyObject * obj1 = 0 ; |
20238 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20239 | char *kwnames[] = { |
20240 | (char *) "self",(char *) "w",(char *) "h", NULL | |
20241 | }; | |
20242 | ||
994141e6 | 20243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
20244 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20245 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20246 | arg2 = (int) SWIG_AsInt(obj1); | |
20247 | if (PyErr_Occurred()) SWIG_fail; | |
20248 | arg3 = (int) SWIG_AsInt(obj2); | |
20249 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20250 | { |
20251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20252 | (arg1)->SetPageSizeMM(arg2,arg3); | |
20253 | ||
20254 | wxPyEndAllowThreads(__tstate); | |
20255 | if (PyErr_Occurred()) SWIG_fail; | |
20256 | } | |
20257 | Py_INCREF(Py_None); resultobj = Py_None; | |
20258 | return resultobj; | |
20259 | fail: | |
20260 | return NULL; | |
20261 | } | |
20262 | ||
20263 | ||
20264 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20265 | PyObject *resultobj; | |
20266 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20267 | int *arg2 = (int *) 0 ; | |
20268 | int *arg3 = (int *) 0 ; | |
20269 | int temp2 ; | |
20270 | int temp3 ; | |
20271 | PyObject * obj0 = 0 ; | |
20272 | char *kwnames[] = { | |
20273 | (char *) "self", NULL | |
20274 | }; | |
20275 | ||
20276 | arg2 = &temp2; | |
20277 | arg3 = &temp3; | |
20278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20279 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20280 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20281 | { |
20282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20283 | (arg1)->GetPageSizeMM(arg2,arg3); | |
20284 | ||
20285 | wxPyEndAllowThreads(__tstate); | |
20286 | if (PyErr_Occurred()) SWIG_fail; | |
20287 | } | |
20288 | Py_INCREF(Py_None); resultobj = Py_None; | |
20289 | { | |
20290 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20291 | resultobj = t_output_helper(resultobj,o); | |
20292 | } | |
20293 | { | |
20294 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20295 | resultobj = t_output_helper(resultobj,o); | |
20296 | } | |
20297 | return resultobj; | |
20298 | fail: | |
20299 | return NULL; | |
20300 | } | |
20301 | ||
20302 | ||
20303 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20304 | PyObject *resultobj; | |
20305 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20306 | int arg2 ; | |
20307 | int arg3 ; | |
20308 | PyObject * obj0 = 0 ; | |
994141e6 RD |
20309 | PyObject * obj1 = 0 ; |
20310 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20311 | char *kwnames[] = { |
20312 | (char *) "self",(char *) "x",(char *) "y", NULL | |
20313 | }; | |
20314 | ||
994141e6 | 20315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
20316 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20317 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20318 | arg2 = (int) SWIG_AsInt(obj1); | |
20319 | if (PyErr_Occurred()) SWIG_fail; | |
20320 | arg3 = (int) SWIG_AsInt(obj2); | |
20321 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20322 | { |
20323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20324 | (arg1)->SetPPIScreen(arg2,arg3); | |
20325 | ||
20326 | wxPyEndAllowThreads(__tstate); | |
20327 | if (PyErr_Occurred()) SWIG_fail; | |
20328 | } | |
20329 | Py_INCREF(Py_None); resultobj = Py_None; | |
20330 | return resultobj; | |
20331 | fail: | |
20332 | return NULL; | |
20333 | } | |
20334 | ||
20335 | ||
20336 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20337 | PyObject *resultobj; | |
20338 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20339 | int *arg2 = (int *) 0 ; | |
20340 | int *arg3 = (int *) 0 ; | |
20341 | int temp2 ; | |
20342 | int temp3 ; | |
20343 | PyObject * obj0 = 0 ; | |
20344 | char *kwnames[] = { | |
20345 | (char *) "self", NULL | |
20346 | }; | |
20347 | ||
20348 | arg2 = &temp2; | |
20349 | arg3 = &temp3; | |
20350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20351 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20352 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20353 | { |
20354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20355 | (arg1)->GetPPIScreen(arg2,arg3); | |
20356 | ||
20357 | wxPyEndAllowThreads(__tstate); | |
20358 | if (PyErr_Occurred()) SWIG_fail; | |
20359 | } | |
20360 | Py_INCREF(Py_None); resultobj = Py_None; | |
20361 | { | |
20362 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20363 | resultobj = t_output_helper(resultobj,o); | |
20364 | } | |
20365 | { | |
20366 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20367 | resultobj = t_output_helper(resultobj,o); | |
20368 | } | |
20369 | return resultobj; | |
20370 | fail: | |
20371 | return NULL; | |
20372 | } | |
20373 | ||
20374 | ||
20375 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20376 | PyObject *resultobj; | |
20377 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20378 | int arg2 ; | |
20379 | int arg3 ; | |
20380 | PyObject * obj0 = 0 ; | |
994141e6 RD |
20381 | PyObject * obj1 = 0 ; |
20382 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20383 | char *kwnames[] = { |
20384 | (char *) "self",(char *) "x",(char *) "y", NULL | |
20385 | }; | |
20386 | ||
994141e6 | 20387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
20388 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20389 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20390 | arg2 = (int) SWIG_AsInt(obj1); | |
20391 | if (PyErr_Occurred()) SWIG_fail; | |
20392 | arg3 = (int) SWIG_AsInt(obj2); | |
20393 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20394 | { |
20395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20396 | (arg1)->SetPPIPrinter(arg2,arg3); | |
20397 | ||
20398 | wxPyEndAllowThreads(__tstate); | |
20399 | if (PyErr_Occurred()) SWIG_fail; | |
20400 | } | |
20401 | Py_INCREF(Py_None); resultobj = Py_None; | |
20402 | return resultobj; | |
20403 | fail: | |
20404 | return NULL; | |
20405 | } | |
20406 | ||
20407 | ||
20408 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20409 | PyObject *resultobj; | |
20410 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20411 | int *arg2 = (int *) 0 ; | |
20412 | int *arg3 = (int *) 0 ; | |
20413 | int temp2 ; | |
20414 | int temp3 ; | |
20415 | PyObject * obj0 = 0 ; | |
20416 | char *kwnames[] = { | |
20417 | (char *) "self", NULL | |
20418 | }; | |
20419 | ||
20420 | arg2 = &temp2; | |
20421 | arg3 = &temp3; | |
20422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20423 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20424 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20425 | { |
20426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20427 | (arg1)->GetPPIPrinter(arg2,arg3); | |
20428 | ||
20429 | wxPyEndAllowThreads(__tstate); | |
20430 | if (PyErr_Occurred()) SWIG_fail; | |
20431 | } | |
20432 | Py_INCREF(Py_None); resultobj = Py_None; | |
20433 | { | |
20434 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20435 | resultobj = t_output_helper(resultobj,o); | |
20436 | } | |
20437 | { | |
20438 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20439 | resultobj = t_output_helper(resultobj,o); | |
20440 | } | |
20441 | return resultobj; | |
20442 | fail: | |
20443 | return NULL; | |
20444 | } | |
20445 | ||
20446 | ||
20447 | static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20448 | PyObject *resultobj; | |
20449 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20450 | bool result; | |
20451 | PyObject * obj0 = 0 ; | |
20452 | char *kwnames[] = { | |
20453 | (char *) "self", NULL | |
20454 | }; | |
20455 | ||
20456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20457 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20458 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20459 | { |
20460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20461 | result = (bool)(arg1)->IsPreview(); | |
20462 | ||
20463 | wxPyEndAllowThreads(__tstate); | |
20464 | if (PyErr_Occurred()) SWIG_fail; | |
20465 | } | |
4d5c3d91 | 20466 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
20467 | return resultobj; |
20468 | fail: | |
20469 | return NULL; | |
20470 | } | |
20471 | ||
20472 | ||
20473 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20474 | PyObject *resultobj; | |
20475 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20476 | bool arg2 ; | |
20477 | PyObject * obj0 = 0 ; | |
20478 | PyObject * obj1 = 0 ; | |
20479 | char *kwnames[] = { | |
20480 | (char *) "self",(char *) "p", NULL | |
20481 | }; | |
20482 | ||
20483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20484 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20485 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20486 | arg2 = (bool) SWIG_AsBool(obj1); | |
20487 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20488 | { |
20489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20490 | (arg1)->SetIsPreview(arg2); | |
20491 | ||
20492 | wxPyEndAllowThreads(__tstate); | |
20493 | if (PyErr_Occurred()) SWIG_fail; | |
20494 | } | |
20495 | Py_INCREF(Py_None); resultobj = Py_None; | |
20496 | return resultobj; | |
20497 | fail: | |
20498 | return NULL; | |
20499 | } | |
20500 | ||
20501 | ||
20502 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20503 | PyObject *resultobj; | |
20504 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20505 | int arg2 ; | |
20506 | int arg3 ; | |
20507 | bool result; | |
20508 | PyObject * obj0 = 0 ; | |
994141e6 RD |
20509 | PyObject * obj1 = 0 ; |
20510 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20511 | char *kwnames[] = { |
20512 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
20513 | }; | |
20514 | ||
994141e6 | 20515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
20516 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20517 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20518 | arg2 = (int) SWIG_AsInt(obj1); | |
20519 | if (PyErr_Occurred()) SWIG_fail; | |
20520 | arg3 = (int) SWIG_AsInt(obj2); | |
20521 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20522 | { |
20523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20524 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
20525 | ||
20526 | wxPyEndAllowThreads(__tstate); | |
20527 | if (PyErr_Occurred()) SWIG_fail; | |
20528 | } | |
4d5c3d91 | 20529 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
20530 | return resultobj; |
20531 | fail: | |
20532 | return NULL; | |
20533 | } | |
20534 | ||
20535 | ||
20536 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20537 | PyObject *resultobj; | |
20538 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20539 | PyObject * obj0 = 0 ; | |
20540 | char *kwnames[] = { | |
20541 | (char *) "self", NULL | |
20542 | }; | |
20543 | ||
20544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20545 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20546 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20547 | { |
20548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20549 | (arg1)->base_OnEndDocument(); | |
20550 | ||
20551 | wxPyEndAllowThreads(__tstate); | |
20552 | if (PyErr_Occurred()) SWIG_fail; | |
20553 | } | |
20554 | Py_INCREF(Py_None); resultobj = Py_None; | |
20555 | return resultobj; | |
20556 | fail: | |
20557 | return NULL; | |
20558 | } | |
20559 | ||
20560 | ||
20561 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20562 | PyObject *resultobj; | |
20563 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20564 | PyObject * obj0 = 0 ; | |
20565 | char *kwnames[] = { | |
20566 | (char *) "self", NULL | |
20567 | }; | |
20568 | ||
20569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20570 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20571 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20572 | { |
20573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20574 | (arg1)->base_OnBeginPrinting(); | |
20575 | ||
20576 | wxPyEndAllowThreads(__tstate); | |
20577 | if (PyErr_Occurred()) SWIG_fail; | |
20578 | } | |
20579 | Py_INCREF(Py_None); resultobj = Py_None; | |
20580 | return resultobj; | |
20581 | fail: | |
20582 | return NULL; | |
20583 | } | |
20584 | ||
20585 | ||
20586 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20587 | PyObject *resultobj; | |
20588 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20589 | PyObject * obj0 = 0 ; | |
20590 | char *kwnames[] = { | |
20591 | (char *) "self", NULL | |
20592 | }; | |
20593 | ||
20594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20595 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20596 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20597 | { |
20598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20599 | (arg1)->base_OnEndPrinting(); | |
20600 | ||
20601 | wxPyEndAllowThreads(__tstate); | |
20602 | if (PyErr_Occurred()) SWIG_fail; | |
20603 | } | |
20604 | Py_INCREF(Py_None); resultobj = Py_None; | |
20605 | return resultobj; | |
20606 | fail: | |
20607 | return NULL; | |
20608 | } | |
20609 | ||
20610 | ||
20611 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20612 | PyObject *resultobj; | |
20613 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20614 | PyObject * obj0 = 0 ; | |
20615 | char *kwnames[] = { | |
20616 | (char *) "self", NULL | |
20617 | }; | |
20618 | ||
20619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20620 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20621 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20622 | { |
20623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20624 | (arg1)->base_OnPreparePrinting(); | |
20625 | ||
20626 | wxPyEndAllowThreads(__tstate); | |
20627 | if (PyErr_Occurred()) SWIG_fail; | |
20628 | } | |
20629 | Py_INCREF(Py_None); resultobj = Py_None; | |
20630 | return resultobj; | |
20631 | fail: | |
20632 | return NULL; | |
20633 | } | |
20634 | ||
20635 | ||
322913ce RD |
20636 | static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
20637 | PyObject *resultobj; | |
20638 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20639 | int arg2 ; | |
20640 | bool result; | |
20641 | PyObject * obj0 = 0 ; | |
994141e6 | 20642 | PyObject * obj1 = 0 ; |
322913ce RD |
20643 | char *kwnames[] = { |
20644 | (char *) "self",(char *) "page", NULL | |
20645 | }; | |
20646 | ||
994141e6 | 20647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20648 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20649 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20650 | arg2 = (int) SWIG_AsInt(obj1); | |
20651 | if (PyErr_Occurred()) SWIG_fail; | |
322913ce RD |
20652 | { |
20653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20654 | result = (bool)(arg1)->base_HasPage(arg2); | |
20655 | ||
20656 | wxPyEndAllowThreads(__tstate); | |
20657 | if (PyErr_Occurred()) SWIG_fail; | |
20658 | } | |
4d5c3d91 | 20659 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
322913ce RD |
20660 | return resultobj; |
20661 | fail: | |
20662 | return NULL; | |
20663 | } | |
20664 | ||
20665 | ||
d14a1e28 RD |
20666 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
20667 | PyObject *resultobj; | |
20668 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20669 | int *arg2 = (int *) 0 ; | |
20670 | int *arg3 = (int *) 0 ; | |
20671 | int *arg4 = (int *) 0 ; | |
20672 | int *arg5 = (int *) 0 ; | |
20673 | int temp2 ; | |
20674 | int temp3 ; | |
20675 | int temp4 ; | |
20676 | int temp5 ; | |
20677 | PyObject * obj0 = 0 ; | |
20678 | char *kwnames[] = { | |
20679 | (char *) "self", NULL | |
20680 | }; | |
20681 | ||
20682 | arg2 = &temp2; | |
20683 | arg3 = &temp3; | |
20684 | arg4 = &temp4; | |
20685 | arg5 = &temp5; | |
20686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20687 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20688 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20689 | { |
20690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20691 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
20692 | ||
20693 | wxPyEndAllowThreads(__tstate); | |
20694 | if (PyErr_Occurred()) SWIG_fail; | |
20695 | } | |
20696 | Py_INCREF(Py_None); resultobj = Py_None; | |
20697 | { | |
20698 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20699 | resultobj = t_output_helper(resultobj,o); | |
20700 | } | |
20701 | { | |
20702 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20703 | resultobj = t_output_helper(resultobj,o); | |
20704 | } | |
20705 | { | |
20706 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
20707 | resultobj = t_output_helper(resultobj,o); | |
20708 | } | |
20709 | { | |
20710 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
20711 | resultobj = t_output_helper(resultobj,o); | |
20712 | } | |
20713 | return resultobj; | |
20714 | fail: | |
20715 | return NULL; | |
20716 | } | |
20717 | ||
20718 | ||
d14a1e28 RD |
20719 | static PyObject * Printout_swigregister(PyObject *self, PyObject *args) { |
20720 | PyObject *obj; | |
20721 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20722 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
20723 | Py_INCREF(obj); | |
20724 | return Py_BuildValue((char *)""); | |
20725 | } | |
20726 | static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20727 | PyObject *resultobj; | |
20728 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20729 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20730 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
20731 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
20732 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
20733 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
20734 | long arg5 = (long) 0 ; | |
20735 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
20736 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
20737 | wxPreviewCanvas *result; | |
20738 | wxPoint temp3 ; | |
20739 | wxSize temp4 ; | |
e811c8ce | 20740 | bool temp6 = False ; |
d14a1e28 RD |
20741 | PyObject * obj0 = 0 ; |
20742 | PyObject * obj1 = 0 ; | |
20743 | PyObject * obj2 = 0 ; | |
20744 | PyObject * obj3 = 0 ; | |
994141e6 | 20745 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
20746 | PyObject * obj5 = 0 ; |
20747 | char *kwnames[] = { | |
20748 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
20749 | }; | |
20750 | ||
994141e6 | 20751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
20752 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
20753 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20754 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
20755 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20756 | if (obj2) { |
20757 | { | |
20758 | arg3 = &temp3; | |
20759 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
20760 | } | |
20761 | } | |
20762 | if (obj3) { | |
20763 | { | |
20764 | arg4 = &temp4; | |
20765 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
20766 | } | |
20767 | } | |
994141e6 | 20768 | if (obj4) { |
15afbcd0 RD |
20769 | arg5 = (long) SWIG_AsLong(obj4); |
20770 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 20771 | } |
d14a1e28 RD |
20772 | if (obj5) { |
20773 | { | |
20774 | arg6 = wxString_in_helper(obj5); | |
20775 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 20776 | temp6 = True; |
d14a1e28 RD |
20777 | } |
20778 | } | |
20779 | { | |
20780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20781 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
20782 | ||
20783 | wxPyEndAllowThreads(__tstate); | |
20784 | if (PyErr_Occurred()) SWIG_fail; | |
20785 | } | |
15afbcd0 | 20786 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); |
d14a1e28 RD |
20787 | { |
20788 | if (temp6) | |
20789 | delete arg6; | |
20790 | } | |
20791 | return resultobj; | |
20792 | fail: | |
20793 | { | |
20794 | if (temp6) | |
20795 | delete arg6; | |
20796 | } | |
20797 | return NULL; | |
20798 | } | |
20799 | ||
20800 | ||
20801 | static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) { | |
20802 | PyObject *obj; | |
20803 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20804 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
20805 | Py_INCREF(obj); | |
20806 | return Py_BuildValue((char *)""); | |
20807 | } | |
20808 | static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20809 | PyObject *resultobj; | |
20810 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20811 | wxFrame *arg2 = (wxFrame *) 0 ; | |
20812 | wxString *arg3 = 0 ; | |
20813 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
20814 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
20815 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
20816 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
20817 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
20818 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
20819 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
20820 | wxPreviewFrame *result; | |
e811c8ce | 20821 | bool temp3 = False ; |
d14a1e28 RD |
20822 | wxPoint temp4 ; |
20823 | wxSize temp5 ; | |
e811c8ce | 20824 | bool temp7 = False ; |
d14a1e28 RD |
20825 | PyObject * obj0 = 0 ; |
20826 | PyObject * obj1 = 0 ; | |
20827 | PyObject * obj2 = 0 ; | |
20828 | PyObject * obj3 = 0 ; | |
20829 | PyObject * obj4 = 0 ; | |
994141e6 | 20830 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
20831 | PyObject * obj6 = 0 ; |
20832 | char *kwnames[] = { | |
20833 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
20834 | }; | |
20835 | ||
994141e6 | 20836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
20837 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
20838 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20839 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
20840 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20841 | { |
20842 | arg3 = wxString_in_helper(obj2); | |
20843 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 20844 | temp3 = True; |
d14a1e28 RD |
20845 | } |
20846 | if (obj3) { | |
20847 | { | |
20848 | arg4 = &temp4; | |
20849 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
20850 | } | |
20851 | } | |
20852 | if (obj4) { | |
20853 | { | |
20854 | arg5 = &temp5; | |
20855 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
20856 | } | |
20857 | } | |
994141e6 | 20858 | if (obj5) { |
15afbcd0 RD |
20859 | arg6 = (long) SWIG_AsLong(obj5); |
20860 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 20861 | } |
d14a1e28 RD |
20862 | if (obj6) { |
20863 | { | |
20864 | arg7 = wxString_in_helper(obj6); | |
20865 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 20866 | temp7 = True; |
d14a1e28 RD |
20867 | } |
20868 | } | |
20869 | { | |
20870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20871 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
20872 | ||
20873 | wxPyEndAllowThreads(__tstate); | |
20874 | if (PyErr_Occurred()) SWIG_fail; | |
20875 | } | |
15afbcd0 | 20876 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); |
d14a1e28 RD |
20877 | { |
20878 | if (temp3) | |
20879 | delete arg3; | |
20880 | } | |
20881 | { | |
20882 | if (temp7) | |
20883 | delete arg7; | |
20884 | } | |
20885 | return resultobj; | |
20886 | fail: | |
20887 | { | |
20888 | if (temp3) | |
20889 | delete arg3; | |
20890 | } | |
20891 | { | |
20892 | if (temp7) | |
20893 | delete arg7; | |
20894 | } | |
20895 | return NULL; | |
20896 | } | |
20897 | ||
20898 | ||
20899 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20900 | PyObject *resultobj; | |
20901 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
20902 | PyObject * obj0 = 0 ; | |
20903 | char *kwnames[] = { | |
20904 | (char *) "self", NULL | |
20905 | }; | |
20906 | ||
20907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
20909 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20910 | { |
20911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20912 | (arg1)->Initialize(); | |
20913 | ||
20914 | wxPyEndAllowThreads(__tstate); | |
20915 | if (PyErr_Occurred()) SWIG_fail; | |
20916 | } | |
20917 | Py_INCREF(Py_None); resultobj = Py_None; | |
20918 | return resultobj; | |
20919 | fail: | |
20920 | return NULL; | |
20921 | } | |
20922 | ||
20923 | ||
20924 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20925 | PyObject *resultobj; | |
20926 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
20927 | PyObject * obj0 = 0 ; | |
20928 | char *kwnames[] = { | |
20929 | (char *) "self", NULL | |
20930 | }; | |
20931 | ||
20932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20933 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
20934 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20935 | { |
20936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20937 | (arg1)->CreateControlBar(); | |
20938 | ||
20939 | wxPyEndAllowThreads(__tstate); | |
20940 | if (PyErr_Occurred()) SWIG_fail; | |
20941 | } | |
20942 | Py_INCREF(Py_None); resultobj = Py_None; | |
20943 | return resultobj; | |
20944 | fail: | |
20945 | return NULL; | |
20946 | } | |
20947 | ||
20948 | ||
20949 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20950 | PyObject *resultobj; | |
20951 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
20952 | PyObject * obj0 = 0 ; | |
20953 | char *kwnames[] = { | |
20954 | (char *) "self", NULL | |
20955 | }; | |
20956 | ||
20957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20958 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
20959 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20960 | { |
20961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20962 | (arg1)->CreateCanvas(); | |
20963 | ||
20964 | wxPyEndAllowThreads(__tstate); | |
20965 | if (PyErr_Occurred()) SWIG_fail; | |
20966 | } | |
20967 | Py_INCREF(Py_None); resultobj = Py_None; | |
20968 | return resultobj; | |
20969 | fail: | |
20970 | return NULL; | |
20971 | } | |
20972 | ||
20973 | ||
20974 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20975 | PyObject *resultobj; | |
20976 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
20977 | wxPreviewControlBar *result; | |
20978 | PyObject * obj0 = 0 ; | |
20979 | char *kwnames[] = { | |
20980 | (char *) "self", NULL | |
20981 | }; | |
20982 | ||
20983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20984 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
20985 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20986 | { |
20987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20988 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
20989 | ||
20990 | wxPyEndAllowThreads(__tstate); | |
20991 | if (PyErr_Occurred()) SWIG_fail; | |
20992 | } | |
15afbcd0 | 20993 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); |
d14a1e28 RD |
20994 | return resultobj; |
20995 | fail: | |
20996 | return NULL; | |
20997 | } | |
20998 | ||
20999 | ||
21000 | static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
21001 | PyObject *obj; | |
21002 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21003 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
21004 | Py_INCREF(obj); | |
21005 | return Py_BuildValue((char *)""); | |
21006 | } | |
21007 | static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21008 | PyObject *resultobj; | |
21009 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21010 | long arg2 ; | |
21011 | wxWindow *arg3 = (wxWindow *) 0 ; | |
21012 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
21013 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
21014 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
21015 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
21016 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
21017 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
21018 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
21019 | wxPreviewControlBar *result; | |
21020 | wxPoint temp4 ; | |
21021 | wxSize temp5 ; | |
e811c8ce | 21022 | bool temp7 = False ; |
d14a1e28 | 21023 | PyObject * obj0 = 0 ; |
994141e6 | 21024 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21025 | PyObject * obj2 = 0 ; |
21026 | PyObject * obj3 = 0 ; | |
21027 | PyObject * obj4 = 0 ; | |
994141e6 | 21028 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
21029 | PyObject * obj6 = 0 ; |
21030 | char *kwnames[] = { | |
21031 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
21032 | }; | |
21033 | ||
994141e6 | 21034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
21035 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21036 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21037 | arg2 = (long) SWIG_AsLong(obj1); | |
21038 | if (PyErr_Occurred()) SWIG_fail; | |
21039 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
21040 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21041 | if (obj3) { |
21042 | { | |
21043 | arg4 = &temp4; | |
21044 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
21045 | } | |
21046 | } | |
21047 | if (obj4) { | |
21048 | { | |
21049 | arg5 = &temp5; | |
21050 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
21051 | } | |
21052 | } | |
994141e6 | 21053 | if (obj5) { |
15afbcd0 RD |
21054 | arg6 = (long) SWIG_AsLong(obj5); |
21055 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 21056 | } |
d14a1e28 RD |
21057 | if (obj6) { |
21058 | { | |
21059 | arg7 = wxString_in_helper(obj6); | |
21060 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 21061 | temp7 = True; |
d14a1e28 RD |
21062 | } |
21063 | } | |
21064 | { | |
21065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21066 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
21067 | ||
21068 | wxPyEndAllowThreads(__tstate); | |
21069 | if (PyErr_Occurred()) SWIG_fail; | |
21070 | } | |
15afbcd0 | 21071 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); |
d14a1e28 RD |
21072 | { |
21073 | if (temp7) | |
21074 | delete arg7; | |
21075 | } | |
21076 | return resultobj; | |
21077 | fail: | |
21078 | { | |
21079 | if (temp7) | |
21080 | delete arg7; | |
21081 | } | |
21082 | return NULL; | |
21083 | } | |
21084 | ||
21085 | ||
21086 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21087 | PyObject *resultobj; | |
21088 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21089 | int result; | |
21090 | PyObject * obj0 = 0 ; | |
21091 | char *kwnames[] = { | |
21092 | (char *) "self", NULL | |
21093 | }; | |
21094 | ||
21095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21096 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21097 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21098 | { |
21099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21100 | result = (int)(arg1)->GetZoomControl(); | |
21101 | ||
21102 | wxPyEndAllowThreads(__tstate); | |
21103 | if (PyErr_Occurred()) SWIG_fail; | |
21104 | } | |
15afbcd0 | 21105 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21106 | return resultobj; |
21107 | fail: | |
21108 | return NULL; | |
21109 | } | |
21110 | ||
21111 | ||
21112 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21113 | PyObject *resultobj; | |
21114 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21115 | int arg2 ; | |
21116 | PyObject * obj0 = 0 ; | |
994141e6 | 21117 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21118 | char *kwnames[] = { |
21119 | (char *) "self",(char *) "zoom", NULL | |
21120 | }; | |
21121 | ||
994141e6 | 21122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21123 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21124 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21125 | arg2 = (int) SWIG_AsInt(obj1); | |
21126 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21127 | { |
21128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21129 | (arg1)->SetZoomControl(arg2); | |
21130 | ||
21131 | wxPyEndAllowThreads(__tstate); | |
21132 | if (PyErr_Occurred()) SWIG_fail; | |
21133 | } | |
21134 | Py_INCREF(Py_None); resultobj = Py_None; | |
21135 | return resultobj; | |
21136 | fail: | |
21137 | return NULL; | |
21138 | } | |
21139 | ||
21140 | ||
21141 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21142 | PyObject *resultobj; | |
21143 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21144 | wxPrintPreview *result; | |
21145 | PyObject * obj0 = 0 ; | |
21146 | char *kwnames[] = { | |
21147 | (char *) "self", NULL | |
21148 | }; | |
21149 | ||
21150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21151 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21152 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21153 | { |
21154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21155 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
21156 | ||
21157 | wxPyEndAllowThreads(__tstate); | |
21158 | if (PyErr_Occurred()) SWIG_fail; | |
21159 | } | |
15afbcd0 | 21160 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); |
d14a1e28 RD |
21161 | return resultobj; |
21162 | fail: | |
21163 | return NULL; | |
21164 | } | |
21165 | ||
21166 | ||
21167 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21168 | PyObject *resultobj; | |
21169 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21170 | PyObject * obj0 = 0 ; | |
21171 | char *kwnames[] = { | |
21172 | (char *) "self", NULL | |
21173 | }; | |
21174 | ||
21175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21176 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21177 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21178 | { |
21179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21180 | (arg1)->OnNext(); | |
21181 | ||
21182 | wxPyEndAllowThreads(__tstate); | |
21183 | if (PyErr_Occurred()) SWIG_fail; | |
21184 | } | |
21185 | Py_INCREF(Py_None); resultobj = Py_None; | |
21186 | return resultobj; | |
21187 | fail: | |
21188 | return NULL; | |
21189 | } | |
21190 | ||
21191 | ||
21192 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21193 | PyObject *resultobj; | |
21194 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21195 | PyObject * obj0 = 0 ; | |
21196 | char *kwnames[] = { | |
21197 | (char *) "self", NULL | |
21198 | }; | |
21199 | ||
21200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21203 | { |
21204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21205 | (arg1)->OnPrevious(); | |
21206 | ||
21207 | wxPyEndAllowThreads(__tstate); | |
21208 | if (PyErr_Occurred()) SWIG_fail; | |
21209 | } | |
21210 | Py_INCREF(Py_None); resultobj = Py_None; | |
21211 | return resultobj; | |
21212 | fail: | |
21213 | return NULL; | |
21214 | } | |
21215 | ||
21216 | ||
21217 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21218 | PyObject *resultobj; | |
21219 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21220 | PyObject * obj0 = 0 ; | |
21221 | char *kwnames[] = { | |
21222 | (char *) "self", NULL | |
21223 | }; | |
21224 | ||
21225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21226 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21227 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21228 | { |
21229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21230 | (arg1)->OnFirst(); | |
21231 | ||
21232 | wxPyEndAllowThreads(__tstate); | |
21233 | if (PyErr_Occurred()) SWIG_fail; | |
21234 | } | |
21235 | Py_INCREF(Py_None); resultobj = Py_None; | |
21236 | return resultobj; | |
21237 | fail: | |
21238 | return NULL; | |
21239 | } | |
21240 | ||
21241 | ||
21242 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21243 | PyObject *resultobj; | |
21244 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21245 | PyObject * obj0 = 0 ; | |
21246 | char *kwnames[] = { | |
21247 | (char *) "self", NULL | |
21248 | }; | |
21249 | ||
21250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21251 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21252 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21253 | { |
21254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21255 | (arg1)->OnLast(); | |
21256 | ||
21257 | wxPyEndAllowThreads(__tstate); | |
21258 | if (PyErr_Occurred()) SWIG_fail; | |
21259 | } | |
21260 | Py_INCREF(Py_None); resultobj = Py_None; | |
21261 | return resultobj; | |
21262 | fail: | |
21263 | return NULL; | |
21264 | } | |
21265 | ||
21266 | ||
21267 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21268 | PyObject *resultobj; | |
21269 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21270 | PyObject * obj0 = 0 ; | |
21271 | char *kwnames[] = { | |
21272 | (char *) "self", NULL | |
21273 | }; | |
21274 | ||
21275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21276 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21278 | { |
21279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21280 | (arg1)->OnGoto(); | |
21281 | ||
21282 | wxPyEndAllowThreads(__tstate); | |
21283 | if (PyErr_Occurred()) SWIG_fail; | |
21284 | } | |
21285 | Py_INCREF(Py_None); resultobj = Py_None; | |
21286 | return resultobj; | |
21287 | fail: | |
21288 | return NULL; | |
21289 | } | |
21290 | ||
21291 | ||
21292 | static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
21293 | PyObject *obj; | |
21294 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21295 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
21296 | Py_INCREF(obj); | |
21297 | return Py_BuildValue((char *)""); | |
21298 | } | |
4276dc52 | 21299 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
21300 | PyObject *resultobj; |
21301 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21302 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
4276dc52 | 21303 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
21304 | wxPrintPreview *result; |
21305 | PyObject * obj0 = 0 ; | |
21306 | PyObject * obj1 = 0 ; | |
21307 | PyObject * obj2 = 0 ; | |
d14a1e28 | 21308 | |
4276dc52 | 21309 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
21310 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21311 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21312 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
21313 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 21314 | if (obj2) { |
4276dc52 | 21315 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
15afbcd0 | 21316 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
21317 | } |
21318 | { | |
21319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21320 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
21321 | ||
21322 | wxPyEndAllowThreads(__tstate); | |
21323 | if (PyErr_Occurred()) SWIG_fail; | |
21324 | } | |
15afbcd0 | 21325 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); |
d14a1e28 RD |
21326 | return resultobj; |
21327 | fail: | |
21328 | return NULL; | |
21329 | } | |
21330 | ||
21331 | ||
4276dc52 RD |
21332 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) { |
21333 | PyObject *resultobj; | |
21334 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21335 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
21336 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
21337 | wxPrintPreview *result; | |
21338 | PyObject * obj0 = 0 ; | |
21339 | PyObject * obj1 = 0 ; | |
21340 | PyObject * obj2 = 0 ; | |
21341 | ||
21342 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
21343 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
21344 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21345 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
21346 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21347 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
21348 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21349 | { | |
21350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21351 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
21352 | ||
21353 | wxPyEndAllowThreads(__tstate); | |
21354 | if (PyErr_Occurred()) SWIG_fail; | |
21355 | } | |
21356 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
21357 | return resultobj; | |
21358 | fail: | |
21359 | return NULL; | |
21360 | } | |
21361 | ||
21362 | ||
21363 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
21364 | int argc; | |
21365 | PyObject *argv[4]; | |
21366 | int ii; | |
21367 | ||
21368 | argc = PyObject_Length(args); | |
21369 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
21370 | argv[ii] = PyTuple_GetItem(args,ii); | |
21371 | } | |
21372 | if ((argc >= 2) && (argc <= 3)) { | |
21373 | int _v; | |
21374 | { | |
21375 | void *ptr; | |
21376 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21377 | _v = 0; | |
21378 | PyErr_Clear(); | |
21379 | } else { | |
21380 | _v = 1; | |
21381 | } | |
21382 | } | |
21383 | if (_v) { | |
21384 | { | |
21385 | void *ptr; | |
21386 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21387 | _v = 0; | |
21388 | PyErr_Clear(); | |
21389 | } else { | |
21390 | _v = 1; | |
21391 | } | |
21392 | } | |
21393 | if (_v) { | |
21394 | if (argc <= 2) { | |
21395 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
21396 | } | |
21397 | { | |
21398 | void *ptr; | |
21399 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
21400 | _v = 0; | |
21401 | PyErr_Clear(); | |
21402 | } else { | |
21403 | _v = 1; | |
21404 | } | |
21405 | } | |
21406 | if (_v) { | |
21407 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
21408 | } | |
21409 | } | |
21410 | } | |
21411 | } | |
21412 | if (argc == 3) { | |
21413 | int _v; | |
21414 | { | |
21415 | void *ptr; | |
21416 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21417 | _v = 0; | |
21418 | PyErr_Clear(); | |
21419 | } else { | |
21420 | _v = 1; | |
21421 | } | |
21422 | } | |
21423 | if (_v) { | |
21424 | { | |
21425 | void *ptr; | |
21426 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21427 | _v = 0; | |
21428 | PyErr_Clear(); | |
21429 | } else { | |
21430 | _v = 1; | |
21431 | } | |
21432 | } | |
21433 | if (_v) { | |
21434 | { | |
21435 | void *ptr; | |
21436 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
21437 | _v = 0; | |
21438 | PyErr_Clear(); | |
21439 | } else { | |
21440 | _v = 1; | |
21441 | } | |
21442 | } | |
21443 | if (_v) { | |
21444 | return _wrap_new_PrintPreview__SWIG_1(self,args); | |
21445 | } | |
21446 | } | |
21447 | } | |
21448 | } | |
21449 | ||
21450 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'"); | |
21451 | return NULL; | |
21452 | } | |
21453 | ||
21454 | ||
d14a1e28 RD |
21455 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
21456 | PyObject *resultobj; | |
21457 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21458 | int arg2 ; | |
21459 | bool result; | |
21460 | PyObject * obj0 = 0 ; | |
994141e6 | 21461 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21462 | char *kwnames[] = { |
21463 | (char *) "self",(char *) "pageNum", NULL | |
21464 | }; | |
21465 | ||
994141e6 | 21466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21467 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21468 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21469 | arg2 = (int) SWIG_AsInt(obj1); | |
21470 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21471 | { |
21472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21473 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
21474 | ||
21475 | wxPyEndAllowThreads(__tstate); | |
21476 | if (PyErr_Occurred()) SWIG_fail; | |
21477 | } | |
4d5c3d91 | 21478 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21479 | return resultobj; |
21480 | fail: | |
21481 | return NULL; | |
21482 | } | |
21483 | ||
21484 | ||
21485 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21486 | PyObject *resultobj; | |
21487 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21488 | int result; | |
21489 | PyObject * obj0 = 0 ; | |
21490 | char *kwnames[] = { | |
21491 | (char *) "self", NULL | |
21492 | }; | |
21493 | ||
21494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21495 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21496 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21497 | { |
21498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21499 | result = (int)(arg1)->GetCurrentPage(); | |
21500 | ||
21501 | wxPyEndAllowThreads(__tstate); | |
21502 | if (PyErr_Occurred()) SWIG_fail; | |
21503 | } | |
15afbcd0 | 21504 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21505 | return resultobj; |
21506 | fail: | |
21507 | return NULL; | |
21508 | } | |
21509 | ||
21510 | ||
21511 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21512 | PyObject *resultobj; | |
21513 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21514 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
21515 | PyObject * obj0 = 0 ; | |
21516 | PyObject * obj1 = 0 ; | |
21517 | char *kwnames[] = { | |
21518 | (char *) "self",(char *) "printout", NULL | |
21519 | }; | |
21520 | ||
21521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21522 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21523 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21524 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
21525 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21526 | { |
21527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21528 | (arg1)->SetPrintout(arg2); | |
21529 | ||
21530 | wxPyEndAllowThreads(__tstate); | |
21531 | if (PyErr_Occurred()) SWIG_fail; | |
21532 | } | |
21533 | Py_INCREF(Py_None); resultobj = Py_None; | |
21534 | return resultobj; | |
21535 | fail: | |
21536 | return NULL; | |
21537 | } | |
21538 | ||
21539 | ||
21540 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21541 | PyObject *resultobj; | |
21542 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21543 | wxPyPrintout *result; | |
21544 | PyObject * obj0 = 0 ; | |
21545 | char *kwnames[] = { | |
21546 | (char *) "self", NULL | |
21547 | }; | |
21548 | ||
21549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21550 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21551 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21552 | { |
21553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21554 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
21555 | ||
21556 | wxPyEndAllowThreads(__tstate); | |
21557 | if (PyErr_Occurred()) SWIG_fail; | |
21558 | } | |
21559 | { | |
21560 | resultobj = wxPyMake_wxObject(result); | |
21561 | } | |
21562 | return resultobj; | |
21563 | fail: | |
21564 | return NULL; | |
21565 | } | |
21566 | ||
21567 | ||
21568 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21569 | PyObject *resultobj; | |
21570 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21571 | wxPyPrintout *result; | |
21572 | PyObject * obj0 = 0 ; | |
21573 | char *kwnames[] = { | |
21574 | (char *) "self", NULL | |
21575 | }; | |
21576 | ||
21577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21578 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21579 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21580 | { |
21581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21582 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
21583 | ||
21584 | wxPyEndAllowThreads(__tstate); | |
21585 | if (PyErr_Occurred()) SWIG_fail; | |
21586 | } | |
21587 | { | |
21588 | resultobj = wxPyMake_wxObject(result); | |
21589 | } | |
21590 | return resultobj; | |
21591 | fail: | |
21592 | return NULL; | |
21593 | } | |
21594 | ||
21595 | ||
21596 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21597 | PyObject *resultobj; | |
21598 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21599 | wxFrame *arg2 = (wxFrame *) 0 ; | |
21600 | PyObject * obj0 = 0 ; | |
21601 | PyObject * obj1 = 0 ; | |
21602 | char *kwnames[] = { | |
21603 | (char *) "self",(char *) "frame", NULL | |
21604 | }; | |
21605 | ||
21606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21607 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21608 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21609 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
21610 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21611 | { |
21612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21613 | (arg1)->SetFrame(arg2); | |
21614 | ||
21615 | wxPyEndAllowThreads(__tstate); | |
21616 | if (PyErr_Occurred()) SWIG_fail; | |
21617 | } | |
21618 | Py_INCREF(Py_None); resultobj = Py_None; | |
21619 | return resultobj; | |
21620 | fail: | |
21621 | return NULL; | |
21622 | } | |
21623 | ||
21624 | ||
21625 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21626 | PyObject *resultobj; | |
21627 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21628 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21629 | PyObject * obj0 = 0 ; | |
21630 | PyObject * obj1 = 0 ; | |
21631 | char *kwnames[] = { | |
21632 | (char *) "self",(char *) "canvas", NULL | |
21633 | }; | |
21634 | ||
21635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21636 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21637 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21638 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
21639 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21640 | { |
21641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21642 | (arg1)->SetCanvas(arg2); | |
21643 | ||
21644 | wxPyEndAllowThreads(__tstate); | |
21645 | if (PyErr_Occurred()) SWIG_fail; | |
21646 | } | |
21647 | Py_INCREF(Py_None); resultobj = Py_None; | |
21648 | return resultobj; | |
21649 | fail: | |
21650 | return NULL; | |
21651 | } | |
21652 | ||
21653 | ||
21654 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21655 | PyObject *resultobj; | |
21656 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21657 | wxFrame *result; | |
21658 | PyObject * obj0 = 0 ; | |
21659 | char *kwnames[] = { | |
21660 | (char *) "self", NULL | |
21661 | }; | |
21662 | ||
21663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21664 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21665 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21666 | { |
21667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21668 | result = (wxFrame *)(arg1)->GetFrame(); | |
21669 | ||
21670 | wxPyEndAllowThreads(__tstate); | |
21671 | if (PyErr_Occurred()) SWIG_fail; | |
21672 | } | |
21673 | { | |
21674 | resultobj = wxPyMake_wxObject(result); | |
21675 | } | |
21676 | return resultobj; | |
21677 | fail: | |
21678 | return NULL; | |
21679 | } | |
21680 | ||
21681 | ||
21682 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21683 | PyObject *resultobj; | |
21684 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21685 | wxPreviewCanvas *result; | |
21686 | PyObject * obj0 = 0 ; | |
21687 | char *kwnames[] = { | |
21688 | (char *) "self", NULL | |
21689 | }; | |
21690 | ||
21691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21692 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21693 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21694 | { |
21695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21696 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
21697 | ||
21698 | wxPyEndAllowThreads(__tstate); | |
21699 | if (PyErr_Occurred()) SWIG_fail; | |
21700 | } | |
15afbcd0 | 21701 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); |
d14a1e28 RD |
21702 | return resultobj; |
21703 | fail: | |
21704 | return NULL; | |
21705 | } | |
21706 | ||
21707 | ||
21708 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21709 | PyObject *resultobj; | |
21710 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21711 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21712 | wxDC *arg3 = 0 ; | |
21713 | bool result; | |
21714 | PyObject * obj0 = 0 ; | |
21715 | PyObject * obj1 = 0 ; | |
21716 | PyObject * obj2 = 0 ; | |
21717 | char *kwnames[] = { | |
21718 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
21719 | }; | |
21720 | ||
21721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
21722 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21723 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21724 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
21725 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21726 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
21727 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
21728 | SWIG_fail; | |
d14a1e28 | 21729 | if (arg3 == NULL) { |
15afbcd0 RD |
21730 | PyErr_SetString(PyExc_TypeError,"null reference"); |
21731 | SWIG_fail; | |
d14a1e28 RD |
21732 | } |
21733 | { | |
21734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21735 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
21736 | ||
21737 | wxPyEndAllowThreads(__tstate); | |
21738 | if (PyErr_Occurred()) SWIG_fail; | |
21739 | } | |
4d5c3d91 | 21740 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21741 | return resultobj; |
21742 | fail: | |
21743 | return NULL; | |
21744 | } | |
21745 | ||
21746 | ||
21747 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21748 | PyObject *resultobj; | |
21749 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21750 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21751 | wxDC *arg3 = 0 ; | |
21752 | bool result; | |
21753 | PyObject * obj0 = 0 ; | |
21754 | PyObject * obj1 = 0 ; | |
21755 | PyObject * obj2 = 0 ; | |
21756 | char *kwnames[] = { | |
21757 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
21758 | }; | |
21759 | ||
21760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
21761 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21762 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21763 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
21764 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21765 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
21766 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
21767 | SWIG_fail; | |
d14a1e28 | 21768 | if (arg3 == NULL) { |
15afbcd0 RD |
21769 | PyErr_SetString(PyExc_TypeError,"null reference"); |
21770 | SWIG_fail; | |
d14a1e28 RD |
21771 | } |
21772 | { | |
21773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21774 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
21775 | ||
21776 | wxPyEndAllowThreads(__tstate); | |
21777 | if (PyErr_Occurred()) SWIG_fail; | |
21778 | } | |
4d5c3d91 | 21779 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21780 | return resultobj; |
21781 | fail: | |
21782 | return NULL; | |
21783 | } | |
21784 | ||
21785 | ||
21786 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21787 | PyObject *resultobj; | |
21788 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21789 | int arg2 ; | |
21790 | bool result; | |
21791 | PyObject * obj0 = 0 ; | |
994141e6 | 21792 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21793 | char *kwnames[] = { |
21794 | (char *) "self",(char *) "pageNum", NULL | |
21795 | }; | |
21796 | ||
994141e6 | 21797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21798 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21799 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21800 | arg2 = (int) SWIG_AsInt(obj1); | |
21801 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21802 | { |
21803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21804 | result = (bool)(arg1)->RenderPage(arg2); | |
21805 | ||
21806 | wxPyEndAllowThreads(__tstate); | |
21807 | if (PyErr_Occurred()) SWIG_fail; | |
21808 | } | |
4d5c3d91 | 21809 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21810 | return resultobj; |
21811 | fail: | |
21812 | return NULL; | |
21813 | } | |
21814 | ||
21815 | ||
21816 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21817 | PyObject *resultobj; | |
21818 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21819 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21820 | PyObject * obj0 = 0 ; | |
21821 | PyObject * obj1 = 0 ; | |
21822 | char *kwnames[] = { | |
21823 | (char *) "self",(char *) "canvas", NULL | |
21824 | }; | |
21825 | ||
21826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21827 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21828 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21829 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
21830 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21831 | { |
21832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21833 | (arg1)->AdjustScrollbars(arg2); | |
21834 | ||
21835 | wxPyEndAllowThreads(__tstate); | |
21836 | if (PyErr_Occurred()) SWIG_fail; | |
21837 | } | |
21838 | Py_INCREF(Py_None); resultobj = Py_None; | |
21839 | return resultobj; | |
21840 | fail: | |
21841 | return NULL; | |
21842 | } | |
21843 | ||
21844 | ||
21845 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21846 | PyObject *resultobj; | |
21847 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21848 | wxPrintDialogData *result; | |
21849 | PyObject * obj0 = 0 ; | |
21850 | char *kwnames[] = { | |
21851 | (char *) "self", NULL | |
21852 | }; | |
21853 | ||
21854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21855 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21856 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21857 | { |
21858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21859 | { | |
21860 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
21861 | result = (wxPrintDialogData *) &_result_ref; | |
21862 | } | |
21863 | ||
21864 | wxPyEndAllowThreads(__tstate); | |
21865 | if (PyErr_Occurred()) SWIG_fail; | |
21866 | } | |
15afbcd0 | 21867 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
21868 | return resultobj; |
21869 | fail: | |
21870 | return NULL; | |
21871 | } | |
21872 | ||
21873 | ||
21874 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21875 | PyObject *resultobj; | |
21876 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21877 | int arg2 ; | |
21878 | PyObject * obj0 = 0 ; | |
994141e6 | 21879 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21880 | char *kwnames[] = { |
21881 | (char *) "self",(char *) "percent", NULL | |
21882 | }; | |
21883 | ||
994141e6 | 21884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21885 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21886 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21887 | arg2 = (int) SWIG_AsInt(obj1); | |
21888 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21889 | { |
21890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21891 | (arg1)->SetZoom(arg2); | |
21892 | ||
21893 | wxPyEndAllowThreads(__tstate); | |
21894 | if (PyErr_Occurred()) SWIG_fail; | |
21895 | } | |
21896 | Py_INCREF(Py_None); resultobj = Py_None; | |
21897 | return resultobj; | |
21898 | fail: | |
21899 | return NULL; | |
21900 | } | |
21901 | ||
21902 | ||
21903 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21904 | PyObject *resultobj; | |
21905 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21906 | int result; | |
21907 | PyObject * obj0 = 0 ; | |
21908 | char *kwnames[] = { | |
21909 | (char *) "self", NULL | |
21910 | }; | |
21911 | ||
21912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21913 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21914 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21915 | { |
21916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21917 | result = (int)(arg1)->GetZoom(); | |
21918 | ||
21919 | wxPyEndAllowThreads(__tstate); | |
21920 | if (PyErr_Occurred()) SWIG_fail; | |
21921 | } | |
15afbcd0 | 21922 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21923 | return resultobj; |
21924 | fail: | |
21925 | return NULL; | |
21926 | } | |
21927 | ||
21928 | ||
21929 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21930 | PyObject *resultobj; | |
21931 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21932 | int result; | |
21933 | PyObject * obj0 = 0 ; | |
21934 | char *kwnames[] = { | |
21935 | (char *) "self", NULL | |
21936 | }; | |
21937 | ||
21938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21939 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21940 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21941 | { |
21942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21943 | result = (int)(arg1)->GetMaxPage(); | |
21944 | ||
21945 | wxPyEndAllowThreads(__tstate); | |
21946 | if (PyErr_Occurred()) SWIG_fail; | |
21947 | } | |
15afbcd0 | 21948 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21949 | return resultobj; |
21950 | fail: | |
21951 | return NULL; | |
21952 | } | |
21953 | ||
21954 | ||
21955 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21956 | PyObject *resultobj; | |
21957 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21958 | int result; | |
21959 | PyObject * obj0 = 0 ; | |
21960 | char *kwnames[] = { | |
21961 | (char *) "self", NULL | |
21962 | }; | |
21963 | ||
21964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21965 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21966 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21967 | { |
21968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21969 | result = (int)(arg1)->GetMinPage(); | |
21970 | ||
21971 | wxPyEndAllowThreads(__tstate); | |
21972 | if (PyErr_Occurred()) SWIG_fail; | |
21973 | } | |
15afbcd0 | 21974 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21975 | return resultobj; |
21976 | fail: | |
21977 | return NULL; | |
21978 | } | |
21979 | ||
21980 | ||
21981 | static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21982 | PyObject *resultobj; | |
21983 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21984 | bool result; | |
21985 | PyObject * obj0 = 0 ; | |
21986 | char *kwnames[] = { | |
21987 | (char *) "self", NULL | |
21988 | }; | |
21989 | ||
21990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21991 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21992 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21993 | { |
21994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21995 | result = (bool)(arg1)->Ok(); | |
21996 | ||
21997 | wxPyEndAllowThreads(__tstate); | |
21998 | if (PyErr_Occurred()) SWIG_fail; | |
21999 | } | |
4d5c3d91 | 22000 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22001 | return resultobj; |
22002 | fail: | |
22003 | return NULL; | |
22004 | } | |
22005 | ||
22006 | ||
22007 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22008 | PyObject *resultobj; | |
22009 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22010 | bool arg2 ; | |
22011 | PyObject * obj0 = 0 ; | |
22012 | PyObject * obj1 = 0 ; | |
22013 | char *kwnames[] = { | |
22014 | (char *) "self",(char *) "ok", NULL | |
22015 | }; | |
22016 | ||
22017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22018 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22019 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22020 | arg2 = (bool) SWIG_AsBool(obj1); | |
22021 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22022 | { |
22023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22024 | (arg1)->SetOk(arg2); | |
22025 | ||
22026 | wxPyEndAllowThreads(__tstate); | |
22027 | if (PyErr_Occurred()) SWIG_fail; | |
22028 | } | |
22029 | Py_INCREF(Py_None); resultobj = Py_None; | |
22030 | return resultobj; | |
22031 | fail: | |
22032 | return NULL; | |
22033 | } | |
22034 | ||
22035 | ||
22036 | static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22037 | PyObject *resultobj; | |
22038 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22039 | bool arg2 ; | |
22040 | bool result; | |
22041 | PyObject * obj0 = 0 ; | |
22042 | PyObject * obj1 = 0 ; | |
22043 | char *kwnames[] = { | |
22044 | (char *) "self",(char *) "interactive", NULL | |
22045 | }; | |
22046 | ||
22047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22048 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22049 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22050 | arg2 = (bool) SWIG_AsBool(obj1); | |
22051 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22052 | { |
22053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22054 | result = (bool)(arg1)->Print(arg2); | |
22055 | ||
22056 | wxPyEndAllowThreads(__tstate); | |
22057 | if (PyErr_Occurred()) SWIG_fail; | |
22058 | } | |
4d5c3d91 | 22059 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22060 | return resultobj; |
22061 | fail: | |
22062 | return NULL; | |
22063 | } | |
22064 | ||
22065 | ||
22066 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22067 | PyObject *resultobj; | |
22068 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22069 | PyObject * obj0 = 0 ; | |
22070 | char *kwnames[] = { | |
22071 | (char *) "self", NULL | |
22072 | }; | |
22073 | ||
22074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22075 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22077 | { |
22078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22079 | (arg1)->DetermineScaling(); | |
22080 | ||
22081 | wxPyEndAllowThreads(__tstate); | |
22082 | if (PyErr_Occurred()) SWIG_fail; | |
22083 | } | |
22084 | Py_INCREF(Py_None); resultobj = Py_None; | |
22085 | return resultobj; | |
22086 | fail: | |
22087 | return NULL; | |
22088 | } | |
22089 | ||
22090 | ||
22091 | static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) { | |
22092 | PyObject *obj; | |
22093 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22094 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
22095 | Py_INCREF(obj); | |
22096 | return Py_BuildValue((char *)""); | |
22097 | } | |
4276dc52 | 22098 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
22099 | PyObject *resultobj; |
22100 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22101 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
4276dc52 | 22102 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
22103 | wxPyPrintPreview *result; |
22104 | PyObject * obj0 = 0 ; | |
22105 | PyObject * obj1 = 0 ; | |
22106 | PyObject * obj2 = 0 ; | |
d14a1e28 | 22107 | |
4276dc52 | 22108 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22109 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22110 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22111 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
22112 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 22113 | if (obj2) { |
4276dc52 | 22114 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
15afbcd0 | 22115 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
22116 | } |
22117 | { | |
22118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22119 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
22120 | ||
22121 | wxPyEndAllowThreads(__tstate); | |
22122 | if (PyErr_Occurred()) SWIG_fail; | |
22123 | } | |
15afbcd0 | 22124 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); |
d14a1e28 RD |
22125 | return resultobj; |
22126 | fail: | |
22127 | return NULL; | |
22128 | } | |
22129 | ||
22130 | ||
4276dc52 RD |
22131 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) { |
22132 | PyObject *resultobj; | |
22133 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22134 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
22135 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
22136 | wxPyPrintPreview *result; | |
22137 | PyObject * obj0 = 0 ; | |
22138 | PyObject * obj1 = 0 ; | |
22139 | PyObject * obj2 = 0 ; | |
22140 | ||
22141 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
22142 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22143 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22144 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
22145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22146 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
22147 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22148 | { | |
22149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22150 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
22151 | ||
22152 | wxPyEndAllowThreads(__tstate); | |
22153 | if (PyErr_Occurred()) SWIG_fail; | |
22154 | } | |
22155 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
22156 | return resultobj; | |
22157 | fail: | |
22158 | return NULL; | |
22159 | } | |
22160 | ||
22161 | ||
22162 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
22163 | int argc; | |
22164 | PyObject *argv[4]; | |
22165 | int ii; | |
22166 | ||
22167 | argc = PyObject_Length(args); | |
22168 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
22169 | argv[ii] = PyTuple_GetItem(args,ii); | |
22170 | } | |
22171 | if ((argc >= 2) && (argc <= 3)) { | |
22172 | int _v; | |
22173 | { | |
22174 | void *ptr; | |
22175 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22176 | _v = 0; | |
22177 | PyErr_Clear(); | |
22178 | } else { | |
22179 | _v = 1; | |
22180 | } | |
22181 | } | |
22182 | if (_v) { | |
22183 | { | |
22184 | void *ptr; | |
22185 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22186 | _v = 0; | |
22187 | PyErr_Clear(); | |
22188 | } else { | |
22189 | _v = 1; | |
22190 | } | |
22191 | } | |
22192 | if (_v) { | |
22193 | if (argc <= 2) { | |
22194 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
22195 | } | |
22196 | { | |
22197 | void *ptr; | |
22198 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
22199 | _v = 0; | |
22200 | PyErr_Clear(); | |
22201 | } else { | |
22202 | _v = 1; | |
22203 | } | |
22204 | } | |
22205 | if (_v) { | |
22206 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
22207 | } | |
22208 | } | |
22209 | } | |
22210 | } | |
22211 | if (argc == 3) { | |
22212 | int _v; | |
22213 | { | |
22214 | void *ptr; | |
22215 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22216 | _v = 0; | |
22217 | PyErr_Clear(); | |
22218 | } else { | |
22219 | _v = 1; | |
22220 | } | |
22221 | } | |
22222 | if (_v) { | |
22223 | { | |
22224 | void *ptr; | |
22225 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22226 | _v = 0; | |
22227 | PyErr_Clear(); | |
22228 | } else { | |
22229 | _v = 1; | |
22230 | } | |
22231 | } | |
22232 | if (_v) { | |
22233 | { | |
22234 | void *ptr; | |
22235 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
22236 | _v = 0; | |
22237 | PyErr_Clear(); | |
22238 | } else { | |
22239 | _v = 1; | |
22240 | } | |
22241 | } | |
22242 | if (_v) { | |
22243 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); | |
22244 | } | |
22245 | } | |
22246 | } | |
22247 | } | |
22248 | ||
22249 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'"); | |
22250 | return NULL; | |
22251 | } | |
22252 | ||
22253 | ||
d14a1e28 RD |
22254 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
22255 | PyObject *resultobj; | |
22256 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22257 | PyObject *arg2 = (PyObject *) 0 ; | |
22258 | PyObject *arg3 = (PyObject *) 0 ; | |
22259 | PyObject * obj0 = 0 ; | |
22260 | PyObject * obj1 = 0 ; | |
22261 | PyObject * obj2 = 0 ; | |
22262 | char *kwnames[] = { | |
22263 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22264 | }; | |
22265 | ||
22266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
22267 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22268 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22269 | arg2 = obj1; |
22270 | arg3 = obj2; | |
22271 | { | |
22272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22273 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22274 | ||
22275 | wxPyEndAllowThreads(__tstate); | |
22276 | if (PyErr_Occurred()) SWIG_fail; | |
22277 | } | |
22278 | Py_INCREF(Py_None); resultobj = Py_None; | |
22279 | return resultobj; | |
22280 | fail: | |
22281 | return NULL; | |
22282 | } | |
22283 | ||
22284 | ||
22285 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22286 | PyObject *resultobj; | |
22287 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22288 | int arg2 ; | |
22289 | bool result; | |
22290 | PyObject * obj0 = 0 ; | |
994141e6 | 22291 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22292 | char *kwnames[] = { |
22293 | (char *) "self",(char *) "pageNum", NULL | |
22294 | }; | |
22295 | ||
994141e6 | 22296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22297 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22298 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22299 | arg2 = (int) SWIG_AsInt(obj1); | |
22300 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22301 | { |
22302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22303 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
22304 | ||
22305 | wxPyEndAllowThreads(__tstate); | |
22306 | if (PyErr_Occurred()) SWIG_fail; | |
22307 | } | |
4d5c3d91 | 22308 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22309 | return resultobj; |
22310 | fail: | |
22311 | return NULL; | |
22312 | } | |
22313 | ||
22314 | ||
22315 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22316 | PyObject *resultobj; | |
22317 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22318 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22319 | wxDC *arg3 = 0 ; | |
22320 | bool result; | |
22321 | PyObject * obj0 = 0 ; | |
22322 | PyObject * obj1 = 0 ; | |
22323 | PyObject * obj2 = 0 ; | |
22324 | char *kwnames[] = { | |
22325 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
22326 | }; | |
22327 | ||
22328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
22329 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22330 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22331 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22332 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22333 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
22334 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
22335 | SWIG_fail; | |
d14a1e28 | 22336 | if (arg3 == NULL) { |
15afbcd0 RD |
22337 | PyErr_SetString(PyExc_TypeError,"null reference"); |
22338 | SWIG_fail; | |
d14a1e28 RD |
22339 | } |
22340 | { | |
22341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22342 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
22343 | ||
22344 | wxPyEndAllowThreads(__tstate); | |
22345 | if (PyErr_Occurred()) SWIG_fail; | |
22346 | } | |
4d5c3d91 | 22347 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22348 | return resultobj; |
22349 | fail: | |
22350 | return NULL; | |
22351 | } | |
22352 | ||
22353 | ||
22354 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22355 | PyObject *resultobj; | |
22356 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22357 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22358 | wxDC *arg3 = 0 ; | |
22359 | bool result; | |
22360 | PyObject * obj0 = 0 ; | |
22361 | PyObject * obj1 = 0 ; | |
22362 | PyObject * obj2 = 0 ; | |
22363 | char *kwnames[] = { | |
22364 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
22365 | }; | |
22366 | ||
22367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
22368 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22369 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22370 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22371 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22372 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
22373 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
22374 | SWIG_fail; | |
d14a1e28 | 22375 | if (arg3 == NULL) { |
15afbcd0 RD |
22376 | PyErr_SetString(PyExc_TypeError,"null reference"); |
22377 | SWIG_fail; | |
d14a1e28 RD |
22378 | } |
22379 | { | |
22380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22381 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
22382 | ||
22383 | wxPyEndAllowThreads(__tstate); | |
22384 | if (PyErr_Occurred()) SWIG_fail; | |
22385 | } | |
4d5c3d91 | 22386 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22387 | return resultobj; |
22388 | fail: | |
22389 | return NULL; | |
22390 | } | |
22391 | ||
22392 | ||
22393 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22394 | PyObject *resultobj; | |
22395 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22396 | int arg2 ; | |
22397 | bool result; | |
22398 | PyObject * obj0 = 0 ; | |
994141e6 | 22399 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22400 | char *kwnames[] = { |
22401 | (char *) "self",(char *) "pageNum", NULL | |
22402 | }; | |
22403 | ||
994141e6 | 22404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22405 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22406 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22407 | arg2 = (int) SWIG_AsInt(obj1); | |
22408 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22409 | { |
22410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22411 | result = (bool)(arg1)->base_RenderPage(arg2); | |
22412 | ||
22413 | wxPyEndAllowThreads(__tstate); | |
22414 | if (PyErr_Occurred()) SWIG_fail; | |
22415 | } | |
4d5c3d91 | 22416 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22417 | return resultobj; |
22418 | fail: | |
22419 | return NULL; | |
22420 | } | |
22421 | ||
22422 | ||
22423 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22424 | PyObject *resultobj; | |
22425 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22426 | int arg2 ; | |
22427 | PyObject * obj0 = 0 ; | |
994141e6 | 22428 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22429 | char *kwnames[] = { |
22430 | (char *) "self",(char *) "percent", NULL | |
22431 | }; | |
22432 | ||
994141e6 | 22433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22434 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22435 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22436 | arg2 = (int) SWIG_AsInt(obj1); | |
22437 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22438 | { |
22439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22440 | (arg1)->base_SetZoom(arg2); | |
22441 | ||
22442 | wxPyEndAllowThreads(__tstate); | |
22443 | if (PyErr_Occurred()) SWIG_fail; | |
22444 | } | |
22445 | Py_INCREF(Py_None); resultobj = Py_None; | |
22446 | return resultobj; | |
22447 | fail: | |
22448 | return NULL; | |
22449 | } | |
22450 | ||
22451 | ||
22452 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22453 | PyObject *resultobj; | |
22454 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22455 | bool arg2 ; | |
22456 | bool result; | |
22457 | PyObject * obj0 = 0 ; | |
22458 | PyObject * obj1 = 0 ; | |
22459 | char *kwnames[] = { | |
22460 | (char *) "self",(char *) "interactive", NULL | |
22461 | }; | |
22462 | ||
22463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22464 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22465 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22466 | arg2 = (bool) SWIG_AsBool(obj1); | |
22467 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22468 | { |
22469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22470 | result = (bool)(arg1)->base_Print(arg2); | |
22471 | ||
22472 | wxPyEndAllowThreads(__tstate); | |
22473 | if (PyErr_Occurred()) SWIG_fail; | |
22474 | } | |
4d5c3d91 | 22475 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22476 | return resultobj; |
22477 | fail: | |
22478 | return NULL; | |
22479 | } | |
22480 | ||
22481 | ||
22482 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22483 | PyObject *resultobj; | |
22484 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22485 | PyObject * obj0 = 0 ; | |
22486 | char *kwnames[] = { | |
22487 | (char *) "self", NULL | |
22488 | }; | |
22489 | ||
22490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22491 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22492 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22493 | { |
22494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22495 | (arg1)->base_DetermineScaling(); | |
22496 | ||
22497 | wxPyEndAllowThreads(__tstate); | |
22498 | if (PyErr_Occurred()) SWIG_fail; | |
22499 | } | |
22500 | Py_INCREF(Py_None); resultobj = Py_None; | |
22501 | return resultobj; | |
22502 | fail: | |
22503 | return NULL; | |
22504 | } | |
22505 | ||
22506 | ||
22507 | static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) { | |
22508 | PyObject *obj; | |
22509 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22510 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
22511 | Py_INCREF(obj); | |
22512 | return Py_BuildValue((char *)""); | |
22513 | } | |
22514 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22515 | PyObject *resultobj; | |
22516 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22517 | wxFrame *arg2 = (wxFrame *) 0 ; | |
22518 | wxString *arg3 = 0 ; | |
22519 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22520 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22521 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22522 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22523 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
22524 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
22525 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22526 | wxPyPreviewFrame *result; | |
e811c8ce | 22527 | bool temp3 = False ; |
d14a1e28 RD |
22528 | wxPoint temp4 ; |
22529 | wxSize temp5 ; | |
e811c8ce | 22530 | bool temp7 = False ; |
d14a1e28 RD |
22531 | PyObject * obj0 = 0 ; |
22532 | PyObject * obj1 = 0 ; | |
22533 | PyObject * obj2 = 0 ; | |
22534 | PyObject * obj3 = 0 ; | |
22535 | PyObject * obj4 = 0 ; | |
994141e6 | 22536 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
22537 | PyObject * obj6 = 0 ; |
22538 | char *kwnames[] = { | |
22539 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22540 | }; | |
22541 | ||
994141e6 | 22542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
22543 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22544 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22545 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
22546 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22547 | { |
22548 | arg3 = wxString_in_helper(obj2); | |
22549 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 22550 | temp3 = True; |
d14a1e28 RD |
22551 | } |
22552 | if (obj3) { | |
22553 | { | |
22554 | arg4 = &temp4; | |
22555 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22556 | } | |
22557 | } | |
22558 | if (obj4) { | |
22559 | { | |
22560 | arg5 = &temp5; | |
22561 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22562 | } | |
22563 | } | |
994141e6 | 22564 | if (obj5) { |
15afbcd0 RD |
22565 | arg6 = (long) SWIG_AsLong(obj5); |
22566 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 22567 | } |
d14a1e28 RD |
22568 | if (obj6) { |
22569 | { | |
22570 | arg7 = wxString_in_helper(obj6); | |
22571 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 22572 | temp7 = True; |
d14a1e28 RD |
22573 | } |
22574 | } | |
22575 | { | |
22576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22577 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22578 | ||
22579 | wxPyEndAllowThreads(__tstate); | |
22580 | if (PyErr_Occurred()) SWIG_fail; | |
22581 | } | |
15afbcd0 | 22582 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); |
d14a1e28 RD |
22583 | { |
22584 | if (temp3) | |
22585 | delete arg3; | |
22586 | } | |
22587 | { | |
22588 | if (temp7) | |
22589 | delete arg7; | |
22590 | } | |
22591 | return resultobj; | |
22592 | fail: | |
22593 | { | |
22594 | if (temp3) | |
22595 | delete arg3; | |
22596 | } | |
22597 | { | |
22598 | if (temp7) | |
22599 | delete arg7; | |
22600 | } | |
22601 | return NULL; | |
22602 | } | |
22603 | ||
22604 | ||
22605 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22606 | PyObject *resultobj; | |
22607 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22608 | PyObject *arg2 = (PyObject *) 0 ; | |
22609 | PyObject *arg3 = (PyObject *) 0 ; | |
22610 | PyObject * obj0 = 0 ; | |
22611 | PyObject * obj1 = 0 ; | |
22612 | PyObject * obj2 = 0 ; | |
22613 | char *kwnames[] = { | |
22614 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22615 | }; | |
22616 | ||
22617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
22618 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22619 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22620 | arg2 = obj1; |
22621 | arg3 = obj2; | |
22622 | { | |
22623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22624 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22625 | ||
22626 | wxPyEndAllowThreads(__tstate); | |
22627 | if (PyErr_Occurred()) SWIG_fail; | |
22628 | } | |
22629 | Py_INCREF(Py_None); resultobj = Py_None; | |
22630 | return resultobj; | |
22631 | fail: | |
22632 | return NULL; | |
22633 | } | |
22634 | ||
22635 | ||
22636 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22637 | PyObject *resultobj; | |
22638 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22639 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22640 | PyObject * obj0 = 0 ; | |
22641 | PyObject * obj1 = 0 ; | |
22642 | char *kwnames[] = { | |
22643 | (char *) "self",(char *) "canvas", NULL | |
22644 | }; | |
22645 | ||
22646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22647 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22648 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22649 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22650 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22651 | { |
22652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22653 | (arg1)->SetPreviewCanvas(arg2); | |
22654 | ||
22655 | wxPyEndAllowThreads(__tstate); | |
22656 | if (PyErr_Occurred()) SWIG_fail; | |
22657 | } | |
22658 | Py_INCREF(Py_None); resultobj = Py_None; | |
22659 | return resultobj; | |
22660 | fail: | |
22661 | return NULL; | |
22662 | } | |
22663 | ||
22664 | ||
22665 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22666 | PyObject *resultobj; | |
22667 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22668 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
22669 | PyObject * obj0 = 0 ; | |
22670 | PyObject * obj1 = 0 ; | |
22671 | char *kwnames[] = { | |
22672 | (char *) "self",(char *) "bar", NULL | |
22673 | }; | |
22674 | ||
22675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22676 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22677 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22678 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar, | |
22679 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22680 | { |
22681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22682 | (arg1)->SetControlBar(arg2); | |
22683 | ||
22684 | wxPyEndAllowThreads(__tstate); | |
22685 | if (PyErr_Occurred()) SWIG_fail; | |
22686 | } | |
22687 | Py_INCREF(Py_None); resultobj = Py_None; | |
22688 | return resultobj; | |
22689 | fail: | |
22690 | return NULL; | |
22691 | } | |
22692 | ||
22693 | ||
22694 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22695 | PyObject *resultobj; | |
22696 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22697 | PyObject * obj0 = 0 ; | |
22698 | char *kwnames[] = { | |
22699 | (char *) "self", NULL | |
22700 | }; | |
22701 | ||
22702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22703 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22704 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22705 | { |
22706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22707 | (arg1)->base_Initialize(); | |
22708 | ||
22709 | wxPyEndAllowThreads(__tstate); | |
22710 | if (PyErr_Occurred()) SWIG_fail; | |
22711 | } | |
22712 | Py_INCREF(Py_None); resultobj = Py_None; | |
22713 | return resultobj; | |
22714 | fail: | |
22715 | return NULL; | |
22716 | } | |
22717 | ||
22718 | ||
22719 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22720 | PyObject *resultobj; | |
22721 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22722 | PyObject * obj0 = 0 ; | |
22723 | char *kwnames[] = { | |
22724 | (char *) "self", NULL | |
22725 | }; | |
22726 | ||
22727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22728 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22729 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22730 | { |
22731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22732 | (arg1)->base_CreateCanvas(); | |
22733 | ||
22734 | wxPyEndAllowThreads(__tstate); | |
22735 | if (PyErr_Occurred()) SWIG_fail; | |
22736 | } | |
22737 | Py_INCREF(Py_None); resultobj = Py_None; | |
22738 | return resultobj; | |
22739 | fail: | |
22740 | return NULL; | |
22741 | } | |
22742 | ||
22743 | ||
22744 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22745 | PyObject *resultobj; | |
22746 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22747 | PyObject * obj0 = 0 ; | |
22748 | char *kwnames[] = { | |
22749 | (char *) "self", NULL | |
22750 | }; | |
22751 | ||
22752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22753 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22754 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22755 | { |
22756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22757 | (arg1)->base_CreateControlBar(); | |
22758 | ||
22759 | wxPyEndAllowThreads(__tstate); | |
22760 | if (PyErr_Occurred()) SWIG_fail; | |
22761 | } | |
22762 | Py_INCREF(Py_None); resultobj = Py_None; | |
22763 | return resultobj; | |
22764 | fail: | |
22765 | return NULL; | |
22766 | } | |
22767 | ||
22768 | ||
22769 | static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
22770 | PyObject *obj; | |
22771 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22772 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
22773 | Py_INCREF(obj); | |
22774 | return Py_BuildValue((char *)""); | |
22775 | } | |
22776 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22777 | PyObject *resultobj; | |
22778 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22779 | long arg2 ; | |
22780 | wxWindow *arg3 = (wxWindow *) 0 ; | |
22781 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22782 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22783 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22784 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22785 | long arg6 = (long) 0 ; | |
22786 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
22787 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22788 | wxPyPreviewControlBar *result; | |
22789 | wxPoint temp4 ; | |
22790 | wxSize temp5 ; | |
e811c8ce | 22791 | bool temp7 = False ; |
d14a1e28 | 22792 | PyObject * obj0 = 0 ; |
994141e6 | 22793 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22794 | PyObject * obj2 = 0 ; |
22795 | PyObject * obj3 = 0 ; | |
22796 | PyObject * obj4 = 0 ; | |
994141e6 | 22797 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
22798 | PyObject * obj6 = 0 ; |
22799 | char *kwnames[] = { | |
22800 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22801 | }; | |
22802 | ||
994141e6 | 22803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
22804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22806 | arg2 = (long) SWIG_AsLong(obj1); | |
22807 | if (PyErr_Occurred()) SWIG_fail; | |
22808 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
22809 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22810 | if (obj3) { |
22811 | { | |
22812 | arg4 = &temp4; | |
22813 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22814 | } | |
22815 | } | |
22816 | if (obj4) { | |
22817 | { | |
22818 | arg5 = &temp5; | |
22819 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22820 | } | |
22821 | } | |
994141e6 | 22822 | if (obj5) { |
15afbcd0 RD |
22823 | arg6 = (long) SWIG_AsLong(obj5); |
22824 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 22825 | } |
d14a1e28 RD |
22826 | if (obj6) { |
22827 | { | |
22828 | arg7 = wxString_in_helper(obj6); | |
22829 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 22830 | temp7 = True; |
d14a1e28 RD |
22831 | } |
22832 | } | |
22833 | { | |
22834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22835 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22836 | ||
22837 | wxPyEndAllowThreads(__tstate); | |
22838 | if (PyErr_Occurred()) SWIG_fail; | |
22839 | } | |
15afbcd0 | 22840 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); |
d14a1e28 RD |
22841 | { |
22842 | if (temp7) | |
22843 | delete arg7; | |
22844 | } | |
22845 | return resultobj; | |
22846 | fail: | |
22847 | { | |
22848 | if (temp7) | |
22849 | delete arg7; | |
22850 | } | |
22851 | return NULL; | |
22852 | } | |
22853 | ||
22854 | ||
22855 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22856 | PyObject *resultobj; | |
22857 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
22858 | PyObject *arg2 = (PyObject *) 0 ; | |
22859 | PyObject *arg3 = (PyObject *) 0 ; | |
22860 | PyObject * obj0 = 0 ; | |
22861 | PyObject * obj1 = 0 ; | |
22862 | PyObject * obj2 = 0 ; | |
22863 | char *kwnames[] = { | |
22864 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22865 | }; | |
22866 | ||
22867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
22868 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
22869 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22870 | arg2 = obj1; |
22871 | arg3 = obj2; | |
22872 | { | |
22873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22874 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22875 | ||
22876 | wxPyEndAllowThreads(__tstate); | |
22877 | if (PyErr_Occurred()) SWIG_fail; | |
22878 | } | |
22879 | Py_INCREF(Py_None); resultobj = Py_None; | |
22880 | return resultobj; | |
22881 | fail: | |
22882 | return NULL; | |
22883 | } | |
22884 | ||
22885 | ||
22886 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22887 | PyObject *resultobj; | |
22888 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
22889 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
22890 | PyObject * obj0 = 0 ; | |
22891 | PyObject * obj1 = 0 ; | |
22892 | char *kwnames[] = { | |
22893 | (char *) "self",(char *) "preview", NULL | |
22894 | }; | |
22895 | ||
22896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22897 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
22898 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22899 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview, | |
22900 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22901 | { |
22902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22903 | (arg1)->SetPrintPreview(arg2); | |
22904 | ||
22905 | wxPyEndAllowThreads(__tstate); | |
22906 | if (PyErr_Occurred()) SWIG_fail; | |
22907 | } | |
22908 | Py_INCREF(Py_None); resultobj = Py_None; | |
22909 | return resultobj; | |
22910 | fail: | |
22911 | return NULL; | |
22912 | } | |
22913 | ||
22914 | ||
22915 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22916 | PyObject *resultobj; | |
22917 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
22918 | PyObject * obj0 = 0 ; | |
22919 | char *kwnames[] = { | |
22920 | (char *) "self", NULL | |
22921 | }; | |
22922 | ||
22923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22924 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
22925 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22926 | { |
22927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22928 | (arg1)->base_CreateButtons(); | |
22929 | ||
22930 | wxPyEndAllowThreads(__tstate); | |
22931 | if (PyErr_Occurred()) SWIG_fail; | |
22932 | } | |
22933 | Py_INCREF(Py_None); resultobj = Py_None; | |
22934 | return resultobj; | |
22935 | fail: | |
22936 | return NULL; | |
22937 | } | |
22938 | ||
22939 | ||
22940 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22941 | PyObject *resultobj; | |
22942 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
22943 | int arg2 ; | |
22944 | PyObject * obj0 = 0 ; | |
994141e6 | 22945 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22946 | char *kwnames[] = { |
22947 | (char *) "self",(char *) "zoom", NULL | |
22948 | }; | |
22949 | ||
994141e6 | 22950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22951 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
22952 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22953 | arg2 = (int) SWIG_AsInt(obj1); | |
22954 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22955 | { |
22956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22957 | (arg1)->base_SetZoomControl(arg2); | |
22958 | ||
22959 | wxPyEndAllowThreads(__tstate); | |
22960 | if (PyErr_Occurred()) SWIG_fail; | |
22961 | } | |
22962 | Py_INCREF(Py_None); resultobj = Py_None; | |
22963 | return resultobj; | |
22964 | fail: | |
22965 | return NULL; | |
22966 | } | |
22967 | ||
22968 | ||
22969 | static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
22970 | PyObject *obj; | |
22971 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22972 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
22973 | Py_INCREF(obj); | |
22974 | return Py_BuildValue((char *)""); | |
22975 | } | |
22976 | static PyMethodDef SwigMethods[] = { | |
22977 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS }, | |
22978 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS }, | |
22979 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS }, | |
22980 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
22981 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS }, | |
22982 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
22983 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
22984 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
22985 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
22986 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS }, | |
22987 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
22988 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
22989 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS }, | |
22990 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS }, | |
22991 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS }, | |
22992 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS }, | |
22993 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS }, | |
22994 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS }, | |
22995 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS }, | |
22996 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS }, | |
22997 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS }, | |
22998 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
22999 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS }, | |
23000 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
23001 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
23002 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS }, | |
d14a1e28 RD |
23003 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS }, |
23004 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS }, | |
23005 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS }, | |
23006 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS }, | |
23007 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS }, | |
23008 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS }, | |
23009 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
23010 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS }, | |
23011 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
23012 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
23013 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
23014 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
23015 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS }, | |
23016 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS }, | |
23017 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS }, | |
23018 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS }, | |
23019 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS }, | |
23020 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS }, | |
23021 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
23022 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
23023 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
23024 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS }, | |
23025 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
23026 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
23027 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
23028 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23029 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
23030 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23031 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23032 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
23033 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
23034 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS }, | |
23035 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
23036 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
23037 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS }, | |
23038 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS }, | |
23039 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS }, | |
23040 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS }, | |
23041 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS }, | |
23042 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
23043 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
23044 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
23045 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS }, | |
23046 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23047 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS }, |
23048 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23049 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS }, | |
23050 | { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS }, | |
23051 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS }, | |
23052 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
23053 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
23054 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
23055 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS }, | |
23056 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS }, | |
23057 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
23058 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
23059 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS }, | |
23060 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS }, | |
23061 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS }, | |
23062 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS }, | |
23063 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS }, | |
23064 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS }, | |
23065 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS }, | |
23066 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
23067 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS }, | |
23068 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
23069 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
23070 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23071 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23072 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23073 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23074 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
23075 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS }, | |
23076 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
23077 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS }, | |
23078 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS }, | |
23079 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS }, | |
23080 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
23081 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
23082 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23083 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS }, | |
23084 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS }, | |
23085 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
23086 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
23087 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
23088 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS }, | |
23089 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS }, | |
23090 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS }, | |
23091 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS }, | |
23092 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS }, | |
23093 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
23094 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23095 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
23096 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23097 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
23098 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
23099 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
23100 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
23101 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
23102 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
23103 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
23104 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
23105 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS }, | |
23106 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS }, | |
23107 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
23108 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
23109 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS }, | |
23110 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
23111 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
23112 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS }, | |
23113 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS }, | |
23114 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS }, | |
23115 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23116 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
23117 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
23118 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS }, | |
23119 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS }, | |
23120 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS }, | |
23121 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23122 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23123 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23124 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23125 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
23126 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
23127 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
23128 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
23129 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
23130 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
23131 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
23132 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
23133 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
23134 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
23135 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS }, | |
23136 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS }, | |
23137 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS }, | |
23138 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS }, | |
23139 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
23140 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
23141 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
23142 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
23143 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS }, | |
23144 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS }, | |
23145 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
23146 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
23147 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23148 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23149 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
23150 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
23151 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23152 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23153 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
23154 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
23155 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS }, | |
23156 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS }, | |
23157 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23158 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23159 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS }, | |
23160 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS }, | |
23161 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS }, | |
23162 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
23163 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
23164 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23165 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
23166 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23167 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
23168 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS }, | |
23169 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23170 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS }, | |
23171 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
23172 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
23173 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS }, | |
23174 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS }, | |
23175 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
23176 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS }, | |
23177 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
23178 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
23179 | { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23180 | { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS }, | |
23181 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS }, | |
23182 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23183 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23184 | { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23185 | { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS }, | |
23186 | { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS }, | |
23187 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS }, | |
23188 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS }, | |
23189 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS }, | |
23190 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS }, | |
23191 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS }, | |
23192 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
23193 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
23194 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23195 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23196 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
23197 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
23198 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS }, | |
23199 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS }, | |
23200 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS }, | |
23201 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS }, | |
23202 | { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS }, | |
23203 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
23204 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
23205 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
23206 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
23207 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
23208 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
23209 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS }, | |
23210 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS }, | |
23211 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS }, | |
23212 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23213 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
23214 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
23215 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS }, | |
23216 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23217 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS }, | |
23218 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS }, | |
23219 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS }, | |
23220 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS }, | |
23221 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS }, | |
23222 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS }, | |
23223 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
23224 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
23225 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS }, | |
23226 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23227 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS }, | |
23228 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS }, | |
23229 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
23230 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
23231 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS }, | |
23232 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
23233 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS }, | |
23234 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
23235 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS }, | |
23236 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
23237 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
23238 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23239 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
23240 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
23241 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
23242 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS }, | |
23243 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
23244 | { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
23245 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS }, | |
23246 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS }, | |
23247 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
23248 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS }, | |
23249 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS }, | |
23250 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS }, | |
23251 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS }, | |
23252 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS }, | |
23253 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
23254 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
23255 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
23256 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
23257 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
23258 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
23259 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
23260 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
23261 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS }, | |
23262 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS }, | |
23263 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23264 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS }, |
23265 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS }, | |
23266 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
23267 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
23268 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
23269 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
23270 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23271 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS }, |
23272 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS }, | |
23273 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
23274 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
23275 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
23276 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23277 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
23278 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
23279 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
23280 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
23281 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
23282 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
23283 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23284 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
23285 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
23286 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
23287 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS }, | |
23288 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS }, | |
23289 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS }, | |
23290 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
23291 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS }, | |
23292 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS }, | |
23293 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS }, | |
23294 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
23295 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23296 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
23297 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23298 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS }, |
23299 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS }, | |
23300 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
23301 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23302 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS }, |
23303 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS }, | |
23304 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS }, | |
23305 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
23306 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
23307 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
23308 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
23309 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
23310 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
23311 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
23312 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
23313 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
23314 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
23315 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
23316 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
23317 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
23318 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS }, | |
15afbcd0 | 23319 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 | 23320 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
23321 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS }, |
23322 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23323 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS }, |
23324 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS }, | |
23325 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS }, | |
23326 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS }, | |
23327 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS }, | |
23328 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS }, | |
23329 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23330 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
23331 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
23332 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS }, | |
23333 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23334 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
23335 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
23336 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS }, | |
23337 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
23338 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
23339 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
23340 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
23341 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23342 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23343 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
23344 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
23345 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS }, | |
23346 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
23347 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
23348 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
23349 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS }, | |
23350 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS }, | |
23351 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS }, | |
23352 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
23353 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
23354 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
23355 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS }, | |
23356 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS }, | |
23357 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS }, | |
23358 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS }, | |
23359 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS }, | |
23360 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23361 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
23362 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS }, | |
23363 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS }, | |
23364 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
23365 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
23366 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
23367 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS }, | |
23368 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
23369 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS }, | |
23370 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS }, | |
23371 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23372 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23373 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23374 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS }, | |
23375 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS }, | |
23376 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23377 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
23378 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
23379 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23380 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23381 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
23382 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23383 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
23384 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23385 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
23386 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
23387 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
23388 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
23389 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
23390 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
23391 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
23392 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
23393 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
23394 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
23395 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS }, | |
23396 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS }, | |
23397 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23398 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
23399 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
23400 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23401 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23402 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
23403 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23404 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
23405 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23406 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
23407 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
23408 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
23409 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
23410 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
23411 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
23412 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
23413 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
23414 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
23415 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
23416 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS }, | |
23417 | { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
23418 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
23419 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23420 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23421 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23422 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23423 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
23424 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
23425 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
23426 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23427 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23428 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS }, | |
23429 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23430 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23431 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23432 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
23433 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
23434 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
23435 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23436 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23437 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS }, | |
23438 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
23439 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
23440 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
23441 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23442 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
23443 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
23444 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
23445 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
23446 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
23447 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
23448 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
23449 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
23450 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
23451 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23452 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
23453 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
23454 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
23455 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS }, | |
23456 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
23457 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
23458 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS }, | |
23459 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
db914595 RD |
23460 | { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS }, |
23461 | { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23462 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS }, |
23463 | { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23464 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23465 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23466 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
23467 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23468 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
23469 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
23470 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
23471 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
23472 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23473 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
23474 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
23475 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23476 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
23477 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23478 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23479 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23480 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23481 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23482 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23483 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23484 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23485 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
23486 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
23487 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23488 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23489 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23490 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23491 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23492 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23493 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23494 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS }, | |
23495 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
23496 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
23497 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23498 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS }, | |
4276dc52 | 23499 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS }, |
d14a1e28 RD |
23500 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS }, |
23501 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
23502 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS }, | |
23503 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
23504 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
23505 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23506 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
23507 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23508 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23509 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23510 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
23511 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
23512 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS }, | |
23513 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
23514 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
23515 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23516 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
23517 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23518 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23519 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23520 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
23521 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23522 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
23523 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
23524 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23525 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23526 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
23527 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
23528 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23529 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23530 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23531 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23532 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS }, | |
23533 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
23534 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23535 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS }, | |
23536 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23537 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS }, | |
23538 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS }, | |
23539 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS }, | |
23540 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS }, | |
23541 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23542 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS }, | |
23543 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
23544 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS }, | |
23545 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS }, | |
23546 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS }, | |
23547 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS }, | |
23548 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS }, | |
23549 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS }, | |
23550 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23551 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
23552 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
23553 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 23554 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
322913ce | 23555 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
23556 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, |
23557 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, | |
23558 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
23559 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
23560 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
23561 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
23562 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS }, | |
23563 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS }, | |
23564 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS }, | |
23565 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS }, | |
23566 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS }, | |
23567 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS }, | |
23568 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 23569 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS }, |
322913ce | 23570 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
23571 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS }, |
23572 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23573 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS }, | |
23574 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
23575 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
23576 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23577 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23578 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23579 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS }, | |
23580 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23581 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
23582 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
23583 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
23584 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS }, | |
23585 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS }, | |
23586 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS }, | |
23587 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS }, | |
23588 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS }, | |
23589 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS }, | |
4276dc52 | 23590 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS }, |
d14a1e28 RD |
23591 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, |
23592 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
23593 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
23594 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
23595 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS }, | |
23596 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS }, | |
23597 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23598 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
23599 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23600 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
23601 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
23602 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
23603 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
23604 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23605 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
23606 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
23607 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
23608 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
23609 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23610 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS }, | |
23611 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS }, | |
23612 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
23613 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS }, | |
4276dc52 | 23614 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS }, |
d14a1e28 RD |
23615 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
23616 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
23617 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
23618 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
23619 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
23620 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
23621 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS }, | |
23622 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
23623 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS }, | |
23624 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
23625 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23626 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23627 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23628 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
23629 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23630 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23631 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS }, | |
23632 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23633 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23634 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
23635 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS }, | |
23636 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
23637 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS }, | |
23638 | { NULL, NULL } | |
23639 | }; | |
23640 | ||
23641 | ||
23642 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
23643 | ||
23644 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
23645 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23646 | } | |
23647 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
23648 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
23649 | } | |
23650 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
23651 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
23652 | } | |
23653 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
23654 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
23655 | } | |
23656 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
23657 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
23658 | } | |
23659 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
23660 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
23661 | } | |
23662 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
23663 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
23664 | } | |
23665 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
23666 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
23667 | } | |
23668 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
23669 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
23670 | } | |
23671 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
23672 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
23673 | } | |
23674 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
23675 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
23676 | } | |
23677 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
23678 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
23679 | } | |
23680 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
23681 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
23682 | } | |
23683 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
23684 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
23685 | } | |
23686 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
23687 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
23688 | } | |
23689 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
23690 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
23691 | } | |
23692 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
23693 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
23694 | } | |
23695 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
23696 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
23697 | } | |
23698 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
23699 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
23700 | } | |
23701 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
23702 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
23703 | } | |
23704 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
23705 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
23706 | } | |
23707 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
23708 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
23709 | } | |
23710 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
23711 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
23712 | } | |
23713 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
23714 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
23715 | } | |
23716 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
23717 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
23718 | } | |
23719 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
23720 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
23721 | } | |
23722 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
23723 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
23724 | } | |
23725 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
23726 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
23727 | } | |
23728 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
23729 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
23730 | } | |
23731 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
23732 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
23733 | } | |
23734 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
23735 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
23736 | } | |
23737 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
23738 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
23739 | } | |
23740 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
23741 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
23742 | } | |
23743 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
23744 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
23745 | } | |
23746 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
23747 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
23748 | } | |
23749 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
23750 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
23751 | } | |
23752 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
23753 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
23754 | } | |
23755 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
23756 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
23757 | } | |
23758 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
23759 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
23760 | } | |
23761 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
23762 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
23763 | } | |
23764 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
23765 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
23766 | } | |
23767 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
23768 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
23769 | } | |
23770 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
23771 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
23772 | } | |
23773 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
23774 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
23775 | } | |
23776 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
23777 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
23778 | } | |
23779 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
23780 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
23781 | } | |
23782 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
23783 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
23784 | } | |
23785 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
23786 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
23787 | } | |
23788 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
23789 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
23790 | } | |
23791 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
23792 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
23793 | } | |
23794 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
23795 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
23796 | } | |
23797 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
23798 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
23799 | } | |
23800 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
23801 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
23802 | } | |
23803 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
23804 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
23805 | } | |
23806 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
23807 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
23808 | } | |
23809 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
23810 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
23811 | } | |
23812 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
23813 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
23814 | } | |
23815 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
23816 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
23817 | } | |
23818 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
23819 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
23820 | } | |
23821 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
23822 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
23823 | } | |
23824 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
23825 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
23826 | } | |
23827 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
23828 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
23829 | } | |
23830 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
23831 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
23832 | } | |
23833 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
23834 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
23835 | } | |
23836 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
23837 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
23838 | } | |
23839 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
23840 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
23841 | } | |
23842 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
23843 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
23844 | } | |
23845 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
23846 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
23847 | } | |
23848 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
23849 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
23850 | } | |
23851 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
23852 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
23853 | } | |
23854 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
23855 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
23856 | } | |
23857 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
23858 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
23859 | } | |
23860 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
23861 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
23862 | } | |
23863 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
23864 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23865 | } | |
23866 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
23867 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
23868 | } | |
23869 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
23870 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
23871 | } | |
23872 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
23873 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
23874 | } | |
23875 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
23876 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
23877 | } | |
23878 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
23879 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
23880 | } | |
23881 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
23882 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
23883 | } | |
23884 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
23885 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
23886 | } | |
23887 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
23888 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
23889 | } | |
23890 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
23891 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
23892 | } | |
23893 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
23894 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
23895 | } | |
23896 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
23897 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
23898 | } | |
23899 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
23900 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
23901 | } | |
23902 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
23903 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
23904 | } | |
23905 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
23906 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
23907 | } | |
23908 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
23909 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
23910 | } | |
23911 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
23912 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
23913 | } | |
23914 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
23915 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
23916 | } | |
23917 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
23918 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
23919 | } | |
23920 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
23921 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
23922 | } | |
23923 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
23924 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
23925 | } | |
23926 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
23927 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
23928 | } | |
23929 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
23930 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
23931 | } | |
23932 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
23933 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23934 | } | |
23935 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
23936 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
23937 | } | |
23938 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
23939 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
23940 | } | |
23941 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
23942 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
23943 | } | |
23944 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
23945 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
23946 | } | |
23947 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
23948 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
23949 | } | |
23950 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
23951 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
23952 | } | |
23953 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
23954 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23955 | } | |
23956 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
23957 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
23958 | } | |
23959 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
23960 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
23961 | } | |
23962 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
23963 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
23964 | } | |
23965 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
23966 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
23967 | } | |
23968 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
23969 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
23970 | } | |
23971 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
23972 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
23973 | } | |
23974 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
23975 | return (void *)((wxObject *) ((wxSizer *) x)); | |
23976 | } | |
23977 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
23978 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
23979 | } | |
23980 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
23981 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
23982 | } | |
23983 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
23984 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
23985 | } | |
23986 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
23987 | return (void *)((wxObject *) ((wxEvent *) x)); | |
23988 | } | |
23989 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
23990 | return (void *)((wxObject *) ((wxFontData *) x)); | |
23991 | } | |
23992 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
23993 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
23994 | } | |
23995 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
23996 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
23997 | } | |
23998 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
23999 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
24000 | } | |
24001 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
24002 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
24003 | } | |
24004 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
24005 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
24006 | } | |
24007 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
24008 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
24009 | } | |
24010 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
24011 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
24012 | } | |
24013 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
24014 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
24015 | } | |
24016 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
24017 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
24018 | } | |
24019 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
24020 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
24021 | } | |
24022 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
24023 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
24024 | } | |
24025 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
24026 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
24027 | } | |
24028 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
24029 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
24030 | } | |
24031 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
24032 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24033 | } | |
24034 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
24035 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
24036 | } | |
24037 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
24038 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
24039 | } | |
24040 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
24041 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
24042 | } | |
24043 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
24044 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
24045 | } | |
24046 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
24047 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
24048 | } | |
24049 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
24050 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
24051 | } | |
24052 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
24053 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
24054 | } | |
24055 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
24056 | return (void *)((wxObject *) ((wxColourData *) x)); | |
24057 | } | |
24058 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
24059 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
24060 | } | |
24061 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
24062 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
24063 | } | |
24064 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
24065 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
24066 | } | |
24067 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
24068 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
24069 | } | |
24070 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
24071 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
24072 | } | |
24073 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
24074 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24075 | } | |
24076 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
24077 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24078 | } | |
24079 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
24080 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
24081 | } | |
24082 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
24083 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
24084 | } | |
24085 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
24086 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
24087 | } | |
24088 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
24089 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
24090 | } | |
24091 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
24092 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
24093 | } | |
24094 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
24095 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
24096 | } | |
24097 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
24098 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
24099 | } | |
24100 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
24101 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
24102 | } | |
24103 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
24104 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
24105 | } | |
24106 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
24107 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
24108 | } | |
24109 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
24110 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
24111 | } | |
24112 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
24113 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
24114 | } | |
24115 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
24116 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
24117 | } | |
24118 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
24119 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
24120 | } | |
24121 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
24122 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
24123 | } | |
24124 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
24125 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
24126 | } | |
24127 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
24128 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
24129 | } | |
24130 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
24131 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
24132 | } | |
24133 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
24134 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
24135 | } | |
24136 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
24137 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
24138 | } | |
24139 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
24140 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
24141 | } | |
24142 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
24143 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
24144 | } | |
24145 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
24146 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
24147 | } | |
24148 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
24149 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
24150 | } | |
24151 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
24152 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
24153 | } | |
24154 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
24155 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
24156 | } | |
24157 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
24158 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
24159 | } | |
24160 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
24161 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
24162 | } | |
24163 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
24164 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
24165 | } | |
24166 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
24167 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24168 | } | |
24169 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
24170 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24171 | } | |
24172 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
24173 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
24174 | } | |
24175 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
24176 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
24177 | } | |
24178 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
24179 | return (void *)((wxObject *) ((wxImage *) x)); | |
24180 | } | |
24181 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
24182 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
24183 | } | |
24184 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
24185 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
24186 | } | |
24187 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
24188 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
24189 | } | |
24190 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
24191 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
24192 | } | |
24193 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
24194 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
24195 | } | |
24196 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
24197 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
24198 | } | |
24199 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
24200 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
24201 | } | |
24202 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
24203 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
24204 | } | |
24205 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
24206 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
24207 | } | |
d14a1e28 RD |
24208 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
24209 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
24210 | } | |
24211 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
24212 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
24213 | } | |
24214 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
24215 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
24216 | } | |
1e0c8722 RD |
24217 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
24218 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
24219 | } | |
d14a1e28 RD |
24220 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
24221 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
24222 | } | |
24223 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
24224 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
24225 | } | |
24226 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
24227 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
24228 | } | |
24229 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
24230 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
24231 | } | |
24232 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
24233 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24234 | } | |
24235 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
24236 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
24237 | } | |
24238 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
24239 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24240 | } | |
24241 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
24242 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24243 | } | |
24244 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
24245 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24246 | } | |
24247 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
24248 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
24249 | } | |
24250 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
24251 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
24252 | } | |
24253 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
24254 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
24255 | } | |
24256 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
24257 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
24258 | } | |
24259 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
24260 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
24261 | } | |
24262 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
24263 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
24264 | } | |
24265 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
24266 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
24267 | } | |
24268 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
24269 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
24270 | } | |
24271 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
24272 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
24273 | } | |
24274 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
24275 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
24276 | } | |
24277 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
24278 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
24279 | } | |
24280 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
24281 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
24282 | } | |
24283 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
24284 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
24285 | } | |
24286 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
24287 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
24288 | } | |
24289 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
24290 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
24291 | } | |
24292 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
24293 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
24294 | } | |
24295 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
24296 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
24297 | } | |
24298 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
24299 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
24300 | } | |
24301 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
24302 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
24303 | } | |
24304 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
24305 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
24306 | } | |
24307 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
24308 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
24309 | } | |
24310 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
24311 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24312 | } | |
24313 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
24314 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
24315 | } | |
24316 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
24317 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
24318 | } | |
24319 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
24320 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
24321 | } | |
24322 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
24323 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
24324 | } | |
24325 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
24326 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
24327 | } | |
24328 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
24329 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
24330 | } | |
24331 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
24332 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
24333 | } | |
24334 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
24335 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
24336 | } | |
24337 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
24338 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24339 | } | |
24340 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
24341 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24342 | } | |
24343 | static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { | |
24344 | return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24345 | } | |
24346 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
24347 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24348 | } | |
24349 | static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) { | |
24350 | return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24351 | } | |
24352 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
24353 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24354 | } | |
24355 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
24356 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
24357 | } | |
24358 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
24359 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
24360 | } | |
24361 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
24362 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
24363 | } | |
24364 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
24365 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
24366 | } | |
24367 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
24368 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
24369 | } | |
24370 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
24371 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
24372 | } | |
24373 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
24374 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
24375 | } | |
24376 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
24377 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
24378 | } | |
24379 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
24380 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
24381 | } | |
24382 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
24383 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
24384 | } | |
24385 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
24386 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
24387 | } | |
24388 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
24389 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
24390 | } | |
24391 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
24392 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
24393 | } | |
24394 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
24395 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
24396 | } | |
24397 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
24398 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
24399 | } | |
24400 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
24401 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24402 | } | |
24403 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
24404 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24405 | } | |
24406 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
24407 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
24408 | } | |
24409 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
24410 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
24411 | } | |
24412 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
24413 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24414 | } | |
24415 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
24416 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
24417 | } | |
24418 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
24419 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
24420 | } | |
24421 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
24422 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
24423 | } | |
24424 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
24425 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
24426 | } | |
24427 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
24428 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
24429 | } | |
24430 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
24431 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
24432 | } | |
24433 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
24434 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
24435 | } | |
24436 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
24437 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
24438 | } | |
24439 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
24440 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24441 | } | |
24442 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
24443 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24444 | } | |
24445 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
24446 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
24447 | } | |
24448 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
24449 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
24450 | } | |
24451 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
24452 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
24453 | } | |
24454 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
24455 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
24456 | } | |
24457 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
24458 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24459 | } | |
24460 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
24461 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24462 | } | |
24463 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
24464 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24465 | } | |
24466 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
24467 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
24468 | } | |
24469 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
24470 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24471 | } | |
24472 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
24473 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
24474 | } | |
24475 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
24476 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
24477 | } | |
24478 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
24479 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
24480 | } | |
24481 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
24482 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
24483 | } | |
24484 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
24485 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
24486 | } | |
24487 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
24488 | return (void *)((wxWindow *) ((wxControl *) x)); | |
24489 | } | |
24490 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
24491 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
24492 | } | |
24493 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
24494 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24495 | } | |
24496 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
24497 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
24498 | } | |
24499 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
24500 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
24501 | } | |
24502 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
24503 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
24504 | } | |
24505 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
24506 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24507 | } | |
24508 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
24509 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24510 | } | |
24511 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
24512 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24513 | } | |
24514 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
24515 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
24516 | } | |
24517 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
24518 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24519 | } | |
24520 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
24521 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
24522 | } | |
24523 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
24524 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
24525 | } | |
24526 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
24527 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
24528 | } | |
24529 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
24530 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
24531 | } | |
24532 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
24533 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
24534 | } | |
24535 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
24536 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
24537 | } | |
24538 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
24539 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
24540 | } | |
24541 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
24542 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
24543 | } | |
24544 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
24545 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24546 | } | |
24547 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
24548 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
24549 | } | |
24550 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
24551 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
24552 | } | |
24553 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
24554 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
24555 | } | |
24556 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
24557 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
24558 | } | |
24559 | static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) { | |
24560 | return (void *)((wxDialog *) ((wxPageSetupDialog *) x)); | |
24561 | } | |
24562 | static void *_p_wxPrintDialogTo_p_wxDialog(void *x) { | |
24563 | return (void *)((wxDialog *) ((wxPrintDialog *) x)); | |
24564 | } | |
24565 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { | |
24566 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
24567 | } | |
24568 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
24569 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24570 | } | |
24571 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
24572 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24573 | } | |
24574 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
24575 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
24576 | } | |
24577 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { | |
24578 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
24579 | } | |
24580 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
24581 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
24582 | } | |
24583 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
24584 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
24585 | } | |
24586 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
24587 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24588 | } | |
24589 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
24590 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24591 | } | |
24592 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
24593 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24594 | } | |
24595 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
24596 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
24597 | } | |
24598 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
24599 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24600 | } | |
24601 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
24602 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
24603 | } | |
24604 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
24605 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24606 | } | |
24607 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
24608 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
24609 | } | |
24610 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
24611 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
24612 | } | |
24613 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
24614 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
24615 | } | |
24616 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
24617 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
24618 | } | |
24619 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
24620 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
24621 | } | |
24622 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
24623 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
24624 | } | |
24625 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
24626 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
24627 | } | |
24628 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
24629 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
24630 | } | |
24631 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
24632 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
24633 | } | |
24634 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
24635 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
24636 | } | |
24637 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
24638 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
24639 | } | |
24640 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
24641 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24642 | } | |
15afbcd0 RD |
24643 | 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}}; |
24644 | 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}}; | |
24645 | 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}}; | |
24646 | 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}}; | |
24647 | 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}}; | |
24648 | 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}}; | |
24649 | 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}}; | |
24650 | 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}}; | |
24651 | 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}}; | |
24652 | 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}}; | |
24653 | 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}}; | |
24654 | 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}}; | |
24655 | 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}}; | |
24656 | 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}}; | |
24657 | 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}}; | |
24658 | 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}}; | |
24659 | 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}}; | |
24660 | 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}}; | |
24661 | 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}}; | |
24662 | 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}}; | |
24663 | 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}}; | |
24664 | 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}}; | |
24665 | 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}}; | |
24666 | 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}}; | |
24667 | 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}}; | |
24668 | 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}}; | |
24669 | 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}}; | |
24670 | 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}}; | |
24671 | 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}}; | |
24672 | 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}}; | |
24673 | 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}}; | |
24674 | 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}}; | |
24675 | 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}}; | |
24676 | 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}}; | |
24677 | 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}}; | |
24678 | 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_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_wxColourDialog", _p_wxColourDialogTo_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_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}}; | |
24679 | 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}}; | |
24680 | 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}}; | |
24681 | 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}}; | |
24682 | 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}}; | |
24683 | 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}}; | |
24684 | 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}}; | |
24685 | 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}}; | |
24686 | 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}}; | |
24687 | 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}}; | |
24688 | 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}}; | |
24689 | 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}}; | |
24690 | 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}}; | |
24691 | 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}}; | |
24692 | 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_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}}; | |
24693 | 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}}; | |
24694 | 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}}; | |
24695 | 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}}; | |
24696 | 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}}; | |
24697 | 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}}; | |
24698 | 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}}; | |
24699 | 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}}; | |
24700 | 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}}; | |
24701 | 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}}; | |
24702 | 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}}; | |
24703 | 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}}; | |
24704 | 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_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_wxDialog", _p_wxDialogTo_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_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}}; | |
24705 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
24706 | 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}}; | |
24707 | 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}}; | |
24708 | 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}}; | |
24709 | 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}}; | |
24710 | 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}}; | |
24711 | 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}}; | |
24712 | 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}}; | |
24713 | 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}}; | |
24714 | 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}}; | |
24715 | 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}}; | |
24716 | 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_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}}; | |
24717 | 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}}; | |
24718 | 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}}; | |
24719 | 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}}; | |
24720 | 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}}; | |
24721 | 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}}; | |
24722 | 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}}; | |
24723 | 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}}; | |
24724 | 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}}; | |
24725 | 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}}; | |
24726 | 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 |
24727 | |
24728 | static swig_type_info *swig_types_initial[] = { | |
24729 | _swigt__p_wxQueryLayoutInfoEvent, | |
24730 | _swigt__p_wxPreviewFrame, | |
24731 | _swigt__p_wxPyPreviewFrame, | |
d14a1e28 RD |
24732 | _swigt__p_wxPyPanel, |
24733 | _swigt__p_wxMenu, | |
24734 | _swigt__p_wxPrintData, | |
24735 | _swigt__p_wxFontData, | |
24736 | _swigt__p_wxEvent, | |
24737 | _swigt__p_wxTaskBarIcon, | |
24738 | _swigt__p_wxIconBundle, | |
24739 | _swigt__p_wxLayoutAlgorithm, | |
24740 | _swigt__p_wxFindDialogEvent, | |
24741 | _swigt__p_wxPreviewCanvas, | |
24742 | _swigt__p_wxFont, | |
24743 | _swigt__p_wxSplitterEvent, | |
24744 | _swigt__p_wxRegion, | |
24745 | _swigt__p_wxFindReplaceData, | |
24746 | _swigt__p_int, | |
24747 | _swigt__p_wxSize, | |
24748 | _swigt__p_wxDC, | |
24749 | _swigt__p_wxIcon, | |
24750 | _swigt__p_wxMDIChildFrame, | |
24751 | _swigt__p_wxColourData, | |
24752 | _swigt__p_wxNotifyEvent, | |
24753 | _swigt__p_wxPyWindow, | |
24754 | _swigt__p_wxSplashScreen, | |
24755 | _swigt__p_wxFindReplaceDialog, | |
24756 | _swigt__p_wxProgressDialog, | |
24757 | _swigt__p_wxMessageDialog, | |
24758 | _swigt__p_wxTextEntryDialog, | |
24759 | _swigt__p_wxSingleChoiceDialog, | |
24760 | _swigt__p_wxMultiChoiceDialog, | |
24761 | _swigt__p_wxFileDialog, | |
24762 | _swigt__p_wxPrinter, | |
d14a1e28 RD |
24763 | _swigt__p_wxArrayInt, |
24764 | _swigt__p_wxEvtHandler, | |
24765 | _swigt__p_wxCalculateLayoutEvent, | |
24766 | _swigt__p_wxPyHtmlListBox, | |
24767 | _swigt__p_wxPyVListBox, | |
24768 | _swigt__p_wxRect, | |
994141e6 | 24769 | _swigt__p_char, |
d14a1e28 RD |
24770 | _swigt__p_wxMiniFrame, |
24771 | _swigt__p_wxFrame, | |
24772 | _swigt__p_wxPyPrintout, | |
24773 | _swigt__p_wxTaskBarIconEvent, | |
24774 | _swigt__p_wxScrollWinEvent, | |
24775 | _swigt__p_wxStatusBar, | |
24776 | _swigt__p_wxMDIParentFrame, | |
24777 | _swigt__p_wxPoint, | |
24778 | _swigt__p_wxObject, | |
db914595 | 24779 | _swigt__p_wxOutputStream, |
d14a1e28 RD |
24780 | _swigt__p_unsigned_long, |
24781 | _swigt__p_wxMDIClientWindow, | |
24782 | _swigt__p_wxTipWindow, | |
24783 | _swigt__p_wxSashLayoutWindow, | |
24784 | _swigt__p_wxSplitterWindow, | |
d14a1e28 RD |
24785 | _swigt__p_wxPyVScrolledWindow, |
24786 | _swigt__p_wxPyPopupTransientWindow, | |
24787 | _swigt__p_wxPopupWindow, | |
24788 | _swigt__p_wxSashWindow, | |
24789 | _swigt__p_wxTopLevelWindow, | |
24790 | _swigt__p_wxWindow, | |
24791 | _swigt__p_wxScrolledWindow, | |
1e0c8722 | 24792 | _swigt__p_wxSplashScreenWindow, |
d14a1e28 RD |
24793 | _swigt__p_wxMenuBar, |
24794 | _swigt__p_wxPrintPreview, | |
24795 | _swigt__p_wxSashEvent, | |
24796 | _swigt__p_wxString, | |
24797 | _swigt__p_wxPyPrintPreview, | |
24798 | _swigt__p_wxFontDialog, | |
24799 | _swigt__p_wxDirDialog, | |
24800 | _swigt__p_wxColourDialog, | |
24801 | _swigt__p_wxDialog, | |
24802 | _swigt__p_wxPanel, | |
db914595 | 24803 | _swigt__p_wxPageSetupDialog, |
d14a1e28 RD |
24804 | _swigt__p_wxPrintDialog, |
24805 | _swigt__p_wxBitmap, | |
24806 | _swigt__p_wxCommandEvent, | |
d14a1e28 RD |
24807 | _swigt__p_wxPreviewControlBar, |
24808 | _swigt__p_wxPyPreviewControlBar, | |
24809 | _swigt__p_wxColour, | |
24810 | _swigt__p_wxToolBar, | |
b2dc1044 | 24811 | _swigt__p_wxPageSetupDialogData, |
994141e6 | 24812 | _swigt__p_wxPrintDialogData, |
d14a1e28 RD |
24813 | 0 |
24814 | }; | |
24815 | ||
24816 | ||
24817 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
24818 | ||
24819 | static swig_const_info swig_const_table[] = { | |
d14a1e28 RD |
24820 | {0}}; |
24821 | ||
24822 | #ifdef __cplusplus | |
24823 | } | |
24824 | #endif | |
24825 | ||
24826 | #ifdef __cplusplus | |
24827 | extern "C" | |
24828 | #endif | |
24829 | SWIGEXPORT(void) SWIG_init(void) { | |
24830 | static PyObject *SWIG_globals = 0; | |
24831 | static int typeinit = 0; | |
24832 | PyObject *m, *d; | |
24833 | int i; | |
24834 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
24835 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
24836 | d = PyModule_GetDict(m); | |
24837 | ||
24838 | if (!typeinit) { | |
24839 | for (i = 0; swig_types_initial[i]; i++) { | |
24840 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
24841 | } | |
24842 | typeinit = 1; | |
24843 | } | |
24844 | SWIG_InstallConstants(d,swig_const_table); | |
24845 | ||
b2dc1044 RD |
24846 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
24847 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
24848 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
24849 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
24850 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
15afbcd0 RD |
24851 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR)); |
24852 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR)); | |
24853 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR)); | |
24854 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER)); | |
24855 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION)); | |
24856 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL)); | |
24857 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG)); | |
24858 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT)); | |
24859 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN)); | |
24860 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE)); | |
24861 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT)); | |
24862 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT)); | |
b2dc1044 | 24863 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
15afbcd0 RD |
24864 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER)); |
24865 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH)); | |
24866 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT)); | |
24867 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE)); | |
24868 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH)); | |
24869 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER)); | |
4276dc52 | 24870 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME)); |
15afbcd0 RD |
24871 | PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER)); |
24872 | PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D)); | |
24873 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL)); | |
24874 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL)); | |
24875 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE)); | |
24876 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING)); | |
24877 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN)); | |
d14a1e28 RD |
24878 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
24879 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
24880 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
24881 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
b2dc1044 RD |
24882 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); |
24883 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
15afbcd0 RD |
24884 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE)); |
24885 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING)); | |
24886 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN)); | |
24887 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER)); | |
24888 | PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER)); | |
24889 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH)); | |
24890 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER)); | |
24891 | PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D)); | |
24892 | PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP)); | |
24893 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT)); | |
24894 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM)); | |
24895 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT)); | |
24896 | PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE)); | |
24897 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK)); | |
24898 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE)); | |
d14a1e28 | 24899 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
15afbcd0 RD |
24900 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL)); |
24901 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL)); | |
24902 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE)); | |
24903 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP)); | |
24904 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT)); | |
24905 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT)); | |
24906 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM)); | |
24907 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y)); | |
24908 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X)); | |
24909 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH)); | |
24910 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY)); | |
d14a1e28 RD |
24911 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
24912 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
b2dc1044 | 24913 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); |
d14a1e28 RD |
24914 | |
24915 | // Map renamed classes back to their common name for OOR | |
24916 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
24917 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
24918 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
24919 | ||
24920 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
24921 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
24922 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
24923 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
24924 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
24925 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
24926 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
b2dc1044 RD |
24927 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); |
24928 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
24929 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
24930 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
24931 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
24932 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
15afbcd0 RD |
24933 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE)); |
24934 | PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN)); | |
24935 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD)); | |
24936 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE)); | |
24937 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG)); | |
24938 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN)); | |
24939 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE)); | |
24940 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD)); | |
d14a1e28 RD |
24941 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
24942 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
24943 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
24944 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
24945 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
15afbcd0 RD |
24946 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001)); |
24947 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001)); | |
24948 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002)); | |
24949 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003)); | |
24950 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004)); | |
24951 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005)); | |
24952 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100)); | |
24953 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600)); | |
b2dc1044 RD |
24954 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
24955 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
15afbcd0 RD |
24956 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE)); |
24957 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW)); | |
24958 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE)); | |
24959 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER)); | |
24960 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM)); | |
24961 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR)); | |
24962 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED)); | |
24963 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR)); | |
24964 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT)); | |
24965 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS)); | |
24966 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT)); | |
24967 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM)); | |
24968 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST)); | |
24969 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST)); | |
24970 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO)); | |
24971 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT)); | |
24972 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE)); | |
24973 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT)); | |
24974 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS)); | |
24975 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT)); | |
24976 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM)); | |
24977 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST)); | |
24978 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST)); | |
24979 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO)); | |
d14a1e28 RD |
24980 | |
24981 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
24982 | ||
24983 | } | |
24984 |