]>
Commit | Line | Data |
---|---|---|
d55e5bfc RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
36ed4f51 | 3 | * Version 1.3.24 |
d55e5bfc 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 | |
d55e5bfc RD |
12 | |
13 | #ifdef __cplusplus | |
14 | template<class T> class SwigValueWrapper { | |
15 | T *tt; | |
16 | public: | |
17 | SwigValueWrapper() : tt(0) { } | |
18 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
19 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
20 | ~SwigValueWrapper() { delete tt; } | |
21 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
22 | operator T&() const { return *tt; } | |
23 | T *operator&() { return tt; } | |
24 | private: | |
25 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
36ed4f51 | 26 | }; |
d55e5bfc RD |
27 | #endif |
28 | ||
29 | ||
36ed4f51 RD |
30 | #ifndef SWIG_TEMPLATE_DISAMBIGUATOR |
31 | # if defined(__SUNPRO_CC) | |
32 | # define SWIG_TEMPLATE_DISAMBIGUATOR template | |
33 | # else | |
34 | # define SWIG_TEMPLATE_DISAMBIGUATOR | |
35 | # endif | |
36 | #endif | |
d55e5bfc | 37 | |
d55e5bfc | 38 | |
36ed4f51 | 39 | #include <Python.h> |
d55e5bfc RD |
40 | |
41 | /*********************************************************************** | |
36ed4f51 | 42 | * swigrun.swg |
d55e5bfc | 43 | * |
36ed4f51 RD |
44 | * This file contains generic CAPI SWIG runtime support for pointer |
45 | * type checking. | |
d55e5bfc RD |
46 | * |
47 | ************************************************************************/ | |
48 | ||
36ed4f51 RD |
49 | /* This should only be incremented when either the layout of swig_type_info changes, |
50 | or for whatever reason, the runtime changes incompatibly */ | |
51 | #define SWIG_RUNTIME_VERSION "1" | |
d55e5bfc | 52 | |
36ed4f51 RD |
53 | /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ |
54 | #ifdef SWIG_TYPE_TABLE | |
55 | #define SWIG_QUOTE_STRING(x) #x | |
56 | #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) | |
57 | #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) | |
d55e5bfc | 58 | #else |
36ed4f51 | 59 | #define SWIG_TYPE_TABLE_NAME |
d55e5bfc RD |
60 | #endif |
61 | ||
36ed4f51 RD |
62 | #include <string.h> |
63 | ||
64 | #ifndef SWIGINLINE | |
65 | #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) | |
66 | # define SWIGINLINE inline | |
d55e5bfc | 67 | #else |
36ed4f51 RD |
68 | # define SWIGINLINE |
69 | #endif | |
70 | #endif | |
71 | ||
72 | /* | |
73 | You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for | |
74 | creating a static or dynamic library from the swig runtime code. | |
75 | In 99.9% of the cases, swig just needs to declare them as 'static'. | |
76 | ||
77 | But only do this if is strictly necessary, ie, if you have problems | |
78 | with your compiler or so. | |
79 | */ | |
80 | #ifndef SWIGRUNTIME | |
81 | #define SWIGRUNTIME static | |
82 | #endif | |
83 | #ifndef SWIGRUNTIMEINLINE | |
84 | #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE | |
d55e5bfc RD |
85 | #endif |
86 | ||
87 | #ifdef __cplusplus | |
88 | extern "C" { | |
89 | #endif | |
90 | ||
91 | typedef void *(*swig_converter_func)(void *); | |
92 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
93 | ||
94 | typedef struct swig_type_info { | |
95 | const char *name; | |
96 | swig_converter_func converter; | |
97 | const char *str; | |
98 | void *clientdata; | |
99 | swig_dycast_func dcast; | |
100 | struct swig_type_info *next; | |
101 | struct swig_type_info *prev; | |
102 | } swig_type_info; | |
103 | ||
36ed4f51 RD |
104 | /* |
105 | Compare two type names skipping the space characters, therefore | |
106 | "char*" == "char *" and "Class<int>" == "Class<int >", etc. | |
107 | ||
108 | Return 0 when the two name types are equivalent, as in | |
109 | strncmp, but skipping ' '. | |
110 | */ | |
111 | SWIGRUNTIME int | |
112 | SWIG_TypeNameComp(const char *f1, const char *l1, | |
113 | const char *f2, const char *l2) { | |
114 | for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { | |
115 | while ((*f1 == ' ') && (f1 != l1)) ++f1; | |
116 | while ((*f2 == ' ') && (f2 != l2)) ++f2; | |
117 | if (*f1 != *f2) return *f1 - *f2; | |
118 | } | |
119 | return (l1 - f1) - (l2 - f2); | |
120 | } | |
121 | ||
122 | /* | |
123 | Check type equivalence in a name list like <name1>|<name2>|... | |
124 | */ | |
125 | SWIGRUNTIME int | |
126 | SWIG_TypeEquiv(const char *nb, const char *tb) { | |
127 | int equiv = 0; | |
128 | const char* te = tb + strlen(tb); | |
129 | const char* ne = nb; | |
130 | while (!equiv && *ne) { | |
131 | for (nb = ne; *ne; ++ne) { | |
132 | if (*ne == '|') break; | |
133 | } | |
134 | equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0; | |
135 | if (*ne) ++ne; | |
136 | } | |
137 | return equiv; | |
138 | } | |
139 | ||
140 | /* | |
141 | Register a type mapping with the type-checking | |
142 | */ | |
143 | SWIGRUNTIME swig_type_info * | |
144 | SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) { | |
145 | swig_type_info *tc, *head, *ret, *next; | |
146 | /* Check to see if this type has already been registered */ | |
147 | tc = *tl; | |
148 | while (tc) { | |
149 | /* check simple type equivalence */ | |
150 | int typeequiv = (strcmp(tc->name, ti->name) == 0); | |
151 | /* check full type equivalence, resolving typedefs */ | |
152 | if (!typeequiv) { | |
153 | /* only if tc is not a typedef (no '|' on it) */ | |
154 | if (tc->str && ti->str && !strstr(tc->str,"|")) { | |
155 | typeequiv = SWIG_TypeEquiv(ti->str,tc->str); | |
156 | } | |
157 | } | |
158 | if (typeequiv) { | |
159 | /* Already exists in the table. Just add additional types to the list */ | |
160 | if (ti->clientdata) tc->clientdata = ti->clientdata; | |
161 | head = tc; | |
162 | next = tc->next; | |
163 | goto l1; | |
164 | } | |
165 | tc = tc->prev; | |
166 | } | |
167 | head = ti; | |
168 | next = 0; | |
169 | ||
170 | /* Place in list */ | |
171 | ti->prev = *tl; | |
172 | *tl = ti; | |
173 | ||
174 | /* Build linked lists */ | |
175 | l1: | |
176 | ret = head; | |
177 | tc = ti + 1; | |
178 | /* Patch up the rest of the links */ | |
179 | while (tc->name) { | |
180 | head->next = tc; | |
181 | tc->prev = head; | |
182 | head = tc; | |
183 | tc++; | |
184 | } | |
185 | if (next) next->prev = head; | |
186 | head->next = next; | |
187 | ||
188 | return ret; | |
189 | } | |
190 | ||
191 | /* | |
192 | Check the typename | |
193 | */ | |
194 | SWIGRUNTIME swig_type_info * | |
195 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { | |
196 | swig_type_info *s; | |
197 | if (!ty) return 0; /* Void pointer */ | |
198 | s = ty->next; /* First element always just a name */ | |
199 | do { | |
200 | if (strcmp(s->name,c) == 0) { | |
201 | if (s == ty->next) return s; | |
202 | /* Move s to the top of the linked list */ | |
203 | s->prev->next = s->next; | |
204 | if (s->next) { | |
205 | s->next->prev = s->prev; | |
206 | } | |
207 | /* Insert s as second element in the list */ | |
208 | s->next = ty->next; | |
209 | if (ty->next) ty->next->prev = s; | |
210 | ty->next = s; | |
211 | s->prev = ty; | |
212 | return s; | |
213 | } | |
214 | s = s->next; | |
215 | } while (s && (s != ty->next)); | |
216 | return 0; | |
217 | } | |
218 | ||
219 | /* | |
220 | Cast a pointer up an inheritance hierarchy | |
221 | */ | |
222 | SWIGRUNTIMEINLINE void * | |
223 | SWIG_TypeCast(swig_type_info *ty, void *ptr) { | |
224 | return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); | |
225 | } | |
226 | ||
227 | /* | |
228 | Dynamic pointer casting. Down an inheritance hierarchy | |
229 | */ | |
230 | SWIGRUNTIME swig_type_info * | |
231 | SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { | |
232 | swig_type_info *lastty = ty; | |
233 | if (!ty || !ty->dcast) return ty; | |
234 | while (ty && (ty->dcast)) { | |
235 | ty = (*ty->dcast)(ptr); | |
236 | if (ty) lastty = ty; | |
237 | } | |
238 | return lastty; | |
239 | } | |
240 | ||
241 | /* | |
242 | Return the name associated with this type | |
243 | */ | |
244 | SWIGRUNTIMEINLINE const char * | |
245 | SWIG_TypeName(const swig_type_info *ty) { | |
246 | return ty->name; | |
247 | } | |
248 | ||
249 | /* | |
250 | Return the pretty name associated with this type, | |
251 | that is an unmangled type name in a form presentable to the user. | |
252 | */ | |
253 | SWIGRUNTIME const char * | |
254 | SWIG_TypePrettyName(const swig_type_info *type) { | |
255 | /* The "str" field contains the equivalent pretty names of the | |
256 | type, separated by vertical-bar characters. We choose | |
257 | to print the last name, as it is often (?) the most | |
258 | specific. */ | |
259 | if (type->str != NULL) { | |
260 | const char *last_name = type->str; | |
261 | const char *s; | |
262 | for (s = type->str; *s; s++) | |
263 | if (*s == '|') last_name = s+1; | |
264 | return last_name; | |
265 | } | |
266 | else | |
267 | return type->name; | |
268 | } | |
269 | ||
270 | /* | |
271 | Search for a swig_type_info structure | |
272 | */ | |
273 | SWIGRUNTIME swig_type_info * | |
274 | SWIG_TypeQueryTL(swig_type_info *tl, const char *name) { | |
275 | swig_type_info *ty = tl; | |
276 | while (ty) { | |
277 | if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty; | |
278 | if (ty->name && (strcmp(name,ty->name) == 0)) return ty; | |
279 | ty = ty->prev; | |
280 | } | |
281 | return 0; | |
282 | } | |
283 | ||
284 | /* | |
285 | Set the clientdata field for a type | |
286 | */ | |
287 | SWIGRUNTIME void | |
288 | SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) { | |
289 | swig_type_info *tc, *equiv; | |
290 | if (ti->clientdata) return; | |
291 | /* if (ti->clientdata == clientdata) return; */ | |
292 | ti->clientdata = clientdata; | |
293 | equiv = ti->next; | |
294 | while (equiv) { | |
295 | if (!equiv->converter) { | |
296 | tc = tl; | |
297 | while (tc) { | |
298 | if ((strcmp(tc->name, equiv->name) == 0)) | |
299 | SWIG_TypeClientDataTL(tl,tc,clientdata); | |
300 | tc = tc->prev; | |
301 | } | |
302 | } | |
303 | equiv = equiv->next; | |
304 | } | |
305 | } | |
306 | ||
307 | /* | |
308 | Pack binary data into a string | |
309 | */ | |
310 | SWIGRUNTIME char * | |
311 | SWIG_PackData(char *c, void *ptr, size_t sz) { | |
312 | static char hex[17] = "0123456789abcdef"; | |
313 | unsigned char *u = (unsigned char *) ptr; | |
314 | const unsigned char *eu = u + sz; | |
315 | register unsigned char uu; | |
316 | for (; u != eu; ++u) { | |
317 | uu = *u; | |
318 | *(c++) = hex[(uu & 0xf0) >> 4]; | |
319 | *(c++) = hex[uu & 0xf]; | |
320 | } | |
321 | return c; | |
322 | } | |
323 | ||
324 | /* | |
325 | Unpack binary data from a string | |
326 | */ | |
327 | SWIGRUNTIME const char * | |
328 | SWIG_UnpackData(const char *c, void *ptr, size_t sz) { | |
329 | register unsigned char *u = (unsigned char *) ptr; | |
330 | register const unsigned char *eu = u + sz; | |
331 | for (; u != eu; ++u) { | |
332 | register int d = *(c++); | |
333 | register unsigned char uu = 0; | |
334 | if ((d >= '0') && (d <= '9')) | |
335 | uu = ((d - '0') << 4); | |
336 | else if ((d >= 'a') && (d <= 'f')) | |
337 | uu = ((d - ('a'-10)) << 4); | |
338 | else | |
339 | return (char *) 0; | |
340 | d = *(c++); | |
341 | if ((d >= '0') && (d <= '9')) | |
342 | uu |= (d - '0'); | |
343 | else if ((d >= 'a') && (d <= 'f')) | |
344 | uu |= (d - ('a'-10)); | |
345 | else | |
346 | return (char *) 0; | |
347 | *u = uu; | |
348 | } | |
349 | return c; | |
350 | } | |
351 | ||
352 | /* | |
353 | This function will propagate the clientdata field of type to any new | |
354 | swig_type_info structures that have been added into the list of | |
355 | equivalent types. It is like calling SWIG_TypeClientData(type, | |
356 | clientdata) a second time. | |
357 | */ | |
358 | SWIGRUNTIME void | |
359 | SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) { | |
360 | swig_type_info *equiv = type->next; | |
361 | swig_type_info *tc; | |
362 | if (!type->clientdata) return; | |
363 | while (equiv) { | |
364 | if (!equiv->converter) { | |
365 | tc = tl; | |
366 | while (tc) { | |
367 | if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata) | |
368 | SWIG_TypeClientDataTL(tl,tc, type->clientdata); | |
369 | tc = tc->prev; | |
370 | } | |
371 | } | |
372 | equiv = equiv->next; | |
373 | } | |
374 | } | |
d55e5bfc | 375 | |
36ed4f51 RD |
376 | /* |
377 | Pack 'void *' into a string buffer. | |
378 | */ | |
379 | SWIGRUNTIME char * | |
380 | SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { | |
381 | char *r = buff; | |
382 | if ((2*sizeof(void *) + 2) > bsz) return 0; | |
383 | *(r++) = '_'; | |
384 | r = SWIG_PackData(r,&ptr,sizeof(void *)); | |
385 | if (strlen(name) + 1 > (bsz - (r - buff))) return 0; | |
386 | strcpy(r,name); | |
387 | return buff; | |
388 | } | |
389 | ||
390 | SWIGRUNTIME const char * | |
391 | SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { | |
392 | if (*c != '_') { | |
393 | if (strcmp(c,"NULL") == 0) { | |
394 | *ptr = (void *) 0; | |
395 | return name; | |
396 | } else { | |
397 | return 0; | |
398 | } | |
399 | } | |
400 | return SWIG_UnpackData(++c,ptr,sizeof(void *)); | |
401 | } | |
402 | ||
403 | SWIGRUNTIME char * | |
404 | SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { | |
405 | char *r = buff; | |
406 | size_t lname = (name ? strlen(name) : 0); | |
407 | if ((2*sz + 2 + lname) > bsz) return 0; | |
408 | *(r++) = '_'; | |
409 | r = SWIG_PackData(r,ptr,sz); | |
410 | if (lname) { | |
411 | strncpy(r,name,lname+1); | |
412 | } else { | |
413 | *r = 0; | |
414 | } | |
415 | return buff; | |
416 | } | |
d55e5bfc | 417 | |
36ed4f51 RD |
418 | SWIGRUNTIME const char * |
419 | SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { | |
420 | if (*c != '_') { | |
421 | if (strcmp(c,"NULL") == 0) { | |
422 | memset(ptr,0,sz); | |
423 | return name; | |
424 | } else { | |
425 | return 0; | |
426 | } | |
427 | } | |
428 | return SWIG_UnpackData(++c,ptr,sz); | |
429 | } | |
d55e5bfc RD |
430 | |
431 | #ifdef __cplusplus | |
432 | } | |
433 | #endif | |
434 | ||
435 | /*********************************************************************** | |
36ed4f51 RD |
436 | * common.swg |
437 | * | |
438 | * This file contains generic SWIG runtime support for pointer | |
439 | * type checking as well as a few commonly used macros to control | |
440 | * external linkage. | |
d55e5bfc | 441 | * |
36ed4f51 | 442 | * Author : David Beazley (beazley@cs.uchicago.edu) |
d55e5bfc | 443 | * |
36ed4f51 RD |
444 | * Copyright (c) 1999-2000, The University of Chicago |
445 | * | |
446 | * This file may be freely redistributed without license or fee provided | |
447 | * this copyright message remains intact. | |
d55e5bfc RD |
448 | ************************************************************************/ |
449 | ||
36ed4f51 RD |
450 | |
451 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
452 | # if !defined(STATIC_LINKED) | |
453 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
454 | # else | |
455 | # define SWIGEXPORT(a) a | |
456 | # endif | |
457 | #else | |
458 | # define SWIGEXPORT(a) a | |
459 | #endif | |
460 | ||
d55e5bfc RD |
461 | #ifdef __cplusplus |
462 | extern "C" { | |
463 | #endif | |
464 | ||
d55e5bfc | 465 | |
36ed4f51 | 466 | /*************************************************************************/ |
d55e5bfc | 467 | |
d55e5bfc | 468 | |
36ed4f51 | 469 | /* The static type info list */ |
d55e5bfc | 470 | |
36ed4f51 RD |
471 | static swig_type_info *swig_type_list = 0; |
472 | static swig_type_info **swig_type_list_handle = &swig_type_list; | |
473 | ||
d55e5bfc | 474 | |
36ed4f51 RD |
475 | /* Register a type mapping with the type-checking */ |
476 | static swig_type_info * | |
477 | SWIG_TypeRegister(swig_type_info *ti) { | |
478 | return SWIG_TypeRegisterTL(swig_type_list_handle, ti); | |
479 | } | |
d55e5bfc | 480 | |
36ed4f51 RD |
481 | /* Search for a swig_type_info structure */ |
482 | static swig_type_info * | |
483 | SWIG_TypeQuery(const char *name) { | |
484 | return SWIG_TypeQueryTL(*swig_type_list_handle, name); | |
485 | } | |
d55e5bfc | 486 | |
36ed4f51 RD |
487 | /* Set the clientdata field for a type */ |
488 | static void | |
489 | SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { | |
490 | SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata); | |
491 | } | |
d55e5bfc | 492 | |
36ed4f51 RD |
493 | /* This function will propagate the clientdata field of type to |
494 | * any new swig_type_info structures that have been added into the list | |
495 | * of equivalent types. It is like calling | |
496 | * SWIG_TypeClientData(type, clientdata) a second time. | |
497 | */ | |
498 | static void | |
499 | SWIG_PropagateClientData(swig_type_info *type) { | |
500 | SWIG_PropagateClientDataTL(*swig_type_list_handle, type); | |
501 | } | |
d55e5bfc RD |
502 | |
503 | #ifdef __cplusplus | |
504 | } | |
505 | #endif | |
506 | ||
36ed4f51 RD |
507 | /* ----------------------------------------------------------------------------- |
508 | * SWIG API. Portion that goes into the runtime | |
509 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 510 | |
36ed4f51 RD |
511 | #ifdef __cplusplus |
512 | extern "C" { | |
513 | #endif | |
c370783e | 514 | |
36ed4f51 RD |
515 | /* ----------------------------------------------------------------------------- |
516 | * for internal method declarations | |
517 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 518 | |
36ed4f51 RD |
519 | #ifndef SWIGINTERN |
520 | #define SWIGINTERN static | |
521 | #endif | |
d55e5bfc | 522 | |
36ed4f51 RD |
523 | #ifndef SWIGINTERNSHORT |
524 | #ifdef __cplusplus | |
525 | #define SWIGINTERNSHORT static inline | |
526 | #else /* C case */ | |
527 | #define SWIGINTERNSHORT static | |
528 | #endif /* __cplusplus */ | |
529 | #endif | |
d55e5bfc RD |
530 | |
531 | ||
36ed4f51 RD |
532 | /* |
533 | Exception handling in wrappers | |
534 | */ | |
535 | #define SWIG_fail goto fail | |
536 | #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) | |
537 | #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0) | |
538 | #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) | |
539 | #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) | |
540 | #define SWIG_null_ref(type) SWIG_Python_NullRef(type) | |
541 | ||
542 | /* | |
543 | Contract support | |
544 | */ | |
545 | #define SWIG_contract_assert(expr, msg) \ | |
546 | if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else | |
547 | ||
548 | /* ----------------------------------------------------------------------------- | |
549 | * Constant declarations | |
550 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 551 | |
36ed4f51 RD |
552 | /* Constant Types */ |
553 | #define SWIG_PY_INT 1 | |
554 | #define SWIG_PY_FLOAT 2 | |
555 | #define SWIG_PY_STRING 3 | |
556 | #define SWIG_PY_POINTER 4 | |
557 | #define SWIG_PY_BINARY 5 | |
558 | ||
559 | /* Constant information structure */ | |
560 | typedef struct swig_const_info { | |
561 | int type; | |
562 | char *name; | |
563 | long lvalue; | |
564 | double dvalue; | |
565 | void *pvalue; | |
566 | swig_type_info **ptype; | |
567 | } swig_const_info; | |
d55e5bfc | 568 | |
c370783e | 569 | |
36ed4f51 RD |
570 | /* ----------------------------------------------------------------------------- |
571 | * Alloc. memory flags | |
572 | * ----------------------------------------------------------------------------- */ | |
c370783e RD |
573 | #define SWIG_OLDOBJ 1 |
574 | #define SWIG_NEWOBJ SWIG_OLDOBJ + 1 | |
575 | #define SWIG_PYSTR SWIG_NEWOBJ + 1 | |
d55e5bfc RD |
576 | |
577 | #ifdef __cplusplus | |
36ed4f51 RD |
578 | } |
579 | #endif | |
d55e5bfc | 580 | |
d55e5bfc | 581 | |
36ed4f51 RD |
582 | /*********************************************************************** |
583 | * pyrun.swg | |
584 | * | |
585 | * This file contains the runtime support for Python modules | |
586 | * and includes code for managing global variables and pointer | |
587 | * type checking. | |
588 | * | |
589 | * Author : David Beazley (beazley@cs.uchicago.edu) | |
590 | ************************************************************************/ | |
d55e5bfc | 591 | |
36ed4f51 RD |
592 | /* Common SWIG API */ |
593 | #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
594 | #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags) | |
595 | #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
596 | ||
d55e5bfc | 597 | |
36ed4f51 RD |
598 | /* Python-specific SWIG API */ |
599 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
600 | #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
d55e5bfc | 601 | |
d55e5bfc | 602 | |
36ed4f51 RD |
603 | /* ----------------------------------------------------------------------------- |
604 | * Pointer declarations | |
605 | * ----------------------------------------------------------------------------- */ | |
606 | /* | |
607 | Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent | |
608 | C/C++ pointers in the python side. Very useful for debugging, but | |
609 | not always safe. | |
610 | */ | |
611 | #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES) | |
612 | # define SWIG_COBJECT_TYPES | |
613 | #endif | |
d55e5bfc | 614 | |
36ed4f51 RD |
615 | /* Flags for pointer conversion */ |
616 | #define SWIG_POINTER_EXCEPTION 0x1 | |
617 | #define SWIG_POINTER_DISOWN 0x2 | |
d55e5bfc | 618 | |
d55e5bfc | 619 | |
36ed4f51 RD |
620 | #ifdef __cplusplus |
621 | extern "C" { | |
622 | #endif | |
d55e5bfc | 623 | |
36ed4f51 RD |
624 | /* ----------------------------------------------------------------------------- |
625 | * Create a new pointer string | |
626 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 627 | |
36ed4f51 RD |
628 | #ifndef SWIG_BUFFER_SIZE |
629 | #define SWIG_BUFFER_SIZE 1024 | |
630 | #endif | |
d55e5bfc | 631 | |
36ed4f51 RD |
632 | #if defined(SWIG_COBJECT_TYPES) |
633 | #if !defined(SWIG_COBJECT_PYTHON) | |
634 | /* ----------------------------------------------------------------------------- | |
635 | * Implements a simple Swig Object type, and use it instead of PyCObject | |
636 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 637 | |
36ed4f51 RD |
638 | typedef struct { |
639 | PyObject_HEAD | |
640 | void *ptr; | |
641 | const char *desc; | |
642 | } PySwigObject; | |
d55e5bfc | 643 | |
36ed4f51 | 644 | /* Declarations for objects of type PySwigObject */ |
d55e5bfc | 645 | |
36ed4f51 RD |
646 | SWIGRUNTIME int |
647 | PySwigObject_print(PySwigObject *v, FILE *fp, int flags) | |
d55e5bfc | 648 | { |
36ed4f51 RD |
649 | char result[SWIG_BUFFER_SIZE]; |
650 | if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { | |
651 | fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp); | |
652 | return 0; | |
c370783e | 653 | } else { |
36ed4f51 | 654 | return 1; |
c370783e | 655 | } |
d55e5bfc | 656 | } |
36ed4f51 RD |
657 | |
658 | SWIGRUNTIME PyObject * | |
659 | PySwigObject_repr(PySwigObject *v) | |
c370783e | 660 | { |
36ed4f51 RD |
661 | char result[SWIG_BUFFER_SIZE]; |
662 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
663 | PyString_FromFormat("<Swig Object at %s>", result) : 0; | |
c370783e | 664 | } |
d55e5bfc | 665 | |
36ed4f51 RD |
666 | SWIGRUNTIME PyObject * |
667 | PySwigObject_str(PySwigObject *v) | |
d55e5bfc | 668 | { |
36ed4f51 RD |
669 | char result[SWIG_BUFFER_SIZE]; |
670 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
671 | PyString_FromString(result) : 0; | |
d55e5bfc RD |
672 | } |
673 | ||
36ed4f51 RD |
674 | SWIGRUNTIME PyObject * |
675 | PySwigObject_long(PySwigObject *v) | |
d55e5bfc | 676 | { |
36ed4f51 | 677 | return PyLong_FromUnsignedLong((unsigned long) v->ptr); |
d55e5bfc RD |
678 | } |
679 | ||
36ed4f51 RD |
680 | SWIGRUNTIME PyObject * |
681 | PySwigObject_oct(PySwigObject *v) | |
c370783e | 682 | { |
36ed4f51 RD |
683 | char buf[100]; |
684 | unsigned long x = (unsigned long)v->ptr; | |
685 | if (x == 0) | |
686 | strcpy(buf, "0"); | |
687 | else | |
688 | PyOS_snprintf(buf, sizeof(buf), "0%lo", x); | |
689 | return PyString_FromString(buf); | |
c370783e | 690 | } |
d55e5bfc | 691 | |
36ed4f51 RD |
692 | SWIGRUNTIME PyObject * |
693 | PySwigObject_hex(PySwigObject *v) | |
d55e5bfc | 694 | { |
36ed4f51 RD |
695 | char buf[100]; |
696 | PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr); | |
697 | return PyString_FromString(buf); | |
d55e5bfc RD |
698 | } |
699 | ||
36ed4f51 RD |
700 | SWIGRUNTIME int |
701 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
d55e5bfc | 702 | { |
36ed4f51 RD |
703 | int c = strcmp(v->desc, w->desc); |
704 | if (c) { | |
705 | return c; | |
706 | } else { | |
707 | void *i = v->ptr; | |
708 | void *j = w->ptr; | |
709 | return (i < j) ? -1 : (i > j) ? 1 : 0; | |
c370783e | 710 | } |
c370783e RD |
711 | } |
712 | ||
36ed4f51 RD |
713 | SWIGRUNTIME void |
714 | PySwigObject_dealloc(PySwigObject *self) | |
c370783e | 715 | { |
36ed4f51 | 716 | PyObject_DEL(self); |
d55e5bfc RD |
717 | } |
718 | ||
36ed4f51 RD |
719 | SWIGRUNTIME PyTypeObject* |
720 | PySwigObject_GetType() { | |
721 | static char PySwigObject_Type__doc__[] = | |
722 | "Swig object carries a C/C++ instance pointer"; | |
c370783e | 723 | |
36ed4f51 RD |
724 | static PyNumberMethods PySwigObject_as_number = { |
725 | (binaryfunc)0, /*nb_add*/ | |
726 | (binaryfunc)0, /*nb_subtract*/ | |
727 | (binaryfunc)0, /*nb_multiply*/ | |
728 | (binaryfunc)0, /*nb_divide*/ | |
729 | (binaryfunc)0, /*nb_remainder*/ | |
730 | (binaryfunc)0, /*nb_divmod*/ | |
731 | (ternaryfunc)0,/*nb_power*/ | |
732 | (unaryfunc)0, /*nb_negative*/ | |
733 | (unaryfunc)0, /*nb_positive*/ | |
734 | (unaryfunc)0, /*nb_absolute*/ | |
735 | (inquiry)0, /*nb_nonzero*/ | |
736 | 0, /*nb_invert*/ | |
737 | 0, /*nb_lshift*/ | |
738 | 0, /*nb_rshift*/ | |
739 | 0, /*nb_and*/ | |
740 | 0, /*nb_xor*/ | |
741 | 0, /*nb_or*/ | |
742 | (coercion)0, /*nb_coerce*/ | |
743 | (unaryfunc)PySwigObject_long, /*nb_int*/ | |
744 | (unaryfunc)PySwigObject_long, /*nb_long*/ | |
745 | (unaryfunc)0, /*nb_float*/ | |
746 | (unaryfunc)PySwigObject_oct, /*nb_oct*/ | |
747 | (unaryfunc)PySwigObject_hex, /*nb_hex*/ | |
748 | #if PY_VERSION_HEX >= 0x02000000 | |
749 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ | |
750 | #endif | |
751 | }; | |
752 | ||
753 | static int type_init = 0; | |
754 | static PyTypeObject PySwigObject_Type; | |
755 | ||
756 | if (!type_init) { | |
757 | PyTypeObject tmp = { | |
758 | PyObject_HEAD_INIT(&PyType_Type) | |
759 | 0, /*ob_size*/ | |
760 | "PySwigObject", /*tp_name*/ | |
761 | sizeof(PySwigObject), /*tp_basicsize*/ | |
762 | 0, /*tp_itemsize*/ | |
763 | /* methods */ | |
764 | (destructor)PySwigObject_dealloc, /*tp_dealloc*/ | |
765 | (printfunc)PySwigObject_print, /*tp_print*/ | |
766 | (getattrfunc)0, /*tp_getattr*/ | |
767 | (setattrfunc)0, /*tp_setattr*/ | |
768 | (cmpfunc)PySwigObject_compare, /*tp_compare*/ | |
769 | (reprfunc)PySwigObject_repr, /*tp_repr*/ | |
770 | &PySwigObject_as_number, /*tp_as_number*/ | |
771 | 0, /*tp_as_sequence*/ | |
772 | 0, /*tp_as_mapping*/ | |
773 | (hashfunc)0, /*tp_hash*/ | |
774 | (ternaryfunc)0, /*tp_call*/ | |
775 | (reprfunc)PySwigObject_str, /*tp_str*/ | |
776 | /* Space for future expansion */ | |
777 | 0L,0L,0L,0L, | |
778 | PySwigObject_Type__doc__, /* Documentation string */ | |
779 | #if PY_VERSION_HEX >= 0x02000000 | |
780 | 0, /* tp_traverse */ | |
781 | 0, /* tp_clear */ | |
782 | #endif | |
783 | #if PY_VERSION_HEX >= 0x02010000 | |
784 | 0, /* tp_richcompare */ | |
785 | 0, /* tp_weaklistoffset */ | |
786 | #endif | |
787 | #if PY_VERSION_HEX >= 0x02020000 | |
788 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
789 | #endif | |
790 | #if PY_VERSION_HEX >= 0x02030000 | |
791 | 0, /* tp_del */ | |
792 | #endif | |
793 | #ifdef COUNT_ALLOCS | |
794 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
795 | #endif | |
796 | }; | |
797 | ||
798 | PySwigObject_Type = tmp; | |
799 | type_init = 1; | |
800 | } | |
801 | ||
802 | return &PySwigObject_Type; | |
803 | } | |
804 | ||
805 | SWIGRUNTIME PyObject * | |
806 | PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) | |
c370783e | 807 | { |
36ed4f51 RD |
808 | PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType()); |
809 | if (self == NULL) return NULL; | |
810 | self->ptr = ptr; | |
811 | self->desc = desc; | |
812 | return (PyObject *)self; | |
c370783e | 813 | } |
d55e5bfc | 814 | |
36ed4f51 RD |
815 | SWIGRUNTIMEINLINE void * |
816 | PySwigObject_AsVoidPtr(PyObject *self) | |
817 | { | |
818 | return ((PySwigObject *)self)->ptr; | |
819 | } | |
c370783e | 820 | |
36ed4f51 RD |
821 | SWIGRUNTIMEINLINE const char * |
822 | PySwigObject_GetDesc(PyObject *self) | |
823 | { | |
824 | return ((PySwigObject *)self)->desc; | |
825 | } | |
d55e5bfc | 826 | |
36ed4f51 RD |
827 | SWIGRUNTIMEINLINE int |
828 | PySwigObject_Check(PyObject *op) { | |
829 | return ((op)->ob_type == PySwigObject_GetType()) | |
830 | || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); | |
831 | } | |
d55e5bfc | 832 | |
36ed4f51 RD |
833 | /* ----------------------------------------------------------------------------- |
834 | * Implements a simple Swig Packed type, and use it instead of string | |
835 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 836 | |
36ed4f51 RD |
837 | typedef struct { |
838 | PyObject_HEAD | |
839 | void *pack; | |
840 | const char *desc; | |
841 | size_t size; | |
842 | } PySwigPacked; | |
c370783e | 843 | |
36ed4f51 RD |
844 | SWIGRUNTIME int |
845 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) | |
d55e5bfc | 846 | { |
36ed4f51 RD |
847 | char result[SWIG_BUFFER_SIZE]; |
848 | fputs("<Swig Packed ", fp); | |
849 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
850 | fputs("at ", fp); | |
851 | fputs(result, fp); | |
852 | } | |
853 | fputs(v->desc,fp); | |
854 | fputs(">", fp); | |
855 | return 0; | |
856 | } | |
857 | ||
858 | SWIGRUNTIME PyObject * | |
859 | PySwigPacked_repr(PySwigPacked *v) | |
860 | { | |
861 | char result[SWIG_BUFFER_SIZE]; | |
862 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
863 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc); | |
864 | } else { | |
865 | return PyString_FromFormat("<Swig Packed %s>", v->desc); | |
866 | } | |
d55e5bfc RD |
867 | } |
868 | ||
36ed4f51 RD |
869 | SWIGRUNTIME PyObject * |
870 | PySwigPacked_str(PySwigPacked *v) | |
871 | { | |
872 | char result[SWIG_BUFFER_SIZE]; | |
873 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ | |
874 | return PyString_FromFormat("%s%s", result, v->desc); | |
875 | } else { | |
876 | return PyString_FromFormat("%s", v->desc); | |
877 | } | |
878 | } | |
d55e5bfc | 879 | |
36ed4f51 RD |
880 | SWIGRUNTIME int |
881 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
d55e5bfc | 882 | { |
36ed4f51 RD |
883 | int c = strcmp(v->desc, w->desc); |
884 | if (c) { | |
885 | return c; | |
886 | } else { | |
887 | size_t i = v->size; | |
888 | size_t j = w->size; | |
889 | int s = (i < j) ? -1 : (i > j) ? 1 : 0; | |
890 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); | |
d55e5bfc | 891 | } |
c370783e RD |
892 | } |
893 | ||
36ed4f51 RD |
894 | SWIGRUNTIME void |
895 | PySwigPacked_dealloc(PySwigPacked *self) | |
c370783e | 896 | { |
36ed4f51 RD |
897 | free(self->pack); |
898 | PyObject_DEL(self); | |
d55e5bfc RD |
899 | } |
900 | ||
36ed4f51 RD |
901 | SWIGRUNTIME PyTypeObject* |
902 | PySwigPacked_GetType() { | |
903 | static char PySwigPacked_Type__doc__[] = | |
904 | "Swig object carries a C/C++ instance pointer"; | |
905 | static int type_init = 0; | |
906 | ||
907 | static PyTypeObject PySwigPacked_Type; | |
908 | if (!type_init) { | |
909 | PyTypeObject tmp = { | |
910 | PyObject_HEAD_INIT(&PyType_Type) | |
911 | 0, /*ob_size*/ | |
912 | "PySwigPacked", /*tp_name*/ | |
913 | sizeof(PySwigPacked), /*tp_basicsize*/ | |
914 | 0, /*tp_itemsize*/ | |
915 | /* methods */ | |
916 | (destructor)PySwigPacked_dealloc, /*tp_dealloc*/ | |
917 | (printfunc)PySwigPacked_print, /*tp_print*/ | |
918 | (getattrfunc)0, /*tp_getattr*/ | |
919 | (setattrfunc)0, /*tp_setattr*/ | |
920 | (cmpfunc)PySwigPacked_compare, /*tp_compare*/ | |
921 | (reprfunc)PySwigPacked_repr, /*tp_repr*/ | |
922 | 0, /*tp_as_number*/ | |
923 | 0, /*tp_as_sequence*/ | |
924 | 0, /*tp_as_mapping*/ | |
925 | (hashfunc)0, /*tp_hash*/ | |
926 | (ternaryfunc)0, /*tp_call*/ | |
927 | (reprfunc)PySwigPacked_str, /*tp_str*/ | |
928 | /* Space for future expansion */ | |
929 | 0L,0L,0L,0L, | |
930 | PySwigPacked_Type__doc__, /* Documentation string */ | |
931 | #if PY_VERSION_HEX >= 0x02000000 | |
932 | 0, /* tp_traverse */ | |
933 | 0, /* tp_clear */ | |
934 | #endif | |
935 | #if PY_VERSION_HEX >= 0x02010000 | |
936 | 0, /* tp_richcompare */ | |
937 | 0, /* tp_weaklistoffset */ | |
938 | #endif | |
939 | #if PY_VERSION_HEX >= 0x02020000 | |
940 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
941 | #endif | |
942 | #if PY_VERSION_HEX >= 0x02030000 | |
943 | 0, /* tp_del */ | |
944 | #endif | |
945 | #ifdef COUNT_ALLOCS | |
946 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
947 | #endif | |
948 | }; | |
d55e5bfc | 949 | |
36ed4f51 RD |
950 | PySwigPacked_Type = tmp; |
951 | type_init = 1; | |
952 | } | |
953 | ||
954 | ||
d55e5bfc | 955 | |
36ed4f51 RD |
956 | return &PySwigPacked_Type; |
957 | } | |
d55e5bfc | 958 | |
36ed4f51 RD |
959 | SWIGRUNTIME PyObject * |
960 | PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) | |
961 | { | |
962 | PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType()); | |
963 | if (self == NULL) { | |
964 | return NULL; | |
965 | } else { | |
966 | void *pack = malloc(size); | |
967 | memcpy(pack, ptr, size); | |
968 | self->pack = pack; | |
969 | self->desc = desc; | |
970 | self->size = size; | |
971 | return (PyObject *) self; | |
972 | } | |
973 | } | |
d55e5bfc | 974 | |
36ed4f51 RD |
975 | SWIGRUNTIMEINLINE const char * |
976 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) | |
977 | { | |
978 | PySwigPacked *self = (PySwigPacked *)obj; | |
979 | if (self->size != size) return 0; | |
980 | memcpy(ptr, self->pack, size); | |
981 | return self->desc; | |
982 | } | |
d55e5bfc | 983 | |
36ed4f51 RD |
984 | SWIGRUNTIMEINLINE const char * |
985 | PySwigPacked_GetDesc(PyObject *self) | |
d55e5bfc | 986 | { |
36ed4f51 RD |
987 | return ((PySwigPacked *)self)->desc; |
988 | } | |
d55e5bfc | 989 | |
36ed4f51 RD |
990 | SWIGRUNTIMEINLINE int |
991 | PySwigPacked_Check(PyObject *op) { | |
992 | return ((op)->ob_type == PySwigPacked_GetType()) | |
993 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); | |
994 | } | |
d55e5bfc | 995 | |
36ed4f51 RD |
996 | #else |
997 | /* ----------------------------------------------------------------------------- | |
998 | * Use the old Python PyCObject instead of PySwigObject | |
999 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 1000 | |
36ed4f51 RD |
1001 | #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj) |
1002 | #define PySwigObject_Check(obj) PyCObject_Check(obj) | |
1003 | #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj) | |
1004 | #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL) | |
d55e5bfc | 1005 | |
36ed4f51 | 1006 | #endif |
d55e5bfc | 1007 | |
36ed4f51 | 1008 | #endif |
d55e5bfc | 1009 | |
36ed4f51 RD |
1010 | /* ----------------------------------------------------------------------------- |
1011 | * errors manipulation | |
1012 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 1013 | |
36ed4f51 RD |
1014 | SWIGRUNTIME void |
1015 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
1016 | { | |
1017 | if (type) { | |
1018 | #if defined(SWIG_COBJECT_TYPES) | |
1019 | if (PySwigObject_Check(obj)) { | |
1020 | const char *otype = (const char *) PySwigObject_GetDesc(obj); | |
1021 | if (otype) { | |
1022 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", | |
1023 | type, otype); | |
1024 | return; | |
1025 | } | |
1026 | } else | |
1027 | #endif | |
1028 | { | |
1029 | const char *otype = (obj ? obj->ob_type->tp_name : 0); | |
1030 | if (otype) { | |
1031 | PyObject *str = PyObject_Str(obj); | |
1032 | const char *cstr = str ? PyString_AsString(str) : 0; | |
1033 | if (cstr) { | |
1034 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", | |
1035 | type, otype, cstr); | |
1036 | } else { | |
1037 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", | |
1038 | type, otype); | |
1039 | } | |
1040 | Py_DECREF(str); | |
1041 | return; | |
1042 | } | |
1043 | } | |
1044 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
1045 | } else { | |
1046 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
1047 | } | |
1048 | } | |
d55e5bfc | 1049 | |
36ed4f51 RD |
1050 | SWIGRUNTIMEINLINE void |
1051 | SWIG_Python_NullRef(const char *type) | |
d55e5bfc | 1052 | { |
36ed4f51 RD |
1053 | if (type) { |
1054 | PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type); | |
1055 | } else { | |
1056 | PyErr_Format(PyExc_TypeError, "null reference was received"); | |
1057 | } | |
1058 | } | |
d55e5bfc | 1059 | |
36ed4f51 RD |
1060 | SWIGRUNTIME int |
1061 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
1062 | { | |
1063 | if (PyErr_Occurred()) { | |
1064 | PyObject *type = 0; | |
1065 | PyObject *value = 0; | |
1066 | PyObject *traceback = 0; | |
1067 | PyErr_Fetch(&type, &value, &traceback); | |
1068 | if (value) { | |
1069 | PyObject *old_str = PyObject_Str(value); | |
1070 | Py_XINCREF(type); | |
1071 | PyErr_Clear(); | |
1072 | if (infront) { | |
1073 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
1074 | } else { | |
1075 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
1076 | } | |
1077 | Py_DECREF(old_str); | |
1078 | } | |
1079 | return 1; | |
1080 | } else { | |
1081 | return 0; | |
1082 | } | |
1083 | } | |
d55e5bfc | 1084 | |
36ed4f51 RD |
1085 | SWIGRUNTIME int |
1086 | SWIG_Python_ArgFail(int argnum) | |
1087 | { | |
1088 | if (PyErr_Occurred()) { | |
1089 | /* add information about failing argument */ | |
1090 | char mesg[256]; | |
1091 | sprintf(mesg, "argument number %d:", argnum); | |
1092 | return SWIG_Python_AddErrMesg(mesg, 1); | |
1093 | } else { | |
1094 | return 0; | |
1095 | } | |
1096 | } | |
d55e5bfc | 1097 | |
d55e5bfc | 1098 | |
36ed4f51 RD |
1099 | /* ----------------------------------------------------------------------------- |
1100 | * pointers/data manipulation | |
1101 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 1102 | |
36ed4f51 RD |
1103 | /* Convert a pointer value */ |
1104 | SWIGRUNTIME int | |
1105 | SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { | |
1106 | swig_type_info *tc; | |
1107 | const char *c = 0; | |
1108 | static PyObject *SWIG_this = 0; | |
1109 | int newref = 0; | |
1110 | PyObject *pyobj = 0; | |
1111 | void *vptr; | |
1112 | ||
1113 | if (!obj) return 0; | |
1114 | if (obj == Py_None) { | |
1115 | *ptr = 0; | |
1116 | return 0; | |
1117 | } | |
d55e5bfc | 1118 | |
36ed4f51 RD |
1119 | #ifdef SWIG_COBJECT_TYPES |
1120 | if (!(PySwigObject_Check(obj))) { | |
1121 | if (!SWIG_this) | |
1122 | SWIG_this = PyString_FromString("this"); | |
1123 | pyobj = obj; | |
1124 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1125 | newref = 1; | |
1126 | if (!obj) goto type_error; | |
1127 | if (!PySwigObject_Check(obj)) { | |
1128 | Py_DECREF(obj); | |
1129 | goto type_error; | |
1130 | } | |
1131 | } | |
1132 | vptr = PySwigObject_AsVoidPtr(obj); | |
1133 | c = (const char *) PySwigObject_GetDesc(obj); | |
1134 | if (newref) { Py_DECREF(obj); } | |
1135 | goto type_check; | |
1136 | #else | |
1137 | if (!(PyString_Check(obj))) { | |
1138 | if (!SWIG_this) | |
1139 | SWIG_this = PyString_FromString("this"); | |
1140 | pyobj = obj; | |
1141 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1142 | newref = 1; | |
1143 | if (!obj) goto type_error; | |
1144 | if (!PyString_Check(obj)) { | |
1145 | Py_DECREF(obj); | |
1146 | goto type_error; | |
1147 | } | |
1148 | } | |
1149 | c = PyString_AS_STRING(obj); | |
1150 | /* Pointer values must start with leading underscore */ | |
1151 | c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); | |
1152 | if (newref) { Py_DECREF(obj); } | |
1153 | if (!c) goto type_error; | |
1154 | #endif | |
d55e5bfc | 1155 | |
36ed4f51 | 1156 | type_check: |
d55e5bfc | 1157 | |
36ed4f51 RD |
1158 | if (ty) { |
1159 | tc = SWIG_TypeCheck(c,ty); | |
1160 | if (!tc) goto type_error; | |
1161 | *ptr = SWIG_TypeCast(tc,vptr); | |
1162 | } else { | |
1163 | *ptr = vptr; | |
1164 | } | |
d55e5bfc | 1165 | |
36ed4f51 RD |
1166 | if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { |
1167 | PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); | |
1168 | } | |
1169 | return 0; | |
d55e5bfc | 1170 | |
36ed4f51 RD |
1171 | type_error: |
1172 | PyErr_Clear(); | |
1173 | if (pyobj && !obj) { | |
1174 | obj = pyobj; | |
1175 | if (PyCFunction_Check(obj)) { | |
1176 | /* here we get the method pointer for callbacks */ | |
1177 | char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); | |
1178 | c = doc ? strstr(doc, "swig_ptr: ") : 0; | |
1179 | if (c) { | |
1180 | c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name); | |
1181 | if (!c) goto type_error; | |
1182 | goto type_check; | |
1183 | } | |
1184 | } | |
1185 | } | |
1186 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1187 | if (ty) { | |
1188 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1189 | } else { | |
1190 | SWIG_Python_TypeError("C/C++ pointer", obj); | |
1191 | } | |
1192 | } | |
1193 | return -1; | |
1194 | } | |
d55e5bfc | 1195 | |
36ed4f51 RD |
1196 | /* Convert a pointer value, signal an exception on a type mismatch */ |
1197 | SWIGRUNTIME void * | |
1198 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
1199 | void *result; | |
1200 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
1201 | PyErr_Clear(); | |
1202 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1203 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1204 | SWIG_Python_ArgFail(argnum); | |
1205 | } | |
1206 | } | |
1207 | return result; | |
1208 | } | |
d55e5bfc | 1209 | |
36ed4f51 RD |
1210 | /* Convert a packed value value */ |
1211 | SWIGRUNTIME int | |
1212 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { | |
1213 | swig_type_info *tc; | |
1214 | const char *c = 0; | |
d55e5bfc | 1215 | |
36ed4f51 RD |
1216 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) |
1217 | c = PySwigPacked_UnpackData(obj, ptr, sz); | |
1218 | #else | |
1219 | if ((!obj) || (!PyString_Check(obj))) goto type_error; | |
1220 | c = PyString_AS_STRING(obj); | |
1221 | /* Pointer values must start with leading underscore */ | |
1222 | c = SWIG_UnpackDataName(c, ptr, sz, ty->name); | |
1223 | #endif | |
1224 | if (!c) goto type_error; | |
1225 | if (ty) { | |
1226 | tc = SWIG_TypeCheck(c,ty); | |
1227 | if (!tc) goto type_error; | |
1228 | } | |
1229 | return 0; | |
d55e5bfc | 1230 | |
36ed4f51 RD |
1231 | type_error: |
1232 | PyErr_Clear(); | |
1233 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1234 | if (ty) { | |
1235 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1236 | } else { | |
1237 | SWIG_Python_TypeError("C/C++ packed data", obj); | |
1238 | } | |
1239 | } | |
1240 | return -1; | |
1241 | } | |
1242 | ||
1243 | /* Create a new array object */ | |
1244 | SWIGRUNTIME PyObject * | |
1245 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { | |
1246 | PyObject *robj = 0; | |
1247 | if (!ptr) { | |
1248 | Py_INCREF(Py_None); | |
1249 | return Py_None; | |
1250 | } | |
1251 | #ifdef SWIG_COBJECT_TYPES | |
1252 | robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name); | |
1253 | #else | |
1254 | { | |
1255 | char result[SWIG_BUFFER_SIZE]; | |
1256 | robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ? | |
1257 | PyString_FromString(result) : 0; | |
1258 | } | |
1259 | #endif | |
1260 | if (!robj || (robj == Py_None)) return robj; | |
1261 | if (type->clientdata) { | |
1262 | PyObject *inst; | |
1263 | PyObject *args = Py_BuildValue((char*)"(O)", robj); | |
1264 | Py_DECREF(robj); | |
1265 | inst = PyObject_CallObject((PyObject *) type->clientdata, args); | |
1266 | Py_DECREF(args); | |
1267 | if (inst) { | |
1268 | if (own) { | |
1269 | PyObject_SetAttrString(inst,(char*)"thisown",Py_True); | |
1270 | } | |
1271 | robj = inst; | |
1272 | } | |
1273 | } | |
1274 | return robj; | |
1275 | } | |
1276 | ||
1277 | SWIGRUNTIME PyObject * | |
1278 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { | |
1279 | PyObject *robj = 0; | |
1280 | if (!ptr) { | |
1281 | Py_INCREF(Py_None); | |
1282 | return Py_None; | |
1283 | } | |
1284 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) | |
1285 | robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name); | |
1286 | #else | |
1287 | { | |
1288 | char result[SWIG_BUFFER_SIZE]; | |
1289 | robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ? | |
1290 | PyString_FromString(result) : 0; | |
1291 | } | |
1292 | #endif | |
1293 | return robj; | |
1294 | } | |
1295 | ||
1296 | /* -----------------------------------------------------------------------------* | |
1297 | * Get type list | |
1298 | * -----------------------------------------------------------------------------*/ | |
1299 | ||
1300 | #ifdef SWIG_LINK_RUNTIME | |
1301 | void *SWIG_ReturnGlobalTypeList(void *); | |
1302 | #endif | |
1303 | ||
1304 | SWIGRUNTIME swig_type_info ** | |
1305 | SWIG_Python_GetTypeListHandle() { | |
1306 | static void *type_pointer = (void *)0; | |
1307 | /* first check if module already created */ | |
1308 | if (!type_pointer) { | |
1309 | #ifdef SWIG_LINK_RUNTIME | |
1310 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
1311 | #else | |
1312 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
1313 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
1314 | if (PyErr_Occurred()) { | |
1315 | PyErr_Clear(); | |
1316 | type_pointer = (void *)0; | |
1317 | } | |
1318 | } | |
1319 | #endif | |
1320 | return (swig_type_info **) type_pointer; | |
1321 | } | |
1322 | ||
1323 | /* | |
1324 | Search for a swig_type_info structure | |
1325 | */ | |
1326 | SWIGRUNTIMEINLINE swig_type_info * | |
1327 | SWIG_Python_GetTypeList() { | |
1328 | swig_type_info **tlh = SWIG_Python_GetTypeListHandle(); | |
1329 | return tlh ? *tlh : (swig_type_info*)0; | |
1330 | } | |
1331 | ||
1332 | #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList | |
1333 | ||
1334 | #ifdef __cplusplus | |
1335 | } | |
1336 | #endif | |
1337 | ||
1338 | ||
1339 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
1340 | ||
1341 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0] | |
1342 | #define SWIGTYPE_p_wxPreviewFrame swig_types[1] | |
1343 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2] | |
1344 | #define SWIGTYPE_p_wxPyPanel swig_types[3] | |
1345 | #define SWIGTYPE_p_wxMenu swig_types[4] | |
1346 | #define SWIGTYPE_p_wxFontData swig_types[5] | |
1347 | #define SWIGTYPE_p_wxEvent swig_types[6] | |
1348 | #define SWIGTYPE_p_wxPrintData swig_types[7] | |
1349 | #define SWIGTYPE_p_wxTaskBarIcon swig_types[8] | |
1350 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9] | |
1351 | #define SWIGTYPE_p_wxIconBundle swig_types[10] | |
1352 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11] | |
1353 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[12] | |
1354 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[13] | |
1355 | #define SWIGTYPE_p_wxFont swig_types[14] | |
1356 | #define SWIGTYPE_p_wxSplitterEvent swig_types[15] | |
1357 | #define SWIGTYPE_p_wxRegion swig_types[16] | |
1358 | #define SWIGTYPE_ptrdiff_t swig_types[17] | |
1359 | #define SWIGTYPE_std__ptrdiff_t swig_types[18] | |
1360 | #define SWIGTYPE_p_wxFindReplaceData swig_types[19] | |
1361 | #define SWIGTYPE_p_int swig_types[20] | |
1362 | #define SWIGTYPE_p_wxSize swig_types[21] | |
1363 | #define SWIGTYPE_p_wxDC swig_types[22] | |
1364 | #define SWIGTYPE_p_wxIcon swig_types[23] | |
1365 | #define SWIGTYPE_p_wxVisualAttributes swig_types[24] | |
1366 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[25] | |
1367 | #define SWIGTYPE_p_wxColourData swig_types[26] | |
1368 | #define SWIGTYPE_p_wxNotifyEvent swig_types[27] | |
1369 | #define SWIGTYPE_p_wxPyWindow swig_types[28] | |
1370 | #define SWIGTYPE_p_form_ops_t swig_types[29] | |
1371 | #define SWIGTYPE_p_wxSplashScreen swig_types[30] | |
1372 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31] | |
1373 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32] | |
1374 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33] | |
1375 | #define SWIGTYPE_p_wxFileDialog swig_types[34] | |
1376 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[35] | |
1377 | #define SWIGTYPE_p_wxMessageDialog swig_types[36] | |
1378 | #define SWIGTYPE_p_wxProgressDialog swig_types[37] | |
1379 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38] | |
1380 | #define SWIGTYPE_p_wxPrinter swig_types[39] | |
1381 | #define SWIGTYPE_p_wxArrayInt swig_types[40] | |
1382 | #define SWIGTYPE_p_wxDuplexMode swig_types[41] | |
1383 | #define SWIGTYPE_p_wxEvtHandler swig_types[42] | |
1384 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43] | |
1385 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44] | |
1386 | #define SWIGTYPE_p_wxPyVListBox swig_types[45] | |
1387 | #define SWIGTYPE_p_wxRect swig_types[46] | |
1388 | #define SWIGTYPE_p_char swig_types[47] | |
1389 | #define SWIGTYPE_p_wxMiniFrame swig_types[48] | |
1390 | #define SWIGTYPE_p_wxFrame swig_types[49] | |
1391 | #define SWIGTYPE_p_wxPyPrintout swig_types[50] | |
1392 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[51] | |
1393 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[52] | |
1394 | #define SWIGTYPE_p_wxPaperSize swig_types[53] | |
1395 | #define SWIGTYPE_p_wxStatusBar swig_types[54] | |
1396 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[55] | |
1397 | #define SWIGTYPE_p_wxPoint swig_types[56] | |
1398 | #define SWIGTYPE_p_wxObject swig_types[57] | |
1399 | #define SWIGTYPE_p_unsigned_long swig_types[58] | |
1400 | #define SWIGTYPE_p_wxTipWindow swig_types[59] | |
1401 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[60] | |
1402 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[61] | |
1403 | #define SWIGTYPE_p_wxSplitterWindow swig_types[62] | |
1404 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63] | |
1405 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64] | |
1406 | #define SWIGTYPE_p_wxPopupWindow swig_types[65] | |
1407 | #define SWIGTYPE_p_wxSashWindow swig_types[66] | |
1408 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[67] | |
1409 | #define SWIGTYPE_p_wxWindow swig_types[68] | |
1410 | #define SWIGTYPE_p_wxScrolledWindow swig_types[69] | |
1411 | #define SWIGTYPE_p_wxMenuBar swig_types[70] | |
1412 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[71] | |
1413 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[72] | |
1414 | #define SWIGTYPE_p_wxPrintPreview swig_types[73] | |
1415 | #define SWIGTYPE_p_wxSashEvent swig_types[74] | |
1416 | #define SWIGTYPE_p_wxString swig_types[75] | |
1417 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[76] | |
1418 | #define SWIGTYPE_p_wxDirDialog swig_types[77] | |
1419 | #define SWIGTYPE_p_wxColourDialog swig_types[78] | |
1420 | #define SWIGTYPE_p_wxDialog swig_types[79] | |
1421 | #define SWIGTYPE_p_wxPanel swig_types[80] | |
1422 | #define SWIGTYPE_p_wxFontDialog swig_types[81] | |
1423 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[82] | |
1424 | #define SWIGTYPE_p_wxPrintDialog swig_types[83] | |
1425 | #define SWIGTYPE_p_wxFileSystem swig_types[84] | |
1426 | #define SWIGTYPE_p_wxBitmap swig_types[85] | |
1427 | #define SWIGTYPE_unsigned_int swig_types[86] | |
1428 | #define SWIGTYPE_p_unsigned_int swig_types[87] | |
1429 | #define SWIGTYPE_p_unsigned_char swig_types[88] | |
1430 | #define SWIGTYPE_p_wxCommandEvent swig_types[89] | |
1431 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[90] | |
1432 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[91] | |
1433 | #define SWIGTYPE_p_wxColour swig_types[92] | |
1434 | #define SWIGTYPE_p_wxToolBar swig_types[93] | |
1435 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[94] | |
1436 | #define SWIGTYPE_p_wxPrintDialogData swig_types[95] | |
1437 | static swig_type_info *swig_types[97]; | |
1438 | ||
1439 | /* -------- TYPES TABLE (END) -------- */ | |
1440 | ||
1441 | ||
1442 | /*----------------------------------------------- | |
1443 | @(target):= _windows_.so | |
1444 | ------------------------------------------------*/ | |
1445 | #define SWIG_init init_windows_ | |
1446 | ||
1447 | #define SWIG_name "_windows_" | |
1448 | ||
1449 | #include "wx/wxPython/wxPython.h" | |
1450 | #include "wx/wxPython/pyclasses.h" | |
1451 | ||
1452 | ||
1453 | static const wxString wxPyEmptyString(wxEmptyString); | |
1454 | static const wxString wxPyPanelNameStr(wxPanelNameStr); | |
1455 | ||
1456 | ||
1457 | ||
1458 | #include <limits.h> | |
1459 | ||
1460 | ||
1461 | SWIGINTERN int | |
1462 | SWIG_CheckLongInRange(long value, long min_value, long max_value, | |
1463 | const char *errmsg) | |
1464 | { | |
1465 | if (value < min_value) { | |
1466 | if (errmsg) { | |
1467 | PyErr_Format(PyExc_OverflowError, | |
1468 | "value %ld is less than '%s' minimum %ld", | |
1469 | value, errmsg, min_value); | |
1470 | } | |
1471 | return 0; | |
1472 | } else if (value > max_value) { | |
1473 | if (errmsg) { | |
1474 | PyErr_Format(PyExc_OverflowError, | |
1475 | "value %ld is greater than '%s' maximum %ld", | |
1476 | value, errmsg, max_value); | |
1477 | } | |
1478 | return 0; | |
1479 | } | |
1480 | return 1; | |
1481 | } | |
1482 | ||
1483 | ||
1484 | SWIGINTERN int | |
1485 | SWIG_AsVal_long(PyObject* obj, long* val) | |
1486 | { | |
1487 | if (PyNumber_Check(obj)) { | |
1488 | if (val) *val = PyInt_AsLong(obj); | |
1489 | return 1; | |
1490 | } | |
1491 | else { | |
1492 | SWIG_type_error("number", obj); | |
1493 | } | |
1494 | return 0; | |
1495 | } | |
1496 | ||
1497 | ||
1498 | #if INT_MAX != LONG_MAX | |
1499 | SWIGINTERN int | |
1500 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1501 | { | |
1502 | const char* errmsg = val ? "int" : (char*)0; | |
1503 | long v; | |
1504 | if (SWIG_AsVal_long(obj, &v)) { | |
1505 | if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { | |
1506 | if (val) *val = (int)(v); | |
1507 | return 1; | |
1508 | } else { | |
1509 | return 0; | |
1510 | } | |
1511 | } else { | |
1512 | PyErr_Clear(); | |
1513 | } | |
1514 | if (val) { | |
1515 | SWIG_type_error(errmsg, obj); | |
1516 | } | |
1517 | return 0; | |
1518 | } | |
1519 | #else | |
1520 | SWIGINTERNSHORT int | |
1521 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1522 | { | |
1523 | return SWIG_AsVal_long(obj,(long*)val); | |
1524 | } | |
1525 | #endif | |
1526 | ||
1527 | ||
1528 | SWIGINTERNSHORT int | |
1529 | SWIG_As_int(PyObject* obj) | |
1530 | { | |
1531 | int v; | |
1532 | if (!SWIG_AsVal_int(obj, &v)) { | |
1533 | /* | |
1534 | this is needed to make valgrind/purify happier. | |
1535 | */ | |
1536 | memset((void*)&v, 0, sizeof(int)); | |
1537 | } | |
1538 | return v; | |
1539 | } | |
1540 | ||
1541 | ||
1542 | SWIGINTERNSHORT long | |
1543 | SWIG_As_long(PyObject* obj) | |
1544 | { | |
1545 | long v; | |
1546 | if (!SWIG_AsVal_long(obj, &v)) { | |
1547 | /* | |
1548 | this is needed to make valgrind/purify happier. | |
1549 | */ | |
1550 | memset((void*)&v, 0, sizeof(long)); | |
1551 | } | |
1552 | return v; | |
1553 | } | |
1554 | ||
1555 | ||
1556 | SWIGINTERNSHORT int | |
1557 | SWIG_Check_int(PyObject* obj) | |
1558 | { | |
1559 | return SWIG_AsVal_int(obj, (int*)0); | |
1560 | } | |
1561 | ||
1562 | ||
1563 | SWIGINTERNSHORT int | |
1564 | SWIG_Check_long(PyObject* obj) | |
1565 | { | |
1566 | return SWIG_AsVal_long(obj, (long*)0); | |
1567 | } | |
1568 | ||
1569 | ||
1570 | SWIGINTERN int | |
1571 | SWIG_AsVal_bool(PyObject *obj, bool *val) | |
1572 | { | |
1573 | if (obj == Py_True) { | |
1574 | if (val) *val = true; | |
1575 | return 1; | |
1576 | } | |
1577 | if (obj == Py_False) { | |
1578 | if (val) *val = false; | |
1579 | return 1; | |
1580 | } | |
1581 | int res = 0; | |
1582 | if (SWIG_AsVal_int(obj, &res)) { | |
1583 | if (val) *val = res ? true : false; | |
1584 | return 1; | |
1585 | } else { | |
1586 | PyErr_Clear(); | |
1587 | } | |
1588 | if (val) { | |
1589 | SWIG_type_error("bool", obj); | |
1590 | } | |
1591 | return 0; | |
1592 | } | |
1593 | ||
1594 | ||
1595 | SWIGINTERNSHORT bool | |
1596 | SWIG_As_bool(PyObject* obj) | |
1597 | { | |
1598 | bool v; | |
1599 | if (!SWIG_AsVal_bool(obj, &v)) { | |
1600 | /* | |
1601 | this is needed to make valgrind/purify happier. | |
1602 | */ | |
1603 | memset((void*)&v, 0, sizeof(bool)); | |
1604 | } | |
1605 | return v; | |
1606 | } | |
1607 | ||
1608 | ||
1609 | SWIGINTERNSHORT int | |
1610 | SWIG_Check_bool(PyObject* obj) | |
1611 | { | |
1612 | return SWIG_AsVal_bool(obj, (bool*)0); | |
1613 | } | |
1614 | ||
1615 | ||
1616 | /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ | |
1617 | #define SWIG_From_int PyInt_FromLong | |
1618 | /*@@*/ | |
1619 | ||
1620 | ||
1621 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
1622 | PyObject* o2; | |
1623 | PyObject* o3; | |
1624 | ||
1625 | if (!target) { | |
1626 | target = o; | |
1627 | } else if (target == Py_None) { | |
1628 | Py_DECREF(Py_None); | |
1629 | target = o; | |
1630 | } else { | |
1631 | if (!PyTuple_Check(target)) { | |
1632 | o2 = target; | |
1633 | target = PyTuple_New(1); | |
1634 | PyTuple_SetItem(target, 0, o2); | |
1635 | } | |
1636 | o3 = PyTuple_New(1); | |
1637 | PyTuple_SetItem(o3, 0, o); | |
1638 | ||
1639 | o2 = target; | |
1640 | target = PySequence_Concat(o2, o3); | |
1641 | Py_DECREF(o2); | |
1642 | Py_DECREF(o3); | |
1643 | } | |
1644 | return target; | |
1645 | } | |
1646 | ||
1647 | ||
1648 | ||
1649 | SWIGINTERN int | |
1650 | SWIG_AsVal_double(PyObject *obj, double* val) | |
1651 | { | |
1652 | if (PyNumber_Check(obj)) { | |
1653 | if (val) *val = PyFloat_AsDouble(obj); | |
1654 | return 1; | |
1655 | } | |
1656 | else { | |
1657 | SWIG_type_error("number", obj); | |
1658 | } | |
1659 | return 0; | |
1660 | } | |
d55e5bfc | 1661 | |
36ed4f51 RD |
1662 | |
1663 | SWIGINTERNSHORT double | |
1664 | SWIG_As_double(PyObject* obj) | |
1665 | { | |
1666 | double v; | |
1667 | if (!SWIG_AsVal_double(obj, &v)) { | |
1668 | /* | |
1669 | this is needed to make valgrind/purify happier. | |
1670 | */ | |
1671 | memset((void*)&v, 0, sizeof(double)); | |
1672 | } | |
1673 | return v; | |
1674 | } | |
1675 | ||
1676 | ||
1677 | SWIGINTERNSHORT int | |
1678 | SWIG_Check_double(PyObject* obj) | |
1679 | { | |
1680 | return SWIG_AsVal_double(obj, (double*)0); | |
1681 | } | |
1682 | ||
1683 | ||
1684 | /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ | |
1685 | #define SWIG_From_double PyFloat_FromDouble | |
1686 | /*@@*/ | |
1687 | ||
1688 | static const wxString wxPyFrameNameStr(wxFrameNameStr); | |
1689 | static const wxString wxPyDialogNameStr(wxDialogNameStr); | |
1690 | static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr); | |
1691 | static const wxString wxPyToolBarNameStr(wxToolBarNameStr); | |
1692 | ||
1693 | /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ | |
1694 | #define SWIG_From_long PyInt_FromLong | |
1695 | /*@@*/ | |
1696 | ||
1697 | ||
1698 | ||
1699 | static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ | |
1700 | wxRect r; | |
1701 | self->GetFieldRect(i, r); | |
1702 | return r; | |
1703 | } | |
1704 | static const wxString wxPySplitterNameStr(wxT("splitter")); | |
1705 | static const wxString wxPySashNameStr(wxT("sashWindow")); | |
1706 | static const wxString wxPySashLayoutNameStr(wxT("layoutWindow")); | |
1707 | ||
1708 | #include <wx/popupwin.h> | |
1709 | ||
1710 | ||
1711 | class wxPopupWindow : public wxWindow { | |
1712 | public: | |
1713 | wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); } | |
1714 | wxPopupWindow() { wxPyRaiseNotImplemented(); } | |
1715 | }; | |
1716 | ||
1717 | class wxPyPopupTransientWindow : public wxPopupWindow | |
1718 | { | |
1719 | public: | |
1720 | wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); } | |
1721 | wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); } | |
1722 | }; | |
1723 | ||
1724 | ||
1725 | #include <wx/tipwin.h> | |
1726 | ||
1727 | static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){ | |
1728 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
1729 | } | |
1730 | ||
1731 | #include <wx/tipwin.h> | |
1732 | ||
1733 | ||
1734 | #include <wx/vscroll.h> | |
1735 | ||
1736 | ||
1737 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
1738 | { | |
1739 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); | |
1740 | public: | |
1741 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
1742 | ||
1743 | wxPyVScrolledWindow(wxWindow *parent, | |
1744 | wxWindowID id = wxID_ANY, | |
1745 | const wxPoint& pos = wxDefaultPosition, | |
1746 | const wxSize& size = wxDefaultSize, | |
1747 | long style = 0, | |
1748 | const wxString& name = wxPyPanelNameStr) | |
1749 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
1750 | {} | |
1751 | ||
1752 | // Overridable virtuals | |
1753 | ||
1754 | // this function must be overridden in the derived class and it should | |
1755 | // return the height of the given line in pixels | |
1756 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
1757 | ||
1758 | ||
1759 | // this function doesn't have to be overridden but it may be useful to do | |
1760 | // it if calculating the lines heights is a relatively expensive operation | |
1761 | // as it gives the user code a possibility to calculate several of them at | |
1762 | // once | |
1763 | // | |
1764 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
1765 | // shouldn't rely on the latter being called for all lines in the interval | |
1766 | // specified here. It is also possible that OnGetLineHeight() will be | |
1767 | // called for the lines outside of this interval, so this is really just a | |
1768 | // hint, not a promise. | |
1769 | // | |
1770 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
1771 | // usual | |
1772 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
1773 | ||
1774 | ||
1775 | // when the number of lines changes, we try to estimate the total height | |
1776 | // of all lines which is a rather expensive operation in terms of lines | |
1777 | // access, so if the user code may estimate the average height | |
1778 | // better/faster than we do, it should override this function to implement | |
1779 | // its own logic | |
1780 | // | |
1781 | // this function should return the best guess for the total height it may | |
1782 | // make | |
1783 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
1784 | ||
1785 | ||
1786 | // Also expose some other interesting protected methods | |
1787 | ||
1788 | ||
1789 | // find the index of the line we need to show at the top of the window such | |
1790 | // that the last (fully or partially) visible line is the given one | |
1791 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false) | |
1792 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } | |
1793 | ||
1794 | // get the total height of the lines between lineMin (inclusive) and | |
1795 | // lineMax (exclusive) | |
1796 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
1797 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
1798 | ||
1799 | ||
1800 | PYPRIVATE; | |
1801 | }; | |
1802 | ||
1803 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
d55e5bfc RD |
1804 | |
1805 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
1806 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
1807 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
1808 | ||
1809 | ||
36ed4f51 | 1810 | SWIGINTERN int |
c370783e | 1811 | SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) |
d55e5bfc | 1812 | { |
c370783e RD |
1813 | long v = 0; |
1814 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
36ed4f51 | 1815 | SWIG_type_error("unsigned number", obj); |
d55e5bfc | 1816 | } |
c370783e RD |
1817 | else if (val) |
1818 | *val = (unsigned long)v; | |
1819 | return 1; | |
d55e5bfc RD |
1820 | } |
1821 | ||
1822 | ||
36ed4f51 | 1823 | SWIGINTERNSHORT unsigned long |
c370783e | 1824 | SWIG_As_unsigned_SS_long(PyObject* obj) |
d55e5bfc | 1825 | { |
c370783e RD |
1826 | unsigned long v; |
1827 | if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) { | |
1828 | /* | |
36ed4f51 | 1829 | this is needed to make valgrind/purify happier. |
c370783e RD |
1830 | */ |
1831 | memset((void*)&v, 0, sizeof(unsigned long)); | |
d55e5bfc | 1832 | } |
c370783e RD |
1833 | return v; |
1834 | } | |
1835 | ||
1836 | ||
36ed4f51 | 1837 | SWIGINTERNSHORT int |
c370783e RD |
1838 | SWIG_Check_unsigned_SS_long(PyObject* obj) |
1839 | { | |
1840 | return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); | |
d55e5bfc RD |
1841 | } |
1842 | ||
1843 | ||
36ed4f51 | 1844 | SWIGINTERNSHORT PyObject* |
c370783e | 1845 | SWIG_From_unsigned_SS_long(unsigned long value) |
d55e5bfc RD |
1846 | { |
1847 | return (value > LONG_MAX) ? | |
1848 | PyLong_FromUnsignedLong(value) | |
36ed4f51 | 1849 | : PyInt_FromLong((long)(value)); |
d55e5bfc RD |
1850 | } |
1851 | ||
1852 | ||
1853 | #include <wx/vlbox.h> | |
1854 | ||
1855 | static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr); | |
1856 | ||
1857 | class wxPyVListBox : public wxVListBox | |
1858 | { | |
1859 | DECLARE_ABSTRACT_CLASS(wxPyVListBox); | |
1860 | public: | |
1861 | wxPyVListBox() : wxVListBox() {} | |
1862 | ||
1863 | wxPyVListBox(wxWindow *parent, | |
1864 | wxWindowID id = wxID_ANY, | |
1865 | const wxPoint& pos = wxDefaultPosition, | |
1866 | const wxSize& size = wxDefaultSize, | |
1867 | long style = 0, | |
1868 | const wxString& name = wxPyVListBoxNameStr) | |
1869 | : wxVListBox(parent, id, pos, size, style, name) | |
1870 | {} | |
1871 | ||
1872 | // Overridable virtuals | |
1873 | ||
1874 | // the derived class must implement this function to actually draw the item | |
1875 | // with the given index on the provided DC | |
1876 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
1877 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
1878 | ||
1879 | ||
1880 | // the derived class must implement this method to return the height of the | |
1881 | // specified item | |
1882 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
1883 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
1884 | ||
1885 | ||
1886 | // this method may be used to draw separators between the lines; note that | |
1887 | // the rectangle may be modified, typically to deflate it a bit before | |
1888 | // passing to OnDrawItem() | |
1889 | // | |
1890 | // the base class version doesn't do anything | |
1891 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
1892 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
1893 | ||
1894 | ||
1895 | // this method is used to draw the items background and, maybe, a border | |
1896 | // around it | |
1897 | // | |
1898 | // the base class version implements a reasonable default behaviour which | |
1899 | // consists in drawing the selected item with the standard background | |
1900 | // colour and drawing a border around the item if it is either selected or | |
1901 | // current | |
1902 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
1903 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
1904 | ||
1905 | ||
1906 | PYPRIVATE; | |
1907 | }; | |
1908 | ||
1909 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
1910 | ||
1911 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
1912 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
1913 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
1914 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
1915 | ||
1916 | ||
36ed4f51 | 1917 | static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){ |
09c21d3b RD |
1918 | unsigned long cookie = 0; |
1919 | int selected = self->GetFirstSelected(cookie); | |
1920 | bool blocked = wxPyBeginBlockThreads(); | |
1921 | PyObject* tup = PyTuple_New(2); | |
1922 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
1923 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
1924 | wxPyEndBlockThreads(blocked); | |
1925 | return tup; | |
1926 | } | |
36ed4f51 | 1927 | static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){ |
09c21d3b RD |
1928 | int selected = self->GetNextSelected(cookie); |
1929 | bool blocked = wxPyBeginBlockThreads(); | |
1930 | PyObject* tup = PyTuple_New(2); | |
1931 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
1932 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
1933 | wxPyEndBlockThreads(blocked); | |
1934 | return tup; | |
1935 | } | |
d55e5bfc RD |
1936 | |
1937 | #include <wx/htmllbox.h> | |
1938 | ||
1939 | ||
1940 | class wxPyHtmlListBox : public wxHtmlListBox | |
1941 | { | |
1942 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); | |
1943 | public: | |
1944 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
1945 | ||
1946 | wxPyHtmlListBox(wxWindow *parent, | |
1947 | wxWindowID id = wxID_ANY, | |
1948 | const wxPoint& pos = wxDefaultPosition, | |
1949 | const wxSize& size = wxDefaultSize, | |
1950 | long style = 0, | |
1951 | const wxString& name = wxPyVListBoxNameStr) | |
1952 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
1953 | {} | |
1954 | ||
1955 | // Overridable virtuals | |
1956 | ||
1957 | // this method must be implemented in the derived class and should return | |
1958 | // the body (i.e. without <html>) of the HTML for the given item | |
1959 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
1960 | ||
1961 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
1962 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
1963 | ||
1964 | // TODO: | |
1965 | // // this method allows to customize the selection appearance: it may be used | |
1966 | // // to specify the colour of the text which normally has the given colour | |
1967 | // // colFg when it is inside the selection | |
1968 | // // | |
1969 | // // by default, the original colour is not used at all and all text has the | |
1970 | // // same (default for this system) colour inside selection | |
1971 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
1972 | ||
1973 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
1974 | // // background colour -- this is even more rarely used as you can change it | |
1975 | // // globally using SetSelectionBackground() | |
1976 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
1977 | ||
1978 | ||
1979 | PYPRIVATE; | |
1980 | }; | |
1981 | ||
1982 | ||
1983 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
1984 | ||
1985 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
1986 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
1987 | ||
1988 | ||
1989 | ||
1990 | ||
1991 | ||
b411df4a RD |
1992 | #ifndef wxHAS_TASK_BAR_ICON |
1993 | // implement dummy classes for platforms that don't have it | |
d55e5bfc RD |
1994 | |
1995 | class wxTaskBarIcon : public wxEvtHandler | |
1996 | { | |
1997 | public: | |
1998 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } | |
1999 | }; | |
09c21d3b | 2000 | |
d55e5bfc RD |
2001 | |
2002 | class wxTaskBarIconEvent : public wxEvent | |
2003 | { | |
2004 | public: | |
2005 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
2006 | { wxPyRaiseNotImplemented(); } | |
2007 | virtual wxEvent* Clone() const { return NULL; } | |
b411df4a RD |
2008 | bool IsOk() const { return false; } |
2009 | bool IsIconInstalled() const { return false; } | |
2010 | bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; } | |
2011 | bool RemoveIcon() { return false; } | |
2012 | bool PopupMenu(wxMenu *menu) { return false; } | |
d55e5bfc RD |
2013 | }; |
2014 | ||
2015 | enum { | |
2016 | wxEVT_TASKBAR_MOVE = 0, | |
2017 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
2018 | wxEVT_TASKBAR_LEFT_UP = 0, | |
2019 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
2020 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
2021 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
2022 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
2023 | }; | |
09c21d3b RD |
2024 | |
2025 | ||
2026 | #else | |
5e483524 RD |
2027 | // Otherwise make a class that can virtualize CreatePopupMenu |
2028 | class wxPyTaskBarIcon : public wxTaskBarIcon | |
2029 | { | |
2030 | DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon); | |
2031 | public: | |
2032 | wxPyTaskBarIcon() : wxTaskBarIcon() | |
2033 | {} | |
09c21d3b | 2034 | |
5e483524 RD |
2035 | wxMenu* CreatePopupMenu() { |
2036 | wxMenu *rval = NULL; | |
2037 | bool found; | |
2038 | bool blocked = wxPyBeginBlockThreads(); | |
2039 | if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) { | |
2040 | PyObject* ro; | |
2041 | wxMenu* ptr; | |
2042 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
2043 | if (ro) { | |
2044 | if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu"))) | |
2045 | rval = ptr; | |
2046 | Py_DECREF(ro); | |
2047 | } | |
2048 | } | |
2049 | wxPyEndBlockThreads(blocked); | |
2050 | if (! found) | |
2051 | rval = wxTaskBarIcon::CreatePopupMenu(); | |
2052 | return rval; | |
2053 | } | |
d55e5bfc | 2054 | |
5e483524 RD |
2055 | PYPRIVATE; |
2056 | }; | |
d55e5bfc | 2057 | |
5e483524 | 2058 | IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon); |
d55e5bfc | 2059 | |
5e483524 RD |
2060 | #endif |
2061 | ||
36ed4f51 | 2062 | static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){ |
5e483524 RD |
2063 | self->RemoveIcon(); |
2064 | delete self; | |
d55e5bfc RD |
2065 | } |
2066 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); | |
2067 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
2068 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
2069 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
2070 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
2071 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
36ed4f51 | 2072 | static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ |
d55e5bfc RD |
2073 | wxArrayString arr; |
2074 | self->GetFilenames(arr); | |
2075 | return wxArrayString2PyList_helper(arr); | |
2076 | } | |
36ed4f51 | 2077 | static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ |
d55e5bfc RD |
2078 | wxArrayString arr; |
2079 | self->GetPaths(arr); | |
2080 | return wxArrayString2PyList_helper(arr); | |
2081 | } | |
36ed4f51 | 2082 | static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ |
d55e5bfc RD |
2083 | return wxArrayInt2PyList_helper(self->GetSelections()); |
2084 | } | |
36ed4f51 | 2085 | static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){ |
d55e5bfc RD |
2086 | return new wxSingleChoiceDialog(parent, message, caption, |
2087 | choices, choices_array, NULL, style, pos); | |
2088 | } | |
070c48b4 | 2089 | static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr); |
d55e5bfc RD |
2090 | |
2091 | #include <wx/mdi.h> | |
2092 | ||
2093 | // C++ version of Python aware wxWindow | |
2094 | class wxPyWindow : public wxWindow | |
2095 | { | |
2096 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
2097 | public: | |
2098 | wxPyWindow() : wxWindow() {} | |
2099 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
2100 | const wxPoint& pos = wxDefaultPosition, | |
2101 | const wxSize& size = wxDefaultSize, | |
2102 | long style = 0, | |
2103 | const wxString& name = wxPyPanelNameStr) | |
2104 | : wxWindow(parent, id, pos, size, style, name) {} | |
2105 | ||
a5ee0656 | 2106 | void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); } |
d55e5bfc RD |
2107 | |
2108 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
2109 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2110 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2111 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2112 | ||
2113 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2114 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2115 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2116 | ||
2117 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2118 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2119 | ||
2120 | DEC_PYCALLBACK__(InitDialog); | |
2121 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2122 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2123 | DEC_PYCALLBACK_BOOL_(Validate); | |
2124 | ||
2125 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2126 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2127 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2128 | ||
2129 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2130 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2131 | ||
a5ee0656 | 2132 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
d55e5bfc | 2133 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
a5ee0656 | 2134 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc RD |
2135 | |
2136 | PYPRIVATE; | |
2137 | }; | |
2138 | ||
2139 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
2140 | ||
2141 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
2142 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
2143 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
2144 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
2145 | ||
2146 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
2147 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
2148 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
2149 | ||
2150 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
2151 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
2152 | ||
2153 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
2154 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
2155 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
2156 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
2157 | ||
2158 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
2159 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
2160 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
2161 | ||
2162 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
2163 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
2164 | ||
a5ee0656 | 2165 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours); |
d55e5bfc | 2166 | IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground); |
a5ee0656 | 2167 | IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes); |
d55e5bfc RD |
2168 | |
2169 | ||
2170 | // C++ version of Python aware wxPanel | |
2171 | class wxPyPanel : public wxPanel | |
2172 | { | |
2173 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
2174 | public: | |
2175 | wxPyPanel() : wxPanel() {} | |
2176 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
2177 | const wxPoint& pos = wxDefaultPosition, | |
2178 | const wxSize& size = wxDefaultSize, | |
2179 | long style = 0, | |
2180 | const wxString& name = wxPyPanelNameStr) | |
2181 | : wxPanel(parent, id, pos, size, style, name) {} | |
2182 | ||
a5ee0656 RD |
2183 | void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); } |
2184 | ||
d55e5bfc RD |
2185 | |
2186 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
2187 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2188 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2189 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2190 | ||
2191 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2192 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2193 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2194 | ||
2195 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2196 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2197 | ||
2198 | DEC_PYCALLBACK__(InitDialog); | |
2199 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2200 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2201 | DEC_PYCALLBACK_BOOL_(Validate); | |
2202 | ||
2203 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2204 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2205 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2206 | ||
2207 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2208 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2209 | ||
a5ee0656 | 2210 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
d55e5bfc | 2211 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
a5ee0656 | 2212 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc RD |
2213 | |
2214 | PYPRIVATE; | |
2215 | }; | |
2216 | ||
2217 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
2218 | ||
2219 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
2220 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
2221 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
2222 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
2223 | ||
2224 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
2225 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
2226 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
2227 | ||
2228 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
2229 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
2230 | ||
2231 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
2232 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
2233 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
2234 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
2235 | ||
2236 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
2237 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
2238 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
2239 | ||
2240 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
2241 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
2242 | ||
a5ee0656 | 2243 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours); |
d55e5bfc | 2244 | IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground); |
a5ee0656 | 2245 | IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes); |
d55e5bfc | 2246 | |
a5ee0656 | 2247 | |
d55e5bfc RD |
2248 | // C++ version of Python aware wxScrolledWindow |
2249 | class wxPyScrolledWindow : public wxScrolledWindow | |
2250 | { | |
2251 | DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow) | |
2252 | public: | |
2253 | wxPyScrolledWindow() : wxScrolledWindow() {} | |
2254 | wxPyScrolledWindow(wxWindow* parent, const wxWindowID id, | |
2255 | const wxPoint& pos = wxDefaultPosition, | |
2256 | const wxSize& size = wxDefaultSize, | |
2257 | long style = 0, | |
2258 | const wxString& name = wxPyPanelNameStr) | |
2259 | : wxScrolledWindow(parent, id, pos, size, style, name) {} | |
2260 | ||
a5ee0656 | 2261 | void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); } |
d55e5bfc RD |
2262 | |
2263 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
2264 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2265 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2266 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2267 | ||
2268 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2269 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2270 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2271 | ||
2272 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2273 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2274 | ||
2275 | DEC_PYCALLBACK__(InitDialog); | |
2276 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2277 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2278 | DEC_PYCALLBACK_BOOL_(Validate); | |
2279 | ||
2280 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2281 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2282 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2283 | ||
2284 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2285 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2286 | ||
a5ee0656 | 2287 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
d55e5bfc | 2288 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
a5ee0656 | 2289 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc RD |
2290 | |
2291 | PYPRIVATE; | |
2292 | }; | |
2293 | ||
2294 | IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow); | |
2295 | ||
2296 | IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow); | |
2297 | IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize); | |
2298 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize); | |
2299 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize); | |
2300 | ||
2301 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize); | |
2302 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize); | |
2303 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition); | |
2304 | ||
2305 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize); | |
2306 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize); | |
2307 | ||
2308 | IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog); | |
2309 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow); | |
2310 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow); | |
2311 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate); | |
2312 | ||
2313 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus); | |
2314 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard); | |
2315 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize); | |
2316 | ||
2317 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild); | |
2318 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild); | |
2319 | ||
a5ee0656 | 2320 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours); |
d55e5bfc | 2321 | IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground); |
a5ee0656 RD |
2322 | IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes); |
2323 | ||
d55e5bfc RD |
2324 | |
2325 | ||
2326 | #include "wx/wxPython/printfw.h" | |
2327 | ||
2328 | ||
2329 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); | |
2330 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
2331 | ||
2332 | ||
070c48b4 | 2333 | IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout); |
d55e5bfc RD |
2334 | |
2335 | // Since this one would be tough and ugly to do with the Macros... | |
2336 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
b411df4a | 2337 | bool hadErr = false; |
d55e5bfc RD |
2338 | bool found; |
2339 | ||
2340 | bool blocked = wxPyBeginBlockThreads(); | |
2341 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { | |
2342 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
2343 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
2344 | PyObject* val; | |
2345 | ||
2346 | val = PyTuple_GetItem(result, 0); | |
2347 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
b411df4a | 2348 | else hadErr = true; |
d55e5bfc RD |
2349 | |
2350 | val = PyTuple_GetItem(result, 1); | |
2351 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
b411df4a | 2352 | else hadErr = true; |
d55e5bfc RD |
2353 | |
2354 | val = PyTuple_GetItem(result, 2); | |
2355 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
b411df4a | 2356 | else hadErr = true; |
d55e5bfc RD |
2357 | |
2358 | val = PyTuple_GetItem(result, 3); | |
2359 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
b411df4a | 2360 | else hadErr = true; |
d55e5bfc RD |
2361 | } |
2362 | else | |
b411df4a | 2363 | hadErr = true; |
d55e5bfc RD |
2364 | |
2365 | if (hadErr) { | |
2366 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
2367 | PyErr_Print(); | |
2368 | } | |
2369 | Py_DECREF(result); | |
2370 | } | |
2371 | wxPyEndBlockThreads(blocked); | |
2372 | if (! found) | |
2373 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
2374 | } | |
2375 | ||
2376 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
2377 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
2378 | } | |
2379 | ||
2380 | ||
2381 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
2382 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
2383 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
2384 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
2385 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
2386 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
2387 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
2388 | ||
2389 | ||
2390 | ||
2391 | ||
2392 | ||
b411df4a RD |
2393 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ |
2394 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
d55e5bfc RD |
2395 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) |
2396 | ||
2397 | ||
b411df4a RD |
2398 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ |
2399 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
2400 | bool rval=false; \ | |
2401 | bool found; \ | |
2402 | bool blocked = wxPyBeginBlockThreads(); \ | |
2403 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
2404 | PyObject* win = wxPyMake_wxObject(a,false); \ | |
2405 | PyObject* dc = wxPyMake_wxObject(&b,false); \ | |
2406 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \ | |
2407 | Py_DECREF(win); \ | |
2408 | Py_DECREF(dc); \ | |
2409 | } \ | |
2410 | wxPyEndBlockThreads(blocked); \ | |
2411 | if (! found) \ | |
2412 | rval = PCLASS::CBNAME(a, b); \ | |
2413 | return rval; \ | |
2414 | } \ | |
2415 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
2416 | return PCLASS::CBNAME(a, b); \ | |
d55e5bfc RD |
2417 | } |
2418 | ||
2419 | ||
2420 | ||
2421 | ||
2422 | class wxPyPrintPreview : public wxPrintPreview | |
2423 | { | |
2424 | DECLARE_CLASS(wxPyPrintPreview) | |
2425 | public: | |
2426 | wxPyPrintPreview(wxPyPrintout* printout, | |
2427 | wxPyPrintout* printoutForPrinting, | |
2428 | wxPrintDialogData* data=NULL) | |
2429 | : wxPrintPreview(printout, printoutForPrinting, data) | |
2430 | {} | |
2431 | wxPyPrintPreview(wxPyPrintout* printout, | |
2432 | wxPyPrintout* printoutForPrinting, | |
2433 | wxPrintData* data=NULL) | |
2434 | : wxPrintPreview(printout, printoutForPrinting, data) | |
2435 | {} | |
2436 | ||
2437 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
2438 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
2439 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
2440 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
2441 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
2442 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
2443 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
2444 | ||
2445 | PYPRIVATE; | |
2446 | }; | |
2447 | ||
2448 | // Stupid renamed classes... Fix this in 2.5... | |
2449 | #if defined(__WXMSW__) | |
2450 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
2451 | #elif defined(__WXMAC__) | |
2452 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
2453 | #else | |
2454 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
2455 | #endif | |
2456 | ||
2457 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
2458 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
2459 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
2460 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
2461 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
2462 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
2463 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
2464 | ||
2465 | ||
2466 | class wxPyPreviewFrame : public wxPreviewFrame | |
2467 | { | |
2468 | DECLARE_CLASS(wxPyPreviewFrame); | |
2469 | public: | |
2470 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
2471 | const wxString& title, | |
2472 | const wxPoint& pos = wxDefaultPosition, | |
2473 | const wxSize& size = wxDefaultSize, | |
2474 | long style = wxDEFAULT_FRAME_STYLE, | |
2475 | const wxString& name = wxPyFrameNameStr) | |
2476 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
2477 | {} | |
2478 | ||
2479 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
2480 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
2481 | ||
2482 | DEC_PYCALLBACK_VOID_(Initialize); | |
2483 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
2484 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
2485 | ||
2486 | PYPRIVATE; | |
2487 | }; | |
2488 | ||
2489 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
2490 | ||
2491 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
2492 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
2493 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
2494 | ||
2495 | ||
2496 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
2497 | { | |
2498 | DECLARE_CLASS(wxPyPreviewControlBar); | |
2499 | public: | |
2500 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
2501 | long buttons, | |
2502 | wxWindow *parent, | |
2503 | const wxPoint& pos = wxDefaultPosition, | |
2504 | const wxSize& size = wxDefaultSize, | |
2505 | long style = 0, | |
2506 | const wxString& name = wxPyPanelNameStr) | |
2507 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
2508 | {} | |
2509 | ||
2510 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
2511 | ||
2512 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
2513 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
2514 | ||
2515 | PYPRIVATE; | |
2516 | }; | |
2517 | ||
2518 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
2519 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
2520 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
2521 | ||
2522 | #ifdef __cplusplus | |
2523 | extern "C" { | |
2524 | #endif | |
c370783e | 2525 | static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2526 | PyObject *resultobj; |
2527 | wxWindow *arg1 = (wxWindow *) 0 ; | |
2528 | int arg2 = (int) (int)-1 ; | |
2529 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
2530 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
2531 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
2532 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
2533 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
2534 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
2535 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
2536 | wxPanel *result; | |
2537 | wxPoint temp3 ; | |
2538 | wxSize temp4 ; | |
b411df4a | 2539 | bool temp6 = false ; |
d55e5bfc RD |
2540 | PyObject * obj0 = 0 ; |
2541 | PyObject * obj1 = 0 ; | |
2542 | PyObject * obj2 = 0 ; | |
2543 | PyObject * obj3 = 0 ; | |
2544 | PyObject * obj4 = 0 ; | |
2545 | PyObject * obj5 = 0 ; | |
2546 | char *kwnames[] = { | |
2547 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2548 | }; | |
2549 | ||
2550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
2551 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
2552 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 2553 | if (obj1) { |
36ed4f51 RD |
2554 | { |
2555 | arg2 = (int const)(SWIG_As_int(obj1)); | |
2556 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2557 | } | |
d55e5bfc RD |
2558 | } |
2559 | if (obj2) { | |
2560 | { | |
2561 | arg3 = &temp3; | |
2562 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
2563 | } | |
2564 | } | |
2565 | if (obj3) { | |
2566 | { | |
2567 | arg4 = &temp4; | |
2568 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
2569 | } | |
2570 | } | |
2571 | if (obj4) { | |
36ed4f51 RD |
2572 | { |
2573 | arg5 = (long)(SWIG_As_long(obj4)); | |
2574 | if (SWIG_arg_fail(5)) SWIG_fail; | |
2575 | } | |
d55e5bfc RD |
2576 | } |
2577 | if (obj5) { | |
2578 | { | |
2579 | arg6 = wxString_in_helper(obj5); | |
2580 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 2581 | temp6 = true; |
d55e5bfc RD |
2582 | } |
2583 | } | |
2584 | { | |
0439c23b | 2585 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
2586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2587 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
2588 | ||
2589 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2590 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 2591 | } |
b0f7404b | 2592 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d55e5bfc RD |
2593 | { |
2594 | if (temp6) | |
2595 | delete arg6; | |
2596 | } | |
2597 | return resultobj; | |
2598 | fail: | |
2599 | { | |
2600 | if (temp6) | |
2601 | delete arg6; | |
2602 | } | |
2603 | return NULL; | |
2604 | } | |
2605 | ||
2606 | ||
c370783e | 2607 | static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2608 | PyObject *resultobj; |
2609 | wxPanel *result; | |
2610 | char *kwnames[] = { | |
2611 | NULL | |
2612 | }; | |
2613 | ||
2614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
2615 | { | |
0439c23b | 2616 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
2617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2618 | result = (wxPanel *)new wxPanel(); | |
2619 | ||
2620 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2621 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 2622 | } |
b0f7404b | 2623 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d55e5bfc RD |
2624 | return resultobj; |
2625 | fail: | |
2626 | return NULL; | |
2627 | } | |
2628 | ||
2629 | ||
c370783e | 2630 | static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2631 | PyObject *resultobj; |
2632 | wxPanel *arg1 = (wxPanel *) 0 ; | |
2633 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2634 | int arg3 = (int) (int)-1 ; | |
2635 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2636 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2637 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2638 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2639 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
2640 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
2641 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2642 | bool result; | |
2643 | wxPoint temp4 ; | |
2644 | wxSize temp5 ; | |
b411df4a | 2645 | bool temp7 = false ; |
d55e5bfc RD |
2646 | PyObject * obj0 = 0 ; |
2647 | PyObject * obj1 = 0 ; | |
2648 | PyObject * obj2 = 0 ; | |
2649 | PyObject * obj3 = 0 ; | |
2650 | PyObject * obj4 = 0 ; | |
2651 | PyObject * obj5 = 0 ; | |
2652 | PyObject * obj6 = 0 ; | |
2653 | char *kwnames[] = { | |
2654 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2655 | }; | |
2656 | ||
2657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
2658 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2659 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2660 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2661 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 2662 | if (obj2) { |
36ed4f51 RD |
2663 | { |
2664 | arg3 = (int const)(SWIG_As_int(obj2)); | |
2665 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2666 | } | |
d55e5bfc RD |
2667 | } |
2668 | if (obj3) { | |
2669 | { | |
2670 | arg4 = &temp4; | |
2671 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2672 | } | |
2673 | } | |
2674 | if (obj4) { | |
2675 | { | |
2676 | arg5 = &temp5; | |
2677 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2678 | } | |
2679 | } | |
2680 | if (obj5) { | |
36ed4f51 RD |
2681 | { |
2682 | arg6 = (long)(SWIG_As_long(obj5)); | |
2683 | if (SWIG_arg_fail(6)) SWIG_fail; | |
2684 | } | |
d55e5bfc RD |
2685 | } |
2686 | if (obj6) { | |
2687 | { | |
2688 | arg7 = wxString_in_helper(obj6); | |
2689 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 2690 | temp7 = true; |
d55e5bfc RD |
2691 | } |
2692 | } | |
2693 | { | |
2694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2695 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2696 | ||
2697 | wxPyEndAllowThreads(__tstate); | |
2698 | if (PyErr_Occurred()) SWIG_fail; | |
2699 | } | |
2700 | { | |
2701 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2702 | } | |
2703 | { | |
2704 | if (temp7) | |
2705 | delete arg7; | |
2706 | } | |
2707 | return resultobj; | |
2708 | fail: | |
2709 | { | |
2710 | if (temp7) | |
2711 | delete arg7; | |
2712 | } | |
2713 | return NULL; | |
2714 | } | |
2715 | ||
2716 | ||
c370783e | 2717 | static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2718 | PyObject *resultobj; |
2719 | wxPanel *arg1 = (wxPanel *) 0 ; | |
2720 | PyObject * obj0 = 0 ; | |
2721 | char *kwnames[] = { | |
2722 | (char *) "self", NULL | |
2723 | }; | |
2724 | ||
2725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
2726 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2727 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
2728 | { |
2729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2730 | (arg1)->InitDialog(); | |
2731 | ||
2732 | wxPyEndAllowThreads(__tstate); | |
2733 | if (PyErr_Occurred()) SWIG_fail; | |
2734 | } | |
2735 | Py_INCREF(Py_None); resultobj = Py_None; | |
2736 | return resultobj; | |
2737 | fail: | |
2738 | return NULL; | |
2739 | } | |
2740 | ||
2741 | ||
5cbf236d RD |
2742 | static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
2743 | PyObject *resultobj; | |
2744 | wxPanel *arg1 = (wxPanel *) 0 ; | |
2745 | PyObject * obj0 = 0 ; | |
2746 | char *kwnames[] = { | |
2747 | (char *) "self", NULL | |
2748 | }; | |
2749 | ||
2750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
2751 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2752 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d RD |
2753 | { |
2754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2755 | (arg1)->SetFocus(); | |
2756 | ||
2757 | wxPyEndAllowThreads(__tstate); | |
2758 | if (PyErr_Occurred()) SWIG_fail; | |
2759 | } | |
2760 | Py_INCREF(Py_None); resultobj = Py_None; | |
2761 | return resultobj; | |
2762 | fail: | |
2763 | return NULL; | |
2764 | } | |
2765 | ||
2766 | ||
2767 | static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) { | |
2768 | PyObject *resultobj; | |
2769 | wxPanel *arg1 = (wxPanel *) 0 ; | |
2770 | PyObject * obj0 = 0 ; | |
2771 | char *kwnames[] = { | |
2772 | (char *) "self", NULL | |
2773 | }; | |
2774 | ||
2775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
2776 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2777 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d RD |
2778 | { |
2779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2780 | (arg1)->SetFocusIgnoringChildren(); | |
2781 | ||
2782 | wxPyEndAllowThreads(__tstate); | |
2783 | if (PyErr_Occurred()) SWIG_fail; | |
2784 | } | |
2785 | Py_INCREF(Py_None); resultobj = Py_None; | |
2786 | return resultobj; | |
2787 | fail: | |
2788 | return NULL; | |
2789 | } | |
2790 | ||
2791 | ||
c370783e | 2792 | static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 2793 | PyObject *resultobj; |
36ed4f51 | 2794 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
2795 | wxVisualAttributes result; |
2796 | PyObject * obj0 = 0 ; | |
2797 | char *kwnames[] = { | |
2798 | (char *) "variant", NULL | |
2799 | }; | |
2800 | ||
2801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
2802 | if (obj0) { | |
36ed4f51 RD |
2803 | { |
2804 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
2805 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2806 | } | |
f20a2e1f RD |
2807 | } |
2808 | { | |
0439c23b | 2809 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
2810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2811 | result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
2812 | ||
2813 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2814 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
2815 | } |
2816 | { | |
2817 | wxVisualAttributes * resultptr; | |
36ed4f51 | 2818 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
2819 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
2820 | } | |
2821 | return resultobj; | |
2822 | fail: | |
2823 | return NULL; | |
2824 | } | |
2825 | ||
2826 | ||
c370783e | 2827 | static PyObject * Panel_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
2828 | PyObject *obj; |
2829 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2830 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
2831 | Py_INCREF(obj); | |
2832 | return Py_BuildValue((char *)""); | |
2833 | } | |
c370783e | 2834 | static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2835 | PyObject *resultobj; |
2836 | wxWindow *arg1 = (wxWindow *) 0 ; | |
2837 | int arg2 = (int) (int)-1 ; | |
2838 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
2839 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
2840 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
2841 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
2842 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
2843 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
2844 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
2845 | wxScrolledWindow *result; | |
2846 | wxPoint temp3 ; | |
2847 | wxSize temp4 ; | |
b411df4a | 2848 | bool temp6 = false ; |
d55e5bfc RD |
2849 | PyObject * obj0 = 0 ; |
2850 | PyObject * obj1 = 0 ; | |
2851 | PyObject * obj2 = 0 ; | |
2852 | PyObject * obj3 = 0 ; | |
2853 | PyObject * obj4 = 0 ; | |
2854 | PyObject * obj5 = 0 ; | |
2855 | char *kwnames[] = { | |
2856 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2857 | }; | |
2858 | ||
2859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
2860 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
2861 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 2862 | if (obj1) { |
36ed4f51 RD |
2863 | { |
2864 | arg2 = (int const)(SWIG_As_int(obj1)); | |
2865 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2866 | } | |
d55e5bfc RD |
2867 | } |
2868 | if (obj2) { | |
2869 | { | |
2870 | arg3 = &temp3; | |
2871 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
2872 | } | |
2873 | } | |
2874 | if (obj3) { | |
2875 | { | |
2876 | arg4 = &temp4; | |
2877 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
2878 | } | |
2879 | } | |
2880 | if (obj4) { | |
36ed4f51 RD |
2881 | { |
2882 | arg5 = (long)(SWIG_As_long(obj4)); | |
2883 | if (SWIG_arg_fail(5)) SWIG_fail; | |
2884 | } | |
d55e5bfc RD |
2885 | } |
2886 | if (obj5) { | |
2887 | { | |
2888 | arg6 = wxString_in_helper(obj5); | |
2889 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 2890 | temp6 = true; |
d55e5bfc RD |
2891 | } |
2892 | } | |
2893 | { | |
0439c23b | 2894 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
2895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2896 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
2897 | ||
2898 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2899 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 2900 | } |
b0f7404b | 2901 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d55e5bfc RD |
2902 | { |
2903 | if (temp6) | |
2904 | delete arg6; | |
2905 | } | |
2906 | return resultobj; | |
2907 | fail: | |
2908 | { | |
2909 | if (temp6) | |
2910 | delete arg6; | |
2911 | } | |
2912 | return NULL; | |
2913 | } | |
2914 | ||
2915 | ||
c370783e | 2916 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2917 | PyObject *resultobj; |
2918 | wxScrolledWindow *result; | |
2919 | char *kwnames[] = { | |
2920 | NULL | |
2921 | }; | |
2922 | ||
2923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
2924 | { | |
0439c23b | 2925 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
2926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2927 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
2928 | ||
2929 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2930 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 2931 | } |
b0f7404b | 2932 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d55e5bfc RD |
2933 | return resultobj; |
2934 | fail: | |
2935 | return NULL; | |
2936 | } | |
2937 | ||
2938 | ||
c370783e | 2939 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2940 | PyObject *resultobj; |
2941 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2942 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2943 | int arg3 = (int) (int)-1 ; | |
2944 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2945 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2946 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2947 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2948 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
2949 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
2950 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2951 | bool result; | |
2952 | wxPoint temp4 ; | |
2953 | wxSize temp5 ; | |
b411df4a | 2954 | bool temp7 = false ; |
d55e5bfc RD |
2955 | PyObject * obj0 = 0 ; |
2956 | PyObject * obj1 = 0 ; | |
2957 | PyObject * obj2 = 0 ; | |
2958 | PyObject * obj3 = 0 ; | |
2959 | PyObject * obj4 = 0 ; | |
2960 | PyObject * obj5 = 0 ; | |
2961 | PyObject * obj6 = 0 ; | |
2962 | char *kwnames[] = { | |
2963 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2964 | }; | |
2965 | ||
2966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
2967 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
2968 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2969 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2970 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 2971 | if (obj2) { |
36ed4f51 RD |
2972 | { |
2973 | arg3 = (int const)(SWIG_As_int(obj2)); | |
2974 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2975 | } | |
d55e5bfc RD |
2976 | } |
2977 | if (obj3) { | |
2978 | { | |
2979 | arg4 = &temp4; | |
2980 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2981 | } | |
2982 | } | |
2983 | if (obj4) { | |
2984 | { | |
2985 | arg5 = &temp5; | |
2986 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2987 | } | |
2988 | } | |
2989 | if (obj5) { | |
36ed4f51 RD |
2990 | { |
2991 | arg6 = (long)(SWIG_As_long(obj5)); | |
2992 | if (SWIG_arg_fail(6)) SWIG_fail; | |
2993 | } | |
d55e5bfc RD |
2994 | } |
2995 | if (obj6) { | |
2996 | { | |
2997 | arg7 = wxString_in_helper(obj6); | |
2998 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 2999 | temp7 = true; |
d55e5bfc RD |
3000 | } |
3001 | } | |
3002 | { | |
3003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3005 | ||
3006 | wxPyEndAllowThreads(__tstate); | |
3007 | if (PyErr_Occurred()) SWIG_fail; | |
3008 | } | |
3009 | { | |
3010 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3011 | } | |
3012 | { | |
3013 | if (temp7) | |
3014 | delete arg7; | |
3015 | } | |
3016 | return resultobj; | |
3017 | fail: | |
3018 | { | |
3019 | if (temp7) | |
3020 | delete arg7; | |
3021 | } | |
3022 | return NULL; | |
3023 | } | |
3024 | ||
3025 | ||
c370783e | 3026 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3027 | PyObject *resultobj; |
3028 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3029 | int arg2 ; | |
3030 | int arg3 ; | |
3031 | int arg4 ; | |
3032 | int arg5 ; | |
3033 | int arg6 = (int) 0 ; | |
3034 | int arg7 = (int) 0 ; | |
b411df4a | 3035 | bool arg8 = (bool) false ; |
d55e5bfc RD |
3036 | PyObject * obj0 = 0 ; |
3037 | PyObject * obj1 = 0 ; | |
3038 | PyObject * obj2 = 0 ; | |
3039 | PyObject * obj3 = 0 ; | |
3040 | PyObject * obj4 = 0 ; | |
3041 | PyObject * obj5 = 0 ; | |
3042 | PyObject * obj6 = 0 ; | |
3043 | PyObject * obj7 = 0 ; | |
3044 | char *kwnames[] = { | |
3045 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
3046 | }; | |
3047 | ||
3048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; | |
36ed4f51 RD |
3049 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3050 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3051 | { | |
3052 | arg2 = (int)(SWIG_As_int(obj1)); | |
3053 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3054 | } | |
3055 | { | |
3056 | arg3 = (int)(SWIG_As_int(obj2)); | |
3057 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3058 | } | |
3059 | { | |
3060 | arg4 = (int)(SWIG_As_int(obj3)); | |
3061 | if (SWIG_arg_fail(4)) SWIG_fail; | |
3062 | } | |
3063 | { | |
3064 | arg5 = (int)(SWIG_As_int(obj4)); | |
3065 | if (SWIG_arg_fail(5)) SWIG_fail; | |
3066 | } | |
d55e5bfc | 3067 | if (obj5) { |
36ed4f51 RD |
3068 | { |
3069 | arg6 = (int)(SWIG_As_int(obj5)); | |
3070 | if (SWIG_arg_fail(6)) SWIG_fail; | |
3071 | } | |
d55e5bfc RD |
3072 | } |
3073 | if (obj6) { | |
36ed4f51 RD |
3074 | { |
3075 | arg7 = (int)(SWIG_As_int(obj6)); | |
3076 | if (SWIG_arg_fail(7)) SWIG_fail; | |
3077 | } | |
d55e5bfc RD |
3078 | } |
3079 | if (obj7) { | |
36ed4f51 RD |
3080 | { |
3081 | arg8 = (bool)(SWIG_As_bool(obj7)); | |
3082 | if (SWIG_arg_fail(8)) SWIG_fail; | |
3083 | } | |
d55e5bfc RD |
3084 | } |
3085 | { | |
3086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3087 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
3088 | ||
3089 | wxPyEndAllowThreads(__tstate); | |
3090 | if (PyErr_Occurred()) SWIG_fail; | |
3091 | } | |
3092 | Py_INCREF(Py_None); resultobj = Py_None; | |
3093 | return resultobj; | |
3094 | fail: | |
3095 | return NULL; | |
3096 | } | |
3097 | ||
3098 | ||
c370783e | 3099 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3100 | PyObject *resultobj; |
3101 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3102 | int arg2 ; | |
3103 | int arg3 ; | |
3104 | PyObject * obj0 = 0 ; | |
3105 | PyObject * obj1 = 0 ; | |
3106 | PyObject * obj2 = 0 ; | |
3107 | char *kwnames[] = { | |
3108 | (char *) "self",(char *) "x",(char *) "y", NULL | |
3109 | }; | |
3110 | ||
3111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
3112 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3113 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3114 | { | |
3115 | arg2 = (int)(SWIG_As_int(obj1)); | |
3116 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3117 | } | |
3118 | { | |
3119 | arg3 = (int)(SWIG_As_int(obj2)); | |
3120 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3121 | } | |
d55e5bfc RD |
3122 | { |
3123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3124 | (arg1)->Scroll(arg2,arg3); | |
3125 | ||
3126 | wxPyEndAllowThreads(__tstate); | |
3127 | if (PyErr_Occurred()) SWIG_fail; | |
3128 | } | |
3129 | Py_INCREF(Py_None); resultobj = Py_None; | |
3130 | return resultobj; | |
3131 | fail: | |
3132 | return NULL; | |
3133 | } | |
3134 | ||
3135 | ||
c370783e | 3136 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3137 | PyObject *resultobj; |
3138 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3139 | int arg2 ; | |
3140 | int result; | |
3141 | PyObject * obj0 = 0 ; | |
3142 | PyObject * obj1 = 0 ; | |
3143 | char *kwnames[] = { | |
3144 | (char *) "self",(char *) "orient", NULL | |
3145 | }; | |
3146 | ||
3147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3148 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3149 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3150 | { | |
3151 | arg2 = (int)(SWIG_As_int(obj1)); | |
3152 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3153 | } | |
d55e5bfc RD |
3154 | { |
3155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3156 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
3157 | ||
3158 | wxPyEndAllowThreads(__tstate); | |
3159 | if (PyErr_Occurred()) SWIG_fail; | |
3160 | } | |
36ed4f51 RD |
3161 | { |
3162 | resultobj = SWIG_From_int((int)(result)); | |
3163 | } | |
d55e5bfc RD |
3164 | return resultobj; |
3165 | fail: | |
3166 | return NULL; | |
3167 | } | |
3168 | ||
3169 | ||
c370783e | 3170 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3171 | PyObject *resultobj; |
3172 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3173 | int arg2 ; | |
3174 | int arg3 ; | |
3175 | PyObject * obj0 = 0 ; | |
3176 | PyObject * obj1 = 0 ; | |
3177 | PyObject * obj2 = 0 ; | |
3178 | char *kwnames[] = { | |
3179 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
3180 | }; | |
3181 | ||
3182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
3183 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3184 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3185 | { | |
3186 | arg2 = (int)(SWIG_As_int(obj1)); | |
3187 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3188 | } | |
3189 | { | |
3190 | arg3 = (int)(SWIG_As_int(obj2)); | |
3191 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3192 | } | |
d55e5bfc RD |
3193 | { |
3194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3195 | (arg1)->SetScrollPageSize(arg2,arg3); | |
3196 | ||
3197 | wxPyEndAllowThreads(__tstate); | |
3198 | if (PyErr_Occurred()) SWIG_fail; | |
3199 | } | |
3200 | Py_INCREF(Py_None); resultobj = Py_None; | |
3201 | return resultobj; | |
3202 | fail: | |
3203 | return NULL; | |
3204 | } | |
3205 | ||
3206 | ||
c370783e | 3207 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3208 | PyObject *resultobj; |
3209 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3210 | int arg2 ; | |
3211 | int arg3 ; | |
3212 | PyObject * obj0 = 0 ; | |
3213 | PyObject * obj1 = 0 ; | |
3214 | PyObject * obj2 = 0 ; | |
3215 | char *kwnames[] = { | |
3216 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
3217 | }; | |
3218 | ||
3219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
3220 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3221 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3222 | { | |
3223 | arg2 = (int)(SWIG_As_int(obj1)); | |
3224 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3225 | } | |
3226 | { | |
3227 | arg3 = (int)(SWIG_As_int(obj2)); | |
3228 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3229 | } | |
d55e5bfc RD |
3230 | { |
3231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3232 | (arg1)->SetScrollRate(arg2,arg3); | |
3233 | ||
3234 | wxPyEndAllowThreads(__tstate); | |
3235 | if (PyErr_Occurred()) SWIG_fail; | |
3236 | } | |
3237 | Py_INCREF(Py_None); resultobj = Py_None; | |
3238 | return resultobj; | |
3239 | fail: | |
3240 | return NULL; | |
3241 | } | |
3242 | ||
3243 | ||
c370783e | 3244 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3245 | PyObject *resultobj; |
3246 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3247 | int *arg2 = (int *) 0 ; | |
3248 | int *arg3 = (int *) 0 ; | |
3249 | int temp2 ; | |
c370783e | 3250 | int res2 = 0 ; |
d55e5bfc | 3251 | int temp3 ; |
c370783e | 3252 | int res3 = 0 ; |
d55e5bfc RD |
3253 | PyObject * obj0 = 0 ; |
3254 | char *kwnames[] = { | |
3255 | (char *) "self", NULL | |
3256 | }; | |
3257 | ||
c370783e RD |
3258 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
3259 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 3260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
3261 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3262 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3263 | { |
3264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3265 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
3266 | ||
3267 | wxPyEndAllowThreads(__tstate); | |
3268 | if (PyErr_Occurred()) SWIG_fail; | |
3269 | } | |
3270 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
3271 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
3272 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
3273 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
3274 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
3275 | return resultobj; |
3276 | fail: | |
3277 | return NULL; | |
3278 | } | |
3279 | ||
3280 | ||
c370783e | 3281 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3282 | PyObject *resultobj; |
3283 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3284 | bool arg2 ; | |
3285 | bool arg3 ; | |
3286 | PyObject * obj0 = 0 ; | |
3287 | PyObject * obj1 = 0 ; | |
3288 | PyObject * obj2 = 0 ; | |
3289 | char *kwnames[] = { | |
3290 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
3291 | }; | |
3292 | ||
3293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
3294 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3295 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3296 | { | |
3297 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
3298 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3299 | } | |
3300 | { | |
3301 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
3302 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3303 | } | |
d55e5bfc RD |
3304 | { |
3305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3306 | (arg1)->EnableScrolling(arg2,arg3); | |
3307 | ||
3308 | wxPyEndAllowThreads(__tstate); | |
3309 | if (PyErr_Occurred()) SWIG_fail; | |
3310 | } | |
3311 | Py_INCREF(Py_None); resultobj = Py_None; | |
3312 | return resultobj; | |
3313 | fail: | |
3314 | return NULL; | |
3315 | } | |
3316 | ||
3317 | ||
c370783e | 3318 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3319 | PyObject *resultobj; |
3320 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3321 | int *arg2 = (int *) 0 ; | |
3322 | int *arg3 = (int *) 0 ; | |
3323 | int temp2 ; | |
c370783e | 3324 | int res2 = 0 ; |
d55e5bfc | 3325 | int temp3 ; |
c370783e | 3326 | int res3 = 0 ; |
d55e5bfc RD |
3327 | PyObject * obj0 = 0 ; |
3328 | char *kwnames[] = { | |
3329 | (char *) "self", NULL | |
3330 | }; | |
3331 | ||
c370783e RD |
3332 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
3333 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 3334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
3335 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3336 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3337 | { |
3338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3339 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
3340 | ||
3341 | wxPyEndAllowThreads(__tstate); | |
3342 | if (PyErr_Occurred()) SWIG_fail; | |
3343 | } | |
3344 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
3345 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
3346 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
3347 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
3348 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
3349 | return resultobj; |
3350 | fail: | |
3351 | return NULL; | |
3352 | } | |
3353 | ||
3354 | ||
c370783e | 3355 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3356 | PyObject *resultobj; |
3357 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3358 | double arg2 ; | |
3359 | double arg3 ; | |
3360 | PyObject * obj0 = 0 ; | |
3361 | PyObject * obj1 = 0 ; | |
3362 | PyObject * obj2 = 0 ; | |
3363 | char *kwnames[] = { | |
3364 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
3365 | }; | |
3366 | ||
3367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
3368 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3369 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3370 | { | |
3371 | arg2 = (double)(SWIG_As_double(obj1)); | |
3372 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3373 | } | |
3374 | { | |
3375 | arg3 = (double)(SWIG_As_double(obj2)); | |
3376 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3377 | } | |
d55e5bfc RD |
3378 | { |
3379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3380 | (arg1)->SetScale(arg2,arg3); | |
3381 | ||
3382 | wxPyEndAllowThreads(__tstate); | |
3383 | if (PyErr_Occurred()) SWIG_fail; | |
3384 | } | |
3385 | Py_INCREF(Py_None); resultobj = Py_None; | |
3386 | return resultobj; | |
3387 | fail: | |
3388 | return NULL; | |
3389 | } | |
3390 | ||
3391 | ||
c370783e | 3392 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3393 | PyObject *resultobj; |
3394 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3395 | double result; | |
3396 | PyObject * obj0 = 0 ; | |
3397 | char *kwnames[] = { | |
3398 | (char *) "self", NULL | |
3399 | }; | |
3400 | ||
3401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
3402 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3403 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3404 | { |
3405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3406 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
3407 | ||
3408 | wxPyEndAllowThreads(__tstate); | |
3409 | if (PyErr_Occurred()) SWIG_fail; | |
3410 | } | |
36ed4f51 RD |
3411 | { |
3412 | resultobj = SWIG_From_double((double)(result)); | |
3413 | } | |
d55e5bfc RD |
3414 | return resultobj; |
3415 | fail: | |
3416 | return NULL; | |
3417 | } | |
3418 | ||
3419 | ||
c370783e | 3420 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3421 | PyObject *resultobj; |
3422 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3423 | double result; | |
3424 | PyObject * obj0 = 0 ; | |
3425 | char *kwnames[] = { | |
3426 | (char *) "self", NULL | |
3427 | }; | |
3428 | ||
3429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
3430 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3431 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3432 | { |
3433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3434 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
3435 | ||
3436 | wxPyEndAllowThreads(__tstate); | |
3437 | if (PyErr_Occurred()) SWIG_fail; | |
3438 | } | |
36ed4f51 RD |
3439 | { |
3440 | resultobj = SWIG_From_double((double)(result)); | |
3441 | } | |
d55e5bfc RD |
3442 | return resultobj; |
3443 | fail: | |
3444 | return NULL; | |
3445 | } | |
3446 | ||
3447 | ||
c370783e | 3448 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
3449 | PyObject *resultobj; |
3450 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3451 | wxPoint *arg2 = 0 ; | |
3452 | wxPoint result; | |
3453 | wxPoint temp2 ; | |
3454 | PyObject * obj0 = 0 ; | |
3455 | PyObject * obj1 = 0 ; | |
3456 | ||
3457 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3458 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3459 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3460 | { |
3461 | arg2 = &temp2; | |
3462 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3463 | } | |
3464 | { | |
3465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3466 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); | |
3467 | ||
3468 | wxPyEndAllowThreads(__tstate); | |
3469 | if (PyErr_Occurred()) SWIG_fail; | |
3470 | } | |
3471 | { | |
3472 | wxPoint * resultptr; | |
36ed4f51 | 3473 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
3474 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
3475 | } | |
3476 | return resultobj; | |
3477 | fail: | |
3478 | return NULL; | |
3479 | } | |
3480 | ||
3481 | ||
c370783e | 3482 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
3483 | PyObject *resultobj; |
3484 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3485 | int arg2 ; | |
3486 | int arg3 ; | |
3487 | int *arg4 = (int *) 0 ; | |
3488 | int *arg5 = (int *) 0 ; | |
3489 | int temp4 ; | |
c370783e | 3490 | int res4 = 0 ; |
d55e5bfc | 3491 | int temp5 ; |
c370783e | 3492 | int res5 = 0 ; |
d55e5bfc RD |
3493 | PyObject * obj0 = 0 ; |
3494 | PyObject * obj1 = 0 ; | |
3495 | PyObject * obj2 = 0 ; | |
3496 | ||
c370783e RD |
3497 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
3498 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d55e5bfc | 3499 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
36ed4f51 RD |
3500 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3501 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3502 | { | |
3503 | arg2 = (int)(SWIG_As_int(obj1)); | |
3504 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3505 | } | |
3506 | { | |
3507 | arg3 = (int)(SWIG_As_int(obj2)); | |
3508 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3509 | } | |
d55e5bfc RD |
3510 | { |
3511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3512 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); | |
3513 | ||
3514 | wxPyEndAllowThreads(__tstate); | |
3515 | if (PyErr_Occurred()) SWIG_fail; | |
3516 | } | |
3517 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
3518 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
3519 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
3520 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
3521 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
3522 | return resultobj; |
3523 | fail: | |
3524 | return NULL; | |
3525 | } | |
3526 | ||
3527 | ||
3528 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
3529 | int argc; | |
3530 | PyObject *argv[4]; | |
3531 | int ii; | |
3532 | ||
3533 | argc = PyObject_Length(args); | |
3534 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
3535 | argv[ii] = PyTuple_GetItem(args,ii); | |
3536 | } | |
3537 | if (argc == 2) { | |
3538 | int _v; | |
3539 | { | |
3540 | void *ptr; | |
3541 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
3542 | _v = 0; | |
3543 | PyErr_Clear(); | |
3544 | } else { | |
3545 | _v = 1; | |
3546 | } | |
3547 | } | |
3548 | if (_v) { | |
3549 | { | |
3550 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
3551 | } | |
3552 | if (_v) { | |
3553 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); | |
3554 | } | |
3555 | } | |
3556 | } | |
3557 | if (argc == 3) { | |
3558 | int _v; | |
3559 | { | |
3560 | void *ptr; | |
3561 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
3562 | _v = 0; | |
3563 | PyErr_Clear(); | |
3564 | } else { | |
3565 | _v = 1; | |
3566 | } | |
3567 | } | |
3568 | if (_v) { | |
c370783e | 3569 | _v = SWIG_Check_int(argv[1]); |
d55e5bfc | 3570 | if (_v) { |
c370783e | 3571 | _v = SWIG_Check_int(argv[2]); |
d55e5bfc RD |
3572 | if (_v) { |
3573 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); | |
3574 | } | |
3575 | } | |
3576 | } | |
3577 | } | |
3578 | ||
36ed4f51 | 3579 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); |
d55e5bfc RD |
3580 | return NULL; |
3581 | } | |
3582 | ||
3583 | ||
c370783e | 3584 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
3585 | PyObject *resultobj; |
3586 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3587 | wxPoint *arg2 = 0 ; | |
3588 | wxPoint result; | |
3589 | wxPoint temp2 ; | |
3590 | PyObject * obj0 = 0 ; | |
3591 | PyObject * obj1 = 0 ; | |
3592 | ||
3593 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3594 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3595 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3596 | { |
3597 | arg2 = &temp2; | |
3598 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3599 | } | |
3600 | { | |
3601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3602 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); | |
3603 | ||
3604 | wxPyEndAllowThreads(__tstate); | |
3605 | if (PyErr_Occurred()) SWIG_fail; | |
3606 | } | |
3607 | { | |
3608 | wxPoint * resultptr; | |
36ed4f51 | 3609 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
3610 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
3611 | } | |
3612 | return resultobj; | |
3613 | fail: | |
3614 | return NULL; | |
3615 | } | |
3616 | ||
3617 | ||
c370783e | 3618 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
3619 | PyObject *resultobj; |
3620 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3621 | int arg2 ; | |
3622 | int arg3 ; | |
3623 | int *arg4 = (int *) 0 ; | |
3624 | int *arg5 = (int *) 0 ; | |
3625 | int temp4 ; | |
c370783e | 3626 | int res4 = 0 ; |
d55e5bfc | 3627 | int temp5 ; |
c370783e | 3628 | int res5 = 0 ; |
d55e5bfc RD |
3629 | PyObject * obj0 = 0 ; |
3630 | PyObject * obj1 = 0 ; | |
3631 | PyObject * obj2 = 0 ; | |
3632 | ||
c370783e RD |
3633 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
3634 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d55e5bfc | 3635 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
36ed4f51 RD |
3636 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3637 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3638 | { | |
3639 | arg2 = (int)(SWIG_As_int(obj1)); | |
3640 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3641 | } | |
3642 | { | |
3643 | arg3 = (int)(SWIG_As_int(obj2)); | |
3644 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3645 | } | |
d55e5bfc RD |
3646 | { |
3647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3648 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); | |
3649 | ||
3650 | wxPyEndAllowThreads(__tstate); | |
3651 | if (PyErr_Occurred()) SWIG_fail; | |
3652 | } | |
3653 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
3654 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
3655 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
3656 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
3657 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
3658 | return resultobj; |
3659 | fail: | |
3660 | return NULL; | |
3661 | } | |
3662 | ||
3663 | ||
3664 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
3665 | int argc; | |
3666 | PyObject *argv[4]; | |
3667 | int ii; | |
3668 | ||
3669 | argc = PyObject_Length(args); | |
3670 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
3671 | argv[ii] = PyTuple_GetItem(args,ii); | |
3672 | } | |
3673 | if (argc == 2) { | |
3674 | int _v; | |
3675 | { | |
3676 | void *ptr; | |
3677 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
3678 | _v = 0; | |
3679 | PyErr_Clear(); | |
3680 | } else { | |
3681 | _v = 1; | |
3682 | } | |
3683 | } | |
3684 | if (_v) { | |
3685 | { | |
3686 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
3687 | } | |
3688 | if (_v) { | |
3689 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); | |
3690 | } | |
3691 | } | |
3692 | } | |
3693 | if (argc == 3) { | |
3694 | int _v; | |
3695 | { | |
3696 | void *ptr; | |
3697 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
3698 | _v = 0; | |
3699 | PyErr_Clear(); | |
3700 | } else { | |
3701 | _v = 1; | |
3702 | } | |
3703 | } | |
3704 | if (_v) { | |
c370783e | 3705 | _v = SWIG_Check_int(argv[1]); |
d55e5bfc | 3706 | if (_v) { |
c370783e | 3707 | _v = SWIG_Check_int(argv[2]); |
d55e5bfc RD |
3708 | if (_v) { |
3709 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); | |
3710 | } | |
3711 | } | |
3712 | } | |
3713 | } | |
3714 | ||
36ed4f51 | 3715 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); |
d55e5bfc RD |
3716 | return NULL; |
3717 | } | |
3718 | ||
3719 | ||
c370783e | 3720 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3721 | PyObject *resultobj; |
3722 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3723 | PyObject * obj0 = 0 ; | |
3724 | char *kwnames[] = { | |
3725 | (char *) "self", NULL | |
3726 | }; | |
3727 | ||
3728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
3729 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3730 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3731 | { |
3732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3733 | (arg1)->AdjustScrollbars(); | |
3734 | ||
3735 | wxPyEndAllowThreads(__tstate); | |
3736 | if (PyErr_Occurred()) SWIG_fail; | |
3737 | } | |
3738 | Py_INCREF(Py_None); resultobj = Py_None; | |
3739 | return resultobj; | |
3740 | fail: | |
3741 | return NULL; | |
3742 | } | |
3743 | ||
3744 | ||
c370783e | 3745 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3746 | PyObject *resultobj; |
3747 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3748 | wxScrollWinEvent *arg2 = 0 ; | |
3749 | int result; | |
3750 | PyObject * obj0 = 0 ; | |
3751 | PyObject * obj1 = 0 ; | |
3752 | char *kwnames[] = { | |
3753 | (char *) "self",(char *) "event", NULL | |
3754 | }; | |
3755 | ||
3756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3757 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3758 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3759 | { | |
3760 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0); | |
3761 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3762 | if (arg2 == NULL) { | |
3763 | SWIG_null_ref("wxScrollWinEvent"); | |
3764 | } | |
3765 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
3766 | } |
3767 | { | |
3768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3769 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
3770 | ||
3771 | wxPyEndAllowThreads(__tstate); | |
3772 | if (PyErr_Occurred()) SWIG_fail; | |
3773 | } | |
36ed4f51 RD |
3774 | { |
3775 | resultobj = SWIG_From_int((int)(result)); | |
3776 | } | |
d55e5bfc RD |
3777 | return resultobj; |
3778 | fail: | |
3779 | return NULL; | |
3780 | } | |
3781 | ||
3782 | ||
c370783e | 3783 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3784 | PyObject *resultobj; |
3785 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3786 | wxWindow *arg2 = (wxWindow *) 0 ; | |
3787 | PyObject * obj0 = 0 ; | |
3788 | PyObject * obj1 = 0 ; | |
3789 | char *kwnames[] = { | |
3790 | (char *) "self",(char *) "target", NULL | |
3791 | }; | |
3792 | ||
3793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3794 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3795 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3796 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
3797 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
3798 | { |
3799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3800 | (arg1)->SetTargetWindow(arg2); | |
3801 | ||
3802 | wxPyEndAllowThreads(__tstate); | |
3803 | if (PyErr_Occurred()) SWIG_fail; | |
3804 | } | |
3805 | Py_INCREF(Py_None); resultobj = Py_None; | |
3806 | return resultobj; | |
3807 | fail: | |
3808 | return NULL; | |
3809 | } | |
3810 | ||
3811 | ||
c370783e | 3812 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3813 | PyObject *resultobj; |
3814 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3815 | wxWindow *result; | |
3816 | PyObject * obj0 = 0 ; | |
3817 | char *kwnames[] = { | |
3818 | (char *) "self", NULL | |
3819 | }; | |
3820 | ||
3821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
3822 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3823 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3824 | { |
3825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3826 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
3827 | ||
3828 | wxPyEndAllowThreads(__tstate); | |
3829 | if (PyErr_Occurred()) SWIG_fail; | |
3830 | } | |
3831 | { | |
412d302d | 3832 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
3833 | } |
3834 | return resultobj; | |
3835 | fail: | |
3836 | return NULL; | |
3837 | } | |
3838 | ||
3839 | ||
c370783e | 3840 | static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3841 | PyObject *resultobj; |
3842 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3843 | wxRect *arg2 = 0 ; | |
3844 | wxRect temp2 ; | |
3845 | PyObject * obj0 = 0 ; | |
3846 | PyObject * obj1 = 0 ; | |
3847 | char *kwnames[] = { | |
3848 | (char *) "self",(char *) "rect", NULL | |
3849 | }; | |
3850 | ||
3851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3852 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3853 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3854 | { |
3855 | arg2 = &temp2; | |
3856 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
3857 | } | |
3858 | { | |
3859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3860 | (arg1)->SetTargetRect((wxRect const &)*arg2); | |
3861 | ||
3862 | wxPyEndAllowThreads(__tstate); | |
3863 | if (PyErr_Occurred()) SWIG_fail; | |
3864 | } | |
3865 | Py_INCREF(Py_None); resultobj = Py_None; | |
3866 | return resultobj; | |
3867 | fail: | |
3868 | return NULL; | |
3869 | } | |
3870 | ||
3871 | ||
c370783e | 3872 | static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3873 | PyObject *resultobj; |
3874 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3875 | wxRect result; | |
3876 | PyObject * obj0 = 0 ; | |
3877 | char *kwnames[] = { | |
3878 | (char *) "self", NULL | |
3879 | }; | |
3880 | ||
3881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
3882 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3883 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3884 | { |
3885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3886 | result = ((wxScrolledWindow const *)arg1)->GetTargetRect(); | |
3887 | ||
3888 | wxPyEndAllowThreads(__tstate); | |
3889 | if (PyErr_Occurred()) SWIG_fail; | |
3890 | } | |
3891 | { | |
3892 | wxRect * resultptr; | |
36ed4f51 | 3893 | resultptr = new wxRect((wxRect &)(result)); |
d55e5bfc RD |
3894 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
3895 | } | |
3896 | return resultobj; | |
3897 | fail: | |
3898 | return NULL; | |
3899 | } | |
3900 | ||
3901 | ||
c370783e | 3902 | static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) { |
f5b96ee1 RD |
3903 | PyObject *resultobj; |
3904 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3905 | wxDC *arg2 = 0 ; | |
3906 | PyObject * obj0 = 0 ; | |
3907 | PyObject * obj1 = 0 ; | |
3908 | char *kwnames[] = { | |
3909 | (char *) "self",(char *) "dc", NULL | |
3910 | }; | |
3911 | ||
3912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3913 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3914 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3915 | { | |
3916 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
3917 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3918 | if (arg2 == NULL) { | |
3919 | SWIG_null_ref("wxDC"); | |
3920 | } | |
3921 | if (SWIG_arg_fail(2)) SWIG_fail; | |
f5b96ee1 RD |
3922 | } |
3923 | { | |
3924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3925 | (arg1)->DoPrepareDC(*arg2); | |
3926 | ||
3927 | wxPyEndAllowThreads(__tstate); | |
3928 | if (PyErr_Occurred()) SWIG_fail; | |
3929 | } | |
3930 | Py_INCREF(Py_None); resultobj = Py_None; | |
3931 | return resultobj; | |
3932 | fail: | |
3933 | return NULL; | |
3934 | } | |
3935 | ||
3936 | ||
c370783e | 3937 | static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 3938 | PyObject *resultobj; |
36ed4f51 | 3939 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
3940 | wxVisualAttributes result; |
3941 | PyObject * obj0 = 0 ; | |
3942 | char *kwnames[] = { | |
3943 | (char *) "variant", NULL | |
3944 | }; | |
3945 | ||
3946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
3947 | if (obj0) { | |
36ed4f51 RD |
3948 | { |
3949 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
3950 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3951 | } | |
f20a2e1f RD |
3952 | } |
3953 | { | |
0439c23b | 3954 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
3955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3956 | result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
3957 | ||
3958 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3959 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
3960 | } |
3961 | { | |
3962 | wxVisualAttributes * resultptr; | |
36ed4f51 | 3963 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
3964 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
3965 | } | |
3966 | return resultobj; | |
3967 | fail: | |
3968 | return NULL; | |
3969 | } | |
3970 | ||
3971 | ||
c370783e | 3972 | static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
3973 | PyObject *obj; |
3974 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3975 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
3976 | Py_INCREF(obj); | |
3977 | return Py_BuildValue((char *)""); | |
3978 | } | |
c370783e | 3979 | static int _wrap_FrameNameStr_set(PyObject *) { |
d55e5bfc RD |
3980 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); |
3981 | return 1; | |
3982 | } | |
3983 | ||
3984 | ||
36ed4f51 | 3985 | static PyObject *_wrap_FrameNameStr_get(void) { |
d55e5bfc RD |
3986 | PyObject *pyobj; |
3987 | ||
3988 | { | |
3989 | #if wxUSE_UNICODE | |
3990 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
3991 | #else | |
3992 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
3993 | #endif | |
3994 | } | |
3995 | return pyobj; | |
3996 | } | |
3997 | ||
3998 | ||
c370783e | 3999 | static int _wrap_DialogNameStr_set(PyObject *) { |
d55e5bfc RD |
4000 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); |
4001 | return 1; | |
4002 | } | |
4003 | ||
4004 | ||
36ed4f51 | 4005 | static PyObject *_wrap_DialogNameStr_get(void) { |
d55e5bfc RD |
4006 | PyObject *pyobj; |
4007 | ||
4008 | { | |
4009 | #if wxUSE_UNICODE | |
4010 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
4011 | #else | |
4012 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
4013 | #endif | |
4014 | } | |
4015 | return pyobj; | |
4016 | } | |
4017 | ||
4018 | ||
c370783e | 4019 | static int _wrap_StatusLineNameStr_set(PyObject *) { |
d55e5bfc RD |
4020 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); |
4021 | return 1; | |
4022 | } | |
4023 | ||
4024 | ||
36ed4f51 | 4025 | static PyObject *_wrap_StatusLineNameStr_get(void) { |
d55e5bfc RD |
4026 | PyObject *pyobj; |
4027 | ||
4028 | { | |
4029 | #if wxUSE_UNICODE | |
4030 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
4031 | #else | |
4032 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
4033 | #endif | |
4034 | } | |
4035 | return pyobj; | |
4036 | } | |
4037 | ||
4038 | ||
c370783e | 4039 | static int _wrap_ToolBarNameStr_set(PyObject *) { |
d55e5bfc RD |
4040 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); |
4041 | return 1; | |
4042 | } | |
4043 | ||
4044 | ||
36ed4f51 | 4045 | static PyObject *_wrap_ToolBarNameStr_get(void) { |
d55e5bfc RD |
4046 | PyObject *pyobj; |
4047 | ||
4048 | { | |
4049 | #if wxUSE_UNICODE | |
4050 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
4051 | #else | |
4052 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
4053 | #endif | |
4054 | } | |
4055 | return pyobj; | |
4056 | } | |
4057 | ||
4058 | ||
c370783e | 4059 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4060 | PyObject *resultobj; |
4061 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
b411df4a | 4062 | bool arg2 = (bool) true ; |
d55e5bfc RD |
4063 | PyObject * obj0 = 0 ; |
4064 | PyObject * obj1 = 0 ; | |
4065 | char *kwnames[] = { | |
4066 | (char *) "self",(char *) "maximize", NULL | |
4067 | }; | |
4068 | ||
4069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4070 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4071 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 4072 | if (obj1) { |
36ed4f51 RD |
4073 | { |
4074 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4075 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4076 | } | |
d55e5bfc RD |
4077 | } |
4078 | { | |
4079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4080 | (arg1)->Maximize(arg2); | |
4081 | ||
4082 | wxPyEndAllowThreads(__tstate); | |
4083 | if (PyErr_Occurred()) SWIG_fail; | |
4084 | } | |
4085 | Py_INCREF(Py_None); resultobj = Py_None; | |
4086 | return resultobj; | |
4087 | fail: | |
4088 | return NULL; | |
4089 | } | |
4090 | ||
4091 | ||
c370783e | 4092 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4093 | PyObject *resultobj; |
4094 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4095 | PyObject * obj0 = 0 ; | |
4096 | char *kwnames[] = { | |
4097 | (char *) "self", NULL | |
4098 | }; | |
4099 | ||
4100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4101 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4102 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4103 | { |
4104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4105 | (arg1)->Restore(); | |
4106 | ||
4107 | wxPyEndAllowThreads(__tstate); | |
4108 | if (PyErr_Occurred()) SWIG_fail; | |
4109 | } | |
4110 | Py_INCREF(Py_None); resultobj = Py_None; | |
4111 | return resultobj; | |
4112 | fail: | |
4113 | return NULL; | |
4114 | } | |
4115 | ||
4116 | ||
c370783e | 4117 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4118 | PyObject *resultobj; |
4119 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
b411df4a | 4120 | bool arg2 = (bool) true ; |
d55e5bfc RD |
4121 | PyObject * obj0 = 0 ; |
4122 | PyObject * obj1 = 0 ; | |
4123 | char *kwnames[] = { | |
4124 | (char *) "self",(char *) "iconize", NULL | |
4125 | }; | |
4126 | ||
4127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4128 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4129 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 4130 | if (obj1) { |
36ed4f51 RD |
4131 | { |
4132 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4133 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4134 | } | |
d55e5bfc RD |
4135 | } |
4136 | { | |
4137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4138 | (arg1)->Iconize(arg2); | |
4139 | ||
4140 | wxPyEndAllowThreads(__tstate); | |
4141 | if (PyErr_Occurred()) SWIG_fail; | |
4142 | } | |
4143 | Py_INCREF(Py_None); resultobj = Py_None; | |
4144 | return resultobj; | |
4145 | fail: | |
4146 | return NULL; | |
4147 | } | |
4148 | ||
4149 | ||
c370783e | 4150 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4151 | PyObject *resultobj; |
4152 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4153 | bool result; | |
4154 | PyObject * obj0 = 0 ; | |
4155 | char *kwnames[] = { | |
4156 | (char *) "self", NULL | |
4157 | }; | |
4158 | ||
4159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4160 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4161 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4162 | { |
4163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4164 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
4165 | ||
4166 | wxPyEndAllowThreads(__tstate); | |
4167 | if (PyErr_Occurred()) SWIG_fail; | |
4168 | } | |
4169 | { | |
4170 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4171 | } | |
4172 | return resultobj; | |
4173 | fail: | |
4174 | return NULL; | |
4175 | } | |
4176 | ||
4177 | ||
c370783e | 4178 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4179 | PyObject *resultobj; |
4180 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4181 | bool result; | |
4182 | PyObject * obj0 = 0 ; | |
4183 | char *kwnames[] = { | |
4184 | (char *) "self", NULL | |
4185 | }; | |
4186 | ||
4187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4188 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4189 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4190 | { |
4191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4192 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
4193 | ||
4194 | wxPyEndAllowThreads(__tstate); | |
4195 | if (PyErr_Occurred()) SWIG_fail; | |
4196 | } | |
4197 | { | |
4198 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4199 | } | |
4200 | return resultobj; | |
4201 | fail: | |
4202 | return NULL; | |
4203 | } | |
4204 | ||
4205 | ||
c370783e | 4206 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4207 | PyObject *resultobj; |
4208 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4209 | wxIcon result; | |
4210 | PyObject * obj0 = 0 ; | |
4211 | char *kwnames[] = { | |
4212 | (char *) "self", NULL | |
4213 | }; | |
4214 | ||
4215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4216 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4217 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4218 | { |
4219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4220 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
4221 | ||
4222 | wxPyEndAllowThreads(__tstate); | |
4223 | if (PyErr_Occurred()) SWIG_fail; | |
4224 | } | |
4225 | { | |
4226 | wxIcon * resultptr; | |
36ed4f51 | 4227 | resultptr = new wxIcon((wxIcon &)(result)); |
d55e5bfc RD |
4228 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); |
4229 | } | |
4230 | return resultobj; | |
4231 | fail: | |
4232 | return NULL; | |
4233 | } | |
4234 | ||
4235 | ||
c370783e | 4236 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4237 | PyObject *resultobj; |
4238 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4239 | wxIcon *arg2 = 0 ; | |
4240 | PyObject * obj0 = 0 ; | |
4241 | PyObject * obj1 = 0 ; | |
4242 | char *kwnames[] = { | |
4243 | (char *) "self",(char *) "icon", NULL | |
4244 | }; | |
4245 | ||
4246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4247 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4248 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4249 | { | |
4250 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); | |
4251 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4252 | if (arg2 == NULL) { | |
4253 | SWIG_null_ref("wxIcon"); | |
4254 | } | |
4255 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
4256 | } |
4257 | { | |
4258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4259 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
4260 | ||
4261 | wxPyEndAllowThreads(__tstate); | |
4262 | if (PyErr_Occurred()) SWIG_fail; | |
4263 | } | |
4264 | Py_INCREF(Py_None); resultobj = Py_None; | |
4265 | return resultobj; | |
4266 | fail: | |
4267 | return NULL; | |
4268 | } | |
4269 | ||
4270 | ||
c370783e | 4271 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4272 | PyObject *resultobj; |
4273 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4274 | wxIconBundle *arg2 = 0 ; | |
4275 | PyObject * obj0 = 0 ; | |
4276 | PyObject * obj1 = 0 ; | |
4277 | char *kwnames[] = { | |
4278 | (char *) "self",(char *) "icons", NULL | |
4279 | }; | |
4280 | ||
4281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4282 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4283 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4284 | { | |
4285 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0); | |
4286 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4287 | if (arg2 == NULL) { | |
4288 | SWIG_null_ref("wxIconBundle"); | |
4289 | } | |
4290 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
4291 | } |
4292 | { | |
4293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4294 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
4295 | ||
4296 | wxPyEndAllowThreads(__tstate); | |
4297 | if (PyErr_Occurred()) SWIG_fail; | |
4298 | } | |
4299 | Py_INCREF(Py_None); resultobj = Py_None; | |
4300 | return resultobj; | |
4301 | fail: | |
4302 | return NULL; | |
4303 | } | |
4304 | ||
4305 | ||
c370783e | 4306 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4307 | PyObject *resultobj; |
4308 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4309 | bool arg2 ; | |
4310 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
4311 | bool result; | |
4312 | PyObject * obj0 = 0 ; | |
4313 | PyObject * obj1 = 0 ; | |
4314 | PyObject * obj2 = 0 ; | |
4315 | char *kwnames[] = { | |
4316 | (char *) "self",(char *) "show",(char *) "style", NULL | |
4317 | }; | |
4318 | ||
4319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
4320 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4321 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4322 | { | |
4323 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4324 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4325 | } | |
d55e5bfc | 4326 | if (obj2) { |
36ed4f51 RD |
4327 | { |
4328 | arg3 = (long)(SWIG_As_long(obj2)); | |
4329 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4330 | } | |
d55e5bfc RD |
4331 | } |
4332 | { | |
4333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4334 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
4335 | ||
4336 | wxPyEndAllowThreads(__tstate); | |
4337 | if (PyErr_Occurred()) SWIG_fail; | |
4338 | } | |
4339 | { | |
4340 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4341 | } | |
4342 | return resultobj; | |
4343 | fail: | |
4344 | return NULL; | |
4345 | } | |
4346 | ||
4347 | ||
c370783e | 4348 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4349 | PyObject *resultobj; |
4350 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4351 | bool result; | |
4352 | PyObject * obj0 = 0 ; | |
4353 | char *kwnames[] = { | |
4354 | (char *) "self", NULL | |
4355 | }; | |
4356 | ||
4357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4358 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4359 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4360 | { |
4361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4362 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
4363 | ||
4364 | wxPyEndAllowThreads(__tstate); | |
4365 | if (PyErr_Occurred()) SWIG_fail; | |
4366 | } | |
4367 | { | |
4368 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4369 | } | |
4370 | return resultobj; | |
4371 | fail: | |
4372 | return NULL; | |
4373 | } | |
4374 | ||
4375 | ||
c370783e | 4376 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4377 | PyObject *resultobj; |
4378 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4379 | wxString *arg2 = 0 ; | |
b411df4a | 4380 | bool temp2 = false ; |
d55e5bfc RD |
4381 | PyObject * obj0 = 0 ; |
4382 | PyObject * obj1 = 0 ; | |
4383 | char *kwnames[] = { | |
4384 | (char *) "self",(char *) "title", NULL | |
4385 | }; | |
4386 | ||
4387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4388 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4389 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4390 | { |
4391 | arg2 = wxString_in_helper(obj1); | |
4392 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 4393 | temp2 = true; |
d55e5bfc RD |
4394 | } |
4395 | { | |
4396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4397 | (arg1)->SetTitle((wxString const &)*arg2); | |
4398 | ||
4399 | wxPyEndAllowThreads(__tstate); | |
4400 | if (PyErr_Occurred()) SWIG_fail; | |
4401 | } | |
4402 | Py_INCREF(Py_None); resultobj = Py_None; | |
4403 | { | |
4404 | if (temp2) | |
4405 | delete arg2; | |
4406 | } | |
4407 | return resultobj; | |
4408 | fail: | |
4409 | { | |
4410 | if (temp2) | |
4411 | delete arg2; | |
4412 | } | |
4413 | return NULL; | |
4414 | } | |
4415 | ||
4416 | ||
c370783e | 4417 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4418 | PyObject *resultobj; |
4419 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4420 | wxString result; | |
4421 | PyObject * obj0 = 0 ; | |
4422 | char *kwnames[] = { | |
4423 | (char *) "self", NULL | |
4424 | }; | |
4425 | ||
4426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4427 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4428 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4429 | { |
4430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4431 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
4432 | ||
4433 | wxPyEndAllowThreads(__tstate); | |
4434 | if (PyErr_Occurred()) SWIG_fail; | |
4435 | } | |
4436 | { | |
4437 | #if wxUSE_UNICODE | |
4438 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4439 | #else | |
4440 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4441 | #endif | |
4442 | } | |
4443 | return resultobj; | |
4444 | fail: | |
4445 | return NULL; | |
4446 | } | |
4447 | ||
4448 | ||
c370783e | 4449 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4450 | PyObject *resultobj; |
4451 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4452 | wxRegion *arg2 = 0 ; | |
4453 | bool result; | |
4454 | PyObject * obj0 = 0 ; | |
4455 | PyObject * obj1 = 0 ; | |
4456 | char *kwnames[] = { | |
4457 | (char *) "self",(char *) "region", NULL | |
4458 | }; | |
4459 | ||
4460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4461 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4462 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4463 | { | |
4464 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); | |
4465 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4466 | if (arg2 == NULL) { | |
4467 | SWIG_null_ref("wxRegion"); | |
4468 | } | |
4469 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
4470 | } |
4471 | { | |
4472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4473 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
4474 | ||
4475 | wxPyEndAllowThreads(__tstate); | |
4476 | if (PyErr_Occurred()) SWIG_fail; | |
4477 | } | |
4478 | { | |
4479 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4480 | } | |
4481 | return resultobj; | |
4482 | fail: | |
4483 | return NULL; | |
4484 | } | |
4485 | ||
4486 | ||
c370783e RD |
4487 | static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) { |
4488 | PyObject *resultobj; | |
4489 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4490 | int arg2 = (int) wxUSER_ATTENTION_INFO ; | |
4491 | PyObject * obj0 = 0 ; | |
4492 | PyObject * obj1 = 0 ; | |
4493 | char *kwnames[] = { | |
4494 | (char *) "self",(char *) "flags", NULL | |
4495 | }; | |
4496 | ||
4497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4498 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4499 | if (SWIG_arg_fail(1)) SWIG_fail; | |
c370783e | 4500 | if (obj1) { |
36ed4f51 RD |
4501 | { |
4502 | arg2 = (int)(SWIG_As_int(obj1)); | |
4503 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4504 | } | |
c370783e RD |
4505 | } |
4506 | { | |
4507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4508 | (arg1)->RequestUserAttention(arg2); | |
4509 | ||
4510 | wxPyEndAllowThreads(__tstate); | |
4511 | if (PyErr_Occurred()) SWIG_fail; | |
4512 | } | |
4513 | Py_INCREF(Py_None); resultobj = Py_None; | |
4514 | return resultobj; | |
4515 | fail: | |
4516 | return NULL; | |
4517 | } | |
4518 | ||
4519 | ||
5e483524 RD |
4520 | static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { |
4521 | PyObject *resultobj; | |
4522 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4523 | bool result; | |
4524 | PyObject * obj0 = 0 ; | |
4525 | char *kwnames[] = { | |
4526 | (char *) "self", NULL | |
4527 | }; | |
4528 | ||
4529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4530 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4531 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5e483524 RD |
4532 | { |
4533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4534 | result = (bool)(arg1)->IsActive(); | |
4535 | ||
4536 | wxPyEndAllowThreads(__tstate); | |
4537 | if (PyErr_Occurred()) SWIG_fail; | |
4538 | } | |
4539 | { | |
4540 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4541 | } | |
4542 | return resultobj; | |
4543 | fail: | |
4544 | return NULL; | |
4545 | } | |
4546 | ||
4547 | ||
c370783e | 4548 | static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4549 | PyObject *resultobj; |
4550 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4551 | bool arg2 ; | |
4552 | PyObject * obj0 = 0 ; | |
4553 | PyObject * obj1 = 0 ; | |
4554 | char *kwnames[] = { | |
4555 | (char *) "self",(char *) "on", NULL | |
4556 | }; | |
4557 | ||
4558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4559 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4560 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4561 | { | |
4562 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4563 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4564 | } | |
d55e5bfc RD |
4565 | { |
4566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4567 | (arg1)->MacSetMetalAppearance(arg2); | |
4568 | ||
4569 | wxPyEndAllowThreads(__tstate); | |
4570 | if (PyErr_Occurred()) SWIG_fail; | |
4571 | } | |
4572 | Py_INCREF(Py_None); resultobj = Py_None; | |
4573 | return resultobj; | |
4574 | fail: | |
4575 | return NULL; | |
4576 | } | |
4577 | ||
4578 | ||
c370783e | 4579 | static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4580 | PyObject *resultobj; |
4581 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4582 | bool result; | |
4583 | PyObject * obj0 = 0 ; | |
4584 | char *kwnames[] = { | |
4585 | (char *) "self", NULL | |
4586 | }; | |
4587 | ||
4588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4589 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4590 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4591 | { |
4592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4593 | result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance(); | |
4594 | ||
4595 | wxPyEndAllowThreads(__tstate); | |
4596 | if (PyErr_Occurred()) SWIG_fail; | |
4597 | } | |
4598 | { | |
4599 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4600 | } | |
4601 | return resultobj; | |
4602 | fail: | |
4603 | return NULL; | |
4604 | } | |
4605 | ||
4606 | ||
c370783e | 4607 | static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
4608 | PyObject *obj; |
4609 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4610 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
4611 | Py_INCREF(obj); | |
4612 | return Py_BuildValue((char *)""); | |
4613 | } | |
c370783e | 4614 | static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4615 | PyObject *resultobj; |
4616 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 RD |
4617 | int arg2 = (int) (int)-1 ; |
4618 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4619 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
4620 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4621 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4622 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4623 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4624 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4625 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4626 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4627 | wxFrame *result; | |
b411df4a | 4628 | bool temp3 = false ; |
d55e5bfc RD |
4629 | wxPoint temp4 ; |
4630 | wxSize temp5 ; | |
b411df4a | 4631 | bool temp7 = false ; |
d55e5bfc RD |
4632 | PyObject * obj0 = 0 ; |
4633 | PyObject * obj1 = 0 ; | |
4634 | PyObject * obj2 = 0 ; | |
4635 | PyObject * obj3 = 0 ; | |
4636 | PyObject * obj4 = 0 ; | |
4637 | PyObject * obj5 = 0 ; | |
4638 | PyObject * obj6 = 0 ; | |
4639 | char *kwnames[] = { | |
4640 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4641 | }; | |
4642 | ||
bfddbb17 | 4643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
4644 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
4645 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 4646 | if (obj1) { |
36ed4f51 RD |
4647 | { |
4648 | arg2 = (int const)(SWIG_As_int(obj1)); | |
4649 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4650 | } | |
bfddbb17 RD |
4651 | } |
4652 | if (obj2) { | |
4653 | { | |
4654 | arg3 = wxString_in_helper(obj2); | |
4655 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 4656 | temp3 = true; |
bfddbb17 | 4657 | } |
d55e5bfc RD |
4658 | } |
4659 | if (obj3) { | |
4660 | { | |
4661 | arg4 = &temp4; | |
4662 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4663 | } | |
4664 | } | |
4665 | if (obj4) { | |
4666 | { | |
4667 | arg5 = &temp5; | |
4668 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4669 | } | |
4670 | } | |
4671 | if (obj5) { | |
36ed4f51 RD |
4672 | { |
4673 | arg6 = (long)(SWIG_As_long(obj5)); | |
4674 | if (SWIG_arg_fail(6)) SWIG_fail; | |
4675 | } | |
d55e5bfc RD |
4676 | } |
4677 | if (obj6) { | |
4678 | { | |
4679 | arg7 = wxString_in_helper(obj6); | |
4680 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 4681 | temp7 = true; |
d55e5bfc RD |
4682 | } |
4683 | } | |
4684 | { | |
0439c23b | 4685 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4687 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4688 | ||
4689 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4690 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 4691 | } |
b0f7404b | 4692 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d55e5bfc RD |
4693 | { |
4694 | if (temp3) | |
4695 | delete arg3; | |
4696 | } | |
4697 | { | |
4698 | if (temp7) | |
4699 | delete arg7; | |
4700 | } | |
4701 | return resultobj; | |
4702 | fail: | |
4703 | { | |
4704 | if (temp3) | |
4705 | delete arg3; | |
4706 | } | |
4707 | { | |
4708 | if (temp7) | |
4709 | delete arg7; | |
4710 | } | |
4711 | return NULL; | |
4712 | } | |
4713 | ||
4714 | ||
c370783e | 4715 | static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4716 | PyObject *resultobj; |
4717 | wxFrame *result; | |
4718 | char *kwnames[] = { | |
4719 | NULL | |
4720 | }; | |
4721 | ||
4722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
4723 | { | |
0439c23b | 4724 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4726 | result = (wxFrame *)new wxFrame(); | |
4727 | ||
4728 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4729 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 4730 | } |
b0f7404b | 4731 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d55e5bfc RD |
4732 | return resultobj; |
4733 | fail: | |
4734 | return NULL; | |
4735 | } | |
4736 | ||
4737 | ||
c370783e | 4738 | static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4739 | PyObject *resultobj; |
4740 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4741 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 RD |
4742 | int arg3 = (int) (int)-1 ; |
4743 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4744 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
4745 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
4746 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4747 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4748 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4749 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4750 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4751 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4752 | bool result; | |
b411df4a | 4753 | bool temp4 = false ; |
d55e5bfc RD |
4754 | wxPoint temp5 ; |
4755 | wxSize temp6 ; | |
b411df4a | 4756 | bool temp8 = false ; |
d55e5bfc RD |
4757 | PyObject * obj0 = 0 ; |
4758 | PyObject * obj1 = 0 ; | |
4759 | PyObject * obj2 = 0 ; | |
4760 | PyObject * obj3 = 0 ; | |
4761 | PyObject * obj4 = 0 ; | |
4762 | PyObject * obj5 = 0 ; | |
4763 | PyObject * obj6 = 0 ; | |
4764 | PyObject * obj7 = 0 ; | |
4765 | char *kwnames[] = { | |
4766 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4767 | }; | |
4768 | ||
bfddbb17 | 4769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
4770 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4771 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4772 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
4773 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 4774 | if (obj2) { |
36ed4f51 RD |
4775 | { |
4776 | arg3 = (int const)(SWIG_As_int(obj2)); | |
4777 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4778 | } | |
bfddbb17 RD |
4779 | } |
4780 | if (obj3) { | |
4781 | { | |
4782 | arg4 = wxString_in_helper(obj3); | |
4783 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 4784 | temp4 = true; |
bfddbb17 | 4785 | } |
d55e5bfc RD |
4786 | } |
4787 | if (obj4) { | |
4788 | { | |
4789 | arg5 = &temp5; | |
4790 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4791 | } | |
4792 | } | |
4793 | if (obj5) { | |
4794 | { | |
4795 | arg6 = &temp6; | |
4796 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4797 | } | |
4798 | } | |
4799 | if (obj6) { | |
36ed4f51 RD |
4800 | { |
4801 | arg7 = (long)(SWIG_As_long(obj6)); | |
4802 | if (SWIG_arg_fail(7)) SWIG_fail; | |
4803 | } | |
d55e5bfc RD |
4804 | } |
4805 | if (obj7) { | |
4806 | { | |
4807 | arg8 = wxString_in_helper(obj7); | |
4808 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 4809 | temp8 = true; |
d55e5bfc RD |
4810 | } |
4811 | } | |
4812 | { | |
4813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4814 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4815 | ||
4816 | wxPyEndAllowThreads(__tstate); | |
4817 | if (PyErr_Occurred()) SWIG_fail; | |
4818 | } | |
4819 | { | |
4820 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4821 | } | |
4822 | { | |
4823 | if (temp4) | |
4824 | delete arg4; | |
4825 | } | |
4826 | { | |
4827 | if (temp8) | |
4828 | delete arg8; | |
4829 | } | |
4830 | return resultobj; | |
4831 | fail: | |
4832 | { | |
4833 | if (temp4) | |
4834 | delete arg4; | |
4835 | } | |
4836 | { | |
4837 | if (temp8) | |
4838 | delete arg8; | |
4839 | } | |
4840 | return NULL; | |
4841 | } | |
4842 | ||
4843 | ||
c370783e | 4844 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4845 | PyObject *resultobj; |
4846 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4847 | wxPoint result; | |
4848 | PyObject * obj0 = 0 ; | |
4849 | char *kwnames[] = { | |
4850 | (char *) "self", NULL | |
4851 | }; | |
4852 | ||
4853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4854 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4855 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4856 | { |
4857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4858 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
4859 | ||
4860 | wxPyEndAllowThreads(__tstate); | |
4861 | if (PyErr_Occurred()) SWIG_fail; | |
4862 | } | |
4863 | { | |
4864 | wxPoint * resultptr; | |
36ed4f51 | 4865 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
4866 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
4867 | } | |
4868 | return resultobj; | |
4869 | fail: | |
4870 | return NULL; | |
4871 | } | |
4872 | ||
4873 | ||
c370783e | 4874 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4875 | PyObject *resultobj; |
4876 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4877 | PyObject * obj0 = 0 ; | |
4878 | char *kwnames[] = { | |
4879 | (char *) "self", NULL | |
4880 | }; | |
4881 | ||
4882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4883 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4884 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4885 | { |
4886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4887 | (arg1)->SendSizeEvent(); | |
4888 | ||
4889 | wxPyEndAllowThreads(__tstate); | |
4890 | if (PyErr_Occurred()) SWIG_fail; | |
4891 | } | |
4892 | Py_INCREF(Py_None); resultobj = Py_None; | |
4893 | return resultobj; | |
4894 | fail: | |
4895 | return NULL; | |
4896 | } | |
4897 | ||
4898 | ||
c370783e | 4899 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4900 | PyObject *resultobj; |
4901 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4902 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
4903 | PyObject * obj0 = 0 ; | |
4904 | PyObject * obj1 = 0 ; | |
4905 | char *kwnames[] = { | |
4906 | (char *) "self",(char *) "menubar", NULL | |
4907 | }; | |
4908 | ||
4909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4910 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4911 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4912 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); | |
4913 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
4914 | { |
4915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4916 | (arg1)->SetMenuBar(arg2); | |
4917 | ||
4918 | wxPyEndAllowThreads(__tstate); | |
4919 | if (PyErr_Occurred()) SWIG_fail; | |
4920 | } | |
4921 | Py_INCREF(Py_None); resultobj = Py_None; | |
4922 | return resultobj; | |
4923 | fail: | |
4924 | return NULL; | |
4925 | } | |
4926 | ||
4927 | ||
c370783e | 4928 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4929 | PyObject *resultobj; |
4930 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4931 | wxMenuBar *result; | |
4932 | PyObject * obj0 = 0 ; | |
4933 | char *kwnames[] = { | |
4934 | (char *) "self", NULL | |
4935 | }; | |
4936 | ||
4937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4938 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4939 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4940 | { |
4941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4942 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
4943 | ||
4944 | wxPyEndAllowThreads(__tstate); | |
4945 | if (PyErr_Occurred()) SWIG_fail; | |
4946 | } | |
4947 | { | |
412d302d | 4948 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
4949 | } |
4950 | return resultobj; | |
4951 | fail: | |
4952 | return NULL; | |
4953 | } | |
4954 | ||
4955 | ||
c370783e | 4956 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4957 | PyObject *resultobj; |
4958 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4959 | int arg2 ; | |
4960 | bool result; | |
4961 | PyObject * obj0 = 0 ; | |
4962 | PyObject * obj1 = 0 ; | |
4963 | char *kwnames[] = { | |
4964 | (char *) "self",(char *) "winid", NULL | |
4965 | }; | |
4966 | ||
4967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4968 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4969 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4970 | { | |
4971 | arg2 = (int)(SWIG_As_int(obj1)); | |
4972 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4973 | } | |
d55e5bfc RD |
4974 | { |
4975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4976 | result = (bool)(arg1)->ProcessCommand(arg2); | |
4977 | ||
4978 | wxPyEndAllowThreads(__tstate); | |
4979 | if (PyErr_Occurred()) SWIG_fail; | |
4980 | } | |
4981 | { | |
4982 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4983 | } | |
4984 | return resultobj; | |
4985 | fail: | |
4986 | return NULL; | |
4987 | } | |
4988 | ||
4989 | ||
c370783e | 4990 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4991 | PyObject *resultobj; |
4992 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4993 | int arg2 = (int) 1 ; | |
4994 | long arg3 = (long) wxST_SIZEGRIP ; | |
4995 | int arg4 = (int) 0 ; | |
4996 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
4997 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
4998 | wxStatusBar *result; | |
b411df4a | 4999 | bool temp5 = false ; |
d55e5bfc RD |
5000 | PyObject * obj0 = 0 ; |
5001 | PyObject * obj1 = 0 ; | |
5002 | PyObject * obj2 = 0 ; | |
5003 | PyObject * obj3 = 0 ; | |
5004 | PyObject * obj4 = 0 ; | |
5005 | char *kwnames[] = { | |
5006 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
5007 | }; | |
5008 | ||
5009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
5010 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5011 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 5012 | if (obj1) { |
36ed4f51 RD |
5013 | { |
5014 | arg2 = (int)(SWIG_As_int(obj1)); | |
5015 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5016 | } | |
d55e5bfc RD |
5017 | } |
5018 | if (obj2) { | |
36ed4f51 RD |
5019 | { |
5020 | arg3 = (long)(SWIG_As_long(obj2)); | |
5021 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5022 | } | |
d55e5bfc RD |
5023 | } |
5024 | if (obj3) { | |
36ed4f51 RD |
5025 | { |
5026 | arg4 = (int)(SWIG_As_int(obj3)); | |
5027 | if (SWIG_arg_fail(4)) SWIG_fail; | |
5028 | } | |
d55e5bfc RD |
5029 | } |
5030 | if (obj4) { | |
5031 | { | |
5032 | arg5 = wxString_in_helper(obj4); | |
5033 | if (arg5 == NULL) SWIG_fail; | |
b411df4a | 5034 | temp5 = true; |
d55e5bfc RD |
5035 | } |
5036 | } | |
5037 | { | |
5038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5039 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
5040 | ||
5041 | wxPyEndAllowThreads(__tstate); | |
5042 | if (PyErr_Occurred()) SWIG_fail; | |
5043 | } | |
5044 | { | |
412d302d | 5045 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5046 | } |
5047 | { | |
5048 | if (temp5) | |
5049 | delete arg5; | |
5050 | } | |
5051 | return resultobj; | |
5052 | fail: | |
5053 | { | |
5054 | if (temp5) | |
5055 | delete arg5; | |
5056 | } | |
5057 | return NULL; | |
5058 | } | |
5059 | ||
5060 | ||
c370783e | 5061 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5062 | PyObject *resultobj; |
5063 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5064 | wxStatusBar *result; | |
5065 | PyObject * obj0 = 0 ; | |
5066 | char *kwnames[] = { | |
5067 | (char *) "self", NULL | |
5068 | }; | |
5069 | ||
5070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
5071 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5072 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5073 | { |
5074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5075 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
5076 | ||
5077 | wxPyEndAllowThreads(__tstate); | |
5078 | if (PyErr_Occurred()) SWIG_fail; | |
5079 | } | |
5080 | { | |
412d302d | 5081 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5082 | } |
5083 | return resultobj; | |
5084 | fail: | |
5085 | return NULL; | |
5086 | } | |
5087 | ||
5088 | ||
c370783e | 5089 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5090 | PyObject *resultobj; |
5091 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5092 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
5093 | PyObject * obj0 = 0 ; | |
5094 | PyObject * obj1 = 0 ; | |
5095 | char *kwnames[] = { | |
5096 | (char *) "self",(char *) "statBar", NULL | |
5097 | }; | |
5098 | ||
5099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5100 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5101 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5102 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); | |
5103 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
5104 | { |
5105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5106 | (arg1)->SetStatusBar(arg2); | |
5107 | ||
5108 | wxPyEndAllowThreads(__tstate); | |
5109 | if (PyErr_Occurred()) SWIG_fail; | |
5110 | } | |
5111 | Py_INCREF(Py_None); resultobj = Py_None; | |
5112 | return resultobj; | |
5113 | fail: | |
5114 | return NULL; | |
5115 | } | |
5116 | ||
5117 | ||
c370783e | 5118 | static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5119 | PyObject *resultobj; |
5120 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5121 | wxString *arg2 = 0 ; | |
5122 | int arg3 = (int) 0 ; | |
b411df4a | 5123 | bool temp2 = false ; |
d55e5bfc RD |
5124 | PyObject * obj0 = 0 ; |
5125 | PyObject * obj1 = 0 ; | |
5126 | PyObject * obj2 = 0 ; | |
5127 | char *kwnames[] = { | |
5128 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5129 | }; | |
5130 | ||
5131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
5132 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5133 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5134 | { |
5135 | arg2 = wxString_in_helper(obj1); | |
5136 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 5137 | temp2 = true; |
d55e5bfc RD |
5138 | } |
5139 | if (obj2) { | |
36ed4f51 RD |
5140 | { |
5141 | arg3 = (int)(SWIG_As_int(obj2)); | |
5142 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5143 | } | |
d55e5bfc RD |
5144 | } |
5145 | { | |
5146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5147 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
5148 | ||
5149 | wxPyEndAllowThreads(__tstate); | |
5150 | if (PyErr_Occurred()) SWIG_fail; | |
5151 | } | |
5152 | Py_INCREF(Py_None); resultobj = Py_None; | |
5153 | { | |
5154 | if (temp2) | |
5155 | delete arg2; | |
5156 | } | |
5157 | return resultobj; | |
5158 | fail: | |
5159 | { | |
5160 | if (temp2) | |
5161 | delete arg2; | |
5162 | } | |
5163 | return NULL; | |
5164 | } | |
5165 | ||
5166 | ||
c370783e | 5167 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5168 | PyObject *resultobj; |
5169 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5170 | int arg2 ; | |
5171 | int *arg3 = (int *) 0 ; | |
5172 | PyObject * obj0 = 0 ; | |
5173 | PyObject * obj1 = 0 ; | |
5174 | char *kwnames[] = { | |
5175 | (char *) "self",(char *) "widths", NULL | |
5176 | }; | |
5177 | ||
5178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5179 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5180 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5181 | { |
5182 | arg2 = PyList_Size(obj1); | |
5183 | arg3 = int_LIST_helper(obj1); | |
5184 | if (arg3 == NULL) SWIG_fail; | |
5185 | } | |
5186 | { | |
5187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5188 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5189 | ||
5190 | wxPyEndAllowThreads(__tstate); | |
5191 | if (PyErr_Occurred()) SWIG_fail; | |
5192 | } | |
5193 | Py_INCREF(Py_None); resultobj = Py_None; | |
5194 | { | |
5195 | if (arg3) delete [] arg3; | |
5196 | } | |
5197 | return resultobj; | |
5198 | fail: | |
5199 | { | |
5200 | if (arg3) delete [] arg3; | |
5201 | } | |
5202 | return NULL; | |
5203 | } | |
5204 | ||
5205 | ||
c370783e | 5206 | static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5207 | PyObject *resultobj; |
5208 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5209 | wxString *arg2 = 0 ; | |
5210 | int arg3 = (int) 0 ; | |
b411df4a | 5211 | bool temp2 = false ; |
d55e5bfc RD |
5212 | PyObject * obj0 = 0 ; |
5213 | PyObject * obj1 = 0 ; | |
5214 | PyObject * obj2 = 0 ; | |
5215 | char *kwnames[] = { | |
5216 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5217 | }; | |
5218 | ||
5219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
5220 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5221 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5222 | { |
5223 | arg2 = wxString_in_helper(obj1); | |
5224 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 5225 | temp2 = true; |
d55e5bfc RD |
5226 | } |
5227 | if (obj2) { | |
36ed4f51 RD |
5228 | { |
5229 | arg3 = (int)(SWIG_As_int(obj2)); | |
5230 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5231 | } | |
d55e5bfc RD |
5232 | } |
5233 | { | |
5234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5235 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5236 | ||
5237 | wxPyEndAllowThreads(__tstate); | |
5238 | if (PyErr_Occurred()) SWIG_fail; | |
5239 | } | |
5240 | Py_INCREF(Py_None); resultobj = Py_None; | |
5241 | { | |
5242 | if (temp2) | |
5243 | delete arg2; | |
5244 | } | |
5245 | return resultobj; | |
5246 | fail: | |
5247 | { | |
5248 | if (temp2) | |
5249 | delete arg2; | |
5250 | } | |
5251 | return NULL; | |
5252 | } | |
5253 | ||
5254 | ||
c370783e | 5255 | static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5256 | PyObject *resultobj; |
5257 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5258 | int arg2 = (int) 0 ; | |
5259 | PyObject * obj0 = 0 ; | |
5260 | PyObject * obj1 = 0 ; | |
5261 | char *kwnames[] = { | |
5262 | (char *) "self",(char *) "number", NULL | |
5263 | }; | |
5264 | ||
5265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5266 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5267 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 5268 | if (obj1) { |
36ed4f51 RD |
5269 | { |
5270 | arg2 = (int)(SWIG_As_int(obj1)); | |
5271 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5272 | } | |
d55e5bfc RD |
5273 | } |
5274 | { | |
5275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5276 | (arg1)->PopStatusText(arg2); | |
5277 | ||
5278 | wxPyEndAllowThreads(__tstate); | |
5279 | if (PyErr_Occurred()) SWIG_fail; | |
5280 | } | |
5281 | Py_INCREF(Py_None); resultobj = Py_None; | |
5282 | return resultobj; | |
5283 | fail: | |
5284 | return NULL; | |
5285 | } | |
5286 | ||
5287 | ||
c370783e | 5288 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5289 | PyObject *resultobj; |
5290 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5291 | int arg2 ; | |
5292 | PyObject * obj0 = 0 ; | |
5293 | PyObject * obj1 = 0 ; | |
5294 | char *kwnames[] = { | |
5295 | (char *) "self",(char *) "n", NULL | |
5296 | }; | |
5297 | ||
5298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5299 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5300 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5301 | { | |
5302 | arg2 = (int)(SWIG_As_int(obj1)); | |
5303 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5304 | } | |
d55e5bfc RD |
5305 | { |
5306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5307 | (arg1)->SetStatusBarPane(arg2); | |
5308 | ||
5309 | wxPyEndAllowThreads(__tstate); | |
5310 | if (PyErr_Occurred()) SWIG_fail; | |
5311 | } | |
5312 | Py_INCREF(Py_None); resultobj = Py_None; | |
5313 | return resultobj; | |
5314 | fail: | |
5315 | return NULL; | |
5316 | } | |
5317 | ||
5318 | ||
c370783e | 5319 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5320 | PyObject *resultobj; |
5321 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5322 | int result; | |
5323 | PyObject * obj0 = 0 ; | |
5324 | char *kwnames[] = { | |
5325 | (char *) "self", NULL | |
5326 | }; | |
5327 | ||
5328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
5329 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5330 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5331 | { |
5332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5333 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
5334 | ||
5335 | wxPyEndAllowThreads(__tstate); | |
5336 | if (PyErr_Occurred()) SWIG_fail; | |
5337 | } | |
36ed4f51 RD |
5338 | { |
5339 | resultobj = SWIG_From_int((int)(result)); | |
5340 | } | |
d55e5bfc RD |
5341 | return resultobj; |
5342 | fail: | |
5343 | return NULL; | |
5344 | } | |
5345 | ||
5346 | ||
c370783e | 5347 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5348 | PyObject *resultobj; |
5349 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5350 | long arg2 = (long) -1 ; | |
5351 | int arg3 = (int) -1 ; | |
5352 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; | |
5353 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
5354 | wxToolBar *result; | |
b411df4a | 5355 | bool temp4 = false ; |
d55e5bfc RD |
5356 | PyObject * obj0 = 0 ; |
5357 | PyObject * obj1 = 0 ; | |
5358 | PyObject * obj2 = 0 ; | |
5359 | PyObject * obj3 = 0 ; | |
5360 | char *kwnames[] = { | |
5361 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
5362 | }; | |
5363 | ||
5364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
5365 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5366 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 5367 | if (obj1) { |
36ed4f51 RD |
5368 | { |
5369 | arg2 = (long)(SWIG_As_long(obj1)); | |
5370 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5371 | } | |
d55e5bfc RD |
5372 | } |
5373 | if (obj2) { | |
36ed4f51 RD |
5374 | { |
5375 | arg3 = (int)(SWIG_As_int(obj2)); | |
5376 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5377 | } | |
d55e5bfc RD |
5378 | } |
5379 | if (obj3) { | |
5380 | { | |
5381 | arg4 = wxString_in_helper(obj3); | |
5382 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 5383 | temp4 = true; |
d55e5bfc RD |
5384 | } |
5385 | } | |
5386 | { | |
5387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5388 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
5389 | ||
5390 | wxPyEndAllowThreads(__tstate); | |
5391 | if (PyErr_Occurred()) SWIG_fail; | |
5392 | } | |
5393 | { | |
412d302d | 5394 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5395 | } |
5396 | { | |
5397 | if (temp4) | |
5398 | delete arg4; | |
5399 | } | |
5400 | return resultobj; | |
5401 | fail: | |
5402 | { | |
5403 | if (temp4) | |
5404 | delete arg4; | |
5405 | } | |
5406 | return NULL; | |
5407 | } | |
5408 | ||
5409 | ||
c370783e | 5410 | static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5411 | PyObject *resultobj; |
5412 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5413 | wxToolBar *result; | |
5414 | PyObject * obj0 = 0 ; | |
5415 | char *kwnames[] = { | |
5416 | (char *) "self", NULL | |
5417 | }; | |
5418 | ||
5419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
5420 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5421 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5422 | { |
5423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5424 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
5425 | ||
5426 | wxPyEndAllowThreads(__tstate); | |
5427 | if (PyErr_Occurred()) SWIG_fail; | |
5428 | } | |
5429 | { | |
412d302d | 5430 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5431 | } |
5432 | return resultobj; | |
5433 | fail: | |
5434 | return NULL; | |
5435 | } | |
5436 | ||
5437 | ||
c370783e | 5438 | static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5439 | PyObject *resultobj; |
5440 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5441 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
5442 | PyObject * obj0 = 0 ; | |
5443 | PyObject * obj1 = 0 ; | |
5444 | char *kwnames[] = { | |
5445 | (char *) "self",(char *) "toolbar", NULL | |
5446 | }; | |
5447 | ||
5448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5449 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5450 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5451 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0); | |
5452 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
5453 | { |
5454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5455 | (arg1)->SetToolBar(arg2); | |
5456 | ||
5457 | wxPyEndAllowThreads(__tstate); | |
5458 | if (PyErr_Occurred()) SWIG_fail; | |
5459 | } | |
5460 | Py_INCREF(Py_None); resultobj = Py_None; | |
5461 | return resultobj; | |
5462 | fail: | |
5463 | return NULL; | |
5464 | } | |
5465 | ||
5466 | ||
c370783e | 5467 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5468 | PyObject *resultobj; |
5469 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5470 | wxString *arg2 = 0 ; | |
5471 | bool arg3 ; | |
b411df4a | 5472 | bool temp2 = false ; |
d55e5bfc RD |
5473 | PyObject * obj0 = 0 ; |
5474 | PyObject * obj1 = 0 ; | |
5475 | PyObject * obj2 = 0 ; | |
5476 | char *kwnames[] = { | |
5477 | (char *) "self",(char *) "text",(char *) "show", NULL | |
5478 | }; | |
5479 | ||
5480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
5481 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5482 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5483 | { |
5484 | arg2 = wxString_in_helper(obj1); | |
5485 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 5486 | temp2 = true; |
d55e5bfc | 5487 | } |
36ed4f51 RD |
5488 | { |
5489 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
5490 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5491 | } | |
d55e5bfc RD |
5492 | { |
5493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5494 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
5495 | ||
5496 | wxPyEndAllowThreads(__tstate); | |
5497 | if (PyErr_Occurred()) SWIG_fail; | |
5498 | } | |
5499 | Py_INCREF(Py_None); resultobj = Py_None; | |
5500 | { | |
5501 | if (temp2) | |
5502 | delete arg2; | |
5503 | } | |
5504 | return resultobj; | |
5505 | fail: | |
5506 | { | |
5507 | if (temp2) | |
5508 | delete arg2; | |
5509 | } | |
5510 | return NULL; | |
5511 | } | |
5512 | ||
5513 | ||
c370783e | 5514 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5515 | PyObject *resultobj; |
5516 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5517 | wxMenu *arg2 = (wxMenu *) NULL ; | |
5518 | PyObject * obj0 = 0 ; | |
5519 | PyObject * obj1 = 0 ; | |
5520 | char *kwnames[] = { | |
5521 | (char *) "self",(char *) "menu", NULL | |
5522 | }; | |
5523 | ||
5524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5525 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5526 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 5527 | if (obj1) { |
36ed4f51 RD |
5528 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); |
5529 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
5530 | } |
5531 | { | |
5532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5533 | (arg1)->DoMenuUpdates(arg2); | |
5534 | ||
5535 | wxPyEndAllowThreads(__tstate); | |
5536 | if (PyErr_Occurred()) SWIG_fail; | |
5537 | } | |
5538 | Py_INCREF(Py_None); resultobj = Py_None; | |
5539 | return resultobj; | |
5540 | fail: | |
5541 | return NULL; | |
5542 | } | |
5543 | ||
5544 | ||
c370783e | 5545 | static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 5546 | PyObject *resultobj; |
36ed4f51 | 5547 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
5548 | wxVisualAttributes result; |
5549 | PyObject * obj0 = 0 ; | |
5550 | char *kwnames[] = { | |
5551 | (char *) "variant", NULL | |
5552 | }; | |
5553 | ||
5554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
5555 | if (obj0) { | |
36ed4f51 RD |
5556 | { |
5557 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
5558 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5559 | } | |
f20a2e1f RD |
5560 | } |
5561 | { | |
0439c23b | 5562 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
5563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5564 | result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
5565 | ||
5566 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5567 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
5568 | } |
5569 | { | |
5570 | wxVisualAttributes * resultptr; | |
36ed4f51 | 5571 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
5572 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
5573 | } | |
5574 | return resultobj; | |
5575 | fail: | |
5576 | return NULL; | |
5577 | } | |
5578 | ||
5579 | ||
c370783e | 5580 | static PyObject * Frame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
5581 | PyObject *obj; |
5582 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5583 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
5584 | Py_INCREF(obj); | |
5585 | return Py_BuildValue((char *)""); | |
5586 | } | |
c370783e | 5587 | static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5588 | PyObject *resultobj; |
5589 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 RD |
5590 | int arg2 = (int) (int)-1 ; |
5591 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
5592 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
5593 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5594 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5595 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5596 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5597 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
5598 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
5599 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5600 | wxDialog *result; | |
b411df4a | 5601 | bool temp3 = false ; |
d55e5bfc RD |
5602 | wxPoint temp4 ; |
5603 | wxSize temp5 ; | |
b411df4a | 5604 | bool temp7 = false ; |
d55e5bfc RD |
5605 | PyObject * obj0 = 0 ; |
5606 | PyObject * obj1 = 0 ; | |
5607 | PyObject * obj2 = 0 ; | |
5608 | PyObject * obj3 = 0 ; | |
5609 | PyObject * obj4 = 0 ; | |
5610 | PyObject * obj5 = 0 ; | |
5611 | PyObject * obj6 = 0 ; | |
5612 | char *kwnames[] = { | |
5613 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5614 | }; | |
5615 | ||
bfddbb17 | 5616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
5617 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
5618 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 5619 | if (obj1) { |
36ed4f51 RD |
5620 | { |
5621 | arg2 = (int const)(SWIG_As_int(obj1)); | |
5622 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5623 | } | |
bfddbb17 RD |
5624 | } |
5625 | if (obj2) { | |
5626 | { | |
5627 | arg3 = wxString_in_helper(obj2); | |
5628 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 5629 | temp3 = true; |
bfddbb17 | 5630 | } |
d55e5bfc RD |
5631 | } |
5632 | if (obj3) { | |
5633 | { | |
5634 | arg4 = &temp4; | |
5635 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5636 | } | |
5637 | } | |
5638 | if (obj4) { | |
5639 | { | |
5640 | arg5 = &temp5; | |
5641 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5642 | } | |
5643 | } | |
5644 | if (obj5) { | |
36ed4f51 RD |
5645 | { |
5646 | arg6 = (long)(SWIG_As_long(obj5)); | |
5647 | if (SWIG_arg_fail(6)) SWIG_fail; | |
5648 | } | |
d55e5bfc RD |
5649 | } |
5650 | if (obj6) { | |
5651 | { | |
5652 | arg7 = wxString_in_helper(obj6); | |
5653 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 5654 | temp7 = true; |
d55e5bfc RD |
5655 | } |
5656 | } | |
5657 | { | |
0439c23b | 5658 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5660 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5661 | ||
5662 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5663 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 5664 | } |
b0f7404b | 5665 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d55e5bfc RD |
5666 | { |
5667 | if (temp3) | |
5668 | delete arg3; | |
5669 | } | |
5670 | { | |
5671 | if (temp7) | |
5672 | delete arg7; | |
5673 | } | |
5674 | return resultobj; | |
5675 | fail: | |
5676 | { | |
5677 | if (temp3) | |
5678 | delete arg3; | |
5679 | } | |
5680 | { | |
5681 | if (temp7) | |
5682 | delete arg7; | |
5683 | } | |
5684 | return NULL; | |
5685 | } | |
5686 | ||
5687 | ||
c370783e | 5688 | static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5689 | PyObject *resultobj; |
5690 | wxDialog *result; | |
5691 | char *kwnames[] = { | |
5692 | NULL | |
5693 | }; | |
5694 | ||
5695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
5696 | { | |
0439c23b | 5697 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5699 | result = (wxDialog *)new wxDialog(); | |
5700 | ||
5701 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5702 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 5703 | } |
b0f7404b | 5704 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d55e5bfc RD |
5705 | return resultobj; |
5706 | fail: | |
5707 | return NULL; | |
5708 | } | |
5709 | ||
5710 | ||
c370783e | 5711 | static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5712 | PyObject *resultobj; |
5713 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5714 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 RD |
5715 | int arg3 = (int) (int)-1 ; |
5716 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
5717 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
5718 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
5719 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
5720 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
5721 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
5722 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
5723 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
5724 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
5725 | bool result; | |
b411df4a | 5726 | bool temp4 = false ; |
d55e5bfc RD |
5727 | wxPoint temp5 ; |
5728 | wxSize temp6 ; | |
b411df4a | 5729 | bool temp8 = false ; |
d55e5bfc RD |
5730 | PyObject * obj0 = 0 ; |
5731 | PyObject * obj1 = 0 ; | |
5732 | PyObject * obj2 = 0 ; | |
5733 | PyObject * obj3 = 0 ; | |
5734 | PyObject * obj4 = 0 ; | |
5735 | PyObject * obj5 = 0 ; | |
5736 | PyObject * obj6 = 0 ; | |
5737 | PyObject * obj7 = 0 ; | |
5738 | char *kwnames[] = { | |
5739 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5740 | }; | |
5741 | ||
bfddbb17 | 5742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
5743 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5744 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5745 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
5746 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 5747 | if (obj2) { |
36ed4f51 RD |
5748 | { |
5749 | arg3 = (int const)(SWIG_As_int(obj2)); | |
5750 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5751 | } | |
bfddbb17 RD |
5752 | } |
5753 | if (obj3) { | |
5754 | { | |
5755 | arg4 = wxString_in_helper(obj3); | |
5756 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 5757 | temp4 = true; |
bfddbb17 | 5758 | } |
d55e5bfc RD |
5759 | } |
5760 | if (obj4) { | |
5761 | { | |
5762 | arg5 = &temp5; | |
5763 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
5764 | } | |
5765 | } | |
5766 | if (obj5) { | |
5767 | { | |
5768 | arg6 = &temp6; | |
5769 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
5770 | } | |
5771 | } | |
5772 | if (obj6) { | |
36ed4f51 RD |
5773 | { |
5774 | arg7 = (long)(SWIG_As_long(obj6)); | |
5775 | if (SWIG_arg_fail(7)) SWIG_fail; | |
5776 | } | |
d55e5bfc RD |
5777 | } |
5778 | if (obj7) { | |
5779 | { | |
5780 | arg8 = wxString_in_helper(obj7); | |
5781 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 5782 | temp8 = true; |
d55e5bfc RD |
5783 | } |
5784 | } | |
5785 | { | |
5786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5787 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
5788 | ||
5789 | wxPyEndAllowThreads(__tstate); | |
5790 | if (PyErr_Occurred()) SWIG_fail; | |
5791 | } | |
5792 | { | |
5793 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5794 | } | |
5795 | { | |
5796 | if (temp4) | |
5797 | delete arg4; | |
5798 | } | |
5799 | { | |
5800 | if (temp8) | |
5801 | delete arg8; | |
5802 | } | |
5803 | return resultobj; | |
5804 | fail: | |
5805 | { | |
5806 | if (temp4) | |
5807 | delete arg4; | |
5808 | } | |
5809 | { | |
5810 | if (temp8) | |
5811 | delete arg8; | |
5812 | } | |
5813 | return NULL; | |
5814 | } | |
5815 | ||
5816 | ||
c370783e | 5817 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5818 | PyObject *resultobj; |
5819 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5820 | int arg2 ; | |
5821 | PyObject * obj0 = 0 ; | |
5822 | PyObject * obj1 = 0 ; | |
5823 | char *kwnames[] = { | |
5824 | (char *) "self",(char *) "returnCode", NULL | |
5825 | }; | |
5826 | ||
5827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5828 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5829 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5830 | { | |
5831 | arg2 = (int)(SWIG_As_int(obj1)); | |
5832 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5833 | } | |
d55e5bfc RD |
5834 | { |
5835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5836 | (arg1)->SetReturnCode(arg2); | |
5837 | ||
5838 | wxPyEndAllowThreads(__tstate); | |
5839 | if (PyErr_Occurred()) SWIG_fail; | |
5840 | } | |
5841 | Py_INCREF(Py_None); resultobj = Py_None; | |
5842 | return resultobj; | |
5843 | fail: | |
5844 | return NULL; | |
5845 | } | |
5846 | ||
5847 | ||
c370783e | 5848 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5849 | PyObject *resultobj; |
5850 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5851 | int result; | |
5852 | PyObject * obj0 = 0 ; | |
5853 | char *kwnames[] = { | |
5854 | (char *) "self", NULL | |
5855 | }; | |
5856 | ||
5857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
5858 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5859 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5860 | { |
5861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5862 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
5863 | ||
5864 | wxPyEndAllowThreads(__tstate); | |
5865 | if (PyErr_Occurred()) SWIG_fail; | |
5866 | } | |
36ed4f51 RD |
5867 | { |
5868 | resultobj = SWIG_From_int((int)(result)); | |
5869 | } | |
d55e5bfc RD |
5870 | return resultobj; |
5871 | fail: | |
5872 | return NULL; | |
5873 | } | |
5874 | ||
5875 | ||
c370783e | 5876 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5877 | PyObject *resultobj; |
5878 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5879 | wxString *arg2 = 0 ; | |
5880 | wxSizer *result; | |
b411df4a | 5881 | bool temp2 = false ; |
d55e5bfc RD |
5882 | PyObject * obj0 = 0 ; |
5883 | PyObject * obj1 = 0 ; | |
5884 | char *kwnames[] = { | |
5885 | (char *) "self",(char *) "message", NULL | |
5886 | }; | |
5887 | ||
5888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5889 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5890 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5891 | { |
5892 | arg2 = wxString_in_helper(obj1); | |
5893 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 5894 | temp2 = true; |
d55e5bfc RD |
5895 | } |
5896 | { | |
5897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5898 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
5899 | ||
5900 | wxPyEndAllowThreads(__tstate); | |
5901 | if (PyErr_Occurred()) SWIG_fail; | |
5902 | } | |
5903 | { | |
412d302d | 5904 | resultobj = wxPyMake_wxSizer(result, 0); |
d55e5bfc RD |
5905 | } |
5906 | { | |
5907 | if (temp2) | |
5908 | delete arg2; | |
5909 | } | |
5910 | return resultobj; | |
5911 | fail: | |
5912 | { | |
5913 | if (temp2) | |
5914 | delete arg2; | |
5915 | } | |
5916 | return NULL; | |
5917 | } | |
5918 | ||
5919 | ||
c370783e | 5920 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5921 | PyObject *resultobj; |
5922 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5923 | long arg2 ; | |
5924 | wxSizer *result; | |
5925 | PyObject * obj0 = 0 ; | |
5926 | PyObject * obj1 = 0 ; | |
5927 | char *kwnames[] = { | |
5928 | (char *) "self",(char *) "flags", NULL | |
5929 | }; | |
5930 | ||
5931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5932 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5933 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5934 | { | |
5935 | arg2 = (long)(SWIG_As_long(obj1)); | |
5936 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5937 | } | |
d55e5bfc RD |
5938 | { |
5939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5940 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
5941 | ||
5942 | wxPyEndAllowThreads(__tstate); | |
5943 | if (PyErr_Occurred()) SWIG_fail; | |
5944 | } | |
5945 | { | |
412d302d | 5946 | resultobj = wxPyMake_wxSizer(result, 0); |
d55e5bfc RD |
5947 | } |
5948 | return resultobj; | |
5949 | fail: | |
5950 | return NULL; | |
5951 | } | |
5952 | ||
5953 | ||
c370783e | 5954 | static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5955 | PyObject *resultobj; |
5956 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5957 | bool result; | |
5958 | PyObject * obj0 = 0 ; | |
5959 | char *kwnames[] = { | |
5960 | (char *) "self", NULL | |
5961 | }; | |
5962 | ||
5963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
5964 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5965 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5966 | { |
5967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5968 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
5969 | ||
5970 | wxPyEndAllowThreads(__tstate); | |
5971 | if (PyErr_Occurred()) SWIG_fail; | |
5972 | } | |
5973 | { | |
5974 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5975 | } | |
5976 | return resultobj; | |
5977 | fail: | |
5978 | return NULL; | |
5979 | } | |
5980 | ||
5981 | ||
c370783e | 5982 | static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5983 | PyObject *resultobj; |
5984 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5985 | int result; | |
5986 | PyObject * obj0 = 0 ; | |
5987 | char *kwnames[] = { | |
5988 | (char *) "self", NULL | |
5989 | }; | |
5990 | ||
5991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
5992 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5993 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5994 | { |
5995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5996 | result = (int)(arg1)->ShowModal(); | |
5997 | ||
5998 | wxPyEndAllowThreads(__tstate); | |
5999 | if (PyErr_Occurred()) SWIG_fail; | |
6000 | } | |
36ed4f51 RD |
6001 | { |
6002 | resultobj = SWIG_From_int((int)(result)); | |
6003 | } | |
d55e5bfc RD |
6004 | return resultobj; |
6005 | fail: | |
6006 | return NULL; | |
6007 | } | |
6008 | ||
6009 | ||
c370783e | 6010 | static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6011 | PyObject *resultobj; |
6012 | wxDialog *arg1 = (wxDialog *) 0 ; | |
6013 | int arg2 ; | |
6014 | PyObject * obj0 = 0 ; | |
6015 | PyObject * obj1 = 0 ; | |
6016 | char *kwnames[] = { | |
6017 | (char *) "self",(char *) "retCode", NULL | |
6018 | }; | |
6019 | ||
6020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
6021 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6022 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6023 | { | |
6024 | arg2 = (int)(SWIG_As_int(obj1)); | |
6025 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6026 | } | |
d55e5bfc RD |
6027 | { |
6028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6029 | (arg1)->EndModal(arg2); | |
6030 | ||
6031 | wxPyEndAllowThreads(__tstate); | |
6032 | if (PyErr_Occurred()) SWIG_fail; | |
6033 | } | |
6034 | Py_INCREF(Py_None); resultobj = Py_None; | |
6035 | return resultobj; | |
6036 | fail: | |
6037 | return NULL; | |
6038 | } | |
6039 | ||
6040 | ||
c370783e | 6041 | static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 6042 | PyObject *resultobj; |
36ed4f51 | 6043 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
6044 | wxVisualAttributes result; |
6045 | PyObject * obj0 = 0 ; | |
6046 | char *kwnames[] = { | |
6047 | (char *) "variant", NULL | |
6048 | }; | |
6049 | ||
6050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
6051 | if (obj0) { | |
36ed4f51 RD |
6052 | { |
6053 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
6054 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6055 | } | |
f20a2e1f RD |
6056 | } |
6057 | { | |
0439c23b | 6058 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
6059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6060 | result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
6061 | ||
6062 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6063 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
6064 | } |
6065 | { | |
6066 | wxVisualAttributes * resultptr; | |
36ed4f51 | 6067 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
6068 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
6069 | } | |
6070 | return resultobj; | |
6071 | fail: | |
6072 | return NULL; | |
6073 | } | |
6074 | ||
6075 | ||
c370783e | 6076 | static PyObject * Dialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6077 | PyObject *obj; |
6078 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6079 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
6080 | Py_INCREF(obj); | |
6081 | return Py_BuildValue((char *)""); | |
6082 | } | |
c370783e | 6083 | static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6084 | PyObject *resultobj; |
6085 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 RD |
6086 | int arg2 = (int) (int)-1 ; |
6087 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6088 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
6089 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6090 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6091 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6092 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6093 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
6094 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
6095 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6096 | wxMiniFrame *result; | |
b411df4a | 6097 | bool temp3 = false ; |
d55e5bfc RD |
6098 | wxPoint temp4 ; |
6099 | wxSize temp5 ; | |
b411df4a | 6100 | bool temp7 = false ; |
d55e5bfc RD |
6101 | PyObject * obj0 = 0 ; |
6102 | PyObject * obj1 = 0 ; | |
6103 | PyObject * obj2 = 0 ; | |
6104 | PyObject * obj3 = 0 ; | |
6105 | PyObject * obj4 = 0 ; | |
6106 | PyObject * obj5 = 0 ; | |
6107 | PyObject * obj6 = 0 ; | |
6108 | char *kwnames[] = { | |
6109 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6110 | }; | |
6111 | ||
bfddbb17 | 6112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
6113 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
6114 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 6115 | if (obj1) { |
36ed4f51 RD |
6116 | { |
6117 | arg2 = (int const)(SWIG_As_int(obj1)); | |
6118 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6119 | } | |
bfddbb17 RD |
6120 | } |
6121 | if (obj2) { | |
6122 | { | |
6123 | arg3 = wxString_in_helper(obj2); | |
6124 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 6125 | temp3 = true; |
bfddbb17 | 6126 | } |
d55e5bfc RD |
6127 | } |
6128 | if (obj3) { | |
6129 | { | |
6130 | arg4 = &temp4; | |
6131 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6132 | } | |
6133 | } | |
6134 | if (obj4) { | |
6135 | { | |
6136 | arg5 = &temp5; | |
6137 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6138 | } | |
6139 | } | |
6140 | if (obj5) { | |
36ed4f51 RD |
6141 | { |
6142 | arg6 = (long)(SWIG_As_long(obj5)); | |
6143 | if (SWIG_arg_fail(6)) SWIG_fail; | |
6144 | } | |
d55e5bfc RD |
6145 | } |
6146 | if (obj6) { | |
6147 | { | |
6148 | arg7 = wxString_in_helper(obj6); | |
6149 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 6150 | temp7 = true; |
d55e5bfc RD |
6151 | } |
6152 | } | |
6153 | { | |
0439c23b | 6154 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6156 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6157 | ||
6158 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6159 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6160 | } |
6161 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); | |
6162 | { | |
6163 | if (temp3) | |
6164 | delete arg3; | |
6165 | } | |
6166 | { | |
6167 | if (temp7) | |
6168 | delete arg7; | |
6169 | } | |
6170 | return resultobj; | |
6171 | fail: | |
6172 | { | |
6173 | if (temp3) | |
6174 | delete arg3; | |
6175 | } | |
6176 | { | |
6177 | if (temp7) | |
6178 | delete arg7; | |
6179 | } | |
6180 | return NULL; | |
6181 | } | |
6182 | ||
6183 | ||
c370783e | 6184 | static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6185 | PyObject *resultobj; |
6186 | wxMiniFrame *result; | |
6187 | char *kwnames[] = { | |
6188 | NULL | |
6189 | }; | |
6190 | ||
6191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
6192 | { | |
0439c23b | 6193 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6195 | result = (wxMiniFrame *)new wxMiniFrame(); | |
6196 | ||
6197 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6198 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6199 | } |
6200 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); | |
6201 | return resultobj; | |
6202 | fail: | |
6203 | return NULL; | |
6204 | } | |
6205 | ||
6206 | ||
c370783e | 6207 | static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6208 | PyObject *resultobj; |
6209 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
6210 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 RD |
6211 | int arg3 = (int) (int)-1 ; |
6212 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
6213 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
6214 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
6215 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
6216 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
6217 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
6218 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
6219 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
6220 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
6221 | bool result; | |
b411df4a | 6222 | bool temp4 = false ; |
d55e5bfc RD |
6223 | wxPoint temp5 ; |
6224 | wxSize temp6 ; | |
b411df4a | 6225 | bool temp8 = false ; |
d55e5bfc RD |
6226 | PyObject * obj0 = 0 ; |
6227 | PyObject * obj1 = 0 ; | |
6228 | PyObject * obj2 = 0 ; | |
6229 | PyObject * obj3 = 0 ; | |
6230 | PyObject * obj4 = 0 ; | |
6231 | PyObject * obj5 = 0 ; | |
6232 | PyObject * obj6 = 0 ; | |
6233 | PyObject * obj7 = 0 ; | |
6234 | char *kwnames[] = { | |
6235 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6236 | }; | |
6237 | ||
bfddbb17 | 6238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
6239 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0); |
6240 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6241 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6242 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 6243 | if (obj2) { |
36ed4f51 RD |
6244 | { |
6245 | arg3 = (int const)(SWIG_As_int(obj2)); | |
6246 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6247 | } | |
bfddbb17 RD |
6248 | } |
6249 | if (obj3) { | |
6250 | { | |
6251 | arg4 = wxString_in_helper(obj3); | |
6252 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 6253 | temp4 = true; |
bfddbb17 | 6254 | } |
d55e5bfc RD |
6255 | } |
6256 | if (obj4) { | |
6257 | { | |
6258 | arg5 = &temp5; | |
6259 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
6260 | } | |
6261 | } | |
6262 | if (obj5) { | |
6263 | { | |
6264 | arg6 = &temp6; | |
6265 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
6266 | } | |
6267 | } | |
6268 | if (obj6) { | |
36ed4f51 RD |
6269 | { |
6270 | arg7 = (long)(SWIG_As_long(obj6)); | |
6271 | if (SWIG_arg_fail(7)) SWIG_fail; | |
6272 | } | |
d55e5bfc RD |
6273 | } |
6274 | if (obj7) { | |
6275 | { | |
6276 | arg8 = wxString_in_helper(obj7); | |
6277 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 6278 | temp8 = true; |
d55e5bfc RD |
6279 | } |
6280 | } | |
6281 | { | |
6282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6283 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
6284 | ||
6285 | wxPyEndAllowThreads(__tstate); | |
6286 | if (PyErr_Occurred()) SWIG_fail; | |
6287 | } | |
6288 | { | |
6289 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6290 | } | |
6291 | { | |
6292 | if (temp4) | |
6293 | delete arg4; | |
6294 | } | |
6295 | { | |
6296 | if (temp8) | |
6297 | delete arg8; | |
6298 | } | |
6299 | return resultobj; | |
6300 | fail: | |
6301 | { | |
6302 | if (temp4) | |
6303 | delete arg4; | |
6304 | } | |
6305 | { | |
6306 | if (temp8) | |
6307 | delete arg8; | |
6308 | } | |
6309 | return NULL; | |
6310 | } | |
6311 | ||
6312 | ||
c370783e | 6313 | static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6314 | PyObject *obj; |
6315 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6316 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
6317 | Py_INCREF(obj); | |
6318 | return Py_BuildValue((char *)""); | |
6319 | } | |
c370783e | 6320 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6321 | PyObject *resultobj; |
6322 | wxBitmap *arg1 = 0 ; | |
6323 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6324 | int arg3 ; | |
6325 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
6326 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6327 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6328 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6329 | long arg6 = (long) wxNO_BORDER ; | |
6330 | wxSplashScreenWindow *result; | |
6331 | wxPoint temp4 ; | |
6332 | wxSize temp5 ; | |
6333 | PyObject * obj0 = 0 ; | |
6334 | PyObject * obj1 = 0 ; | |
6335 | PyObject * obj2 = 0 ; | |
6336 | PyObject * obj3 = 0 ; | |
6337 | PyObject * obj4 = 0 ; | |
6338 | PyObject * obj5 = 0 ; | |
6339 | char *kwnames[] = { | |
6340 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
6341 | }; | |
6342 | ||
6343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
6344 | { |
6345 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6346 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6347 | if (arg1 == NULL) { | |
6348 | SWIG_null_ref("wxBitmap"); | |
6349 | } | |
6350 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6351 | } | |
6352 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6353 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6354 | { | |
6355 | arg3 = (int)(SWIG_As_int(obj2)); | |
6356 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6357 | } | |
d55e5bfc RD |
6358 | if (obj3) { |
6359 | { | |
6360 | arg4 = &temp4; | |
6361 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6362 | } | |
6363 | } | |
6364 | if (obj4) { | |
6365 | { | |
6366 | arg5 = &temp5; | |
6367 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6368 | } | |
6369 | } | |
6370 | if (obj5) { | |
36ed4f51 RD |
6371 | { |
6372 | arg6 = (long)(SWIG_As_long(obj5)); | |
6373 | if (SWIG_arg_fail(6)) SWIG_fail; | |
6374 | } | |
d55e5bfc RD |
6375 | } |
6376 | { | |
0439c23b | 6377 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6379 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
6380 | ||
6381 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6382 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6383 | } |
6384 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); | |
6385 | return resultobj; | |
6386 | fail: | |
6387 | return NULL; | |
6388 | } | |
6389 | ||
6390 | ||
c370783e | 6391 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6392 | PyObject *resultobj; |
6393 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
6394 | wxBitmap *arg2 = 0 ; | |
6395 | PyObject * obj0 = 0 ; | |
6396 | PyObject * obj1 = 0 ; | |
6397 | char *kwnames[] = { | |
6398 | (char *) "self",(char *) "bitmap", NULL | |
6399 | }; | |
6400 | ||
6401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
6402 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0); |
6403 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6404 | { | |
6405 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6406 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6407 | if (arg2 == NULL) { | |
6408 | SWIG_null_ref("wxBitmap"); | |
6409 | } | |
6410 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
6411 | } |
6412 | { | |
6413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6414 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
6415 | ||
6416 | wxPyEndAllowThreads(__tstate); | |
6417 | if (PyErr_Occurred()) SWIG_fail; | |
6418 | } | |
6419 | Py_INCREF(Py_None); resultobj = Py_None; | |
6420 | return resultobj; | |
6421 | fail: | |
6422 | return NULL; | |
6423 | } | |
6424 | ||
6425 | ||
c370783e | 6426 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6427 | PyObject *resultobj; |
6428 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
6429 | wxBitmap *result; | |
6430 | PyObject * obj0 = 0 ; | |
6431 | char *kwnames[] = { | |
6432 | (char *) "self", NULL | |
6433 | }; | |
6434 | ||
6435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6436 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0); |
6437 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6438 | { |
6439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6440 | { | |
6441 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
6442 | result = (wxBitmap *) &_result_ref; | |
6443 | } | |
6444 | ||
6445 | wxPyEndAllowThreads(__tstate); | |
6446 | if (PyErr_Occurred()) SWIG_fail; | |
6447 | } | |
6448 | { | |
6449 | wxBitmap* resultptr = new wxBitmap(*result); | |
6450 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
6451 | } | |
6452 | return resultobj; | |
6453 | fail: | |
6454 | return NULL; | |
6455 | } | |
6456 | ||
6457 | ||
c370783e | 6458 | static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6459 | PyObject *obj; |
6460 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6461 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
6462 | Py_INCREF(obj); | |
6463 | return Py_BuildValue((char *)""); | |
6464 | } | |
c370783e | 6465 | static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6466 | PyObject *resultobj; |
6467 | wxBitmap *arg1 = 0 ; | |
6468 | long arg2 ; | |
6469 | int arg3 ; | |
6470 | wxWindow *arg4 = (wxWindow *) 0 ; | |
bfddbb17 | 6471 | int arg5 = (int) -1 ; |
d55e5bfc RD |
6472 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
6473 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
6474 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
6475 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
6476 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
6477 | wxSplashScreen *result; | |
6478 | wxPoint temp6 ; | |
6479 | wxSize temp7 ; | |
6480 | PyObject * obj0 = 0 ; | |
6481 | PyObject * obj1 = 0 ; | |
6482 | PyObject * obj2 = 0 ; | |
6483 | PyObject * obj3 = 0 ; | |
6484 | PyObject * obj4 = 0 ; | |
6485 | PyObject * obj5 = 0 ; | |
6486 | PyObject * obj6 = 0 ; | |
6487 | PyObject * obj7 = 0 ; | |
6488 | char *kwnames[] = { | |
6489 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
6490 | }; | |
6491 | ||
bfddbb17 | 6492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
6493 | { |
6494 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6495 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6496 | if (arg1 == NULL) { | |
6497 | SWIG_null_ref("wxBitmap"); | |
6498 | } | |
6499 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6500 | } | |
6501 | { | |
6502 | arg2 = (long)(SWIG_As_long(obj1)); | |
6503 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6504 | } | |
6505 | { | |
6506 | arg3 = (int)(SWIG_As_int(obj2)); | |
6507 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6508 | } | |
6509 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6510 | if (SWIG_arg_fail(4)) SWIG_fail; | |
bfddbb17 | 6511 | if (obj4) { |
36ed4f51 RD |
6512 | { |
6513 | arg5 = (int)(SWIG_As_int(obj4)); | |
6514 | if (SWIG_arg_fail(5)) SWIG_fail; | |
6515 | } | |
bfddbb17 | 6516 | } |
d55e5bfc RD |
6517 | if (obj5) { |
6518 | { | |
6519 | arg6 = &temp6; | |
6520 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
6521 | } | |
6522 | } | |
6523 | if (obj6) { | |
6524 | { | |
6525 | arg7 = &temp7; | |
6526 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
6527 | } | |
6528 | } | |
6529 | if (obj7) { | |
36ed4f51 RD |
6530 | { |
6531 | arg8 = (long)(SWIG_As_long(obj7)); | |
6532 | if (SWIG_arg_fail(8)) SWIG_fail; | |
6533 | } | |
d55e5bfc RD |
6534 | } |
6535 | { | |
0439c23b | 6536 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6538 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
6539 | ||
6540 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6541 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6542 | } |
6543 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); | |
6544 | return resultobj; | |
6545 | fail: | |
6546 | return NULL; | |
6547 | } | |
6548 | ||
6549 | ||
c370783e | 6550 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6551 | PyObject *resultobj; |
6552 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
6553 | long result; | |
6554 | PyObject * obj0 = 0 ; | |
6555 | char *kwnames[] = { | |
6556 | (char *) "self", NULL | |
6557 | }; | |
6558 | ||
6559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6560 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6561 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6562 | { |
6563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6564 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
6565 | ||
6566 | wxPyEndAllowThreads(__tstate); | |
6567 | if (PyErr_Occurred()) SWIG_fail; | |
6568 | } | |
36ed4f51 RD |
6569 | { |
6570 | resultobj = SWIG_From_long((long)(result)); | |
6571 | } | |
d55e5bfc RD |
6572 | return resultobj; |
6573 | fail: | |
6574 | return NULL; | |
6575 | } | |
6576 | ||
6577 | ||
c370783e | 6578 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6579 | PyObject *resultobj; |
6580 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
6581 | wxSplashScreenWindow *result; | |
6582 | PyObject * obj0 = 0 ; | |
6583 | char *kwnames[] = { | |
6584 | (char *) "self", NULL | |
6585 | }; | |
6586 | ||
6587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6588 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6589 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6590 | { |
6591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6592 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
6593 | ||
6594 | wxPyEndAllowThreads(__tstate); | |
6595 | if (PyErr_Occurred()) SWIG_fail; | |
6596 | } | |
6597 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); | |
6598 | return resultobj; | |
6599 | fail: | |
6600 | return NULL; | |
6601 | } | |
6602 | ||
6603 | ||
c370783e | 6604 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6605 | PyObject *resultobj; |
6606 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
6607 | int result; | |
6608 | PyObject * obj0 = 0 ; | |
6609 | char *kwnames[] = { | |
6610 | (char *) "self", NULL | |
6611 | }; | |
6612 | ||
6613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6614 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6615 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6616 | { |
6617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6618 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
6619 | ||
6620 | wxPyEndAllowThreads(__tstate); | |
6621 | if (PyErr_Occurred()) SWIG_fail; | |
6622 | } | |
36ed4f51 RD |
6623 | { |
6624 | resultobj = SWIG_From_int((int)(result)); | |
6625 | } | |
d55e5bfc RD |
6626 | return resultobj; |
6627 | fail: | |
6628 | return NULL; | |
6629 | } | |
6630 | ||
6631 | ||
c370783e | 6632 | static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6633 | PyObject *obj; |
6634 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6635 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
6636 | Py_INCREF(obj); | |
6637 | return Py_BuildValue((char *)""); | |
6638 | } | |
c370783e | 6639 | static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6640 | PyObject *resultobj; |
6641 | wxWindow *arg1 = (wxWindow *) 0 ; | |
6642 | int arg2 = (int) -1 ; | |
6643 | long arg3 = (long) wxST_SIZEGRIP ; | |
6644 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; | |
6645 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
6646 | wxStatusBar *result; | |
b411df4a | 6647 | bool temp4 = false ; |
d55e5bfc RD |
6648 | PyObject * obj0 = 0 ; |
6649 | PyObject * obj1 = 0 ; | |
6650 | PyObject * obj2 = 0 ; | |
6651 | PyObject * obj3 = 0 ; | |
6652 | char *kwnames[] = { | |
6653 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
6654 | }; | |
6655 | ||
6656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
6657 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
6658 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 6659 | if (obj1) { |
36ed4f51 RD |
6660 | { |
6661 | arg2 = (int)(SWIG_As_int(obj1)); | |
6662 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6663 | } | |
d55e5bfc RD |
6664 | } |
6665 | if (obj2) { | |
36ed4f51 RD |
6666 | { |
6667 | arg3 = (long)(SWIG_As_long(obj2)); | |
6668 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6669 | } | |
d55e5bfc RD |
6670 | } |
6671 | if (obj3) { | |
6672 | { | |
6673 | arg4 = wxString_in_helper(obj3); | |
6674 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 6675 | temp4 = true; |
d55e5bfc RD |
6676 | } |
6677 | } | |
6678 | { | |
0439c23b | 6679 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6681 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
6682 | ||
6683 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6684 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 6685 | } |
b0f7404b | 6686 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d55e5bfc RD |
6687 | { |
6688 | if (temp4) | |
6689 | delete arg4; | |
6690 | } | |
6691 | return resultobj; | |
6692 | fail: | |
6693 | { | |
6694 | if (temp4) | |
6695 | delete arg4; | |
6696 | } | |
6697 | return NULL; | |
6698 | } | |
6699 | ||
6700 | ||
c370783e | 6701 | static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6702 | PyObject *resultobj; |
6703 | wxStatusBar *result; | |
6704 | char *kwnames[] = { | |
6705 | NULL | |
6706 | }; | |
6707 | ||
6708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
6709 | { | |
0439c23b | 6710 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6712 | result = (wxStatusBar *)new wxStatusBar(); | |
6713 | ||
6714 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6715 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 6716 | } |
b0f7404b | 6717 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d55e5bfc RD |
6718 | return resultobj; |
6719 | fail: | |
6720 | return NULL; | |
6721 | } | |
6722 | ||
6723 | ||
c370783e | 6724 | static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6725 | PyObject *resultobj; |
6726 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6727 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 | 6728 | int arg3 = (int) -1 ; |
d55e5bfc RD |
6729 | long arg4 = (long) wxST_SIZEGRIP ; |
6730 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
6731 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
6732 | bool result; | |
b411df4a | 6733 | bool temp5 = false ; |
d55e5bfc RD |
6734 | PyObject * obj0 = 0 ; |
6735 | PyObject * obj1 = 0 ; | |
6736 | PyObject * obj2 = 0 ; | |
6737 | PyObject * obj3 = 0 ; | |
6738 | PyObject * obj4 = 0 ; | |
6739 | char *kwnames[] = { | |
6740 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
6741 | }; | |
6742 | ||
bfddbb17 | 6743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
36ed4f51 RD |
6744 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6745 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6746 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6747 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 6748 | if (obj2) { |
36ed4f51 RD |
6749 | { |
6750 | arg3 = (int)(SWIG_As_int(obj2)); | |
6751 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6752 | } | |
bfddbb17 | 6753 | } |
d55e5bfc | 6754 | if (obj3) { |
36ed4f51 RD |
6755 | { |
6756 | arg4 = (long)(SWIG_As_long(obj3)); | |
6757 | if (SWIG_arg_fail(4)) SWIG_fail; | |
6758 | } | |
d55e5bfc RD |
6759 | } |
6760 | if (obj4) { | |
6761 | { | |
6762 | arg5 = wxString_in_helper(obj4); | |
6763 | if (arg5 == NULL) SWIG_fail; | |
b411df4a | 6764 | temp5 = true; |
d55e5bfc RD |
6765 | } |
6766 | } | |
6767 | { | |
6768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6769 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
6770 | ||
6771 | wxPyEndAllowThreads(__tstate); | |
6772 | if (PyErr_Occurred()) SWIG_fail; | |
6773 | } | |
6774 | { | |
6775 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6776 | } | |
6777 | { | |
6778 | if (temp5) | |
6779 | delete arg5; | |
6780 | } | |
6781 | return resultobj; | |
6782 | fail: | |
6783 | { | |
6784 | if (temp5) | |
6785 | delete arg5; | |
6786 | } | |
6787 | return NULL; | |
6788 | } | |
6789 | ||
6790 | ||
c370783e | 6791 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6792 | PyObject *resultobj; |
6793 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6794 | int arg2 = (int) 1 ; | |
6795 | PyObject * obj0 = 0 ; | |
6796 | PyObject * obj1 = 0 ; | |
6797 | char *kwnames[] = { | |
6798 | (char *) "self",(char *) "number", NULL | |
6799 | }; | |
6800 | ||
6801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
6802 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6803 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 6804 | if (obj1) { |
36ed4f51 RD |
6805 | { |
6806 | arg2 = (int)(SWIG_As_int(obj1)); | |
6807 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6808 | } | |
d55e5bfc RD |
6809 | } |
6810 | { | |
6811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6812 | (arg1)->SetFieldsCount(arg2); | |
6813 | ||
6814 | wxPyEndAllowThreads(__tstate); | |
6815 | if (PyErr_Occurred()) SWIG_fail; | |
6816 | } | |
6817 | Py_INCREF(Py_None); resultobj = Py_None; | |
6818 | return resultobj; | |
6819 | fail: | |
6820 | return NULL; | |
6821 | } | |
6822 | ||
6823 | ||
c370783e | 6824 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6825 | PyObject *resultobj; |
6826 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6827 | int result; | |
6828 | PyObject * obj0 = 0 ; | |
6829 | char *kwnames[] = { | |
6830 | (char *) "self", NULL | |
6831 | }; | |
6832 | ||
6833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6834 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6835 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6836 | { |
6837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6838 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
6839 | ||
6840 | wxPyEndAllowThreads(__tstate); | |
6841 | if (PyErr_Occurred()) SWIG_fail; | |
6842 | } | |
36ed4f51 RD |
6843 | { |
6844 | resultobj = SWIG_From_int((int)(result)); | |
6845 | } | |
d55e5bfc RD |
6846 | return resultobj; |
6847 | fail: | |
6848 | return NULL; | |
6849 | } | |
6850 | ||
6851 | ||
c370783e | 6852 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6853 | PyObject *resultobj; |
6854 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6855 | wxString *arg2 = 0 ; | |
6856 | int arg3 = (int) 0 ; | |
b411df4a | 6857 | bool temp2 = false ; |
d55e5bfc RD |
6858 | PyObject * obj0 = 0 ; |
6859 | PyObject * obj1 = 0 ; | |
6860 | PyObject * obj2 = 0 ; | |
6861 | char *kwnames[] = { | |
6862 | (char *) "self",(char *) "text",(char *) "number", NULL | |
6863 | }; | |
6864 | ||
6865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
6866 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6867 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6868 | { |
6869 | arg2 = wxString_in_helper(obj1); | |
6870 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 6871 | temp2 = true; |
d55e5bfc RD |
6872 | } |
6873 | if (obj2) { | |
36ed4f51 RD |
6874 | { |
6875 | arg3 = (int)(SWIG_As_int(obj2)); | |
6876 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6877 | } | |
d55e5bfc RD |
6878 | } |
6879 | { | |
6880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6881 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
6882 | ||
6883 | wxPyEndAllowThreads(__tstate); | |
6884 | if (PyErr_Occurred()) SWIG_fail; | |
6885 | } | |
6886 | Py_INCREF(Py_None); resultobj = Py_None; | |
6887 | { | |
6888 | if (temp2) | |
6889 | delete arg2; | |
6890 | } | |
6891 | return resultobj; | |
6892 | fail: | |
6893 | { | |
6894 | if (temp2) | |
6895 | delete arg2; | |
6896 | } | |
6897 | return NULL; | |
6898 | } | |
6899 | ||
6900 | ||
c370783e | 6901 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6902 | PyObject *resultobj; |
6903 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6904 | int arg2 = (int) 0 ; | |
6905 | wxString result; | |
6906 | PyObject * obj0 = 0 ; | |
6907 | PyObject * obj1 = 0 ; | |
6908 | char *kwnames[] = { | |
6909 | (char *) "self",(char *) "number", NULL | |
6910 | }; | |
6911 | ||
6912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
6913 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6914 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 6915 | if (obj1) { |
36ed4f51 RD |
6916 | { |
6917 | arg2 = (int)(SWIG_As_int(obj1)); | |
6918 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6919 | } | |
d55e5bfc RD |
6920 | } |
6921 | { | |
6922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6923 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
6924 | ||
6925 | wxPyEndAllowThreads(__tstate); | |
6926 | if (PyErr_Occurred()) SWIG_fail; | |
6927 | } | |
6928 | { | |
6929 | #if wxUSE_UNICODE | |
6930 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6931 | #else | |
6932 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6933 | #endif | |
6934 | } | |
6935 | return resultobj; | |
6936 | fail: | |
6937 | return NULL; | |
6938 | } | |
6939 | ||
6940 | ||
c370783e | 6941 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6942 | PyObject *resultobj; |
6943 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6944 | wxString *arg2 = 0 ; | |
6945 | int arg3 = (int) 0 ; | |
b411df4a | 6946 | bool temp2 = false ; |
d55e5bfc RD |
6947 | PyObject * obj0 = 0 ; |
6948 | PyObject * obj1 = 0 ; | |
6949 | PyObject * obj2 = 0 ; | |
6950 | char *kwnames[] = { | |
6951 | (char *) "self",(char *) "text",(char *) "number", NULL | |
6952 | }; | |
6953 | ||
6954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
6955 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6956 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6957 | { |
6958 | arg2 = wxString_in_helper(obj1); | |
6959 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 6960 | temp2 = true; |
d55e5bfc RD |
6961 | } |
6962 | if (obj2) { | |
36ed4f51 RD |
6963 | { |
6964 | arg3 = (int)(SWIG_As_int(obj2)); | |
6965 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6966 | } | |
d55e5bfc RD |
6967 | } |
6968 | { | |
6969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6970 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
6971 | ||
6972 | wxPyEndAllowThreads(__tstate); | |
6973 | if (PyErr_Occurred()) SWIG_fail; | |
6974 | } | |
6975 | Py_INCREF(Py_None); resultobj = Py_None; | |
6976 | { | |
6977 | if (temp2) | |
6978 | delete arg2; | |
6979 | } | |
6980 | return resultobj; | |
6981 | fail: | |
6982 | { | |
6983 | if (temp2) | |
6984 | delete arg2; | |
6985 | } | |
6986 | return NULL; | |
6987 | } | |
6988 | ||
6989 | ||
c370783e | 6990 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6991 | PyObject *resultobj; |
6992 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6993 | int arg2 = (int) 0 ; | |
6994 | PyObject * obj0 = 0 ; | |
6995 | PyObject * obj1 = 0 ; | |
6996 | char *kwnames[] = { | |
6997 | (char *) "self",(char *) "number", NULL | |
6998 | }; | |
6999 | ||
7000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7001 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7002 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 7003 | if (obj1) { |
36ed4f51 RD |
7004 | { |
7005 | arg2 = (int)(SWIG_As_int(obj1)); | |
7006 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7007 | } | |
d55e5bfc RD |
7008 | } |
7009 | { | |
7010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7011 | (arg1)->PopStatusText(arg2); | |
7012 | ||
7013 | wxPyEndAllowThreads(__tstate); | |
7014 | if (PyErr_Occurred()) SWIG_fail; | |
7015 | } | |
7016 | Py_INCREF(Py_None); resultobj = Py_None; | |
7017 | return resultobj; | |
7018 | fail: | |
7019 | return NULL; | |
7020 | } | |
7021 | ||
7022 | ||
c370783e | 7023 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7024 | PyObject *resultobj; |
7025 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7026 | int arg2 ; | |
7027 | int *arg3 = (int *) 0 ; | |
7028 | PyObject * obj0 = 0 ; | |
7029 | PyObject * obj1 = 0 ; | |
7030 | char *kwnames[] = { | |
7031 | (char *) "self",(char *) "widths", NULL | |
7032 | }; | |
7033 | ||
7034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7035 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7036 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7037 | { |
7038 | arg2 = PyList_Size(obj1); | |
7039 | arg3 = int_LIST_helper(obj1); | |
7040 | if (arg3 == NULL) SWIG_fail; | |
7041 | } | |
7042 | { | |
7043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7044 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
7045 | ||
7046 | wxPyEndAllowThreads(__tstate); | |
7047 | if (PyErr_Occurred()) SWIG_fail; | |
7048 | } | |
7049 | Py_INCREF(Py_None); resultobj = Py_None; | |
7050 | { | |
7051 | if (arg3) delete [] arg3; | |
7052 | } | |
7053 | return resultobj; | |
7054 | fail: | |
7055 | { | |
7056 | if (arg3) delete [] arg3; | |
7057 | } | |
7058 | return NULL; | |
7059 | } | |
7060 | ||
7061 | ||
c370783e | 7062 | static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) { |
03837c5c RD |
7063 | PyObject *resultobj; |
7064 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7065 | int arg2 ; | |
7066 | int *arg3 = (int *) 0 ; | |
7067 | PyObject * obj0 = 0 ; | |
7068 | PyObject * obj1 = 0 ; | |
7069 | char *kwnames[] = { | |
7070 | (char *) "self",(char *) "styles", NULL | |
7071 | }; | |
7072 | ||
7073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7074 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7075 | if (SWIG_arg_fail(1)) SWIG_fail; | |
03837c5c RD |
7076 | { |
7077 | arg2 = PyList_Size(obj1); | |
7078 | arg3 = int_LIST_helper(obj1); | |
7079 | if (arg3 == NULL) SWIG_fail; | |
7080 | } | |
7081 | { | |
7082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7083 | (arg1)->SetStatusStyles(arg2,(int const *)arg3); | |
7084 | ||
7085 | wxPyEndAllowThreads(__tstate); | |
7086 | if (PyErr_Occurred()) SWIG_fail; | |
7087 | } | |
7088 | Py_INCREF(Py_None); resultobj = Py_None; | |
7089 | { | |
7090 | if (arg3) delete [] arg3; | |
7091 | } | |
7092 | return resultobj; | |
7093 | fail: | |
7094 | { | |
7095 | if (arg3) delete [] arg3; | |
7096 | } | |
7097 | return NULL; | |
7098 | } | |
7099 | ||
7100 | ||
c370783e | 7101 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7102 | PyObject *resultobj; |
7103 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7104 | int arg2 ; | |
7105 | wxRect result; | |
7106 | PyObject * obj0 = 0 ; | |
7107 | PyObject * obj1 = 0 ; | |
7108 | char *kwnames[] = { | |
7109 | (char *) "self",(char *) "i", NULL | |
7110 | }; | |
7111 | ||
7112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7113 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7114 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7115 | { | |
7116 | arg2 = (int)(SWIG_As_int(obj1)); | |
7117 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7118 | } | |
d55e5bfc RD |
7119 | { |
7120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7121 | result = wxStatusBar_GetFieldRect(arg1,arg2); | |
7122 | ||
7123 | wxPyEndAllowThreads(__tstate); | |
7124 | if (PyErr_Occurred()) SWIG_fail; | |
7125 | } | |
7126 | { | |
7127 | wxRect * resultptr; | |
36ed4f51 | 7128 | resultptr = new wxRect((wxRect &)(result)); |
d55e5bfc RD |
7129 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
7130 | } | |
7131 | return resultobj; | |
7132 | fail: | |
7133 | return NULL; | |
7134 | } | |
7135 | ||
7136 | ||
c370783e | 7137 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7138 | PyObject *resultobj; |
7139 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7140 | int arg2 ; | |
7141 | PyObject * obj0 = 0 ; | |
7142 | PyObject * obj1 = 0 ; | |
7143 | char *kwnames[] = { | |
7144 | (char *) "self",(char *) "height", NULL | |
7145 | }; | |
7146 | ||
7147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7148 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7149 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7150 | { | |
7151 | arg2 = (int)(SWIG_As_int(obj1)); | |
7152 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7153 | } | |
d55e5bfc RD |
7154 | { |
7155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7156 | (arg1)->SetMinHeight(arg2); | |
7157 | ||
7158 | wxPyEndAllowThreads(__tstate); | |
7159 | if (PyErr_Occurred()) SWIG_fail; | |
7160 | } | |
7161 | Py_INCREF(Py_None); resultobj = Py_None; | |
7162 | return resultobj; | |
7163 | fail: | |
7164 | return NULL; | |
7165 | } | |
7166 | ||
7167 | ||
c370783e | 7168 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7169 | PyObject *resultobj; |
7170 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7171 | int result; | |
7172 | PyObject * obj0 = 0 ; | |
7173 | char *kwnames[] = { | |
7174 | (char *) "self", NULL | |
7175 | }; | |
7176 | ||
7177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7178 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7179 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7180 | { |
7181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7182 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
7183 | ||
7184 | wxPyEndAllowThreads(__tstate); | |
7185 | if (PyErr_Occurred()) SWIG_fail; | |
7186 | } | |
36ed4f51 RD |
7187 | { |
7188 | resultobj = SWIG_From_int((int)(result)); | |
7189 | } | |
d55e5bfc RD |
7190 | return resultobj; |
7191 | fail: | |
7192 | return NULL; | |
7193 | } | |
7194 | ||
7195 | ||
c370783e | 7196 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7197 | PyObject *resultobj; |
7198 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7199 | int result; | |
7200 | PyObject * obj0 = 0 ; | |
7201 | char *kwnames[] = { | |
7202 | (char *) "self", NULL | |
7203 | }; | |
7204 | ||
7205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7206 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7207 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7208 | { |
7209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7210 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
7211 | ||
7212 | wxPyEndAllowThreads(__tstate); | |
7213 | if (PyErr_Occurred()) SWIG_fail; | |
7214 | } | |
36ed4f51 RD |
7215 | { |
7216 | resultobj = SWIG_From_int((int)(result)); | |
7217 | } | |
d55e5bfc RD |
7218 | return resultobj; |
7219 | fail: | |
7220 | return NULL; | |
7221 | } | |
7222 | ||
7223 | ||
c370783e | 7224 | static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 7225 | PyObject *resultobj; |
36ed4f51 | 7226 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
7227 | wxVisualAttributes result; |
7228 | PyObject * obj0 = 0 ; | |
7229 | char *kwnames[] = { | |
7230 | (char *) "variant", NULL | |
7231 | }; | |
7232 | ||
7233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
7234 | if (obj0) { | |
36ed4f51 RD |
7235 | { |
7236 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
7237 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7238 | } | |
f20a2e1f RD |
7239 | } |
7240 | { | |
0439c23b | 7241 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
7242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7243 | result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
7244 | ||
7245 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7246 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
7247 | } |
7248 | { | |
7249 | wxVisualAttributes * resultptr; | |
36ed4f51 | 7250 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
7251 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
7252 | } | |
7253 | return resultobj; | |
7254 | fail: | |
7255 | return NULL; | |
7256 | } | |
7257 | ||
7258 | ||
c370783e | 7259 | static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
7260 | PyObject *obj; |
7261 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7262 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
7263 | Py_INCREF(obj); | |
7264 | return Py_BuildValue((char *)""); | |
7265 | } | |
c370783e | 7266 | static int _wrap_SplitterNameStr_set(PyObject *) { |
d55e5bfc RD |
7267 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); |
7268 | return 1; | |
7269 | } | |
7270 | ||
7271 | ||
36ed4f51 | 7272 | static PyObject *_wrap_SplitterNameStr_get(void) { |
d55e5bfc RD |
7273 | PyObject *pyobj; |
7274 | ||
7275 | { | |
7276 | #if wxUSE_UNICODE | |
7277 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
7278 | #else | |
7279 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
7280 | #endif | |
7281 | } | |
7282 | return pyobj; | |
7283 | } | |
7284 | ||
7285 | ||
c370783e | 7286 | static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7287 | PyObject *resultobj; |
7288 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7289 | int arg2 = (int) -1 ; | |
7290 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
7291 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7292 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7293 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7294 | long arg5 = (long) wxSP_3D ; | |
7295 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
7296 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7297 | wxSplitterWindow *result; | |
7298 | wxPoint temp3 ; | |
7299 | wxSize temp4 ; | |
b411df4a | 7300 | bool temp6 = false ; |
d55e5bfc RD |
7301 | PyObject * obj0 = 0 ; |
7302 | PyObject * obj1 = 0 ; | |
7303 | PyObject * obj2 = 0 ; | |
7304 | PyObject * obj3 = 0 ; | |
7305 | PyObject * obj4 = 0 ; | |
7306 | PyObject * obj5 = 0 ; | |
7307 | char *kwnames[] = { | |
7308 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7309 | }; | |
7310 | ||
7311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
7312 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
7313 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 7314 | if (obj1) { |
36ed4f51 RD |
7315 | { |
7316 | arg2 = (int)(SWIG_As_int(obj1)); | |
7317 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7318 | } | |
d55e5bfc RD |
7319 | } |
7320 | if (obj2) { | |
7321 | { | |
7322 | arg3 = &temp3; | |
7323 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7324 | } | |
7325 | } | |
7326 | if (obj3) { | |
7327 | { | |
7328 | arg4 = &temp4; | |
7329 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7330 | } | |
7331 | } | |
7332 | if (obj4) { | |
36ed4f51 RD |
7333 | { |
7334 | arg5 = (long)(SWIG_As_long(obj4)); | |
7335 | if (SWIG_arg_fail(5)) SWIG_fail; | |
7336 | } | |
d55e5bfc RD |
7337 | } |
7338 | if (obj5) { | |
7339 | { | |
7340 | arg6 = wxString_in_helper(obj5); | |
7341 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 7342 | temp6 = true; |
d55e5bfc RD |
7343 | } |
7344 | } | |
7345 | { | |
0439c23b | 7346 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
7347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7348 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7349 | ||
7350 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7351 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
7352 | } |
7353 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); | |
7354 | { | |
7355 | if (temp6) | |
7356 | delete arg6; | |
7357 | } | |
7358 | return resultobj; | |
7359 | fail: | |
7360 | { | |
7361 | if (temp6) | |
7362 | delete arg6; | |
7363 | } | |
7364 | return NULL; | |
7365 | } | |
7366 | ||
7367 | ||
c370783e | 7368 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7369 | PyObject *resultobj; |
7370 | wxSplitterWindow *result; | |
7371 | char *kwnames[] = { | |
7372 | NULL | |
7373 | }; | |
7374 | ||
7375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
7376 | { | |
0439c23b | 7377 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
7378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7379 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
7380 | ||
7381 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7382 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
7383 | } |
7384 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); | |
7385 | return resultobj; | |
7386 | fail: | |
7387 | return NULL; | |
7388 | } | |
7389 | ||
7390 | ||
c370783e | 7391 | static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7392 | PyObject *resultobj; |
7393 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7394 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7395 | int arg3 = (int) -1 ; | |
7396 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
7397 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7398 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7399 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7400 | long arg6 = (long) wxSP_3D ; | |
7401 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
7402 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7403 | bool result; | |
7404 | wxPoint temp4 ; | |
7405 | wxSize temp5 ; | |
b411df4a | 7406 | bool temp7 = false ; |
d55e5bfc RD |
7407 | PyObject * obj0 = 0 ; |
7408 | PyObject * obj1 = 0 ; | |
7409 | PyObject * obj2 = 0 ; | |
7410 | PyObject * obj3 = 0 ; | |
7411 | PyObject * obj4 = 0 ; | |
7412 | PyObject * obj5 = 0 ; | |
7413 | PyObject * obj6 = 0 ; | |
7414 | char *kwnames[] = { | |
7415 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7416 | }; | |
7417 | ||
7418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
7419 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7420 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7421 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7422 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 7423 | if (obj2) { |
36ed4f51 RD |
7424 | { |
7425 | arg3 = (int)(SWIG_As_int(obj2)); | |
7426 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7427 | } | |
d55e5bfc RD |
7428 | } |
7429 | if (obj3) { | |
7430 | { | |
7431 | arg4 = &temp4; | |
7432 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7433 | } | |
7434 | } | |
7435 | if (obj4) { | |
7436 | { | |
7437 | arg5 = &temp5; | |
7438 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7439 | } | |
7440 | } | |
7441 | if (obj5) { | |
36ed4f51 RD |
7442 | { |
7443 | arg6 = (long)(SWIG_As_long(obj5)); | |
7444 | if (SWIG_arg_fail(6)) SWIG_fail; | |
7445 | } | |
d55e5bfc RD |
7446 | } |
7447 | if (obj6) { | |
7448 | { | |
7449 | arg7 = wxString_in_helper(obj6); | |
7450 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 7451 | temp7 = true; |
d55e5bfc RD |
7452 | } |
7453 | } | |
7454 | { | |
7455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7456 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7457 | ||
7458 | wxPyEndAllowThreads(__tstate); | |
7459 | if (PyErr_Occurred()) SWIG_fail; | |
7460 | } | |
7461 | { | |
7462 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7463 | } | |
7464 | { | |
7465 | if (temp7) | |
7466 | delete arg7; | |
7467 | } | |
7468 | return resultobj; | |
7469 | fail: | |
7470 | { | |
7471 | if (temp7) | |
7472 | delete arg7; | |
7473 | } | |
7474 | return NULL; | |
7475 | } | |
7476 | ||
7477 | ||
c370783e | 7478 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7479 | PyObject *resultobj; |
7480 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7481 | wxWindow *result; | |
7482 | PyObject * obj0 = 0 ; | |
7483 | char *kwnames[] = { | |
7484 | (char *) "self", NULL | |
7485 | }; | |
7486 | ||
7487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7488 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7489 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7490 | { |
7491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7492 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
7493 | ||
7494 | wxPyEndAllowThreads(__tstate); | |
7495 | if (PyErr_Occurred()) SWIG_fail; | |
7496 | } | |
7497 | { | |
412d302d | 7498 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
7499 | } |
7500 | return resultobj; | |
7501 | fail: | |
7502 | return NULL; | |
7503 | } | |
7504 | ||
7505 | ||
c370783e | 7506 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7507 | PyObject *resultobj; |
7508 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7509 | wxWindow *result; | |
7510 | PyObject * obj0 = 0 ; | |
7511 | char *kwnames[] = { | |
7512 | (char *) "self", NULL | |
7513 | }; | |
7514 | ||
7515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7516 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7517 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7518 | { |
7519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7520 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
7521 | ||
7522 | wxPyEndAllowThreads(__tstate); | |
7523 | if (PyErr_Occurred()) SWIG_fail; | |
7524 | } | |
7525 | { | |
412d302d | 7526 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
7527 | } |
7528 | return resultobj; | |
7529 | fail: | |
7530 | return NULL; | |
7531 | } | |
7532 | ||
7533 | ||
c370783e | 7534 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7535 | PyObject *resultobj; |
7536 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7537 | int arg2 ; | |
7538 | PyObject * obj0 = 0 ; | |
7539 | PyObject * obj1 = 0 ; | |
7540 | char *kwnames[] = { | |
7541 | (char *) "self",(char *) "mode", NULL | |
7542 | }; | |
7543 | ||
7544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7545 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7546 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7547 | { | |
7548 | arg2 = (int)(SWIG_As_int(obj1)); | |
7549 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7550 | } | |
d55e5bfc RD |
7551 | { |
7552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7553 | (arg1)->SetSplitMode(arg2); | |
7554 | ||
7555 | wxPyEndAllowThreads(__tstate); | |
7556 | if (PyErr_Occurred()) SWIG_fail; | |
7557 | } | |
7558 | Py_INCREF(Py_None); resultobj = Py_None; | |
7559 | return resultobj; | |
7560 | fail: | |
7561 | return NULL; | |
7562 | } | |
7563 | ||
7564 | ||
c370783e | 7565 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7566 | PyObject *resultobj; |
7567 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
36ed4f51 | 7568 | wxSplitMode result; |
d55e5bfc RD |
7569 | PyObject * obj0 = 0 ; |
7570 | char *kwnames[] = { | |
7571 | (char *) "self", NULL | |
7572 | }; | |
7573 | ||
7574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7575 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7576 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7577 | { |
7578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7579 | result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode(); |
d55e5bfc RD |
7580 | |
7581 | wxPyEndAllowThreads(__tstate); | |
7582 | if (PyErr_Occurred()) SWIG_fail; | |
7583 | } | |
36ed4f51 | 7584 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
7585 | return resultobj; |
7586 | fail: | |
7587 | return NULL; | |
7588 | } | |
7589 | ||
7590 | ||
c370783e | 7591 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7592 | PyObject *resultobj; |
7593 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7594 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7595 | PyObject * obj0 = 0 ; | |
7596 | PyObject * obj1 = 0 ; | |
7597 | char *kwnames[] = { | |
7598 | (char *) "self",(char *) "window", NULL | |
7599 | }; | |
7600 | ||
7601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7602 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7603 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7604 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7605 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
7606 | { |
7607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7608 | (arg1)->Initialize(arg2); | |
7609 | ||
7610 | wxPyEndAllowThreads(__tstate); | |
7611 | if (PyErr_Occurred()) SWIG_fail; | |
7612 | } | |
7613 | Py_INCREF(Py_None); resultobj = Py_None; | |
7614 | return resultobj; | |
7615 | fail: | |
7616 | return NULL; | |
7617 | } | |
7618 | ||
7619 | ||
c370783e | 7620 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7621 | PyObject *resultobj; |
7622 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7623 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7624 | wxWindow *arg3 = (wxWindow *) 0 ; | |
7625 | int arg4 = (int) 0 ; | |
7626 | bool result; | |
7627 | PyObject * obj0 = 0 ; | |
7628 | PyObject * obj1 = 0 ; | |
7629 | PyObject * obj2 = 0 ; | |
7630 | PyObject * obj3 = 0 ; | |
7631 | char *kwnames[] = { | |
7632 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
7633 | }; | |
7634 | ||
7635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
7636 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7637 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7638 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7639 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7640 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7641 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc | 7642 | if (obj3) { |
36ed4f51 RD |
7643 | { |
7644 | arg4 = (int)(SWIG_As_int(obj3)); | |
7645 | if (SWIG_arg_fail(4)) SWIG_fail; | |
7646 | } | |
d55e5bfc RD |
7647 | } |
7648 | { | |
7649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7650 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
7651 | ||
7652 | wxPyEndAllowThreads(__tstate); | |
7653 | if (PyErr_Occurred()) SWIG_fail; | |
7654 | } | |
7655 | { | |
7656 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7657 | } | |
7658 | return resultobj; | |
7659 | fail: | |
7660 | return NULL; | |
7661 | } | |
7662 | ||
7663 | ||
c370783e | 7664 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7665 | PyObject *resultobj; |
7666 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7667 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7668 | wxWindow *arg3 = (wxWindow *) 0 ; | |
7669 | int arg4 = (int) 0 ; | |
7670 | bool result; | |
7671 | PyObject * obj0 = 0 ; | |
7672 | PyObject * obj1 = 0 ; | |
7673 | PyObject * obj2 = 0 ; | |
7674 | PyObject * obj3 = 0 ; | |
7675 | char *kwnames[] = { | |
7676 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
7677 | }; | |
7678 | ||
7679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
7680 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7681 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7682 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7683 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7684 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7685 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc | 7686 | if (obj3) { |
36ed4f51 RD |
7687 | { |
7688 | arg4 = (int)(SWIG_As_int(obj3)); | |
7689 | if (SWIG_arg_fail(4)) SWIG_fail; | |
7690 | } | |
d55e5bfc RD |
7691 | } |
7692 | { | |
7693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7694 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
7695 | ||
7696 | wxPyEndAllowThreads(__tstate); | |
7697 | if (PyErr_Occurred()) SWIG_fail; | |
7698 | } | |
7699 | { | |
7700 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7701 | } | |
7702 | return resultobj; | |
7703 | fail: | |
7704 | return NULL; | |
7705 | } | |
7706 | ||
7707 | ||
c370783e | 7708 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7709 | PyObject *resultobj; |
7710 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7711 | wxWindow *arg2 = (wxWindow *) NULL ; | |
7712 | bool result; | |
7713 | PyObject * obj0 = 0 ; | |
7714 | PyObject * obj1 = 0 ; | |
7715 | char *kwnames[] = { | |
7716 | (char *) "self",(char *) "toRemove", NULL | |
7717 | }; | |
7718 | ||
7719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7720 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7721 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 7722 | if (obj1) { |
36ed4f51 RD |
7723 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
7724 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
7725 | } |
7726 | { | |
7727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7728 | result = (bool)(arg1)->Unsplit(arg2); | |
7729 | ||
7730 | wxPyEndAllowThreads(__tstate); | |
7731 | if (PyErr_Occurred()) SWIG_fail; | |
7732 | } | |
7733 | { | |
7734 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7735 | } | |
7736 | return resultobj; | |
7737 | fail: | |
7738 | return NULL; | |
7739 | } | |
7740 | ||
7741 | ||
c370783e | 7742 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7743 | PyObject *resultobj; |
7744 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7745 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7746 | wxWindow *arg3 = (wxWindow *) 0 ; | |
7747 | bool result; | |
7748 | PyObject * obj0 = 0 ; | |
7749 | PyObject * obj1 = 0 ; | |
7750 | PyObject * obj2 = 0 ; | |
7751 | char *kwnames[] = { | |
7752 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
7753 | }; | |
7754 | ||
7755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
7756 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7757 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7758 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7759 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7760 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7761 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
7762 | { |
7763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7764 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
7765 | ||
7766 | wxPyEndAllowThreads(__tstate); | |
7767 | if (PyErr_Occurred()) SWIG_fail; | |
7768 | } | |
7769 | { | |
7770 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7771 | } | |
7772 | return resultobj; | |
7773 | fail: | |
7774 | return NULL; | |
7775 | } | |
7776 | ||
7777 | ||
c370783e | 7778 | static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7779 | PyObject *resultobj; |
7780 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7781 | PyObject * obj0 = 0 ; | |
7782 | char *kwnames[] = { | |
7783 | (char *) "self", NULL | |
7784 | }; | |
7785 | ||
7786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7787 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7788 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7789 | { |
7790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7791 | (arg1)->UpdateSize(); | |
7792 | ||
7793 | wxPyEndAllowThreads(__tstate); | |
7794 | if (PyErr_Occurred()) SWIG_fail; | |
7795 | } | |
7796 | Py_INCREF(Py_None); resultobj = Py_None; | |
7797 | return resultobj; | |
7798 | fail: | |
7799 | return NULL; | |
7800 | } | |
7801 | ||
7802 | ||
c370783e | 7803 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7804 | PyObject *resultobj; |
7805 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7806 | bool result; | |
7807 | PyObject * obj0 = 0 ; | |
7808 | char *kwnames[] = { | |
7809 | (char *) "self", NULL | |
7810 | }; | |
7811 | ||
7812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7813 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7814 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7815 | { |
7816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7817 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
7818 | ||
7819 | wxPyEndAllowThreads(__tstate); | |
7820 | if (PyErr_Occurred()) SWIG_fail; | |
7821 | } | |
7822 | { | |
7823 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7824 | } | |
7825 | return resultobj; | |
7826 | fail: | |
7827 | return NULL; | |
7828 | } | |
7829 | ||
7830 | ||
c370783e | 7831 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7832 | PyObject *resultobj; |
7833 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7834 | int arg2 ; | |
7835 | PyObject * obj0 = 0 ; | |
7836 | PyObject * obj1 = 0 ; | |
7837 | char *kwnames[] = { | |
7838 | (char *) "self",(char *) "width", NULL | |
7839 | }; | |
7840 | ||
7841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7842 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7843 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7844 | { | |
7845 | arg2 = (int)(SWIG_As_int(obj1)); | |
7846 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7847 | } | |
d55e5bfc RD |
7848 | { |
7849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7850 | (arg1)->SetSashSize(arg2); | |
7851 | ||
7852 | wxPyEndAllowThreads(__tstate); | |
7853 | if (PyErr_Occurred()) SWIG_fail; | |
7854 | } | |
7855 | Py_INCREF(Py_None); resultobj = Py_None; | |
7856 | return resultobj; | |
7857 | fail: | |
7858 | return NULL; | |
7859 | } | |
7860 | ||
7861 | ||
c370783e | 7862 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7863 | PyObject *resultobj; |
7864 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7865 | int arg2 ; | |
7866 | PyObject * obj0 = 0 ; | |
7867 | PyObject * obj1 = 0 ; | |
7868 | char *kwnames[] = { | |
7869 | (char *) "self",(char *) "width", NULL | |
7870 | }; | |
7871 | ||
7872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7873 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7874 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7875 | { | |
7876 | arg2 = (int)(SWIG_As_int(obj1)); | |
7877 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7878 | } | |
d55e5bfc RD |
7879 | { |
7880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7881 | (arg1)->SetBorderSize(arg2); | |
7882 | ||
7883 | wxPyEndAllowThreads(__tstate); | |
7884 | if (PyErr_Occurred()) SWIG_fail; | |
7885 | } | |
7886 | Py_INCREF(Py_None); resultobj = Py_None; | |
7887 | return resultobj; | |
7888 | fail: | |
7889 | return NULL; | |
7890 | } | |
7891 | ||
7892 | ||
c370783e | 7893 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7894 | PyObject *resultobj; |
7895 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7896 | int result; | |
7897 | PyObject * obj0 = 0 ; | |
7898 | char *kwnames[] = { | |
7899 | (char *) "self", NULL | |
7900 | }; | |
7901 | ||
7902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7903 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7904 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7905 | { |
7906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7907 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
7908 | ||
7909 | wxPyEndAllowThreads(__tstate); | |
7910 | if (PyErr_Occurred()) SWIG_fail; | |
7911 | } | |
36ed4f51 RD |
7912 | { |
7913 | resultobj = SWIG_From_int((int)(result)); | |
7914 | } | |
d55e5bfc RD |
7915 | return resultobj; |
7916 | fail: | |
7917 | return NULL; | |
7918 | } | |
7919 | ||
7920 | ||
c370783e | 7921 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7922 | PyObject *resultobj; |
7923 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7924 | int result; | |
7925 | PyObject * obj0 = 0 ; | |
7926 | char *kwnames[] = { | |
7927 | (char *) "self", NULL | |
7928 | }; | |
7929 | ||
7930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7931 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7932 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7933 | { |
7934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7935 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
7936 | ||
7937 | wxPyEndAllowThreads(__tstate); | |
7938 | if (PyErr_Occurred()) SWIG_fail; | |
7939 | } | |
36ed4f51 RD |
7940 | { |
7941 | resultobj = SWIG_From_int((int)(result)); | |
7942 | } | |
d55e5bfc RD |
7943 | return resultobj; |
7944 | fail: | |
7945 | return NULL; | |
7946 | } | |
7947 | ||
7948 | ||
c370783e | 7949 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7950 | PyObject *resultobj; |
7951 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7952 | int arg2 ; | |
b411df4a | 7953 | bool arg3 = (bool) true ; |
d55e5bfc RD |
7954 | PyObject * obj0 = 0 ; |
7955 | PyObject * obj1 = 0 ; | |
7956 | PyObject * obj2 = 0 ; | |
7957 | char *kwnames[] = { | |
7958 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
7959 | }; | |
7960 | ||
7961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
7962 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7963 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7964 | { | |
7965 | arg2 = (int)(SWIG_As_int(obj1)); | |
7966 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7967 | } | |
d55e5bfc | 7968 | if (obj2) { |
36ed4f51 RD |
7969 | { |
7970 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
7971 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7972 | } | |
d55e5bfc RD |
7973 | } |
7974 | { | |
7975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7976 | (arg1)->SetSashPosition(arg2,arg3); | |
7977 | ||
7978 | wxPyEndAllowThreads(__tstate); | |
7979 | if (PyErr_Occurred()) SWIG_fail; | |
7980 | } | |
7981 | Py_INCREF(Py_None); resultobj = Py_None; | |
7982 | return resultobj; | |
7983 | fail: | |
7984 | return NULL; | |
7985 | } | |
7986 | ||
7987 | ||
c370783e | 7988 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7989 | PyObject *resultobj; |
7990 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7991 | int result; | |
7992 | PyObject * obj0 = 0 ; | |
7993 | char *kwnames[] = { | |
7994 | (char *) "self", NULL | |
7995 | }; | |
7996 | ||
7997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7998 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7999 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8000 | { |
8001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8002 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
8003 | ||
8004 | wxPyEndAllowThreads(__tstate); | |
8005 | if (PyErr_Occurred()) SWIG_fail; | |
8006 | } | |
36ed4f51 RD |
8007 | { |
8008 | resultobj = SWIG_From_int((int)(result)); | |
8009 | } | |
d55e5bfc RD |
8010 | return resultobj; |
8011 | fail: | |
8012 | return NULL; | |
8013 | } | |
8014 | ||
8015 | ||
5cbf236d RD |
8016 | static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) { |
8017 | PyObject *resultobj; | |
8018 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8019 | double arg2 ; | |
8020 | PyObject * obj0 = 0 ; | |
8021 | PyObject * obj1 = 0 ; | |
8022 | char *kwnames[] = { | |
8023 | (char *) "self",(char *) "gravity", NULL | |
8024 | }; | |
8025 | ||
8026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8027 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8028 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8029 | { | |
8030 | arg2 = (double)(SWIG_As_double(obj1)); | |
8031 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8032 | } | |
5cbf236d RD |
8033 | { |
8034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8035 | (arg1)->SetSashGravity(arg2); | |
8036 | ||
8037 | wxPyEndAllowThreads(__tstate); | |
8038 | if (PyErr_Occurred()) SWIG_fail; | |
8039 | } | |
8040 | Py_INCREF(Py_None); resultobj = Py_None; | |
8041 | return resultobj; | |
8042 | fail: | |
8043 | return NULL; | |
8044 | } | |
8045 | ||
8046 | ||
8047 | static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) { | |
8048 | PyObject *resultobj; | |
8049 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8050 | double result; | |
8051 | PyObject * obj0 = 0 ; | |
8052 | char *kwnames[] = { | |
8053 | (char *) "self", NULL | |
8054 | }; | |
8055 | ||
8056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8057 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8058 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d RD |
8059 | { |
8060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8061 | result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity(); | |
8062 | ||
8063 | wxPyEndAllowThreads(__tstate); | |
8064 | if (PyErr_Occurred()) SWIG_fail; | |
8065 | } | |
36ed4f51 RD |
8066 | { |
8067 | resultobj = SWIG_From_double((double)(result)); | |
8068 | } | |
5cbf236d RD |
8069 | return resultobj; |
8070 | fail: | |
8071 | return NULL; | |
8072 | } | |
8073 | ||
8074 | ||
c370783e | 8075 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8076 | PyObject *resultobj; |
8077 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8078 | int arg2 ; | |
8079 | PyObject * obj0 = 0 ; | |
8080 | PyObject * obj1 = 0 ; | |
8081 | char *kwnames[] = { | |
8082 | (char *) "self",(char *) "min", NULL | |
8083 | }; | |
8084 | ||
8085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8086 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8087 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8088 | { | |
8089 | arg2 = (int)(SWIG_As_int(obj1)); | |
8090 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8091 | } | |
d55e5bfc RD |
8092 | { |
8093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8094 | (arg1)->SetMinimumPaneSize(arg2); | |
8095 | ||
8096 | wxPyEndAllowThreads(__tstate); | |
8097 | if (PyErr_Occurred()) SWIG_fail; | |
8098 | } | |
8099 | Py_INCREF(Py_None); resultobj = Py_None; | |
8100 | return resultobj; | |
8101 | fail: | |
8102 | return NULL; | |
8103 | } | |
8104 | ||
8105 | ||
c370783e | 8106 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8107 | PyObject *resultobj; |
8108 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8109 | int result; | |
8110 | PyObject * obj0 = 0 ; | |
8111 | char *kwnames[] = { | |
8112 | (char *) "self", NULL | |
8113 | }; | |
8114 | ||
8115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8116 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8117 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8118 | { |
8119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8120 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
8121 | ||
8122 | wxPyEndAllowThreads(__tstate); | |
8123 | if (PyErr_Occurred()) SWIG_fail; | |
8124 | } | |
36ed4f51 RD |
8125 | { |
8126 | resultobj = SWIG_From_int((int)(result)); | |
8127 | } | |
d55e5bfc RD |
8128 | return resultobj; |
8129 | fail: | |
8130 | return NULL; | |
8131 | } | |
8132 | ||
8133 | ||
c370783e | 8134 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8135 | PyObject *resultobj; |
8136 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8137 | int arg2 ; | |
8138 | int arg3 ; | |
8139 | int arg4 = (int) 5 ; | |
8140 | bool result; | |
8141 | PyObject * obj0 = 0 ; | |
8142 | PyObject * obj1 = 0 ; | |
8143 | PyObject * obj2 = 0 ; | |
8144 | PyObject * obj3 = 0 ; | |
8145 | char *kwnames[] = { | |
8146 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
8147 | }; | |
8148 | ||
8149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
8150 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8151 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8152 | { | |
8153 | arg2 = (int)(SWIG_As_int(obj1)); | |
8154 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8155 | } | |
8156 | { | |
8157 | arg3 = (int)(SWIG_As_int(obj2)); | |
8158 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8159 | } | |
d55e5bfc | 8160 | if (obj3) { |
36ed4f51 RD |
8161 | { |
8162 | arg4 = (int)(SWIG_As_int(obj3)); | |
8163 | if (SWIG_arg_fail(4)) SWIG_fail; | |
8164 | } | |
d55e5bfc RD |
8165 | } |
8166 | { | |
8167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8168 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
8169 | ||
8170 | wxPyEndAllowThreads(__tstate); | |
8171 | if (PyErr_Occurred()) SWIG_fail; | |
8172 | } | |
8173 | { | |
8174 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8175 | } | |
8176 | return resultobj; | |
8177 | fail: | |
8178 | return NULL; | |
8179 | } | |
8180 | ||
8181 | ||
c370783e | 8182 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8183 | PyObject *resultobj; |
8184 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8185 | PyObject * obj0 = 0 ; | |
8186 | char *kwnames[] = { | |
8187 | (char *) "self", NULL | |
8188 | }; | |
8189 | ||
8190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8191 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8192 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8193 | { |
8194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8195 | (arg1)->SizeWindows(); | |
8196 | ||
8197 | wxPyEndAllowThreads(__tstate); | |
8198 | if (PyErr_Occurred()) SWIG_fail; | |
8199 | } | |
8200 | Py_INCREF(Py_None); resultobj = Py_None; | |
8201 | return resultobj; | |
8202 | fail: | |
8203 | return NULL; | |
8204 | } | |
8205 | ||
8206 | ||
c370783e | 8207 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8208 | PyObject *resultobj; |
8209 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8210 | bool arg2 ; | |
8211 | PyObject * obj0 = 0 ; | |
8212 | PyObject * obj1 = 0 ; | |
8213 | char *kwnames[] = { | |
8214 | (char *) "self",(char *) "needUpdating", NULL | |
8215 | }; | |
8216 | ||
8217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8218 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8219 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8220 | { | |
8221 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
8222 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8223 | } | |
d55e5bfc RD |
8224 | { |
8225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8226 | (arg1)->SetNeedUpdating(arg2); | |
8227 | ||
8228 | wxPyEndAllowThreads(__tstate); | |
8229 | if (PyErr_Occurred()) SWIG_fail; | |
8230 | } | |
8231 | Py_INCREF(Py_None); resultobj = Py_None; | |
8232 | return resultobj; | |
8233 | fail: | |
8234 | return NULL; | |
8235 | } | |
8236 | ||
8237 | ||
c370783e | 8238 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8239 | PyObject *resultobj; |
8240 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8241 | bool result; | |
8242 | PyObject * obj0 = 0 ; | |
8243 | char *kwnames[] = { | |
8244 | (char *) "self", NULL | |
8245 | }; | |
8246 | ||
8247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8248 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8249 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8250 | { |
8251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8252 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
8253 | ||
8254 | wxPyEndAllowThreads(__tstate); | |
8255 | if (PyErr_Occurred()) SWIG_fail; | |
8256 | } | |
8257 | { | |
8258 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8259 | } | |
8260 | return resultobj; | |
8261 | fail: | |
8262 | return NULL; | |
8263 | } | |
8264 | ||
8265 | ||
c370783e | 8266 | static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 8267 | PyObject *resultobj; |
36ed4f51 | 8268 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
8269 | wxVisualAttributes result; |
8270 | PyObject * obj0 = 0 ; | |
8271 | char *kwnames[] = { | |
8272 | (char *) "variant", NULL | |
8273 | }; | |
8274 | ||
8275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
8276 | if (obj0) { | |
36ed4f51 RD |
8277 | { |
8278 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
8279 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8280 | } | |
f20a2e1f RD |
8281 | } |
8282 | { | |
0439c23b | 8283 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
8284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8285 | result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
8286 | ||
8287 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8288 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
8289 | } |
8290 | { | |
8291 | wxVisualAttributes * resultptr; | |
36ed4f51 | 8292 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
8293 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
8294 | } | |
8295 | return resultobj; | |
8296 | fail: | |
8297 | return NULL; | |
8298 | } | |
8299 | ||
8300 | ||
c370783e | 8301 | static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
8302 | PyObject *obj; |
8303 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8304 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
8305 | Py_INCREF(obj); | |
8306 | return Py_BuildValue((char *)""); | |
8307 | } | |
c370783e | 8308 | static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8309 | PyObject *resultobj; |
8310 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
8311 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
8312 | wxSplitterEvent *result; | |
8313 | PyObject * obj0 = 0 ; | |
8314 | PyObject * obj1 = 0 ; | |
8315 | char *kwnames[] = { | |
8316 | (char *) "type",(char *) "splitter", NULL | |
8317 | }; | |
8318 | ||
8319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; | |
8320 | if (obj0) { | |
36ed4f51 RD |
8321 | { |
8322 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
8323 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8324 | } | |
d55e5bfc RD |
8325 | } |
8326 | if (obj1) { | |
36ed4f51 RD |
8327 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8328 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
8329 | } |
8330 | { | |
8331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8332 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
8333 | ||
8334 | wxPyEndAllowThreads(__tstate); | |
8335 | if (PyErr_Occurred()) SWIG_fail; | |
8336 | } | |
8337 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); | |
8338 | return resultobj; | |
8339 | fail: | |
8340 | return NULL; | |
8341 | } | |
8342 | ||
8343 | ||
c370783e | 8344 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8345 | PyObject *resultobj; |
8346 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8347 | int arg2 ; | |
8348 | PyObject * obj0 = 0 ; | |
8349 | PyObject * obj1 = 0 ; | |
8350 | char *kwnames[] = { | |
8351 | (char *) "self",(char *) "pos", NULL | |
8352 | }; | |
8353 | ||
8354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8355 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8356 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8357 | { | |
8358 | arg2 = (int)(SWIG_As_int(obj1)); | |
8359 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8360 | } | |
d55e5bfc RD |
8361 | { |
8362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8363 | (arg1)->SetSashPosition(arg2); | |
8364 | ||
8365 | wxPyEndAllowThreads(__tstate); | |
8366 | if (PyErr_Occurred()) SWIG_fail; | |
8367 | } | |
8368 | Py_INCREF(Py_None); resultobj = Py_None; | |
8369 | return resultobj; | |
8370 | fail: | |
8371 | return NULL; | |
8372 | } | |
8373 | ||
8374 | ||
c370783e | 8375 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8376 | PyObject *resultobj; |
8377 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8378 | int result; | |
8379 | PyObject * obj0 = 0 ; | |
8380 | char *kwnames[] = { | |
8381 | (char *) "self", NULL | |
8382 | }; | |
8383 | ||
8384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8385 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8386 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8387 | { |
8388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8389 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
8390 | ||
8391 | wxPyEndAllowThreads(__tstate); | |
8392 | if (PyErr_Occurred()) SWIG_fail; | |
8393 | } | |
36ed4f51 RD |
8394 | { |
8395 | resultobj = SWIG_From_int((int)(result)); | |
8396 | } | |
d55e5bfc RD |
8397 | return resultobj; |
8398 | fail: | |
8399 | return NULL; | |
8400 | } | |
8401 | ||
8402 | ||
c370783e | 8403 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8404 | PyObject *resultobj; |
8405 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8406 | wxWindow *result; | |
8407 | PyObject * obj0 = 0 ; | |
8408 | char *kwnames[] = { | |
8409 | (char *) "self", NULL | |
8410 | }; | |
8411 | ||
8412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8413 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8414 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8415 | { |
8416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8417 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
8418 | ||
8419 | wxPyEndAllowThreads(__tstate); | |
8420 | if (PyErr_Occurred()) SWIG_fail; | |
8421 | } | |
8422 | { | |
412d302d | 8423 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
8424 | } |
8425 | return resultobj; | |
8426 | fail: | |
8427 | return NULL; | |
8428 | } | |
8429 | ||
8430 | ||
c370783e | 8431 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8432 | PyObject *resultobj; |
8433 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8434 | int result; | |
8435 | PyObject * obj0 = 0 ; | |
8436 | char *kwnames[] = { | |
8437 | (char *) "self", NULL | |
8438 | }; | |
8439 | ||
8440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8441 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8442 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8443 | { |
8444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8445 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
8446 | ||
8447 | wxPyEndAllowThreads(__tstate); | |
8448 | if (PyErr_Occurred()) SWIG_fail; | |
8449 | } | |
36ed4f51 RD |
8450 | { |
8451 | resultobj = SWIG_From_int((int)(result)); | |
8452 | } | |
d55e5bfc RD |
8453 | return resultobj; |
8454 | fail: | |
8455 | return NULL; | |
8456 | } | |
8457 | ||
8458 | ||
c370783e | 8459 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8460 | PyObject *resultobj; |
8461 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8462 | int result; | |
8463 | PyObject * obj0 = 0 ; | |
8464 | char *kwnames[] = { | |
8465 | (char *) "self", NULL | |
8466 | }; | |
8467 | ||
8468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8469 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8470 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8471 | { |
8472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8473 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
8474 | ||
8475 | wxPyEndAllowThreads(__tstate); | |
8476 | if (PyErr_Occurred()) SWIG_fail; | |
8477 | } | |
36ed4f51 RD |
8478 | { |
8479 | resultobj = SWIG_From_int((int)(result)); | |
8480 | } | |
d55e5bfc RD |
8481 | return resultobj; |
8482 | fail: | |
8483 | return NULL; | |
8484 | } | |
8485 | ||
8486 | ||
c370783e | 8487 | static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
8488 | PyObject *obj; |
8489 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8490 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
8491 | Py_INCREF(obj); | |
8492 | return Py_BuildValue((char *)""); | |
8493 | } | |
c370783e | 8494 | static int _wrap_SashNameStr_set(PyObject *) { |
d55e5bfc RD |
8495 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); |
8496 | return 1; | |
8497 | } | |
8498 | ||
8499 | ||
36ed4f51 | 8500 | static PyObject *_wrap_SashNameStr_get(void) { |
d55e5bfc RD |
8501 | PyObject *pyobj; |
8502 | ||
8503 | { | |
8504 | #if wxUSE_UNICODE | |
8505 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
8506 | #else | |
8507 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
8508 | #endif | |
8509 | } | |
8510 | return pyobj; | |
8511 | } | |
8512 | ||
8513 | ||
c370783e | 8514 | static int _wrap_SashLayoutNameStr_set(PyObject *) { |
d55e5bfc RD |
8515 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); |
8516 | return 1; | |
8517 | } | |
8518 | ||
8519 | ||
36ed4f51 | 8520 | static PyObject *_wrap_SashLayoutNameStr_get(void) { |
d55e5bfc RD |
8521 | PyObject *pyobj; |
8522 | ||
8523 | { | |
8524 | #if wxUSE_UNICODE | |
8525 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
8526 | #else | |
8527 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
8528 | #endif | |
8529 | } | |
8530 | return pyobj; | |
8531 | } | |
8532 | ||
8533 | ||
c370783e | 8534 | static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8535 | PyObject *resultobj; |
8536 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 8537 | int arg2 = (int) -1 ; |
d55e5bfc RD |
8538 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8539 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8540 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8541 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8542 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8543 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
8544 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8545 | wxSashWindow *result; | |
8546 | wxPoint temp3 ; | |
8547 | wxSize temp4 ; | |
b411df4a | 8548 | bool temp6 = false ; |
d55e5bfc RD |
8549 | PyObject * obj0 = 0 ; |
8550 | PyObject * obj1 = 0 ; | |
8551 | PyObject * obj2 = 0 ; | |
8552 | PyObject * obj3 = 0 ; | |
8553 | PyObject * obj4 = 0 ; | |
8554 | PyObject * obj5 = 0 ; | |
8555 | char *kwnames[] = { | |
8556 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8557 | }; | |
8558 | ||
bfddbb17 | 8559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
36ed4f51 RD |
8560 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
8561 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 8562 | if (obj1) { |
36ed4f51 RD |
8563 | { |
8564 | arg2 = (int)(SWIG_As_int(obj1)); | |
8565 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8566 | } | |
bfddbb17 | 8567 | } |
d55e5bfc RD |
8568 | if (obj2) { |
8569 | { | |
8570 | arg3 = &temp3; | |
8571 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8572 | } | |
8573 | } | |
8574 | if (obj3) { | |
8575 | { | |
8576 | arg4 = &temp4; | |
8577 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8578 | } | |
8579 | } | |
8580 | if (obj4) { | |
36ed4f51 RD |
8581 | { |
8582 | arg5 = (long)(SWIG_As_long(obj4)); | |
8583 | if (SWIG_arg_fail(5)) SWIG_fail; | |
8584 | } | |
d55e5bfc RD |
8585 | } |
8586 | if (obj5) { | |
8587 | { | |
8588 | arg6 = wxString_in_helper(obj5); | |
8589 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 8590 | temp6 = true; |
d55e5bfc RD |
8591 | } |
8592 | } | |
8593 | { | |
0439c23b | 8594 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
8595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8596 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8597 | ||
8598 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8599 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
8600 | } |
8601 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); | |
8602 | { | |
8603 | if (temp6) | |
8604 | delete arg6; | |
8605 | } | |
8606 | return resultobj; | |
8607 | fail: | |
8608 | { | |
8609 | if (temp6) | |
8610 | delete arg6; | |
8611 | } | |
8612 | return NULL; | |
8613 | } | |
8614 | ||
8615 | ||
c370783e | 8616 | static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8617 | PyObject *resultobj; |
8618 | wxSashWindow *result; | |
8619 | char *kwnames[] = { | |
8620 | NULL | |
8621 | }; | |
8622 | ||
8623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
8624 | { | |
0439c23b | 8625 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
8626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8627 | result = (wxSashWindow *)new wxSashWindow(); | |
8628 | ||
8629 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8630 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
8631 | } |
8632 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); | |
8633 | return resultobj; | |
8634 | fail: | |
8635 | return NULL; | |
8636 | } | |
8637 | ||
8638 | ||
c370783e | 8639 | static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8640 | PyObject *resultobj; |
8641 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
8642 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 | 8643 | int arg3 = (int) -1 ; |
d55e5bfc RD |
8644 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8645 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8646 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8647 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8648 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8649 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
8650 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8651 | bool result; | |
8652 | wxPoint temp4 ; | |
8653 | wxSize temp5 ; | |
b411df4a | 8654 | bool temp7 = false ; |
d55e5bfc RD |
8655 | PyObject * obj0 = 0 ; |
8656 | PyObject * obj1 = 0 ; | |
8657 | PyObject * obj2 = 0 ; | |
8658 | PyObject * obj3 = 0 ; | |
8659 | PyObject * obj4 = 0 ; | |
8660 | PyObject * obj5 = 0 ; | |
8661 | PyObject * obj6 = 0 ; | |
8662 | char *kwnames[] = { | |
8663 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8664 | }; | |
8665 | ||
bfddbb17 | 8666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
8667 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8668 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8669 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
8670 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 8671 | if (obj2) { |
36ed4f51 RD |
8672 | { |
8673 | arg3 = (int)(SWIG_As_int(obj2)); | |
8674 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8675 | } | |
bfddbb17 | 8676 | } |
d55e5bfc RD |
8677 | if (obj3) { |
8678 | { | |
8679 | arg4 = &temp4; | |
8680 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8681 | } | |
8682 | } | |
8683 | if (obj4) { | |
8684 | { | |
8685 | arg5 = &temp5; | |
8686 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8687 | } | |
8688 | } | |
8689 | if (obj5) { | |
36ed4f51 RD |
8690 | { |
8691 | arg6 = (long)(SWIG_As_long(obj5)); | |
8692 | if (SWIG_arg_fail(6)) SWIG_fail; | |
8693 | } | |
d55e5bfc RD |
8694 | } |
8695 | if (obj6) { | |
8696 | { | |
8697 | arg7 = wxString_in_helper(obj6); | |
8698 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 8699 | temp7 = true; |
d55e5bfc RD |
8700 | } |
8701 | } | |
8702 | { | |
8703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8704 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8705 | ||
8706 | wxPyEndAllowThreads(__tstate); | |
8707 | if (PyErr_Occurred()) SWIG_fail; | |
8708 | } | |
8709 | { | |
8710 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8711 | } | |
8712 | { | |
8713 | if (temp7) | |
8714 | delete arg7; | |
8715 | } | |
8716 | return resultobj; | |
8717 | fail: | |
8718 | { | |
8719 | if (temp7) | |
8720 | delete arg7; | |
8721 | } | |
8722 | return NULL; | |
8723 | } | |
8724 | ||
8725 | ||
c370783e | 8726 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8727 | PyObject *resultobj; |
8728 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
36ed4f51 | 8729 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8730 | bool arg3 ; |
8731 | PyObject * obj0 = 0 ; | |
8732 | PyObject * obj1 = 0 ; | |
8733 | PyObject * obj2 = 0 ; | |
8734 | char *kwnames[] = { | |
8735 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
8736 | }; | |
8737 | ||
8738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
8739 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8740 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8741 | { | |
8742 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8743 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8744 | } | |
8745 | { | |
8746 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
8747 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8748 | } | |
d55e5bfc RD |
8749 | { |
8750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8751 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
8752 | ||
8753 | wxPyEndAllowThreads(__tstate); | |
8754 | if (PyErr_Occurred()) SWIG_fail; | |
8755 | } | |
8756 | Py_INCREF(Py_None); resultobj = Py_None; | |
8757 | return resultobj; | |
8758 | fail: | |
8759 | return NULL; | |
8760 | } | |
8761 | ||
8762 | ||
c370783e | 8763 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8764 | PyObject *resultobj; |
8765 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
36ed4f51 | 8766 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8767 | bool result; |
8768 | PyObject * obj0 = 0 ; | |
8769 | PyObject * obj1 = 0 ; | |
8770 | char *kwnames[] = { | |
8771 | (char *) "self",(char *) "edge", NULL | |
8772 | }; | |
8773 | ||
8774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8775 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8776 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8777 | { | |
8778 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8779 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8780 | } | |
d55e5bfc RD |
8781 | { |
8782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8783 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
8784 | ||
8785 | wxPyEndAllowThreads(__tstate); | |
8786 | if (PyErr_Occurred()) SWIG_fail; | |
8787 | } | |
8788 | { | |
8789 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8790 | } | |
8791 | return resultobj; | |
8792 | fail: | |
8793 | return NULL; | |
8794 | } | |
8795 | ||
8796 | ||
c370783e | 8797 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8798 | PyObject *resultobj; |
8799 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
36ed4f51 | 8800 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8801 | bool arg3 ; |
8802 | PyObject * obj0 = 0 ; | |
8803 | PyObject * obj1 = 0 ; | |
8804 | PyObject * obj2 = 0 ; | |
8805 | char *kwnames[] = { | |
8806 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
8807 | }; | |
8808 | ||
8809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
8810 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8811 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8812 | { | |
8813 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8814 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8815 | } | |
8816 | { | |
8817 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
8818 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8819 | } | |
d55e5bfc RD |
8820 | { |
8821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8822 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
8823 | ||
8824 | wxPyEndAllowThreads(__tstate); | |
8825 | if (PyErr_Occurred()) SWIG_fail; | |
8826 | } | |
8827 | Py_INCREF(Py_None); resultobj = Py_None; | |
8828 | return resultobj; | |
8829 | fail: | |
8830 | return NULL; | |
8831 | } | |
8832 | ||
8833 | ||
c370783e | 8834 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8835 | PyObject *resultobj; |
8836 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
36ed4f51 | 8837 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8838 | bool result; |
8839 | PyObject * obj0 = 0 ; | |
8840 | PyObject * obj1 = 0 ; | |
8841 | char *kwnames[] = { | |
8842 | (char *) "self",(char *) "edge", NULL | |
8843 | }; | |
8844 | ||
8845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8846 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8847 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8848 | { | |
8849 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8850 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8851 | } | |
d55e5bfc RD |
8852 | { |
8853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8854 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
8855 | ||
8856 | wxPyEndAllowThreads(__tstate); | |
8857 | if (PyErr_Occurred()) SWIG_fail; | |
8858 | } | |
8859 | { | |
8860 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8861 | } | |
8862 | return resultobj; | |
8863 | fail: | |
8864 | return NULL; | |
8865 | } | |
8866 | ||
8867 | ||
c370783e | 8868 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8869 | PyObject *resultobj; |
8870 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
36ed4f51 | 8871 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8872 | int result; |
8873 | PyObject * obj0 = 0 ; | |
8874 | PyObject * obj1 = 0 ; | |
8875 | char *kwnames[] = { | |
8876 | (char *) "self",(char *) "edge", NULL | |
8877 | }; | |
8878 | ||
8879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8880 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8881 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8882 | { | |
8883 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8884 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8885 | } | |
d55e5bfc RD |
8886 | { |
8887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8888 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
8889 | ||
8890 | wxPyEndAllowThreads(__tstate); | |
8891 | if (PyErr_Occurred()) SWIG_fail; | |
8892 | } | |
36ed4f51 RD |
8893 | { |
8894 | resultobj = SWIG_From_int((int)(result)); | |
8895 | } | |
d55e5bfc RD |
8896 | return resultobj; |
8897 | fail: | |
8898 | return NULL; | |
8899 | } | |
8900 | ||
8901 | ||
c370783e | 8902 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8903 | PyObject *resultobj; |
8904 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
8905 | int arg2 ; | |
8906 | PyObject * obj0 = 0 ; | |
8907 | PyObject * obj1 = 0 ; | |
8908 | char *kwnames[] = { | |
8909 | (char *) "self",(char *) "width", NULL | |
8910 | }; | |
8911 | ||
8912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8913 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8914 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8915 | { | |
8916 | arg2 = (int)(SWIG_As_int(obj1)); | |
8917 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8918 | } | |
d55e5bfc RD |
8919 | { |
8920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8921 | (arg1)->SetDefaultBorderSize(arg2); | |
8922 | ||
8923 | wxPyEndAllowThreads(__tstate); | |
8924 | if (PyErr_Occurred()) SWIG_fail; | |
8925 | } | |
8926 | Py_INCREF(Py_None); resultobj = Py_None; | |
8927 | return resultobj; | |
8928 | fail: | |
8929 | return NULL; | |
8930 | } | |
8931 | ||
8932 | ||
c370783e | 8933 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8934 | PyObject *resultobj; |
8935 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
8936 | int result; | |
8937 | PyObject * obj0 = 0 ; | |
8938 | char *kwnames[] = { | |
8939 | (char *) "self", NULL | |
8940 | }; | |
8941 | ||
8942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8943 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8944 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8945 | { |
8946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8947 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
8948 | ||
8949 | wxPyEndAllowThreads(__tstate); | |
8950 | if (PyErr_Occurred()) SWIG_fail; | |
8951 | } | |
36ed4f51 RD |
8952 | { |
8953 | resultobj = SWIG_From_int((int)(result)); | |
8954 | } | |
d55e5bfc RD |
8955 | return resultobj; |
8956 | fail: | |
8957 | return NULL; | |
8958 | } | |
8959 | ||
8960 | ||
c370783e | 8961 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8962 | PyObject *resultobj; |
8963 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
8964 | int arg2 ; | |
8965 | PyObject * obj0 = 0 ; | |
8966 | PyObject * obj1 = 0 ; | |
8967 | char *kwnames[] = { | |
8968 | (char *) "self",(char *) "width", NULL | |
8969 | }; | |
8970 | ||
8971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8972 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8973 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8974 | { | |
8975 | arg2 = (int)(SWIG_As_int(obj1)); | |
8976 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8977 | } | |
d55e5bfc RD |
8978 | { |
8979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8980 | (arg1)->SetExtraBorderSize(arg2); | |
8981 | ||
8982 | wxPyEndAllowThreads(__tstate); | |
8983 | if (PyErr_Occurred()) SWIG_fail; | |
8984 | } | |
8985 | Py_INCREF(Py_None); resultobj = Py_None; | |
8986 | return resultobj; | |
8987 | fail: | |
8988 | return NULL; | |
8989 | } | |
8990 | ||
8991 | ||
c370783e | 8992 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8993 | PyObject *resultobj; |
8994 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
8995 | int result; | |
8996 | PyObject * obj0 = 0 ; | |
8997 | char *kwnames[] = { | |
8998 | (char *) "self", NULL | |
8999 | }; | |
9000 | ||
9001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9002 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9003 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9004 | { |
9005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9006 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
9007 | ||
9008 | wxPyEndAllowThreads(__tstate); | |
9009 | if (PyErr_Occurred()) SWIG_fail; | |
9010 | } | |
36ed4f51 RD |
9011 | { |
9012 | resultobj = SWIG_From_int((int)(result)); | |
9013 | } | |
d55e5bfc RD |
9014 | return resultobj; |
9015 | fail: | |
9016 | return NULL; | |
9017 | } | |
9018 | ||
9019 | ||
c370783e | 9020 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9021 | PyObject *resultobj; |
9022 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9023 | int arg2 ; | |
9024 | PyObject * obj0 = 0 ; | |
9025 | PyObject * obj1 = 0 ; | |
9026 | char *kwnames[] = { | |
9027 | (char *) "self",(char *) "min", NULL | |
9028 | }; | |
9029 | ||
9030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9031 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9032 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9033 | { | |
9034 | arg2 = (int)(SWIG_As_int(obj1)); | |
9035 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9036 | } | |
d55e5bfc RD |
9037 | { |
9038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9039 | (arg1)->SetMinimumSizeX(arg2); | |
9040 | ||
9041 | wxPyEndAllowThreads(__tstate); | |
9042 | if (PyErr_Occurred()) SWIG_fail; | |
9043 | } | |
9044 | Py_INCREF(Py_None); resultobj = Py_None; | |
9045 | return resultobj; | |
9046 | fail: | |
9047 | return NULL; | |
9048 | } | |
9049 | ||
9050 | ||
c370783e | 9051 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9052 | PyObject *resultobj; |
9053 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9054 | int arg2 ; | |
9055 | PyObject * obj0 = 0 ; | |
9056 | PyObject * obj1 = 0 ; | |
9057 | char *kwnames[] = { | |
9058 | (char *) "self",(char *) "min", NULL | |
9059 | }; | |
9060 | ||
9061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9062 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9063 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9064 | { | |
9065 | arg2 = (int)(SWIG_As_int(obj1)); | |
9066 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9067 | } | |
d55e5bfc RD |
9068 | { |
9069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9070 | (arg1)->SetMinimumSizeY(arg2); | |
9071 | ||
9072 | wxPyEndAllowThreads(__tstate); | |
9073 | if (PyErr_Occurred()) SWIG_fail; | |
9074 | } | |
9075 | Py_INCREF(Py_None); resultobj = Py_None; | |
9076 | return resultobj; | |
9077 | fail: | |
9078 | return NULL; | |
9079 | } | |
9080 | ||
9081 | ||
c370783e | 9082 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9083 | PyObject *resultobj; |
9084 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9085 | int result; | |
9086 | PyObject * obj0 = 0 ; | |
9087 | char *kwnames[] = { | |
9088 | (char *) "self", NULL | |
9089 | }; | |
9090 | ||
9091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9092 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9093 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9094 | { |
9095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9096 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
9097 | ||
9098 | wxPyEndAllowThreads(__tstate); | |
9099 | if (PyErr_Occurred()) SWIG_fail; | |
9100 | } | |
36ed4f51 RD |
9101 | { |
9102 | resultobj = SWIG_From_int((int)(result)); | |
9103 | } | |
d55e5bfc RD |
9104 | return resultobj; |
9105 | fail: | |
9106 | return NULL; | |
9107 | } | |
9108 | ||
9109 | ||
c370783e | 9110 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9111 | PyObject *resultobj; |
9112 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9113 | int result; | |
9114 | PyObject * obj0 = 0 ; | |
9115 | char *kwnames[] = { | |
9116 | (char *) "self", NULL | |
9117 | }; | |
9118 | ||
9119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9120 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9121 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9122 | { |
9123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9124 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
9125 | ||
9126 | wxPyEndAllowThreads(__tstate); | |
9127 | if (PyErr_Occurred()) SWIG_fail; | |
9128 | } | |
36ed4f51 RD |
9129 | { |
9130 | resultobj = SWIG_From_int((int)(result)); | |
9131 | } | |
d55e5bfc RD |
9132 | return resultobj; |
9133 | fail: | |
9134 | return NULL; | |
9135 | } | |
9136 | ||
9137 | ||
c370783e | 9138 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9139 | PyObject *resultobj; |
9140 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9141 | int arg2 ; | |
9142 | PyObject * obj0 = 0 ; | |
9143 | PyObject * obj1 = 0 ; | |
9144 | char *kwnames[] = { | |
9145 | (char *) "self",(char *) "max", NULL | |
9146 | }; | |
9147 | ||
9148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9149 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9150 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9151 | { | |
9152 | arg2 = (int)(SWIG_As_int(obj1)); | |
9153 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9154 | } | |
d55e5bfc RD |
9155 | { |
9156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9157 | (arg1)->SetMaximumSizeX(arg2); | |
9158 | ||
9159 | wxPyEndAllowThreads(__tstate); | |
9160 | if (PyErr_Occurred()) SWIG_fail; | |
9161 | } | |
9162 | Py_INCREF(Py_None); resultobj = Py_None; | |
9163 | return resultobj; | |
9164 | fail: | |
9165 | return NULL; | |
9166 | } | |
9167 | ||
9168 | ||
c370783e | 9169 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9170 | PyObject *resultobj; |
9171 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9172 | int arg2 ; | |
9173 | PyObject * obj0 = 0 ; | |
9174 | PyObject * obj1 = 0 ; | |
9175 | char *kwnames[] = { | |
9176 | (char *) "self",(char *) "max", NULL | |
9177 | }; | |
9178 | ||
9179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9180 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9181 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9182 | { | |
9183 | arg2 = (int)(SWIG_As_int(obj1)); | |
9184 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9185 | } | |
d55e5bfc RD |
9186 | { |
9187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9188 | (arg1)->SetMaximumSizeY(arg2); | |
9189 | ||
9190 | wxPyEndAllowThreads(__tstate); | |
9191 | if (PyErr_Occurred()) SWIG_fail; | |
9192 | } | |
9193 | Py_INCREF(Py_None); resultobj = Py_None; | |
9194 | return resultobj; | |
9195 | fail: | |
9196 | return NULL; | |
9197 | } | |
9198 | ||
9199 | ||
c370783e | 9200 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9201 | PyObject *resultobj; |
9202 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9203 | int result; | |
9204 | PyObject * obj0 = 0 ; | |
9205 | char *kwnames[] = { | |
9206 | (char *) "self", NULL | |
9207 | }; | |
9208 | ||
9209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9210 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9211 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9212 | { |
9213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9214 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
9215 | ||
9216 | wxPyEndAllowThreads(__tstate); | |
9217 | if (PyErr_Occurred()) SWIG_fail; | |
9218 | } | |
36ed4f51 RD |
9219 | { |
9220 | resultobj = SWIG_From_int((int)(result)); | |
9221 | } | |
d55e5bfc RD |
9222 | return resultobj; |
9223 | fail: | |
9224 | return NULL; | |
9225 | } | |
9226 | ||
9227 | ||
c370783e | 9228 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9229 | PyObject *resultobj; |
9230 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9231 | int result; | |
9232 | PyObject * obj0 = 0 ; | |
9233 | char *kwnames[] = { | |
9234 | (char *) "self", NULL | |
9235 | }; | |
9236 | ||
9237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9238 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9239 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9240 | { |
9241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9242 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
9243 | ||
9244 | wxPyEndAllowThreads(__tstate); | |
9245 | if (PyErr_Occurred()) SWIG_fail; | |
9246 | } | |
36ed4f51 RD |
9247 | { |
9248 | resultobj = SWIG_From_int((int)(result)); | |
9249 | } | |
d55e5bfc RD |
9250 | return resultobj; |
9251 | fail: | |
9252 | return NULL; | |
9253 | } | |
9254 | ||
9255 | ||
c370783e | 9256 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9257 | PyObject *resultobj; |
9258 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9259 | int arg2 ; | |
9260 | int arg3 ; | |
9261 | int arg4 = (int) 2 ; | |
36ed4f51 | 9262 | wxSashEdgePosition result; |
d55e5bfc RD |
9263 | PyObject * obj0 = 0 ; |
9264 | PyObject * obj1 = 0 ; | |
9265 | PyObject * obj2 = 0 ; | |
9266 | PyObject * obj3 = 0 ; | |
9267 | char *kwnames[] = { | |
9268 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
9269 | }; | |
9270 | ||
9271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
9272 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9273 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9274 | { | |
9275 | arg2 = (int)(SWIG_As_int(obj1)); | |
9276 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9277 | } | |
9278 | { | |
9279 | arg3 = (int)(SWIG_As_int(obj2)); | |
9280 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9281 | } | |
d55e5bfc | 9282 | if (obj3) { |
36ed4f51 RD |
9283 | { |
9284 | arg4 = (int)(SWIG_As_int(obj3)); | |
9285 | if (SWIG_arg_fail(4)) SWIG_fail; | |
9286 | } | |
d55e5bfc RD |
9287 | } |
9288 | { | |
9289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9290 | result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4); |
d55e5bfc RD |
9291 | |
9292 | wxPyEndAllowThreads(__tstate); | |
9293 | if (PyErr_Occurred()) SWIG_fail; | |
9294 | } | |
36ed4f51 | 9295 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9296 | return resultobj; |
9297 | fail: | |
9298 | return NULL; | |
9299 | } | |
9300 | ||
9301 | ||
c370783e | 9302 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9303 | PyObject *resultobj; |
9304 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9305 | PyObject * obj0 = 0 ; | |
9306 | char *kwnames[] = { | |
9307 | (char *) "self", NULL | |
9308 | }; | |
9309 | ||
9310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9311 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9312 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9313 | { |
9314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9315 | (arg1)->SizeWindows(); | |
9316 | ||
9317 | wxPyEndAllowThreads(__tstate); | |
9318 | if (PyErr_Occurred()) SWIG_fail; | |
9319 | } | |
9320 | Py_INCREF(Py_None); resultobj = Py_None; | |
9321 | return resultobj; | |
9322 | fail: | |
9323 | return NULL; | |
9324 | } | |
9325 | ||
9326 | ||
c370783e | 9327 | static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9328 | PyObject *obj; |
9329 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9330 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
9331 | Py_INCREF(obj); | |
9332 | return Py_BuildValue((char *)""); | |
9333 | } | |
c370783e | 9334 | static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9335 | PyObject *resultobj; |
9336 | int arg1 = (int) 0 ; | |
36ed4f51 | 9337 | wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ; |
d55e5bfc RD |
9338 | wxSashEvent *result; |
9339 | PyObject * obj0 = 0 ; | |
9340 | PyObject * obj1 = 0 ; | |
9341 | char *kwnames[] = { | |
9342 | (char *) "id",(char *) "edge", NULL | |
9343 | }; | |
9344 | ||
9345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; | |
9346 | if (obj0) { | |
36ed4f51 RD |
9347 | { |
9348 | arg1 = (int)(SWIG_As_int(obj0)); | |
9349 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9350 | } | |
d55e5bfc RD |
9351 | } |
9352 | if (obj1) { | |
36ed4f51 RD |
9353 | { |
9354 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
9355 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9356 | } | |
d55e5bfc RD |
9357 | } |
9358 | { | |
9359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9360 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
9361 | ||
9362 | wxPyEndAllowThreads(__tstate); | |
9363 | if (PyErr_Occurred()) SWIG_fail; | |
9364 | } | |
9365 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); | |
9366 | return resultobj; | |
9367 | fail: | |
9368 | return NULL; | |
9369 | } | |
9370 | ||
9371 | ||
c370783e | 9372 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9373 | PyObject *resultobj; |
9374 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
36ed4f51 | 9375 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
9376 | PyObject * obj0 = 0 ; |
9377 | PyObject * obj1 = 0 ; | |
9378 | char *kwnames[] = { | |
9379 | (char *) "self",(char *) "edge", NULL | |
9380 | }; | |
9381 | ||
9382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9383 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9384 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9385 | { | |
9386 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
9387 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9388 | } | |
d55e5bfc RD |
9389 | { |
9390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9391 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
9392 | ||
9393 | wxPyEndAllowThreads(__tstate); | |
9394 | if (PyErr_Occurred()) SWIG_fail; | |
9395 | } | |
9396 | Py_INCREF(Py_None); resultobj = Py_None; | |
9397 | return resultobj; | |
9398 | fail: | |
9399 | return NULL; | |
9400 | } | |
9401 | ||
9402 | ||
c370783e | 9403 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9404 | PyObject *resultobj; |
9405 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
36ed4f51 | 9406 | wxSashEdgePosition result; |
d55e5bfc RD |
9407 | PyObject * obj0 = 0 ; |
9408 | char *kwnames[] = { | |
9409 | (char *) "self", NULL | |
9410 | }; | |
9411 | ||
9412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9413 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9414 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9415 | { |
9416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9417 | result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge(); |
d55e5bfc RD |
9418 | |
9419 | wxPyEndAllowThreads(__tstate); | |
9420 | if (PyErr_Occurred()) SWIG_fail; | |
9421 | } | |
36ed4f51 | 9422 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9423 | return resultobj; |
9424 | fail: | |
9425 | return NULL; | |
9426 | } | |
9427 | ||
9428 | ||
c370783e | 9429 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9430 | PyObject *resultobj; |
9431 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
9432 | wxRect *arg2 = 0 ; | |
9433 | wxRect temp2 ; | |
9434 | PyObject * obj0 = 0 ; | |
9435 | PyObject * obj1 = 0 ; | |
9436 | char *kwnames[] = { | |
9437 | (char *) "self",(char *) "rect", NULL | |
9438 | }; | |
9439 | ||
9440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9441 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9442 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9443 | { |
9444 | arg2 = &temp2; | |
9445 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
9446 | } | |
9447 | { | |
9448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9449 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
9450 | ||
9451 | wxPyEndAllowThreads(__tstate); | |
9452 | if (PyErr_Occurred()) SWIG_fail; | |
9453 | } | |
9454 | Py_INCREF(Py_None); resultobj = Py_None; | |
9455 | return resultobj; | |
9456 | fail: | |
9457 | return NULL; | |
9458 | } | |
9459 | ||
9460 | ||
c370783e | 9461 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9462 | PyObject *resultobj; |
9463 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
9464 | wxRect result; | |
9465 | PyObject * obj0 = 0 ; | |
9466 | char *kwnames[] = { | |
9467 | (char *) "self", NULL | |
9468 | }; | |
9469 | ||
9470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9471 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9472 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9473 | { |
9474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9475 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
9476 | ||
9477 | wxPyEndAllowThreads(__tstate); | |
9478 | if (PyErr_Occurred()) SWIG_fail; | |
9479 | } | |
9480 | { | |
9481 | wxRect * resultptr; | |
36ed4f51 | 9482 | resultptr = new wxRect((wxRect &)(result)); |
d55e5bfc RD |
9483 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
9484 | } | |
9485 | return resultobj; | |
9486 | fail: | |
9487 | return NULL; | |
9488 | } | |
9489 | ||
9490 | ||
c370783e | 9491 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9492 | PyObject *resultobj; |
9493 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
36ed4f51 | 9494 | wxSashDragStatus arg2 ; |
d55e5bfc RD |
9495 | PyObject * obj0 = 0 ; |
9496 | PyObject * obj1 = 0 ; | |
9497 | char *kwnames[] = { | |
9498 | (char *) "self",(char *) "status", NULL | |
9499 | }; | |
9500 | ||
9501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9502 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9503 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9504 | { | |
9505 | arg2 = (wxSashDragStatus)(SWIG_As_int(obj1)); | |
9506 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9507 | } | |
d55e5bfc RD |
9508 | { |
9509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9510 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
9511 | ||
9512 | wxPyEndAllowThreads(__tstate); | |
9513 | if (PyErr_Occurred()) SWIG_fail; | |
9514 | } | |
9515 | Py_INCREF(Py_None); resultobj = Py_None; | |
9516 | return resultobj; | |
9517 | fail: | |
9518 | return NULL; | |
9519 | } | |
9520 | ||
9521 | ||
c370783e | 9522 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9523 | PyObject *resultobj; |
9524 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
36ed4f51 | 9525 | wxSashDragStatus result; |
d55e5bfc RD |
9526 | PyObject * obj0 = 0 ; |
9527 | char *kwnames[] = { | |
9528 | (char *) "self", NULL | |
9529 | }; | |
9530 | ||
9531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9532 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9533 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9534 | { |
9535 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9536 | result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus(); |
d55e5bfc RD |
9537 | |
9538 | wxPyEndAllowThreads(__tstate); | |
9539 | if (PyErr_Occurred()) SWIG_fail; | |
9540 | } | |
36ed4f51 | 9541 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9542 | return resultobj; |
9543 | fail: | |
9544 | return NULL; | |
9545 | } | |
9546 | ||
9547 | ||
c370783e | 9548 | static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9549 | PyObject *obj; |
9550 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9551 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
9552 | Py_INCREF(obj); | |
9553 | return Py_BuildValue((char *)""); | |
9554 | } | |
c370783e | 9555 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9556 | PyObject *resultobj; |
9557 | int arg1 = (int) 0 ; | |
9558 | wxQueryLayoutInfoEvent *result; | |
9559 | PyObject * obj0 = 0 ; | |
9560 | char *kwnames[] = { | |
9561 | (char *) "id", NULL | |
9562 | }; | |
9563 | ||
9564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; | |
9565 | if (obj0) { | |
36ed4f51 RD |
9566 | { |
9567 | arg1 = (int)(SWIG_As_int(obj0)); | |
9568 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9569 | } | |
d55e5bfc RD |
9570 | } |
9571 | { | |
9572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9573 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
9574 | ||
9575 | wxPyEndAllowThreads(__tstate); | |
9576 | if (PyErr_Occurred()) SWIG_fail; | |
9577 | } | |
9578 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); | |
9579 | return resultobj; | |
9580 | fail: | |
9581 | return NULL; | |
9582 | } | |
9583 | ||
9584 | ||
c370783e | 9585 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9586 | PyObject *resultobj; |
9587 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9588 | int arg2 ; | |
9589 | PyObject * obj0 = 0 ; | |
9590 | PyObject * obj1 = 0 ; | |
9591 | char *kwnames[] = { | |
9592 | (char *) "self",(char *) "length", NULL | |
9593 | }; | |
9594 | ||
9595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9596 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9597 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9598 | { | |
9599 | arg2 = (int)(SWIG_As_int(obj1)); | |
9600 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9601 | } | |
d55e5bfc RD |
9602 | { |
9603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9604 | (arg1)->SetRequestedLength(arg2); | |
9605 | ||
9606 | wxPyEndAllowThreads(__tstate); | |
9607 | if (PyErr_Occurred()) SWIG_fail; | |
9608 | } | |
9609 | Py_INCREF(Py_None); resultobj = Py_None; | |
9610 | return resultobj; | |
9611 | fail: | |
9612 | return NULL; | |
9613 | } | |
9614 | ||
9615 | ||
c370783e | 9616 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9617 | PyObject *resultobj; |
9618 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9619 | int result; | |
9620 | PyObject * obj0 = 0 ; | |
9621 | char *kwnames[] = { | |
9622 | (char *) "self", NULL | |
9623 | }; | |
9624 | ||
9625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9626 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9627 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9628 | { |
9629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9630 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
9631 | ||
9632 | wxPyEndAllowThreads(__tstate); | |
9633 | if (PyErr_Occurred()) SWIG_fail; | |
9634 | } | |
36ed4f51 RD |
9635 | { |
9636 | resultobj = SWIG_From_int((int)(result)); | |
9637 | } | |
d55e5bfc RD |
9638 | return resultobj; |
9639 | fail: | |
9640 | return NULL; | |
9641 | } | |
9642 | ||
9643 | ||
c370783e | 9644 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9645 | PyObject *resultobj; |
9646 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9647 | int arg2 ; | |
9648 | PyObject * obj0 = 0 ; | |
9649 | PyObject * obj1 = 0 ; | |
9650 | char *kwnames[] = { | |
9651 | (char *) "self",(char *) "flags", NULL | |
9652 | }; | |
9653 | ||
9654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9655 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9656 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9657 | { | |
9658 | arg2 = (int)(SWIG_As_int(obj1)); | |
9659 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9660 | } | |
d55e5bfc RD |
9661 | { |
9662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9663 | (arg1)->SetFlags(arg2); | |
9664 | ||
9665 | wxPyEndAllowThreads(__tstate); | |
9666 | if (PyErr_Occurred()) SWIG_fail; | |
9667 | } | |
9668 | Py_INCREF(Py_None); resultobj = Py_None; | |
9669 | return resultobj; | |
9670 | fail: | |
9671 | return NULL; | |
9672 | } | |
9673 | ||
9674 | ||
c370783e | 9675 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9676 | PyObject *resultobj; |
9677 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9678 | int result; | |
9679 | PyObject * obj0 = 0 ; | |
9680 | char *kwnames[] = { | |
9681 | (char *) "self", NULL | |
9682 | }; | |
9683 | ||
9684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9685 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9686 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9687 | { |
9688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9689 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
9690 | ||
9691 | wxPyEndAllowThreads(__tstate); | |
9692 | if (PyErr_Occurred()) SWIG_fail; | |
9693 | } | |
36ed4f51 RD |
9694 | { |
9695 | resultobj = SWIG_From_int((int)(result)); | |
9696 | } | |
d55e5bfc RD |
9697 | return resultobj; |
9698 | fail: | |
9699 | return NULL; | |
9700 | } | |
9701 | ||
9702 | ||
c370783e | 9703 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9704 | PyObject *resultobj; |
9705 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9706 | wxSize *arg2 = 0 ; | |
9707 | wxSize temp2 ; | |
9708 | PyObject * obj0 = 0 ; | |
9709 | PyObject * obj1 = 0 ; | |
9710 | char *kwnames[] = { | |
9711 | (char *) "self",(char *) "size", NULL | |
9712 | }; | |
9713 | ||
9714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9715 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9716 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9717 | { |
9718 | arg2 = &temp2; | |
9719 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
9720 | } | |
9721 | { | |
9722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9723 | (arg1)->SetSize((wxSize const &)*arg2); | |
9724 | ||
9725 | wxPyEndAllowThreads(__tstate); | |
9726 | if (PyErr_Occurred()) SWIG_fail; | |
9727 | } | |
9728 | Py_INCREF(Py_None); resultobj = Py_None; | |
9729 | return resultobj; | |
9730 | fail: | |
9731 | return NULL; | |
9732 | } | |
9733 | ||
9734 | ||
c370783e | 9735 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9736 | PyObject *resultobj; |
9737 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9738 | wxSize result; | |
9739 | PyObject * obj0 = 0 ; | |
9740 | char *kwnames[] = { | |
9741 | (char *) "self", NULL | |
9742 | }; | |
9743 | ||
9744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9745 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9746 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9747 | { |
9748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9749 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
9750 | ||
9751 | wxPyEndAllowThreads(__tstate); | |
9752 | if (PyErr_Occurred()) SWIG_fail; | |
9753 | } | |
9754 | { | |
9755 | wxSize * resultptr; | |
36ed4f51 | 9756 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
9757 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
9758 | } | |
9759 | return resultobj; | |
9760 | fail: | |
9761 | return NULL; | |
9762 | } | |
9763 | ||
9764 | ||
c370783e | 9765 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9766 | PyObject *resultobj; |
9767 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
36ed4f51 | 9768 | wxLayoutOrientation arg2 ; |
d55e5bfc RD |
9769 | PyObject * obj0 = 0 ; |
9770 | PyObject * obj1 = 0 ; | |
9771 | char *kwnames[] = { | |
9772 | (char *) "self",(char *) "orient", NULL | |
9773 | }; | |
9774 | ||
9775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9776 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9777 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9778 | { | |
9779 | arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1)); | |
9780 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9781 | } | |
d55e5bfc RD |
9782 | { |
9783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9784 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
9785 | ||
9786 | wxPyEndAllowThreads(__tstate); | |
9787 | if (PyErr_Occurred()) SWIG_fail; | |
9788 | } | |
9789 | Py_INCREF(Py_None); resultobj = Py_None; | |
9790 | return resultobj; | |
9791 | fail: | |
9792 | return NULL; | |
9793 | } | |
9794 | ||
9795 | ||
c370783e | 9796 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9797 | PyObject *resultobj; |
9798 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
36ed4f51 | 9799 | wxLayoutOrientation result; |
d55e5bfc RD |
9800 | PyObject * obj0 = 0 ; |
9801 | char *kwnames[] = { | |
9802 | (char *) "self", NULL | |
9803 | }; | |
9804 | ||
9805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9806 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9807 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9808 | { |
9809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9810 | result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); |
d55e5bfc RD |
9811 | |
9812 | wxPyEndAllowThreads(__tstate); | |
9813 | if (PyErr_Occurred()) SWIG_fail; | |
9814 | } | |
36ed4f51 | 9815 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9816 | return resultobj; |
9817 | fail: | |
9818 | return NULL; | |
9819 | } | |
9820 | ||
9821 | ||
c370783e | 9822 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9823 | PyObject *resultobj; |
9824 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
36ed4f51 | 9825 | wxLayoutAlignment arg2 ; |
d55e5bfc RD |
9826 | PyObject * obj0 = 0 ; |
9827 | PyObject * obj1 = 0 ; | |
9828 | char *kwnames[] = { | |
9829 | (char *) "self",(char *) "align", NULL | |
9830 | }; | |
9831 | ||
9832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9833 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9834 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9835 | { | |
9836 | arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1)); | |
9837 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9838 | } | |
d55e5bfc RD |
9839 | { |
9840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9841 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
9842 | ||
9843 | wxPyEndAllowThreads(__tstate); | |
9844 | if (PyErr_Occurred()) SWIG_fail; | |
9845 | } | |
9846 | Py_INCREF(Py_None); resultobj = Py_None; | |
9847 | return resultobj; | |
9848 | fail: | |
9849 | return NULL; | |
9850 | } | |
9851 | ||
9852 | ||
c370783e | 9853 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9854 | PyObject *resultobj; |
9855 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
36ed4f51 | 9856 | wxLayoutAlignment result; |
d55e5bfc RD |
9857 | PyObject * obj0 = 0 ; |
9858 | char *kwnames[] = { | |
9859 | (char *) "self", NULL | |
9860 | }; | |
9861 | ||
9862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9863 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9864 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9865 | { |
9866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9867 | result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); |
d55e5bfc RD |
9868 | |
9869 | wxPyEndAllowThreads(__tstate); | |
9870 | if (PyErr_Occurred()) SWIG_fail; | |
9871 | } | |
36ed4f51 | 9872 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9873 | return resultobj; |
9874 | fail: | |
9875 | return NULL; | |
9876 | } | |
9877 | ||
9878 | ||
c370783e | 9879 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9880 | PyObject *obj; |
9881 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9882 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
9883 | Py_INCREF(obj); | |
9884 | return Py_BuildValue((char *)""); | |
9885 | } | |
c370783e | 9886 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9887 | PyObject *resultobj; |
9888 | int arg1 = (int) 0 ; | |
9889 | wxCalculateLayoutEvent *result; | |
9890 | PyObject * obj0 = 0 ; | |
9891 | char *kwnames[] = { | |
9892 | (char *) "id", NULL | |
9893 | }; | |
9894 | ||
9895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; | |
9896 | if (obj0) { | |
36ed4f51 RD |
9897 | { |
9898 | arg1 = (int)(SWIG_As_int(obj0)); | |
9899 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9900 | } | |
d55e5bfc RD |
9901 | } |
9902 | { | |
9903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9904 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
9905 | ||
9906 | wxPyEndAllowThreads(__tstate); | |
9907 | if (PyErr_Occurred()) SWIG_fail; | |
9908 | } | |
9909 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); | |
9910 | return resultobj; | |
9911 | fail: | |
9912 | return NULL; | |
9913 | } | |
9914 | ||
9915 | ||
c370783e | 9916 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9917 | PyObject *resultobj; |
9918 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
9919 | int arg2 ; | |
9920 | PyObject * obj0 = 0 ; | |
9921 | PyObject * obj1 = 0 ; | |
9922 | char *kwnames[] = { | |
9923 | (char *) "self",(char *) "flags", NULL | |
9924 | }; | |
9925 | ||
9926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9927 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
9928 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9929 | { | |
9930 | arg2 = (int)(SWIG_As_int(obj1)); | |
9931 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9932 | } | |
d55e5bfc RD |
9933 | { |
9934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9935 | (arg1)->SetFlags(arg2); | |
9936 | ||
9937 | wxPyEndAllowThreads(__tstate); | |
9938 | if (PyErr_Occurred()) SWIG_fail; | |
9939 | } | |
9940 | Py_INCREF(Py_None); resultobj = Py_None; | |
9941 | return resultobj; | |
9942 | fail: | |
9943 | return NULL; | |
9944 | } | |
9945 | ||
9946 | ||
c370783e | 9947 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9948 | PyObject *resultobj; |
9949 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
9950 | int result; | |
9951 | PyObject * obj0 = 0 ; | |
9952 | char *kwnames[] = { | |
9953 | (char *) "self", NULL | |
9954 | }; | |
9955 | ||
9956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9957 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
9958 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9959 | { |
9960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9961 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
9962 | ||
9963 | wxPyEndAllowThreads(__tstate); | |
9964 | if (PyErr_Occurred()) SWIG_fail; | |
9965 | } | |
36ed4f51 RD |
9966 | { |
9967 | resultobj = SWIG_From_int((int)(result)); | |
9968 | } | |
d55e5bfc RD |
9969 | return resultobj; |
9970 | fail: | |
9971 | return NULL; | |
9972 | } | |
9973 | ||
9974 | ||
c370783e | 9975 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9976 | PyObject *resultobj; |
9977 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
9978 | wxRect *arg2 = 0 ; | |
9979 | wxRect temp2 ; | |
9980 | PyObject * obj0 = 0 ; | |
9981 | PyObject * obj1 = 0 ; | |
9982 | char *kwnames[] = { | |
9983 | (char *) "self",(char *) "rect", NULL | |
9984 | }; | |
9985 | ||
9986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9987 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
9988 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9989 | { |
9990 | arg2 = &temp2; | |
9991 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
9992 | } | |
9993 | { | |
9994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9995 | (arg1)->SetRect((wxRect const &)*arg2); | |
9996 | ||
9997 | wxPyEndAllowThreads(__tstate); | |
9998 | if (PyErr_Occurred()) SWIG_fail; | |
9999 | } | |
10000 | Py_INCREF(Py_None); resultobj = Py_None; | |
10001 | return resultobj; | |
10002 | fail: | |
10003 | return NULL; | |
10004 | } | |
10005 | ||
10006 | ||
c370783e | 10007 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10008 | PyObject *resultobj; |
10009 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
10010 | wxRect result; | |
10011 | PyObject * obj0 = 0 ; | |
10012 | char *kwnames[] = { | |
10013 | (char *) "self", NULL | |
10014 | }; | |
10015 | ||
10016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10017 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10018 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10019 | { |
10020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10021 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
10022 | ||
10023 | wxPyEndAllowThreads(__tstate); | |
10024 | if (PyErr_Occurred()) SWIG_fail; | |
10025 | } | |
10026 | { | |
10027 | wxRect * resultptr; | |
36ed4f51 | 10028 | resultptr = new wxRect((wxRect &)(result)); |
d55e5bfc RD |
10029 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
10030 | } | |
10031 | return resultobj; | |
10032 | fail: | |
10033 | return NULL; | |
10034 | } | |
10035 | ||
10036 | ||
c370783e | 10037 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10038 | PyObject *obj; |
10039 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10040 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
10041 | Py_INCREF(obj); | |
10042 | return Py_BuildValue((char *)""); | |
10043 | } | |
c370783e | 10044 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10045 | PyObject *resultobj; |
10046 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 10047 | int arg2 = (int) -1 ; |
d55e5bfc RD |
10048 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10049 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10050 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10051 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10052 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
10053 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
10054 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10055 | wxSashLayoutWindow *result; | |
10056 | wxPoint temp3 ; | |
10057 | wxSize temp4 ; | |
b411df4a | 10058 | bool temp6 = false ; |
d55e5bfc RD |
10059 | PyObject * obj0 = 0 ; |
10060 | PyObject * obj1 = 0 ; | |
10061 | PyObject * obj2 = 0 ; | |
10062 | PyObject * obj3 = 0 ; | |
10063 | PyObject * obj4 = 0 ; | |
10064 | PyObject * obj5 = 0 ; | |
10065 | char *kwnames[] = { | |
10066 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10067 | }; | |
10068 | ||
bfddbb17 | 10069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
36ed4f51 RD |
10070 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10071 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 10072 | if (obj1) { |
36ed4f51 RD |
10073 | { |
10074 | arg2 = (int)(SWIG_As_int(obj1)); | |
10075 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10076 | } | |
bfddbb17 | 10077 | } |
d55e5bfc RD |
10078 | if (obj2) { |
10079 | { | |
10080 | arg3 = &temp3; | |
10081 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10082 | } | |
10083 | } | |
10084 | if (obj3) { | |
10085 | { | |
10086 | arg4 = &temp4; | |
10087 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10088 | } | |
10089 | } | |
10090 | if (obj4) { | |
36ed4f51 RD |
10091 | { |
10092 | arg5 = (long)(SWIG_As_long(obj4)); | |
10093 | if (SWIG_arg_fail(5)) SWIG_fail; | |
10094 | } | |
d55e5bfc RD |
10095 | } |
10096 | if (obj5) { | |
10097 | { | |
10098 | arg6 = wxString_in_helper(obj5); | |
10099 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 10100 | temp6 = true; |
d55e5bfc RD |
10101 | } |
10102 | } | |
10103 | { | |
0439c23b | 10104 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10106 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10107 | ||
10108 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10109 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10110 | } |
10111 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); | |
10112 | { | |
10113 | if (temp6) | |
10114 | delete arg6; | |
10115 | } | |
10116 | return resultobj; | |
10117 | fail: | |
10118 | { | |
10119 | if (temp6) | |
10120 | delete arg6; | |
10121 | } | |
10122 | return NULL; | |
10123 | } | |
10124 | ||
10125 | ||
c370783e | 10126 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10127 | PyObject *resultobj; |
10128 | wxSashLayoutWindow *result; | |
10129 | char *kwnames[] = { | |
10130 | NULL | |
10131 | }; | |
10132 | ||
10133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
10134 | { | |
0439c23b | 10135 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10137 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
10138 | ||
10139 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10140 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10141 | } |
10142 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); | |
10143 | return resultobj; | |
10144 | fail: | |
10145 | return NULL; | |
10146 | } | |
10147 | ||
10148 | ||
c370783e | 10149 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10150 | PyObject *resultobj; |
10151 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
10152 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 | 10153 | int arg3 = (int) -1 ; |
d55e5bfc RD |
10154 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10155 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10156 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10157 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10158 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
10159 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
10160 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10161 | bool result; | |
10162 | wxPoint temp4 ; | |
10163 | wxSize temp5 ; | |
b411df4a | 10164 | bool temp7 = false ; |
d55e5bfc RD |
10165 | PyObject * obj0 = 0 ; |
10166 | PyObject * obj1 = 0 ; | |
10167 | PyObject * obj2 = 0 ; | |
10168 | PyObject * obj3 = 0 ; | |
10169 | PyObject * obj4 = 0 ; | |
10170 | PyObject * obj5 = 0 ; | |
10171 | PyObject * obj6 = 0 ; | |
10172 | char *kwnames[] = { | |
10173 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10174 | }; | |
10175 | ||
bfddbb17 | 10176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
10177 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10178 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10179 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
10180 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 10181 | if (obj2) { |
36ed4f51 RD |
10182 | { |
10183 | arg3 = (int)(SWIG_As_int(obj2)); | |
10184 | if (SWIG_arg_fail(3)) SWIG_fail; | |
10185 | } | |
bfddbb17 | 10186 | } |
d55e5bfc RD |
10187 | if (obj3) { |
10188 | { | |
10189 | arg4 = &temp4; | |
10190 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10191 | } | |
10192 | } | |
10193 | if (obj4) { | |
10194 | { | |
10195 | arg5 = &temp5; | |
10196 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10197 | } | |
10198 | } | |
10199 | if (obj5) { | |
36ed4f51 RD |
10200 | { |
10201 | arg6 = (long)(SWIG_As_long(obj5)); | |
10202 | if (SWIG_arg_fail(6)) SWIG_fail; | |
10203 | } | |
d55e5bfc RD |
10204 | } |
10205 | if (obj6) { | |
10206 | { | |
10207 | arg7 = wxString_in_helper(obj6); | |
10208 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 10209 | temp7 = true; |
d55e5bfc RD |
10210 | } |
10211 | } | |
10212 | { | |
10213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10214 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10215 | ||
10216 | wxPyEndAllowThreads(__tstate); | |
10217 | if (PyErr_Occurred()) SWIG_fail; | |
10218 | } | |
10219 | { | |
10220 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10221 | } | |
10222 | { | |
10223 | if (temp7) | |
10224 | delete arg7; | |
10225 | } | |
10226 | return resultobj; | |
10227 | fail: | |
10228 | { | |
10229 | if (temp7) | |
10230 | delete arg7; | |
10231 | } | |
10232 | return NULL; | |
10233 | } | |
10234 | ||
10235 | ||
c370783e | 10236 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10237 | PyObject *resultobj; |
10238 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
36ed4f51 | 10239 | wxLayoutAlignment result; |
d55e5bfc RD |
10240 | PyObject * obj0 = 0 ; |
10241 | char *kwnames[] = { | |
10242 | (char *) "self", NULL | |
10243 | }; | |
10244 | ||
10245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10246 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10247 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10248 | { |
10249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10250 | result = (wxLayoutAlignment)(arg1)->GetAlignment(); |
d55e5bfc RD |
10251 | |
10252 | wxPyEndAllowThreads(__tstate); | |
10253 | if (PyErr_Occurred()) SWIG_fail; | |
10254 | } | |
36ed4f51 | 10255 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
10256 | return resultobj; |
10257 | fail: | |
10258 | return NULL; | |
10259 | } | |
10260 | ||
10261 | ||
c370783e | 10262 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10263 | PyObject *resultobj; |
10264 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
36ed4f51 | 10265 | wxLayoutOrientation result; |
d55e5bfc RD |
10266 | PyObject * obj0 = 0 ; |
10267 | char *kwnames[] = { | |
10268 | (char *) "self", NULL | |
10269 | }; | |
10270 | ||
10271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10272 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10273 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10274 | { |
10275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10276 | result = (wxLayoutOrientation)(arg1)->GetOrientation(); |
d55e5bfc RD |
10277 | |
10278 | wxPyEndAllowThreads(__tstate); | |
10279 | if (PyErr_Occurred()) SWIG_fail; | |
10280 | } | |
36ed4f51 | 10281 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
10282 | return resultobj; |
10283 | fail: | |
10284 | return NULL; | |
10285 | } | |
10286 | ||
10287 | ||
c370783e | 10288 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10289 | PyObject *resultobj; |
10290 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
36ed4f51 | 10291 | wxLayoutAlignment arg2 ; |
d55e5bfc RD |
10292 | PyObject * obj0 = 0 ; |
10293 | PyObject * obj1 = 0 ; | |
10294 | char *kwnames[] = { | |
10295 | (char *) "self",(char *) "alignment", NULL | |
10296 | }; | |
10297 | ||
10298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10299 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10300 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10301 | { | |
10302 | arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1)); | |
10303 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10304 | } | |
d55e5bfc RD |
10305 | { |
10306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10307 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
10308 | ||
10309 | wxPyEndAllowThreads(__tstate); | |
10310 | if (PyErr_Occurred()) SWIG_fail; | |
10311 | } | |
10312 | Py_INCREF(Py_None); resultobj = Py_None; | |
10313 | return resultobj; | |
10314 | fail: | |
10315 | return NULL; | |
10316 | } | |
10317 | ||
10318 | ||
c370783e | 10319 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10320 | PyObject *resultobj; |
10321 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
10322 | wxSize *arg2 = 0 ; | |
10323 | wxSize temp2 ; | |
10324 | PyObject * obj0 = 0 ; | |
10325 | PyObject * obj1 = 0 ; | |
10326 | char *kwnames[] = { | |
10327 | (char *) "self",(char *) "size", NULL | |
10328 | }; | |
10329 | ||
10330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10331 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10332 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10333 | { |
10334 | arg2 = &temp2; | |
10335 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
10336 | } | |
10337 | { | |
10338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10339 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
10340 | ||
10341 | wxPyEndAllowThreads(__tstate); | |
10342 | if (PyErr_Occurred()) SWIG_fail; | |
10343 | } | |
10344 | Py_INCREF(Py_None); resultobj = Py_None; | |
10345 | return resultobj; | |
10346 | fail: | |
10347 | return NULL; | |
10348 | } | |
10349 | ||
10350 | ||
c370783e | 10351 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10352 | PyObject *resultobj; |
10353 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
36ed4f51 | 10354 | wxLayoutOrientation arg2 ; |
d55e5bfc RD |
10355 | PyObject * obj0 = 0 ; |
10356 | PyObject * obj1 = 0 ; | |
10357 | char *kwnames[] = { | |
10358 | (char *) "self",(char *) "orientation", NULL | |
10359 | }; | |
10360 | ||
10361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10362 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10363 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10364 | { | |
10365 | arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1)); | |
10366 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10367 | } | |
d55e5bfc RD |
10368 | { |
10369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10370 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
10371 | ||
10372 | wxPyEndAllowThreads(__tstate); | |
10373 | if (PyErr_Occurred()) SWIG_fail; | |
10374 | } | |
10375 | Py_INCREF(Py_None); resultobj = Py_None; | |
10376 | return resultobj; | |
10377 | fail: | |
10378 | return NULL; | |
10379 | } | |
10380 | ||
10381 | ||
c370783e | 10382 | static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10383 | PyObject *obj; |
10384 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10385 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
10386 | Py_INCREF(obj); | |
10387 | return Py_BuildValue((char *)""); | |
10388 | } | |
c370783e | 10389 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10390 | PyObject *resultobj; |
10391 | wxLayoutAlgorithm *result; | |
10392 | char *kwnames[] = { | |
10393 | NULL | |
10394 | }; | |
10395 | ||
10396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
10397 | { | |
10398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10399 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
10400 | ||
10401 | wxPyEndAllowThreads(__tstate); | |
10402 | if (PyErr_Occurred()) SWIG_fail; | |
10403 | } | |
10404 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); | |
10405 | return resultobj; | |
10406 | fail: | |
10407 | return NULL; | |
10408 | } | |
10409 | ||
10410 | ||
c370783e | 10411 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10412 | PyObject *resultobj; |
10413 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
10414 | PyObject * obj0 = 0 ; | |
10415 | char *kwnames[] = { | |
10416 | (char *) "self", NULL | |
10417 | }; | |
10418 | ||
10419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10420 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10421 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10422 | { |
10423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10424 | delete arg1; | |
10425 | ||
10426 | wxPyEndAllowThreads(__tstate); | |
10427 | if (PyErr_Occurred()) SWIG_fail; | |
10428 | } | |
10429 | Py_INCREF(Py_None); resultobj = Py_None; | |
10430 | return resultobj; | |
10431 | fail: | |
10432 | return NULL; | |
10433 | } | |
10434 | ||
10435 | ||
c370783e | 10436 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10437 | PyObject *resultobj; |
10438 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
10439 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
10440 | wxRect *arg3 = (wxRect *) NULL ; | |
10441 | bool result; | |
10442 | PyObject * obj0 = 0 ; | |
10443 | PyObject * obj1 = 0 ; | |
10444 | PyObject * obj2 = 0 ; | |
10445 | char *kwnames[] = { | |
10446 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
10447 | }; | |
10448 | ||
10449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
10450 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10451 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10452 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
10453 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 10454 | if (obj2) { |
36ed4f51 RD |
10455 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); |
10456 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
10457 | } |
10458 | { | |
10459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10460 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
10461 | ||
10462 | wxPyEndAllowThreads(__tstate); | |
10463 | if (PyErr_Occurred()) SWIG_fail; | |
10464 | } | |
10465 | { | |
10466 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10467 | } | |
10468 | return resultobj; | |
10469 | fail: | |
10470 | return NULL; | |
10471 | } | |
10472 | ||
10473 | ||
c370783e | 10474 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10475 | PyObject *resultobj; |
10476 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
10477 | wxFrame *arg2 = (wxFrame *) 0 ; | |
10478 | wxWindow *arg3 = (wxWindow *) NULL ; | |
10479 | bool result; | |
10480 | PyObject * obj0 = 0 ; | |
10481 | PyObject * obj1 = 0 ; | |
10482 | PyObject * obj2 = 0 ; | |
10483 | char *kwnames[] = { | |
10484 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
10485 | }; | |
10486 | ||
10487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
10488 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10489 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10490 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
10491 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 10492 | if (obj2) { |
36ed4f51 RD |
10493 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10494 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
10495 | } |
10496 | { | |
10497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10498 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
10499 | ||
10500 | wxPyEndAllowThreads(__tstate); | |
10501 | if (PyErr_Occurred()) SWIG_fail; | |
10502 | } | |
10503 | { | |
10504 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10505 | } | |
10506 | return resultobj; | |
10507 | fail: | |
10508 | return NULL; | |
10509 | } | |
10510 | ||
10511 | ||
c370783e | 10512 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10513 | PyObject *resultobj; |
10514 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
10515 | wxWindow *arg2 = (wxWindow *) 0 ; | |
10516 | wxWindow *arg3 = (wxWindow *) NULL ; | |
10517 | bool result; | |
10518 | PyObject * obj0 = 0 ; | |
10519 | PyObject * obj1 = 0 ; | |
10520 | PyObject * obj2 = 0 ; | |
10521 | char *kwnames[] = { | |
10522 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
10523 | }; | |
10524 | ||
10525 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
10526 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10527 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10528 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
10529 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 10530 | if (obj2) { |
36ed4f51 RD |
10531 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10532 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
10533 | } |
10534 | { | |
10535 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10536 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
10537 | ||
10538 | wxPyEndAllowThreads(__tstate); | |
10539 | if (PyErr_Occurred()) SWIG_fail; | |
10540 | } | |
10541 | { | |
10542 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10543 | } | |
10544 | return resultobj; | |
10545 | fail: | |
10546 | return NULL; | |
10547 | } | |
10548 | ||
10549 | ||
c370783e | 10550 | static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10551 | PyObject *obj; |
10552 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10553 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
10554 | Py_INCREF(obj); | |
10555 | return Py_BuildValue((char *)""); | |
10556 | } | |
c370783e | 10557 | static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10558 | PyObject *resultobj; |
10559 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10560 | int arg2 = (int) wxBORDER_NONE ; | |
10561 | wxPopupWindow *result; | |
10562 | PyObject * obj0 = 0 ; | |
10563 | PyObject * obj1 = 0 ; | |
10564 | char *kwnames[] = { | |
10565 | (char *) "parent",(char *) "flags", NULL | |
10566 | }; | |
10567 | ||
10568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10569 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10570 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 10571 | if (obj1) { |
36ed4f51 RD |
10572 | { |
10573 | arg2 = (int)(SWIG_As_int(obj1)); | |
10574 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10575 | } | |
d55e5bfc RD |
10576 | } |
10577 | { | |
10578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10579 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
10580 | ||
10581 | wxPyEndAllowThreads(__tstate); | |
10582 | if (PyErr_Occurred()) SWIG_fail; | |
10583 | } | |
10584 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); | |
10585 | return resultobj; | |
10586 | fail: | |
10587 | return NULL; | |
10588 | } | |
10589 | ||
10590 | ||
c370783e | 10591 | static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10592 | PyObject *resultobj; |
10593 | wxPopupWindow *result; | |
10594 | char *kwnames[] = { | |
10595 | NULL | |
10596 | }; | |
10597 | ||
10598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
10599 | { | |
10600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10601 | result = (wxPopupWindow *)new wxPopupWindow(); | |
10602 | ||
10603 | wxPyEndAllowThreads(__tstate); | |
10604 | if (PyErr_Occurred()) SWIG_fail; | |
10605 | } | |
10606 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); | |
10607 | return resultobj; | |
10608 | fail: | |
10609 | return NULL; | |
10610 | } | |
10611 | ||
10612 | ||
c370783e | 10613 | static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10614 | PyObject *obj; |
10615 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10616 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
10617 | Py_INCREF(obj); | |
10618 | return Py_BuildValue((char *)""); | |
10619 | } | |
c370783e | 10620 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10621 | PyObject *resultobj; |
10622 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10623 | int arg2 = (int) wxBORDER_NONE ; | |
10624 | wxPyPopupTransientWindow *result; | |
10625 | PyObject * obj0 = 0 ; | |
10626 | PyObject * obj1 = 0 ; | |
10627 | char *kwnames[] = { | |
10628 | (char *) "parent",(char *) "style", NULL | |
10629 | }; | |
10630 | ||
10631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10632 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10633 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 10634 | if (obj1) { |
36ed4f51 RD |
10635 | { |
10636 | arg2 = (int)(SWIG_As_int(obj1)); | |
10637 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10638 | } | |
d55e5bfc RD |
10639 | } |
10640 | { | |
10641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10642 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
10643 | ||
10644 | wxPyEndAllowThreads(__tstate); | |
10645 | if (PyErr_Occurred()) SWIG_fail; | |
10646 | } | |
10647 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
10648 | return resultobj; | |
10649 | fail: | |
10650 | return NULL; | |
10651 | } | |
10652 | ||
10653 | ||
c370783e | 10654 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10655 | PyObject *resultobj; |
10656 | wxPyPopupTransientWindow *result; | |
10657 | char *kwnames[] = { | |
10658 | NULL | |
10659 | }; | |
10660 | ||
10661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
10662 | { | |
10663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10664 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
10665 | ||
10666 | wxPyEndAllowThreads(__tstate); | |
10667 | if (PyErr_Occurred()) SWIG_fail; | |
10668 | } | |
10669 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
10670 | return resultobj; | |
10671 | fail: | |
10672 | return NULL; | |
10673 | } | |
10674 | ||
10675 | ||
c370783e | 10676 | static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10677 | PyObject *obj; |
10678 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10679 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
10680 | Py_INCREF(obj); | |
10681 | return Py_BuildValue((char *)""); | |
10682 | } | |
c370783e | 10683 | static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10684 | PyObject *resultobj; |
10685 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10686 | wxString *arg2 = 0 ; | |
10687 | int arg3 = (int) 100 ; | |
10688 | wxRect *arg4 = (wxRect *) NULL ; | |
10689 | wxTipWindow *result; | |
b411df4a | 10690 | bool temp2 = false ; |
d55e5bfc RD |
10691 | PyObject * obj0 = 0 ; |
10692 | PyObject * obj1 = 0 ; | |
10693 | PyObject * obj2 = 0 ; | |
10694 | PyObject * obj3 = 0 ; | |
10695 | char *kwnames[] = { | |
10696 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
10697 | }; | |
10698 | ||
10699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
10700 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10701 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10702 | { |
10703 | arg2 = wxString_in_helper(obj1); | |
10704 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 10705 | temp2 = true; |
d55e5bfc RD |
10706 | } |
10707 | if (obj2) { | |
36ed4f51 RD |
10708 | { |
10709 | arg3 = (int)(SWIG_As_int(obj2)); | |
10710 | if (SWIG_arg_fail(3)) SWIG_fail; | |
10711 | } | |
d55e5bfc RD |
10712 | } |
10713 | if (obj3) { | |
36ed4f51 RD |
10714 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); |
10715 | if (SWIG_arg_fail(4)) SWIG_fail; | |
d55e5bfc RD |
10716 | } |
10717 | { | |
0439c23b | 10718 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10720 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); | |
10721 | ||
10722 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10723 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10724 | } |
10725 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); | |
10726 | { | |
10727 | if (temp2) | |
10728 | delete arg2; | |
10729 | } | |
10730 | return resultobj; | |
10731 | fail: | |
10732 | { | |
10733 | if (temp2) | |
10734 | delete arg2; | |
10735 | } | |
10736 | return NULL; | |
10737 | } | |
10738 | ||
10739 | ||
c370783e | 10740 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10741 | PyObject *resultobj; |
10742 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
10743 | wxRect *arg2 = 0 ; | |
10744 | wxRect temp2 ; | |
10745 | PyObject * obj0 = 0 ; | |
10746 | PyObject * obj1 = 0 ; | |
10747 | char *kwnames[] = { | |
10748 | (char *) "self",(char *) "rectBound", NULL | |
10749 | }; | |
10750 | ||
10751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10752 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0); |
10753 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10754 | { |
10755 | arg2 = &temp2; | |
10756 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
10757 | } | |
10758 | { | |
10759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10760 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
10761 | ||
10762 | wxPyEndAllowThreads(__tstate); | |
10763 | if (PyErr_Occurred()) SWIG_fail; | |
10764 | } | |
10765 | Py_INCREF(Py_None); resultobj = Py_None; | |
10766 | return resultobj; | |
10767 | fail: | |
10768 | return NULL; | |
10769 | } | |
10770 | ||
10771 | ||
c370783e | 10772 | static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10773 | PyObject *resultobj; |
10774 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
10775 | PyObject * obj0 = 0 ; | |
10776 | char *kwnames[] = { | |
10777 | (char *) "self", NULL | |
10778 | }; | |
10779 | ||
10780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10781 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0); |
10782 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10783 | { |
10784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10785 | (arg1)->Close(); | |
10786 | ||
10787 | wxPyEndAllowThreads(__tstate); | |
10788 | if (PyErr_Occurred()) SWIG_fail; | |
10789 | } | |
10790 | Py_INCREF(Py_None); resultobj = Py_None; | |
10791 | return resultobj; | |
10792 | fail: | |
10793 | return NULL; | |
10794 | } | |
10795 | ||
10796 | ||
c370783e | 10797 | static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10798 | PyObject *obj; |
10799 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10800 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
10801 | Py_INCREF(obj); | |
10802 | return Py_BuildValue((char *)""); | |
10803 | } | |
c370783e | 10804 | static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10805 | PyObject *resultobj; |
10806 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10807 | int arg2 = (int) wxID_ANY ; | |
10808 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
10809 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10810 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10811 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10812 | long arg5 = (long) 0 ; | |
10813 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
10814 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10815 | wxPyVScrolledWindow *result; | |
10816 | wxPoint temp3 ; | |
10817 | wxSize temp4 ; | |
b411df4a | 10818 | bool temp6 = false ; |
d55e5bfc RD |
10819 | PyObject * obj0 = 0 ; |
10820 | PyObject * obj1 = 0 ; | |
10821 | PyObject * obj2 = 0 ; | |
10822 | PyObject * obj3 = 0 ; | |
10823 | PyObject * obj4 = 0 ; | |
10824 | PyObject * obj5 = 0 ; | |
10825 | char *kwnames[] = { | |
10826 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10827 | }; | |
10828 | ||
10829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
10830 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10831 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 10832 | if (obj1) { |
36ed4f51 RD |
10833 | { |
10834 | arg2 = (int)(SWIG_As_int(obj1)); | |
10835 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10836 | } | |
d55e5bfc RD |
10837 | } |
10838 | if (obj2) { | |
10839 | { | |
10840 | arg3 = &temp3; | |
10841 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10842 | } | |
10843 | } | |
10844 | if (obj3) { | |
10845 | { | |
10846 | arg4 = &temp4; | |
10847 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10848 | } | |
10849 | } | |
10850 | if (obj4) { | |
36ed4f51 RD |
10851 | { |
10852 | arg5 = (long)(SWIG_As_long(obj4)); | |
10853 | if (SWIG_arg_fail(5)) SWIG_fail; | |
10854 | } | |
d55e5bfc RD |
10855 | } |
10856 | if (obj5) { | |
10857 | { | |
10858 | arg6 = wxString_in_helper(obj5); | |
10859 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 10860 | temp6 = true; |
d55e5bfc RD |
10861 | } |
10862 | } | |
10863 | { | |
0439c23b | 10864 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10866 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10867 | ||
10868 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10869 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10870 | } |
10871 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
10872 | { | |
10873 | if (temp6) | |
10874 | delete arg6; | |
10875 | } | |
10876 | return resultobj; | |
10877 | fail: | |
10878 | { | |
10879 | if (temp6) | |
10880 | delete arg6; | |
10881 | } | |
10882 | return NULL; | |
10883 | } | |
10884 | ||
10885 | ||
c370783e | 10886 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10887 | PyObject *resultobj; |
10888 | wxPyVScrolledWindow *result; | |
10889 | char *kwnames[] = { | |
10890 | NULL | |
10891 | }; | |
10892 | ||
10893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
10894 | { | |
0439c23b | 10895 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10897 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
10898 | ||
10899 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10900 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10901 | } |
10902 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
10903 | return resultobj; | |
10904 | fail: | |
10905 | return NULL; | |
10906 | } | |
10907 | ||
10908 | ||
c370783e | 10909 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10910 | PyObject *resultobj; |
10911 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
10912 | PyObject *arg2 = (PyObject *) 0 ; | |
10913 | PyObject *arg3 = (PyObject *) 0 ; | |
10914 | PyObject * obj0 = 0 ; | |
10915 | PyObject * obj1 = 0 ; | |
10916 | PyObject * obj2 = 0 ; | |
10917 | char *kwnames[] = { | |
10918 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10919 | }; | |
10920 | ||
10921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
10922 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
10923 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10924 | arg2 = obj1; |
10925 | arg3 = obj2; | |
10926 | { | |
10927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10928 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10929 | ||
10930 | wxPyEndAllowThreads(__tstate); | |
10931 | if (PyErr_Occurred()) SWIG_fail; | |
10932 | } | |
10933 | Py_INCREF(Py_None); resultobj = Py_None; | |
10934 | return resultobj; | |
10935 | fail: | |
10936 | return NULL; | |
10937 | } | |
10938 | ||
10939 | ||
c370783e | 10940 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10941 | PyObject *resultobj; |
10942 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
10943 | wxWindow *arg2 = (wxWindow *) 0 ; | |
10944 | int arg3 = (int) wxID_ANY ; | |
10945 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
10946 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10947 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10948 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10949 | long arg6 = (long) 0 ; | |
10950 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
10951 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10952 | bool result; | |
10953 | wxPoint temp4 ; | |
10954 | wxSize temp5 ; | |
b411df4a | 10955 | bool temp7 = false ; |
d55e5bfc RD |
10956 | PyObject * obj0 = 0 ; |
10957 | PyObject * obj1 = 0 ; | |
10958 | PyObject * obj2 = 0 ; | |
10959 | PyObject * obj3 = 0 ; | |
10960 | PyObject * obj4 = 0 ; | |
10961 | PyObject * obj5 = 0 ; | |
10962 | PyObject * obj6 = 0 ; | |
10963 | char *kwnames[] = { | |
10964 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10965 | }; | |
10966 | ||
10967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
10968 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
10969 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10970 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
10971 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 10972 | if (obj2) { |
36ed4f51 RD |
10973 | { |
10974 | arg3 = (int)(SWIG_As_int(obj2)); | |
10975 | if (SWIG_arg_fail(3)) SWIG_fail; | |
10976 | } | |
d55e5bfc RD |
10977 | } |
10978 | if (obj3) { | |
10979 | { | |
10980 | arg4 = &temp4; | |
10981 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10982 | } | |
10983 | } | |
10984 | if (obj4) { | |
10985 | { | |
10986 | arg5 = &temp5; | |
10987 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10988 | } | |
10989 | } | |
10990 | if (obj5) { | |
36ed4f51 RD |
10991 | { |
10992 | arg6 = (long)(SWIG_As_long(obj5)); | |
10993 | if (SWIG_arg_fail(6)) SWIG_fail; | |
10994 | } | |
d55e5bfc RD |
10995 | } |
10996 | if (obj6) { | |
10997 | { | |
10998 | arg7 = wxString_in_helper(obj6); | |
10999 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 11000 | temp7 = true; |
d55e5bfc RD |
11001 | } |
11002 | } | |
11003 | { | |
11004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11005 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
11006 | ||
11007 | wxPyEndAllowThreads(__tstate); | |
11008 | if (PyErr_Occurred()) SWIG_fail; | |
11009 | } | |
11010 | { | |
11011 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11012 | } | |
11013 | { | |
11014 | if (temp7) | |
11015 | delete arg7; | |
11016 | } | |
11017 | return resultobj; | |
11018 | fail: | |
11019 | { | |
11020 | if (temp7) | |
11021 | delete arg7; | |
11022 | } | |
11023 | return NULL; | |
11024 | } | |
11025 | ||
11026 | ||
c370783e | 11027 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11028 | PyObject *resultobj; |
11029 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11030 | size_t arg2 ; | |
11031 | PyObject * obj0 = 0 ; | |
11032 | PyObject * obj1 = 0 ; | |
11033 | char *kwnames[] = { | |
11034 | (char *) "self",(char *) "count", NULL | |
11035 | }; | |
11036 | ||
11037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11038 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11039 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11040 | { | |
11041 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11042 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11043 | } | |
d55e5bfc RD |
11044 | { |
11045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11046 | (arg1)->SetLineCount(arg2); | |
11047 | ||
11048 | wxPyEndAllowThreads(__tstate); | |
11049 | if (PyErr_Occurred()) SWIG_fail; | |
11050 | } | |
11051 | Py_INCREF(Py_None); resultobj = Py_None; | |
11052 | return resultobj; | |
11053 | fail: | |
11054 | return NULL; | |
11055 | } | |
11056 | ||
11057 | ||
c370783e | 11058 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11059 | PyObject *resultobj; |
11060 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11061 | size_t arg2 ; | |
11062 | bool result; | |
11063 | PyObject * obj0 = 0 ; | |
11064 | PyObject * obj1 = 0 ; | |
11065 | char *kwnames[] = { | |
11066 | (char *) "self",(char *) "line", NULL | |
11067 | }; | |
11068 | ||
11069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11070 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11071 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11072 | { | |
11073 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11074 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11075 | } | |
d55e5bfc RD |
11076 | { |
11077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11078 | result = (bool)(arg1)->ScrollToLine(arg2); | |
11079 | ||
11080 | wxPyEndAllowThreads(__tstate); | |
11081 | if (PyErr_Occurred()) SWIG_fail; | |
11082 | } | |
11083 | { | |
11084 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11085 | } | |
11086 | return resultobj; | |
11087 | fail: | |
11088 | return NULL; | |
11089 | } | |
11090 | ||
11091 | ||
c370783e | 11092 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11093 | PyObject *resultobj; |
11094 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11095 | int arg2 ; | |
11096 | bool result; | |
11097 | PyObject * obj0 = 0 ; | |
11098 | PyObject * obj1 = 0 ; | |
11099 | char *kwnames[] = { | |
11100 | (char *) "self",(char *) "lines", NULL | |
11101 | }; | |
11102 | ||
11103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11104 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11105 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11106 | { | |
11107 | arg2 = (int)(SWIG_As_int(obj1)); | |
11108 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11109 | } | |
d55e5bfc RD |
11110 | { |
11111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11112 | result = (bool)(arg1)->ScrollLines(arg2); | |
11113 | ||
11114 | wxPyEndAllowThreads(__tstate); | |
11115 | if (PyErr_Occurred()) SWIG_fail; | |
11116 | } | |
11117 | { | |
11118 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11119 | } | |
11120 | return resultobj; | |
11121 | fail: | |
11122 | return NULL; | |
11123 | } | |
11124 | ||
11125 | ||
c370783e | 11126 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11127 | PyObject *resultobj; |
11128 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11129 | int arg2 ; | |
11130 | bool result; | |
11131 | PyObject * obj0 = 0 ; | |
11132 | PyObject * obj1 = 0 ; | |
11133 | char *kwnames[] = { | |
11134 | (char *) "self",(char *) "pages", NULL | |
11135 | }; | |
11136 | ||
11137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11138 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11139 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11140 | { | |
11141 | arg2 = (int)(SWIG_As_int(obj1)); | |
11142 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11143 | } | |
d55e5bfc RD |
11144 | { |
11145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11146 | result = (bool)(arg1)->ScrollPages(arg2); | |
11147 | ||
11148 | wxPyEndAllowThreads(__tstate); | |
11149 | if (PyErr_Occurred()) SWIG_fail; | |
11150 | } | |
11151 | { | |
11152 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11153 | } | |
11154 | return resultobj; | |
11155 | fail: | |
11156 | return NULL; | |
11157 | } | |
11158 | ||
11159 | ||
c370783e | 11160 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11161 | PyObject *resultobj; |
11162 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11163 | size_t arg2 ; | |
11164 | PyObject * obj0 = 0 ; | |
11165 | PyObject * obj1 = 0 ; | |
11166 | char *kwnames[] = { | |
11167 | (char *) "self",(char *) "line", NULL | |
11168 | }; | |
11169 | ||
11170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11171 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11172 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11173 | { | |
11174 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11175 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11176 | } | |
d55e5bfc RD |
11177 | { |
11178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11179 | (arg1)->RefreshLine(arg2); | |
11180 | ||
11181 | wxPyEndAllowThreads(__tstate); | |
11182 | if (PyErr_Occurred()) SWIG_fail; | |
11183 | } | |
11184 | Py_INCREF(Py_None); resultobj = Py_None; | |
11185 | return resultobj; | |
11186 | fail: | |
11187 | return NULL; | |
11188 | } | |
11189 | ||
11190 | ||
c370783e | 11191 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11192 | PyObject *resultobj; |
11193 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11194 | size_t arg2 ; | |
11195 | size_t arg3 ; | |
11196 | PyObject * obj0 = 0 ; | |
11197 | PyObject * obj1 = 0 ; | |
11198 | PyObject * obj2 = 0 ; | |
11199 | char *kwnames[] = { | |
11200 | (char *) "self",(char *) "from",(char *) "to", NULL | |
11201 | }; | |
11202 | ||
11203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
11204 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11205 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11206 | { | |
11207 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11208 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11209 | } | |
11210 | { | |
11211 | arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); | |
11212 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11213 | } | |
d55e5bfc RD |
11214 | { |
11215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11216 | (arg1)->RefreshLines(arg2,arg3); | |
11217 | ||
11218 | wxPyEndAllowThreads(__tstate); | |
11219 | if (PyErr_Occurred()) SWIG_fail; | |
11220 | } | |
11221 | Py_INCREF(Py_None); resultobj = Py_None; | |
11222 | return resultobj; | |
11223 | fail: | |
11224 | return NULL; | |
11225 | } | |
11226 | ||
11227 | ||
c370783e | 11228 | static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11229 | PyObject *resultobj; |
11230 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11231 | int arg2 ; | |
11232 | int arg3 ; | |
11233 | int result; | |
11234 | PyObject * obj0 = 0 ; | |
11235 | PyObject * obj1 = 0 ; | |
11236 | PyObject * obj2 = 0 ; | |
11237 | char *kwnames[] = { | |
11238 | (char *) "self",(char *) "x",(char *) "y", NULL | |
11239 | }; | |
11240 | ||
03ee685a | 11241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
36ed4f51 RD |
11242 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11243 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11244 | { | |
11245 | arg2 = (int)(SWIG_As_int(obj1)); | |
11246 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11247 | } | |
11248 | { | |
11249 | arg3 = (int)(SWIG_As_int(obj2)); | |
11250 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11251 | } | |
d55e5bfc RD |
11252 | { |
11253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11254 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
11255 | ||
11256 | wxPyEndAllowThreads(__tstate); | |
11257 | if (PyErr_Occurred()) SWIG_fail; | |
11258 | } | |
36ed4f51 RD |
11259 | { |
11260 | resultobj = SWIG_From_int((int)(result)); | |
11261 | } | |
d55e5bfc RD |
11262 | return resultobj; |
11263 | fail: | |
11264 | return NULL; | |
11265 | } | |
11266 | ||
11267 | ||
c370783e | 11268 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11269 | PyObject *resultobj; |
11270 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11271 | wxPoint *arg2 = 0 ; | |
11272 | int result; | |
11273 | wxPoint temp2 ; | |
11274 | PyObject * obj0 = 0 ; | |
11275 | PyObject * obj1 = 0 ; | |
11276 | char *kwnames[] = { | |
11277 | (char *) "self",(char *) "pt", NULL | |
11278 | }; | |
11279 | ||
11280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11281 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11282 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11283 | { |
11284 | arg2 = &temp2; | |
11285 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
11286 | } | |
11287 | { | |
11288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11289 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
11290 | ||
11291 | wxPyEndAllowThreads(__tstate); | |
11292 | if (PyErr_Occurred()) SWIG_fail; | |
11293 | } | |
36ed4f51 RD |
11294 | { |
11295 | resultobj = SWIG_From_int((int)(result)); | |
11296 | } | |
d55e5bfc RD |
11297 | return resultobj; |
11298 | fail: | |
11299 | return NULL; | |
11300 | } | |
11301 | ||
11302 | ||
c370783e | 11303 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11304 | PyObject *resultobj; |
11305 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11306 | PyObject * obj0 = 0 ; | |
11307 | char *kwnames[] = { | |
11308 | (char *) "self", NULL | |
11309 | }; | |
11310 | ||
11311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11312 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11313 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11314 | { |
11315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11316 | (arg1)->RefreshAll(); | |
11317 | ||
11318 | wxPyEndAllowThreads(__tstate); | |
11319 | if (PyErr_Occurred()) SWIG_fail; | |
11320 | } | |
11321 | Py_INCREF(Py_None); resultobj = Py_None; | |
11322 | return resultobj; | |
11323 | fail: | |
11324 | return NULL; | |
11325 | } | |
11326 | ||
11327 | ||
c370783e | 11328 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11329 | PyObject *resultobj; |
11330 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11331 | size_t result; | |
11332 | PyObject * obj0 = 0 ; | |
11333 | char *kwnames[] = { | |
11334 | (char *) "self", NULL | |
11335 | }; | |
11336 | ||
11337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11338 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11339 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11340 | { |
11341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11342 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
11343 | ||
11344 | wxPyEndAllowThreads(__tstate); | |
11345 | if (PyErr_Occurred()) SWIG_fail; | |
11346 | } | |
36ed4f51 RD |
11347 | { |
11348 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11349 | } | |
d55e5bfc RD |
11350 | return resultobj; |
11351 | fail: | |
11352 | return NULL; | |
11353 | } | |
11354 | ||
11355 | ||
c370783e | 11356 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11357 | PyObject *resultobj; |
11358 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11359 | size_t result; | |
11360 | PyObject * obj0 = 0 ; | |
11361 | char *kwnames[] = { | |
11362 | (char *) "self", NULL | |
11363 | }; | |
11364 | ||
11365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11366 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11367 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11368 | { |
11369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11370 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
11371 | ||
11372 | wxPyEndAllowThreads(__tstate); | |
11373 | if (PyErr_Occurred()) SWIG_fail; | |
11374 | } | |
36ed4f51 RD |
11375 | { |
11376 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11377 | } | |
d55e5bfc RD |
11378 | return resultobj; |
11379 | fail: | |
11380 | return NULL; | |
11381 | } | |
11382 | ||
11383 | ||
c370783e | 11384 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11385 | PyObject *resultobj; |
11386 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11387 | size_t result; | |
11388 | PyObject * obj0 = 0 ; | |
11389 | char *kwnames[] = { | |
11390 | (char *) "self", NULL | |
11391 | }; | |
11392 | ||
11393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11394 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11395 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11396 | { |
11397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11398 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
11399 | ||
11400 | wxPyEndAllowThreads(__tstate); | |
11401 | if (PyErr_Occurred()) SWIG_fail; | |
11402 | } | |
36ed4f51 RD |
11403 | { |
11404 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11405 | } | |
d55e5bfc RD |
11406 | return resultobj; |
11407 | fail: | |
11408 | return NULL; | |
11409 | } | |
11410 | ||
11411 | ||
c370783e | 11412 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11413 | PyObject *resultobj; |
11414 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11415 | size_t arg2 ; | |
11416 | bool result; | |
11417 | PyObject * obj0 = 0 ; | |
11418 | PyObject * obj1 = 0 ; | |
11419 | char *kwnames[] = { | |
11420 | (char *) "self",(char *) "line", NULL | |
11421 | }; | |
11422 | ||
11423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11424 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11425 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11426 | { | |
11427 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11428 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11429 | } | |
d55e5bfc RD |
11430 | { |
11431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11432 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
11433 | ||
11434 | wxPyEndAllowThreads(__tstate); | |
11435 | if (PyErr_Occurred()) SWIG_fail; | |
11436 | } | |
11437 | { | |
11438 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11439 | } | |
11440 | return resultobj; | |
11441 | fail: | |
11442 | return NULL; | |
11443 | } | |
11444 | ||
11445 | ||
c370783e | 11446 | static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
11447 | PyObject *obj; |
11448 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11449 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
11450 | Py_INCREF(obj); | |
11451 | return Py_BuildValue((char *)""); | |
11452 | } | |
c370783e | 11453 | static int _wrap_VListBoxNameStr_set(PyObject *) { |
d55e5bfc RD |
11454 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); |
11455 | return 1; | |
11456 | } | |
11457 | ||
11458 | ||
36ed4f51 | 11459 | static PyObject *_wrap_VListBoxNameStr_get(void) { |
d55e5bfc RD |
11460 | PyObject *pyobj; |
11461 | ||
11462 | { | |
11463 | #if wxUSE_UNICODE | |
11464 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
11465 | #else | |
11466 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
11467 | #endif | |
11468 | } | |
11469 | return pyobj; | |
11470 | } | |
11471 | ||
11472 | ||
c370783e | 11473 | static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11474 | PyObject *resultobj; |
11475 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11476 | int arg2 = (int) wxID_ANY ; | |
11477 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
11478 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
11479 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
11480 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
11481 | long arg5 = (long) 0 ; | |
11482 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
11483 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
11484 | wxPyVListBox *result; | |
11485 | wxPoint temp3 ; | |
11486 | wxSize temp4 ; | |
b411df4a | 11487 | bool temp6 = false ; |
d55e5bfc RD |
11488 | PyObject * obj0 = 0 ; |
11489 | PyObject * obj1 = 0 ; | |
11490 | PyObject * obj2 = 0 ; | |
11491 | PyObject * obj3 = 0 ; | |
11492 | PyObject * obj4 = 0 ; | |
11493 | PyObject * obj5 = 0 ; | |
11494 | char *kwnames[] = { | |
11495 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11496 | }; | |
11497 | ||
11498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
11499 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
11500 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 11501 | if (obj1) { |
36ed4f51 RD |
11502 | { |
11503 | arg2 = (int)(SWIG_As_int(obj1)); | |
11504 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11505 | } | |
d55e5bfc RD |
11506 | } |
11507 | if (obj2) { | |
11508 | { | |
11509 | arg3 = &temp3; | |
11510 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
11511 | } | |
11512 | } | |
11513 | if (obj3) { | |
11514 | { | |
11515 | arg4 = &temp4; | |
11516 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
11517 | } | |
11518 | } | |
11519 | if (obj4) { | |
36ed4f51 RD |
11520 | { |
11521 | arg5 = (long)(SWIG_As_long(obj4)); | |
11522 | if (SWIG_arg_fail(5)) SWIG_fail; | |
11523 | } | |
d55e5bfc RD |
11524 | } |
11525 | if (obj5) { | |
11526 | { | |
11527 | arg6 = wxString_in_helper(obj5); | |
11528 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 11529 | temp6 = true; |
d55e5bfc RD |
11530 | } |
11531 | } | |
11532 | { | |
0439c23b | 11533 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
11534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11535 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
11536 | ||
11537 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11538 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
11539 | } |
11540 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); | |
11541 | { | |
11542 | if (temp6) | |
11543 | delete arg6; | |
11544 | } | |
11545 | return resultobj; | |
11546 | fail: | |
11547 | { | |
11548 | if (temp6) | |
11549 | delete arg6; | |
11550 | } | |
11551 | return NULL; | |
11552 | } | |
11553 | ||
11554 | ||
c370783e | 11555 | static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11556 | PyObject *resultobj; |
11557 | wxPyVListBox *result; | |
11558 | char *kwnames[] = { | |
11559 | NULL | |
11560 | }; | |
11561 | ||
11562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
11563 | { | |
0439c23b | 11564 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
11565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11566 | result = (wxPyVListBox *)new wxPyVListBox(); | |
11567 | ||
11568 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11569 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
11570 | } |
11571 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); | |
11572 | return resultobj; | |
11573 | fail: | |
11574 | return NULL; | |
11575 | } | |
11576 | ||
11577 | ||
c370783e | 11578 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11579 | PyObject *resultobj; |
11580 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11581 | PyObject *arg2 = (PyObject *) 0 ; | |
11582 | PyObject *arg3 = (PyObject *) 0 ; | |
11583 | PyObject * obj0 = 0 ; | |
11584 | PyObject * obj1 = 0 ; | |
11585 | PyObject * obj2 = 0 ; | |
11586 | char *kwnames[] = { | |
11587 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
11588 | }; | |
11589 | ||
11590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
11591 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11592 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11593 | arg2 = obj1; |
11594 | arg3 = obj2; | |
11595 | { | |
11596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11597 | (arg1)->_setCallbackInfo(arg2,arg3); | |
11598 | ||
11599 | wxPyEndAllowThreads(__tstate); | |
11600 | if (PyErr_Occurred()) SWIG_fail; | |
11601 | } | |
11602 | Py_INCREF(Py_None); resultobj = Py_None; | |
11603 | return resultobj; | |
11604 | fail: | |
11605 | return NULL; | |
11606 | } | |
11607 | ||
11608 | ||
c370783e | 11609 | static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11610 | PyObject *resultobj; |
11611 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11612 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11613 | int arg3 = (int) wxID_ANY ; | |
11614 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
11615 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
11616 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
11617 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
11618 | long arg6 = (long) 0 ; | |
11619 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
11620 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11621 | bool result; | |
11622 | wxPoint temp4 ; | |
11623 | wxSize temp5 ; | |
b411df4a | 11624 | bool temp7 = false ; |
d55e5bfc RD |
11625 | PyObject * obj0 = 0 ; |
11626 | PyObject * obj1 = 0 ; | |
11627 | PyObject * obj2 = 0 ; | |
11628 | PyObject * obj3 = 0 ; | |
11629 | PyObject * obj4 = 0 ; | |
11630 | PyObject * obj5 = 0 ; | |
11631 | PyObject * obj6 = 0 ; | |
11632 | char *kwnames[] = { | |
11633 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11634 | }; | |
11635 | ||
11636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
11637 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11638 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11639 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
11640 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 11641 | if (obj2) { |
36ed4f51 RD |
11642 | { |
11643 | arg3 = (int)(SWIG_As_int(obj2)); | |
11644 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11645 | } | |
d55e5bfc RD |
11646 | } |
11647 | if (obj3) { | |
11648 | { | |
11649 | arg4 = &temp4; | |
11650 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
11651 | } | |
11652 | } | |
11653 | if (obj4) { | |
11654 | { | |
11655 | arg5 = &temp5; | |
11656 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
11657 | } | |
11658 | } | |
11659 | if (obj5) { | |
36ed4f51 RD |
11660 | { |
11661 | arg6 = (long)(SWIG_As_long(obj5)); | |
11662 | if (SWIG_arg_fail(6)) SWIG_fail; | |
11663 | } | |
d55e5bfc RD |
11664 | } |
11665 | if (obj6) { | |
11666 | { | |
11667 | arg7 = wxString_in_helper(obj6); | |
11668 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 11669 | temp7 = true; |
d55e5bfc RD |
11670 | } |
11671 | } | |
11672 | { | |
11673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11674 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
11675 | ||
11676 | wxPyEndAllowThreads(__tstate); | |
11677 | if (PyErr_Occurred()) SWIG_fail; | |
11678 | } | |
11679 | { | |
11680 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11681 | } | |
11682 | { | |
11683 | if (temp7) | |
11684 | delete arg7; | |
11685 | } | |
11686 | return resultobj; | |
11687 | fail: | |
11688 | { | |
11689 | if (temp7) | |
11690 | delete arg7; | |
11691 | } | |
11692 | return NULL; | |
11693 | } | |
11694 | ||
11695 | ||
c370783e | 11696 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11697 | PyObject *resultobj; |
11698 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11699 | size_t result; | |
11700 | PyObject * obj0 = 0 ; | |
11701 | char *kwnames[] = { | |
11702 | (char *) "self", NULL | |
11703 | }; | |
11704 | ||
11705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11706 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11707 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11708 | { |
11709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11710 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
11711 | ||
11712 | wxPyEndAllowThreads(__tstate); | |
11713 | if (PyErr_Occurred()) SWIG_fail; | |
11714 | } | |
36ed4f51 RD |
11715 | { |
11716 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11717 | } | |
d55e5bfc RD |
11718 | return resultobj; |
11719 | fail: | |
11720 | return NULL; | |
11721 | } | |
11722 | ||
11723 | ||
c370783e | 11724 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11725 | PyObject *resultobj; |
11726 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11727 | bool result; | |
11728 | PyObject * obj0 = 0 ; | |
11729 | char *kwnames[] = { | |
11730 | (char *) "self", NULL | |
11731 | }; | |
11732 | ||
11733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11734 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11735 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11736 | { |
11737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11738 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
11739 | ||
11740 | wxPyEndAllowThreads(__tstate); | |
11741 | if (PyErr_Occurred()) SWIG_fail; | |
11742 | } | |
11743 | { | |
11744 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11745 | } | |
11746 | return resultobj; | |
11747 | fail: | |
11748 | return NULL; | |
11749 | } | |
11750 | ||
11751 | ||
c370783e | 11752 | static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11753 | PyObject *resultobj; |
11754 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11755 | int result; | |
11756 | PyObject * obj0 = 0 ; | |
11757 | char *kwnames[] = { | |
11758 | (char *) "self", NULL | |
11759 | }; | |
11760 | ||
11761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11762 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11763 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11764 | { |
11765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11766 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
11767 | ||
11768 | wxPyEndAllowThreads(__tstate); | |
11769 | if (PyErr_Occurred()) SWIG_fail; | |
11770 | } | |
36ed4f51 RD |
11771 | { |
11772 | resultobj = SWIG_From_int((int)(result)); | |
11773 | } | |
d55e5bfc RD |
11774 | return resultobj; |
11775 | fail: | |
11776 | return NULL; | |
11777 | } | |
11778 | ||
11779 | ||
c370783e | 11780 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11781 | PyObject *resultobj; |
11782 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11783 | size_t arg2 ; | |
11784 | bool result; | |
11785 | PyObject * obj0 = 0 ; | |
11786 | PyObject * obj1 = 0 ; | |
11787 | char *kwnames[] = { | |
11788 | (char *) "self",(char *) "item", NULL | |
11789 | }; | |
11790 | ||
11791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11792 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11793 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11794 | { | |
11795 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11796 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11797 | } | |
d55e5bfc RD |
11798 | { |
11799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11800 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
11801 | ||
11802 | wxPyEndAllowThreads(__tstate); | |
11803 | if (PyErr_Occurred()) SWIG_fail; | |
11804 | } | |
11805 | { | |
11806 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11807 | } | |
11808 | return resultobj; | |
11809 | fail: | |
11810 | return NULL; | |
11811 | } | |
11812 | ||
11813 | ||
c370783e | 11814 | static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11815 | PyObject *resultobj; |
11816 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11817 | size_t arg2 ; | |
11818 | bool result; | |
11819 | PyObject * obj0 = 0 ; | |
11820 | PyObject * obj1 = 0 ; | |
11821 | char *kwnames[] = { | |
11822 | (char *) "self",(char *) "item", NULL | |
11823 | }; | |
11824 | ||
11825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11826 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11827 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11828 | { | |
11829 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11830 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11831 | } | |
d55e5bfc RD |
11832 | { |
11833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11834 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
11835 | ||
11836 | wxPyEndAllowThreads(__tstate); | |
11837 | if (PyErr_Occurred()) SWIG_fail; | |
11838 | } | |
11839 | { | |
11840 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11841 | } | |
11842 | return resultobj; | |
11843 | fail: | |
11844 | return NULL; | |
11845 | } | |
11846 | ||
11847 | ||
c370783e | 11848 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11849 | PyObject *resultobj; |
11850 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11851 | size_t result; | |
11852 | PyObject * obj0 = 0 ; | |
11853 | char *kwnames[] = { | |
11854 | (char *) "self", NULL | |
11855 | }; | |
11856 | ||
11857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11858 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11859 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11860 | { |
11861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11862 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
11863 | ||
11864 | wxPyEndAllowThreads(__tstate); | |
11865 | if (PyErr_Occurred()) SWIG_fail; | |
11866 | } | |
36ed4f51 RD |
11867 | { |
11868 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11869 | } | |
d55e5bfc RD |
11870 | return resultobj; |
11871 | fail: | |
11872 | return NULL; | |
11873 | } | |
11874 | ||
11875 | ||
c370783e | 11876 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11877 | PyObject *resultobj; |
11878 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b | 11879 | PyObject *result; |
d55e5bfc | 11880 | PyObject * obj0 = 0 ; |
d55e5bfc | 11881 | char *kwnames[] = { |
09c21d3b | 11882 | (char *) "self", NULL |
d55e5bfc RD |
11883 | }; |
11884 | ||
09c21d3b | 11885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
11886 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11887 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11888 | { |
11889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 11890 | result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1); |
d55e5bfc RD |
11891 | |
11892 | wxPyEndAllowThreads(__tstate); | |
11893 | if (PyErr_Occurred()) SWIG_fail; | |
11894 | } | |
09c21d3b | 11895 | resultobj = result; |
d55e5bfc RD |
11896 | return resultobj; |
11897 | fail: | |
11898 | return NULL; | |
11899 | } | |
11900 | ||
11901 | ||
c370783e | 11902 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11903 | PyObject *resultobj; |
11904 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b RD |
11905 | unsigned long arg2 ; |
11906 | PyObject *result; | |
d55e5bfc RD |
11907 | PyObject * obj0 = 0 ; |
11908 | PyObject * obj1 = 0 ; | |
11909 | char *kwnames[] = { | |
11910 | (char *) "self",(char *) "cookie", NULL | |
11911 | }; | |
11912 | ||
11913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11914 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11915 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11916 | { | |
11917 | arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1)); | |
11918 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11919 | } | |
d55e5bfc RD |
11920 | { |
11921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 11922 | result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2); |
d55e5bfc RD |
11923 | |
11924 | wxPyEndAllowThreads(__tstate); | |
11925 | if (PyErr_Occurred()) SWIG_fail; | |
11926 | } | |
09c21d3b | 11927 | resultobj = result; |
d55e5bfc RD |
11928 | return resultobj; |
11929 | fail: | |
11930 | return NULL; | |
11931 | } | |
11932 | ||
11933 | ||
c370783e | 11934 | static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11935 | PyObject *resultobj; |
11936 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11937 | wxPoint result; | |
11938 | PyObject * obj0 = 0 ; | |
11939 | char *kwnames[] = { | |
11940 | (char *) "self", NULL | |
11941 | }; | |
11942 | ||
11943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11944 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11945 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11946 | { |
11947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11948 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
11949 | ||
11950 | wxPyEndAllowThreads(__tstate); | |
11951 | if (PyErr_Occurred()) SWIG_fail; | |
11952 | } | |
11953 | { | |
11954 | wxPoint * resultptr; | |
36ed4f51 | 11955 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
11956 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
11957 | } | |
11958 | return resultobj; | |
11959 | fail: | |
11960 | return NULL; | |
11961 | } | |
11962 | ||
11963 | ||
c370783e | 11964 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11965 | PyObject *resultobj; |
11966 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11967 | wxColour *result; | |
11968 | PyObject * obj0 = 0 ; | |
11969 | char *kwnames[] = { | |
11970 | (char *) "self", NULL | |
11971 | }; | |
11972 | ||
11973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11974 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11975 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11976 | { |
11977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11978 | { | |
11979 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
11980 | result = (wxColour *) &_result_ref; | |
11981 | } | |
11982 | ||
11983 | wxPyEndAllowThreads(__tstate); | |
11984 | if (PyErr_Occurred()) SWIG_fail; | |
11985 | } | |
11986 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); | |
11987 | return resultobj; | |
11988 | fail: | |
11989 | return NULL; | |
11990 | } | |
11991 | ||
11992 | ||
c370783e | 11993 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11994 | PyObject *resultobj; |
11995 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11996 | size_t arg2 ; | |
11997 | PyObject * obj0 = 0 ; | |
11998 | PyObject * obj1 = 0 ; | |
11999 | char *kwnames[] = { | |
12000 | (char *) "self",(char *) "count", NULL | |
12001 | }; | |
12002 | ||
12003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12004 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12005 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12006 | { | |
12007 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12008 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12009 | } | |
d55e5bfc RD |
12010 | { |
12011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12012 | (arg1)->SetItemCount(arg2); | |
12013 | ||
12014 | wxPyEndAllowThreads(__tstate); | |
12015 | if (PyErr_Occurred()) SWIG_fail; | |
12016 | } | |
12017 | Py_INCREF(Py_None); resultobj = Py_None; | |
12018 | return resultobj; | |
12019 | fail: | |
12020 | return NULL; | |
12021 | } | |
12022 | ||
12023 | ||
c370783e | 12024 | static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12025 | PyObject *resultobj; |
12026 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12027 | PyObject * obj0 = 0 ; | |
12028 | char *kwnames[] = { | |
12029 | (char *) "self", NULL | |
12030 | }; | |
12031 | ||
12032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12033 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12034 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12035 | { |
12036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12037 | (arg1)->Clear(); | |
12038 | ||
12039 | wxPyEndAllowThreads(__tstate); | |
12040 | if (PyErr_Occurred()) SWIG_fail; | |
12041 | } | |
12042 | Py_INCREF(Py_None); resultobj = Py_None; | |
12043 | return resultobj; | |
12044 | fail: | |
12045 | return NULL; | |
12046 | } | |
12047 | ||
12048 | ||
c370783e | 12049 | static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12050 | PyObject *resultobj; |
12051 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12052 | int arg2 ; | |
12053 | PyObject * obj0 = 0 ; | |
12054 | PyObject * obj1 = 0 ; | |
12055 | char *kwnames[] = { | |
12056 | (char *) "self",(char *) "selection", NULL | |
12057 | }; | |
12058 | ||
12059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12060 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12061 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12062 | { | |
12063 | arg2 = (int)(SWIG_As_int(obj1)); | |
12064 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12065 | } | |
d55e5bfc RD |
12066 | { |
12067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12068 | (arg1)->SetSelection(arg2); | |
12069 | ||
12070 | wxPyEndAllowThreads(__tstate); | |
12071 | if (PyErr_Occurred()) SWIG_fail; | |
12072 | } | |
12073 | Py_INCREF(Py_None); resultobj = Py_None; | |
12074 | return resultobj; | |
12075 | fail: | |
12076 | return NULL; | |
12077 | } | |
12078 | ||
12079 | ||
c370783e | 12080 | static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12081 | PyObject *resultobj; |
12082 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12083 | size_t arg2 ; | |
b411df4a | 12084 | bool arg3 = (bool) true ; |
d55e5bfc RD |
12085 | bool result; |
12086 | PyObject * obj0 = 0 ; | |
12087 | PyObject * obj1 = 0 ; | |
12088 | PyObject * obj2 = 0 ; | |
12089 | char *kwnames[] = { | |
12090 | (char *) "self",(char *) "item",(char *) "select", NULL | |
12091 | }; | |
12092 | ||
12093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
12094 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12095 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12096 | { | |
12097 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12098 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12099 | } | |
d55e5bfc | 12100 | if (obj2) { |
36ed4f51 RD |
12101 | { |
12102 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
12103 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12104 | } | |
d55e5bfc RD |
12105 | } |
12106 | { | |
12107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12108 | result = (bool)(arg1)->Select(arg2,arg3); | |
12109 | ||
12110 | wxPyEndAllowThreads(__tstate); | |
12111 | if (PyErr_Occurred()) SWIG_fail; | |
12112 | } | |
12113 | { | |
12114 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12115 | } | |
12116 | return resultobj; | |
12117 | fail: | |
12118 | return NULL; | |
12119 | } | |
12120 | ||
12121 | ||
c370783e | 12122 | static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12123 | PyObject *resultobj; |
12124 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12125 | size_t arg2 ; | |
12126 | size_t arg3 ; | |
12127 | bool result; | |
12128 | PyObject * obj0 = 0 ; | |
12129 | PyObject * obj1 = 0 ; | |
12130 | PyObject * obj2 = 0 ; | |
12131 | char *kwnames[] = { | |
12132 | (char *) "self",(char *) "from",(char *) "to", NULL | |
12133 | }; | |
12134 | ||
12135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
12136 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12137 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12138 | { | |
12139 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12140 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12141 | } | |
12142 | { | |
12143 | arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); | |
12144 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12145 | } | |
d55e5bfc RD |
12146 | { |
12147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12148 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
12149 | ||
12150 | wxPyEndAllowThreads(__tstate); | |
12151 | if (PyErr_Occurred()) SWIG_fail; | |
12152 | } | |
12153 | { | |
12154 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12155 | } | |
12156 | return resultobj; | |
12157 | fail: | |
12158 | return NULL; | |
12159 | } | |
12160 | ||
12161 | ||
c370783e | 12162 | static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12163 | PyObject *resultobj; |
12164 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12165 | size_t arg2 ; | |
12166 | PyObject * obj0 = 0 ; | |
12167 | PyObject * obj1 = 0 ; | |
12168 | char *kwnames[] = { | |
12169 | (char *) "self",(char *) "item", NULL | |
12170 | }; | |
12171 | ||
12172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12173 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12174 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12175 | { | |
12176 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12177 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12178 | } | |
d55e5bfc RD |
12179 | { |
12180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12181 | (arg1)->Toggle(arg2); | |
12182 | ||
12183 | wxPyEndAllowThreads(__tstate); | |
12184 | if (PyErr_Occurred()) SWIG_fail; | |
12185 | } | |
12186 | Py_INCREF(Py_None); resultobj = Py_None; | |
12187 | return resultobj; | |
12188 | fail: | |
12189 | return NULL; | |
12190 | } | |
12191 | ||
12192 | ||
c370783e | 12193 | static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12194 | PyObject *resultobj; |
12195 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12196 | bool result; | |
12197 | PyObject * obj0 = 0 ; | |
12198 | char *kwnames[] = { | |
12199 | (char *) "self", NULL | |
12200 | }; | |
12201 | ||
12202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12203 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12204 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12205 | { |
12206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12207 | result = (bool)(arg1)->SelectAll(); | |
12208 | ||
12209 | wxPyEndAllowThreads(__tstate); | |
12210 | if (PyErr_Occurred()) SWIG_fail; | |
12211 | } | |
12212 | { | |
12213 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12214 | } | |
12215 | return resultobj; | |
12216 | fail: | |
12217 | return NULL; | |
12218 | } | |
12219 | ||
12220 | ||
c370783e | 12221 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12222 | PyObject *resultobj; |
12223 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12224 | bool result; | |
12225 | PyObject * obj0 = 0 ; | |
12226 | char *kwnames[] = { | |
12227 | (char *) "self", NULL | |
12228 | }; | |
12229 | ||
12230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12231 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12232 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12233 | { |
12234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12235 | result = (bool)(arg1)->DeselectAll(); | |
12236 | ||
12237 | wxPyEndAllowThreads(__tstate); | |
12238 | if (PyErr_Occurred()) SWIG_fail; | |
12239 | } | |
12240 | { | |
12241 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12242 | } | |
12243 | return resultobj; | |
12244 | fail: | |
12245 | return NULL; | |
12246 | } | |
12247 | ||
12248 | ||
c370783e | 12249 | static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12250 | PyObject *resultobj; |
12251 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12252 | wxPoint *arg2 = 0 ; | |
12253 | wxPoint temp2 ; | |
12254 | PyObject * obj0 = 0 ; | |
12255 | PyObject * obj1 = 0 ; | |
12256 | char *kwnames[] = { | |
12257 | (char *) "self",(char *) "pt", NULL | |
12258 | }; | |
12259 | ||
12260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12261 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12262 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12263 | { |
12264 | arg2 = &temp2; | |
12265 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
12266 | } | |
12267 | { | |
12268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12269 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
12270 | ||
12271 | wxPyEndAllowThreads(__tstate); | |
12272 | if (PyErr_Occurred()) SWIG_fail; | |
12273 | } | |
12274 | Py_INCREF(Py_None); resultobj = Py_None; | |
12275 | return resultobj; | |
12276 | fail: | |
12277 | return NULL; | |
12278 | } | |
12279 | ||
12280 | ||
c370783e | 12281 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12282 | PyObject *resultobj; |
12283 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12284 | int arg2 ; | |
12285 | int arg3 ; | |
12286 | PyObject * obj0 = 0 ; | |
12287 | PyObject * obj1 = 0 ; | |
12288 | PyObject * obj2 = 0 ; | |
12289 | char *kwnames[] = { | |
12290 | (char *) "self",(char *) "x",(char *) "y", NULL | |
12291 | }; | |
12292 | ||
12293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
12294 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12295 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12296 | { | |
12297 | arg2 = (int)(SWIG_As_int(obj1)); | |
12298 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12299 | } | |
12300 | { | |
12301 | arg3 = (int)(SWIG_As_int(obj2)); | |
12302 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12303 | } | |
d55e5bfc RD |
12304 | { |
12305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12306 | (arg1)->SetMargins(arg2,arg3); | |
12307 | ||
12308 | wxPyEndAllowThreads(__tstate); | |
12309 | if (PyErr_Occurred()) SWIG_fail; | |
12310 | } | |
12311 | Py_INCREF(Py_None); resultobj = Py_None; | |
12312 | return resultobj; | |
12313 | fail: | |
12314 | return NULL; | |
12315 | } | |
12316 | ||
12317 | ||
c370783e | 12318 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12319 | PyObject *resultobj; |
12320 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12321 | wxColour *arg2 = 0 ; | |
12322 | wxColour temp2 ; | |
12323 | PyObject * obj0 = 0 ; | |
12324 | PyObject * obj1 = 0 ; | |
12325 | char *kwnames[] = { | |
12326 | (char *) "self",(char *) "col", NULL | |
12327 | }; | |
12328 | ||
12329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12330 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12331 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12332 | { |
12333 | arg2 = &temp2; | |
12334 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12335 | } | |
12336 | { | |
12337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12338 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
12339 | ||
12340 | wxPyEndAllowThreads(__tstate); | |
12341 | if (PyErr_Occurred()) SWIG_fail; | |
12342 | } | |
12343 | Py_INCREF(Py_None); resultobj = Py_None; | |
12344 | return resultobj; | |
12345 | fail: | |
12346 | return NULL; | |
12347 | } | |
12348 | ||
12349 | ||
c370783e | 12350 | static PyObject * VListBox_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
12351 | PyObject *obj; |
12352 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12353 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
12354 | Py_INCREF(obj); | |
12355 | return Py_BuildValue((char *)""); | |
12356 | } | |
c370783e | 12357 | static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12358 | PyObject *resultobj; |
12359 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12360 | int arg2 = (int) wxID_ANY ; | |
12361 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
12362 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
12363 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
12364 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
12365 | long arg5 = (long) 0 ; | |
12366 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
12367 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
12368 | wxPyHtmlListBox *result; | |
12369 | wxPoint temp3 ; | |
12370 | wxSize temp4 ; | |
b411df4a | 12371 | bool temp6 = false ; |
d55e5bfc RD |
12372 | PyObject * obj0 = 0 ; |
12373 | PyObject * obj1 = 0 ; | |
12374 | PyObject * obj2 = 0 ; | |
12375 | PyObject * obj3 = 0 ; | |
12376 | PyObject * obj4 = 0 ; | |
12377 | PyObject * obj5 = 0 ; | |
12378 | char *kwnames[] = { | |
12379 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12380 | }; | |
12381 | ||
12382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
12383 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
12384 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 12385 | if (obj1) { |
36ed4f51 RD |
12386 | { |
12387 | arg2 = (int)(SWIG_As_int(obj1)); | |
12388 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12389 | } | |
d55e5bfc RD |
12390 | } |
12391 | if (obj2) { | |
12392 | { | |
12393 | arg3 = &temp3; | |
12394 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
12395 | } | |
12396 | } | |
12397 | if (obj3) { | |
12398 | { | |
12399 | arg4 = &temp4; | |
12400 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
12401 | } | |
12402 | } | |
12403 | if (obj4) { | |
36ed4f51 RD |
12404 | { |
12405 | arg5 = (long)(SWIG_As_long(obj4)); | |
12406 | if (SWIG_arg_fail(5)) SWIG_fail; | |
12407 | } | |
d55e5bfc RD |
12408 | } |
12409 | if (obj5) { | |
12410 | { | |
12411 | arg6 = wxString_in_helper(obj5); | |
12412 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 12413 | temp6 = true; |
d55e5bfc RD |
12414 | } |
12415 | } | |
12416 | { | |
0439c23b | 12417 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
12418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12419 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
12420 | ||
12421 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12422 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
12423 | } |
12424 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); | |
12425 | { | |
12426 | if (temp6) | |
12427 | delete arg6; | |
12428 | } | |
12429 | return resultobj; | |
12430 | fail: | |
12431 | { | |
12432 | if (temp6) | |
12433 | delete arg6; | |
12434 | } | |
12435 | return NULL; | |
12436 | } | |
12437 | ||
12438 | ||
c370783e | 12439 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12440 | PyObject *resultobj; |
12441 | wxPyHtmlListBox *result; | |
12442 | char *kwnames[] = { | |
12443 | NULL | |
12444 | }; | |
12445 | ||
12446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
12447 | { | |
0439c23b | 12448 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
12449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12450 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
12451 | ||
12452 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12453 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
12454 | } |
12455 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); | |
12456 | return resultobj; | |
12457 | fail: | |
12458 | return NULL; | |
12459 | } | |
12460 | ||
12461 | ||
c370783e | 12462 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12463 | PyObject *resultobj; |
12464 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12465 | PyObject *arg2 = (PyObject *) 0 ; | |
12466 | PyObject *arg3 = (PyObject *) 0 ; | |
12467 | PyObject * obj0 = 0 ; | |
12468 | PyObject * obj1 = 0 ; | |
12469 | PyObject * obj2 = 0 ; | |
12470 | char *kwnames[] = { | |
12471 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
12472 | }; | |
12473 | ||
12474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
12475 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12476 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12477 | arg2 = obj1; |
12478 | arg3 = obj2; | |
12479 | { | |
12480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12481 | (arg1)->_setCallbackInfo(arg2,arg3); | |
12482 | ||
12483 | wxPyEndAllowThreads(__tstate); | |
12484 | if (PyErr_Occurred()) SWIG_fail; | |
12485 | } | |
12486 | Py_INCREF(Py_None); resultobj = Py_None; | |
12487 | return resultobj; | |
12488 | fail: | |
12489 | return NULL; | |
12490 | } | |
12491 | ||
12492 | ||
c370783e | 12493 | static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12494 | PyObject *resultobj; |
12495 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12496 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12497 | int arg3 = (int) wxID_ANY ; | |
12498 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
12499 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
12500 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
12501 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
12502 | long arg6 = (long) 0 ; | |
12503 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
12504 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
12505 | bool result; | |
12506 | wxPoint temp4 ; | |
12507 | wxSize temp5 ; | |
b411df4a | 12508 | bool temp7 = false ; |
d55e5bfc RD |
12509 | PyObject * obj0 = 0 ; |
12510 | PyObject * obj1 = 0 ; | |
12511 | PyObject * obj2 = 0 ; | |
12512 | PyObject * obj3 = 0 ; | |
12513 | PyObject * obj4 = 0 ; | |
12514 | PyObject * obj5 = 0 ; | |
12515 | PyObject * obj6 = 0 ; | |
12516 | char *kwnames[] = { | |
12517 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12518 | }; | |
12519 | ||
12520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
12521 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12522 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12523 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
12524 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 12525 | if (obj2) { |
36ed4f51 RD |
12526 | { |
12527 | arg3 = (int)(SWIG_As_int(obj2)); | |
12528 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12529 | } | |
d55e5bfc RD |
12530 | } |
12531 | if (obj3) { | |
12532 | { | |
12533 | arg4 = &temp4; | |
12534 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
12535 | } | |
12536 | } | |
12537 | if (obj4) { | |
12538 | { | |
12539 | arg5 = &temp5; | |
12540 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
12541 | } | |
12542 | } | |
12543 | if (obj5) { | |
36ed4f51 RD |
12544 | { |
12545 | arg6 = (long)(SWIG_As_long(obj5)); | |
12546 | if (SWIG_arg_fail(6)) SWIG_fail; | |
12547 | } | |
d55e5bfc RD |
12548 | } |
12549 | if (obj6) { | |
12550 | { | |
12551 | arg7 = wxString_in_helper(obj6); | |
12552 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 12553 | temp7 = true; |
d55e5bfc RD |
12554 | } |
12555 | } | |
12556 | { | |
12557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12558 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
12559 | ||
12560 | wxPyEndAllowThreads(__tstate); | |
12561 | if (PyErr_Occurred()) SWIG_fail; | |
12562 | } | |
12563 | { | |
12564 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12565 | } | |
12566 | { | |
12567 | if (temp7) | |
12568 | delete arg7; | |
12569 | } | |
12570 | return resultobj; | |
12571 | fail: | |
12572 | { | |
12573 | if (temp7) | |
12574 | delete arg7; | |
12575 | } | |
12576 | return NULL; | |
12577 | } | |
12578 | ||
12579 | ||
c370783e | 12580 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12581 | PyObject *resultobj; |
12582 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12583 | PyObject * obj0 = 0 ; | |
12584 | char *kwnames[] = { | |
12585 | (char *) "self", NULL | |
12586 | }; | |
12587 | ||
12588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12589 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12590 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12591 | { |
12592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12593 | (arg1)->RefreshAll(); | |
12594 | ||
12595 | wxPyEndAllowThreads(__tstate); | |
12596 | if (PyErr_Occurred()) SWIG_fail; | |
12597 | } | |
12598 | Py_INCREF(Py_None); resultobj = Py_None; | |
12599 | return resultobj; | |
12600 | fail: | |
12601 | return NULL; | |
12602 | } | |
12603 | ||
12604 | ||
c370783e | 12605 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12606 | PyObject *resultobj; |
12607 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12608 | size_t arg2 ; | |
12609 | PyObject * obj0 = 0 ; | |
12610 | PyObject * obj1 = 0 ; | |
12611 | char *kwnames[] = { | |
12612 | (char *) "self",(char *) "count", NULL | |
12613 | }; | |
12614 | ||
12615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12616 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12617 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12618 | { | |
12619 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12620 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12621 | } | |
d55e5bfc RD |
12622 | { |
12623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12624 | (arg1)->SetItemCount(arg2); | |
12625 | ||
12626 | wxPyEndAllowThreads(__tstate); | |
12627 | if (PyErr_Occurred()) SWIG_fail; | |
12628 | } | |
12629 | Py_INCREF(Py_None); resultobj = Py_None; | |
12630 | return resultobj; | |
12631 | fail: | |
12632 | return NULL; | |
12633 | } | |
12634 | ||
12635 | ||
c370783e | 12636 | static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) { |
d6c14a4c RD |
12637 | PyObject *resultobj; |
12638 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12639 | wxFileSystem *result; | |
12640 | PyObject * obj0 = 0 ; | |
12641 | char *kwnames[] = { | |
12642 | (char *) "self", NULL | |
12643 | }; | |
12644 | ||
12645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12646 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12647 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d6c14a4c RD |
12648 | { |
12649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12650 | { | |
12651 | wxFileSystem &_result_ref = (arg1)->GetFileSystem(); | |
12652 | result = (wxFileSystem *) &_result_ref; | |
12653 | } | |
12654 | ||
12655 | wxPyEndAllowThreads(__tstate); | |
12656 | if (PyErr_Occurred()) SWIG_fail; | |
12657 | } | |
12658 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0); | |
12659 | return resultobj; | |
12660 | fail: | |
12661 | return NULL; | |
12662 | } | |
12663 | ||
12664 | ||
c370783e | 12665 | static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
12666 | PyObject *obj; |
12667 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12668 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
12669 | Py_INCREF(obj); | |
12670 | return Py_BuildValue((char *)""); | |
12671 | } | |
c370783e | 12672 | static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 12673 | PyObject *resultobj; |
5e483524 | 12674 | wxPyTaskBarIcon *result; |
d55e5bfc RD |
12675 | char *kwnames[] = { |
12676 | NULL | |
12677 | }; | |
12678 | ||
12679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
12680 | { | |
0439c23b | 12681 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc | 12682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5e483524 | 12683 | result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon(); |
d55e5bfc RD |
12684 | |
12685 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12686 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 12687 | } |
5e483524 | 12688 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1); |
d55e5bfc RD |
12689 | return resultobj; |
12690 | fail: | |
12691 | return NULL; | |
12692 | } | |
12693 | ||
12694 | ||
5e483524 | 12695 | static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 12696 | PyObject *resultobj; |
5e483524 RD |
12697 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
12698 | PyObject *arg2 = (PyObject *) 0 ; | |
12699 | PyObject *arg3 = (PyObject *) 0 ; | |
12700 | int arg4 ; | |
d55e5bfc | 12701 | PyObject * obj0 = 0 ; |
5e483524 RD |
12702 | PyObject * obj1 = 0 ; |
12703 | PyObject * obj2 = 0 ; | |
12704 | PyObject * obj3 = 0 ; | |
d55e5bfc | 12705 | char *kwnames[] = { |
5e483524 | 12706 | (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL |
d55e5bfc RD |
12707 | }; |
12708 | ||
5e483524 | 12709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
36ed4f51 RD |
12710 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12711 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5e483524 RD |
12712 | arg2 = obj1; |
12713 | arg3 = obj2; | |
36ed4f51 RD |
12714 | { |
12715 | arg4 = (int)(SWIG_As_int(obj3)); | |
12716 | if (SWIG_arg_fail(4)) SWIG_fail; | |
12717 | } | |
d55e5bfc RD |
12718 | { |
12719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 12720 | (arg1)->_setCallbackInfo(arg2,arg3,arg4); |
d55e5bfc RD |
12721 | |
12722 | wxPyEndAllowThreads(__tstate); | |
12723 | if (PyErr_Occurred()) SWIG_fail; | |
12724 | } | |
12725 | Py_INCREF(Py_None); resultobj = Py_None; | |
12726 | return resultobj; | |
12727 | fail: | |
12728 | return NULL; | |
12729 | } | |
12730 | ||
12731 | ||
c370783e | 12732 | static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 12733 | PyObject *resultobj; |
5e483524 | 12734 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d55e5bfc RD |
12735 | PyObject * obj0 = 0 ; |
12736 | char *kwnames[] = { | |
12737 | (char *) "self", NULL | |
12738 | }; | |
12739 | ||
12740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12741 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12742 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12743 | { |
12744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 12745 | wxPyTaskBarIcon_Destroy(arg1); |
d55e5bfc RD |
12746 | |
12747 | wxPyEndAllowThreads(__tstate); | |
12748 | if (PyErr_Occurred()) SWIG_fail; | |
12749 | } | |
12750 | Py_INCREF(Py_None); resultobj = Py_None; | |
12751 | return resultobj; | |
12752 | fail: | |
12753 | return NULL; | |
12754 | } | |
12755 | ||
12756 | ||
b411df4a RD |
12757 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { |
12758 | PyObject *resultobj; | |
5e483524 | 12759 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
12760 | bool result; |
12761 | PyObject * obj0 = 0 ; | |
12762 | char *kwnames[] = { | |
12763 | (char *) "self", NULL | |
12764 | }; | |
12765 | ||
12766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12767 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12768 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b411df4a RD |
12769 | { |
12770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 12771 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk(); |
b411df4a RD |
12772 | |
12773 | wxPyEndAllowThreads(__tstate); | |
12774 | if (PyErr_Occurred()) SWIG_fail; | |
12775 | } | |
12776 | { | |
12777 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12778 | } | |
12779 | return resultobj; | |
12780 | fail: | |
12781 | return NULL; | |
12782 | } | |
12783 | ||
12784 | ||
12785 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) { | |
12786 | PyObject *resultobj; | |
5e483524 | 12787 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
12788 | bool result; |
12789 | PyObject * obj0 = 0 ; | |
12790 | char *kwnames[] = { | |
12791 | (char *) "self", NULL | |
12792 | }; | |
12793 | ||
12794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12795 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12796 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b411df4a RD |
12797 | { |
12798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 12799 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled(); |
b411df4a RD |
12800 | |
12801 | wxPyEndAllowThreads(__tstate); | |
12802 | if (PyErr_Occurred()) SWIG_fail; | |
12803 | } | |
12804 | { | |
12805 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12806 | } | |
12807 | return resultobj; | |
12808 | fail: | |
12809 | return NULL; | |
12810 | } | |
12811 | ||
12812 | ||
12813 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { | |
12814 | PyObject *resultobj; | |
5e483524 | 12815 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
12816 | wxIcon *arg2 = 0 ; |
12817 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12818 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12819 | bool result; | |
12820 | bool temp3 = false ; | |
12821 | PyObject * obj0 = 0 ; | |
12822 | PyObject * obj1 = 0 ; | |
12823 | PyObject * obj2 = 0 ; | |
12824 | char *kwnames[] = { | |
12825 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
12826 | }; | |
12827 | ||
12828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
12829 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12830 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12831 | { | |
12832 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); | |
12833 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12834 | if (arg2 == NULL) { | |
12835 | SWIG_null_ref("wxIcon"); | |
12836 | } | |
12837 | if (SWIG_arg_fail(2)) SWIG_fail; | |
b411df4a RD |
12838 | } |
12839 | if (obj2) { | |
12840 | { | |
12841 | arg3 = wxString_in_helper(obj2); | |
12842 | if (arg3 == NULL) SWIG_fail; | |
12843 | temp3 = true; | |
12844 | } | |
12845 | } | |
12846 | { | |
12847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12848 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
12849 | ||
12850 | wxPyEndAllowThreads(__tstate); | |
12851 | if (PyErr_Occurred()) SWIG_fail; | |
12852 | } | |
12853 | { | |
12854 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12855 | } | |
12856 | { | |
12857 | if (temp3) | |
12858 | delete arg3; | |
12859 | } | |
12860 | return resultobj; | |
12861 | fail: | |
12862 | { | |
12863 | if (temp3) | |
12864 | delete arg3; | |
12865 | } | |
12866 | return NULL; | |
12867 | } | |
12868 | ||
12869 | ||
12870 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) { | |
12871 | PyObject *resultobj; | |
5e483524 | 12872 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
12873 | bool result; |
12874 | PyObject * obj0 = 0 ; | |
12875 | char *kwnames[] = { | |
12876 | (char *) "self", NULL | |
12877 | }; | |
12878 | ||
12879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12880 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12881 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b411df4a RD |
12882 | { |
12883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12884 | result = (bool)(arg1)->RemoveIcon(); | |
12885 | ||
12886 | wxPyEndAllowThreads(__tstate); | |
12887 | if (PyErr_Occurred()) SWIG_fail; | |
12888 | } | |
12889 | { | |
12890 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12891 | } | |
12892 | return resultobj; | |
12893 | fail: | |
12894 | return NULL; | |
12895 | } | |
12896 | ||
12897 | ||
12898 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) { | |
12899 | PyObject *resultobj; | |
5e483524 | 12900 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
12901 | wxMenu *arg2 = (wxMenu *) 0 ; |
12902 | bool result; | |
12903 | PyObject * obj0 = 0 ; | |
12904 | PyObject * obj1 = 0 ; | |
12905 | char *kwnames[] = { | |
12906 | (char *) "self",(char *) "menu", NULL | |
12907 | }; | |
12908 | ||
12909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12910 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12911 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12912 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); | |
12913 | if (SWIG_arg_fail(2)) SWIG_fail; | |
b411df4a RD |
12914 | { |
12915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12916 | result = (bool)(arg1)->PopupMenu(arg2); | |
12917 | ||
12918 | wxPyEndAllowThreads(__tstate); | |
12919 | if (PyErr_Occurred()) SWIG_fail; | |
12920 | } | |
12921 | { | |
12922 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12923 | } | |
12924 | return resultobj; | |
12925 | fail: | |
12926 | return NULL; | |
12927 | } | |
12928 | ||
12929 | ||
c370783e | 12930 | static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
12931 | PyObject *obj; |
12932 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5e483524 | 12933 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj); |
d55e5bfc RD |
12934 | Py_INCREF(obj); |
12935 | return Py_BuildValue((char *)""); | |
12936 | } | |
c370783e | 12937 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12938 | PyObject *resultobj; |
12939 | wxEventType arg1 ; | |
12940 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
12941 | wxTaskBarIconEvent *result; | |
12942 | PyObject * obj0 = 0 ; | |
12943 | PyObject * obj1 = 0 ; | |
12944 | char *kwnames[] = { | |
12945 | (char *) "evtType",(char *) "tbIcon", NULL | |
12946 | }; | |
12947 | ||
12948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12949 | { |
12950 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
12951 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12952 | } | |
12953 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); | |
12954 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
12955 | { |
12956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12957 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
12958 | ||
12959 | wxPyEndAllowThreads(__tstate); | |
12960 | if (PyErr_Occurred()) SWIG_fail; | |
12961 | } | |
12962 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); | |
12963 | return resultobj; | |
12964 | fail: | |
12965 | return NULL; | |
12966 | } | |
12967 | ||
12968 | ||
c370783e | 12969 | static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
12970 | PyObject *obj; |
12971 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12972 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
12973 | Py_INCREF(obj); | |
12974 | return Py_BuildValue((char *)""); | |
12975 | } | |
c370783e | 12976 | static int _wrap_FileSelectorPromptStr_set(PyObject *) { |
d55e5bfc RD |
12977 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); |
12978 | return 1; | |
12979 | } | |
12980 | ||
12981 | ||
36ed4f51 | 12982 | static PyObject *_wrap_FileSelectorPromptStr_get(void) { |
d55e5bfc RD |
12983 | PyObject *pyobj; |
12984 | ||
12985 | { | |
12986 | #if wxUSE_UNICODE | |
12987 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
12988 | #else | |
12989 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
12990 | #endif | |
12991 | } | |
12992 | return pyobj; | |
12993 | } | |
12994 | ||
12995 | ||
c370783e | 12996 | static int _wrap_DirSelectorPromptStr_set(PyObject *) { |
d55e5bfc RD |
12997 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); |
12998 | return 1; | |
12999 | } | |
13000 | ||
13001 | ||
36ed4f51 | 13002 | static PyObject *_wrap_DirSelectorPromptStr_get(void) { |
d55e5bfc RD |
13003 | PyObject *pyobj; |
13004 | ||
13005 | { | |
13006 | #if wxUSE_UNICODE | |
13007 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
13008 | #else | |
13009 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
13010 | #endif | |
13011 | } | |
13012 | return pyobj; | |
13013 | } | |
13014 | ||
13015 | ||
c370783e | 13016 | static int _wrap_DirDialogNameStr_set(PyObject *) { |
d55e5bfc RD |
13017 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); |
13018 | return 1; | |
13019 | } | |
13020 | ||
13021 | ||
36ed4f51 | 13022 | static PyObject *_wrap_DirDialogNameStr_get(void) { |
d55e5bfc RD |
13023 | PyObject *pyobj; |
13024 | ||
13025 | { | |
13026 | #if wxUSE_UNICODE | |
13027 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
13028 | #else | |
13029 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
13030 | #endif | |
13031 | } | |
13032 | return pyobj; | |
13033 | } | |
13034 | ||
13035 | ||
c370783e | 13036 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { |
d55e5bfc RD |
13037 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); |
13038 | return 1; | |
13039 | } | |
13040 | ||
13041 | ||
36ed4f51 | 13042 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) { |
d55e5bfc RD |
13043 | PyObject *pyobj; |
13044 | ||
13045 | { | |
13046 | #if wxUSE_UNICODE | |
13047 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
13048 | #else | |
13049 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
13050 | #endif | |
13051 | } | |
13052 | return pyobj; | |
13053 | } | |
13054 | ||
13055 | ||
c370783e | 13056 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *) { |
d55e5bfc RD |
13057 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); |
13058 | return 1; | |
13059 | } | |
13060 | ||
13061 | ||
36ed4f51 | 13062 | static PyObject *_wrap_GetTextFromUserPromptStr_get(void) { |
d55e5bfc RD |
13063 | PyObject *pyobj; |
13064 | ||
13065 | { | |
13066 | #if wxUSE_UNICODE | |
13067 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
13068 | #else | |
13069 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
13070 | #endif | |
13071 | } | |
13072 | return pyobj; | |
13073 | } | |
13074 | ||
13075 | ||
c370783e | 13076 | static int _wrap_MessageBoxCaptionStr_set(PyObject *) { |
d55e5bfc RD |
13077 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); |
13078 | return 1; | |
13079 | } | |
13080 | ||
13081 | ||
36ed4f51 | 13082 | static PyObject *_wrap_MessageBoxCaptionStr_get(void) { |
d55e5bfc RD |
13083 | PyObject *pyobj; |
13084 | ||
13085 | { | |
13086 | #if wxUSE_UNICODE | |
13087 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
13088 | #else | |
13089 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
13090 | #endif | |
13091 | } | |
13092 | return pyobj; | |
13093 | } | |
13094 | ||
13095 | ||
c370783e | 13096 | static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13097 | PyObject *resultobj; |
13098 | wxColourData *result; | |
13099 | char *kwnames[] = { | |
13100 | NULL | |
13101 | }; | |
13102 | ||
13103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
13104 | { | |
13105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13106 | result = (wxColourData *)new wxColourData(); | |
13107 | ||
13108 | wxPyEndAllowThreads(__tstate); | |
13109 | if (PyErr_Occurred()) SWIG_fail; | |
13110 | } | |
13111 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); | |
13112 | return resultobj; | |
13113 | fail: | |
13114 | return NULL; | |
13115 | } | |
13116 | ||
13117 | ||
c370783e | 13118 | static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13119 | PyObject *resultobj; |
13120 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13121 | PyObject * obj0 = 0 ; | |
13122 | char *kwnames[] = { | |
13123 | (char *) "self", NULL | |
13124 | }; | |
13125 | ||
13126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13127 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13128 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13129 | { |
13130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13131 | delete arg1; | |
13132 | ||
13133 | wxPyEndAllowThreads(__tstate); | |
13134 | if (PyErr_Occurred()) SWIG_fail; | |
13135 | } | |
13136 | Py_INCREF(Py_None); resultobj = Py_None; | |
13137 | return resultobj; | |
13138 | fail: | |
13139 | return NULL; | |
13140 | } | |
13141 | ||
13142 | ||
c370783e | 13143 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13144 | PyObject *resultobj; |
13145 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13146 | bool result; | |
13147 | PyObject * obj0 = 0 ; | |
13148 | char *kwnames[] = { | |
13149 | (char *) "self", NULL | |
13150 | }; | |
13151 | ||
13152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13153 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13154 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13155 | { |
13156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13157 | result = (bool)(arg1)->GetChooseFull(); | |
13158 | ||
13159 | wxPyEndAllowThreads(__tstate); | |
13160 | if (PyErr_Occurred()) SWIG_fail; | |
13161 | } | |
13162 | { | |
13163 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13164 | } | |
13165 | return resultobj; | |
13166 | fail: | |
13167 | return NULL; | |
13168 | } | |
13169 | ||
13170 | ||
c370783e | 13171 | static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13172 | PyObject *resultobj; |
13173 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13174 | wxColour result; | |
13175 | PyObject * obj0 = 0 ; | |
13176 | char *kwnames[] = { | |
13177 | (char *) "self", NULL | |
13178 | }; | |
13179 | ||
13180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13181 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13182 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13183 | { |
13184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13185 | result = (arg1)->GetColour(); | |
13186 | ||
13187 | wxPyEndAllowThreads(__tstate); | |
13188 | if (PyErr_Occurred()) SWIG_fail; | |
13189 | } | |
13190 | { | |
13191 | wxColour * resultptr; | |
36ed4f51 | 13192 | resultptr = new wxColour((wxColour &)(result)); |
d55e5bfc RD |
13193 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
13194 | } | |
13195 | return resultobj; | |
13196 | fail: | |
13197 | return NULL; | |
13198 | } | |
13199 | ||
13200 | ||
c370783e | 13201 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13202 | PyObject *resultobj; |
13203 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13204 | int arg2 ; | |
13205 | wxColour result; | |
13206 | PyObject * obj0 = 0 ; | |
13207 | PyObject * obj1 = 0 ; | |
13208 | char *kwnames[] = { | |
13209 | (char *) "self",(char *) "i", NULL | |
13210 | }; | |
13211 | ||
13212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13213 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13214 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13215 | { | |
13216 | arg2 = (int)(SWIG_As_int(obj1)); | |
13217 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13218 | } | |
d55e5bfc RD |
13219 | { |
13220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13221 | result = (arg1)->GetCustomColour(arg2); | |
13222 | ||
13223 | wxPyEndAllowThreads(__tstate); | |
13224 | if (PyErr_Occurred()) SWIG_fail; | |
13225 | } | |
13226 | { | |
13227 | wxColour * resultptr; | |
36ed4f51 | 13228 | resultptr = new wxColour((wxColour &)(result)); |
d55e5bfc RD |
13229 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
13230 | } | |
13231 | return resultobj; | |
13232 | fail: | |
13233 | return NULL; | |
13234 | } | |
13235 | ||
13236 | ||
c370783e | 13237 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13238 | PyObject *resultobj; |
13239 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13240 | int arg2 ; | |
13241 | PyObject * obj0 = 0 ; | |
13242 | PyObject * obj1 = 0 ; | |
13243 | char *kwnames[] = { | |
13244 | (char *) "self",(char *) "flag", NULL | |
13245 | }; | |
13246 | ||
13247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13248 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13249 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13250 | { | |
13251 | arg2 = (int)(SWIG_As_int(obj1)); | |
13252 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13253 | } | |
d55e5bfc RD |
13254 | { |
13255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13256 | (arg1)->SetChooseFull(arg2); | |
13257 | ||
13258 | wxPyEndAllowThreads(__tstate); | |
13259 | if (PyErr_Occurred()) SWIG_fail; | |
13260 | } | |
13261 | Py_INCREF(Py_None); resultobj = Py_None; | |
13262 | return resultobj; | |
13263 | fail: | |
13264 | return NULL; | |
13265 | } | |
13266 | ||
13267 | ||
c370783e | 13268 | static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13269 | PyObject *resultobj; |
13270 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13271 | wxColour *arg2 = 0 ; | |
13272 | wxColour temp2 ; | |
13273 | PyObject * obj0 = 0 ; | |
13274 | PyObject * obj1 = 0 ; | |
13275 | char *kwnames[] = { | |
13276 | (char *) "self",(char *) "colour", NULL | |
13277 | }; | |
13278 | ||
13279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13280 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13281 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13282 | { |
13283 | arg2 = &temp2; | |
13284 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
13285 | } | |
13286 | { | |
13287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13288 | (arg1)->SetColour((wxColour const &)*arg2); | |
13289 | ||
13290 | wxPyEndAllowThreads(__tstate); | |
13291 | if (PyErr_Occurred()) SWIG_fail; | |
13292 | } | |
13293 | Py_INCREF(Py_None); resultobj = Py_None; | |
13294 | return resultobj; | |
13295 | fail: | |
13296 | return NULL; | |
13297 | } | |
13298 | ||
13299 | ||
c370783e | 13300 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13301 | PyObject *resultobj; |
13302 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13303 | int arg2 ; | |
13304 | wxColour *arg3 = 0 ; | |
13305 | wxColour temp3 ; | |
13306 | PyObject * obj0 = 0 ; | |
13307 | PyObject * obj1 = 0 ; | |
13308 | PyObject * obj2 = 0 ; | |
13309 | char *kwnames[] = { | |
13310 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
13311 | }; | |
13312 | ||
13313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
13314 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13315 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13316 | { | |
13317 | arg2 = (int)(SWIG_As_int(obj1)); | |
13318 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13319 | } | |
d55e5bfc RD |
13320 | { |
13321 | arg3 = &temp3; | |
13322 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
13323 | } | |
13324 | { | |
13325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13326 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
13327 | ||
13328 | wxPyEndAllowThreads(__tstate); | |
13329 | if (PyErr_Occurred()) SWIG_fail; | |
13330 | } | |
13331 | Py_INCREF(Py_None); resultobj = Py_None; | |
13332 | return resultobj; | |
13333 | fail: | |
13334 | return NULL; | |
13335 | } | |
13336 | ||
13337 | ||
c370783e | 13338 | static PyObject * ColourData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13339 | PyObject *obj; |
13340 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13341 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
13342 | Py_INCREF(obj); | |
13343 | return Py_BuildValue((char *)""); | |
13344 | } | |
c370783e | 13345 | static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13346 | PyObject *resultobj; |
13347 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13348 | wxColourData *arg2 = (wxColourData *) NULL ; | |
13349 | wxColourDialog *result; | |
13350 | PyObject * obj0 = 0 ; | |
13351 | PyObject * obj1 = 0 ; | |
13352 | char *kwnames[] = { | |
13353 | (char *) "parent",(char *) "data", NULL | |
13354 | }; | |
13355 | ||
13356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13357 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
13358 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 13359 | if (obj1) { |
36ed4f51 RD |
13360 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13361 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
13362 | } |
13363 | { | |
0439c23b | 13364 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13366 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
13367 | ||
13368 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13369 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13370 | } |
13371 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); | |
13372 | return resultobj; | |
13373 | fail: | |
13374 | return NULL; | |
13375 | } | |
13376 | ||
13377 | ||
c370783e | 13378 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13379 | PyObject *resultobj; |
13380 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
13381 | wxColourData *result; | |
13382 | PyObject * obj0 = 0 ; | |
13383 | char *kwnames[] = { | |
13384 | (char *) "self", NULL | |
13385 | }; | |
13386 | ||
13387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13388 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0); |
13389 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13390 | { |
13391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13392 | { | |
13393 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
13394 | result = (wxColourData *) &_result_ref; | |
13395 | } | |
13396 | ||
13397 | wxPyEndAllowThreads(__tstate); | |
13398 | if (PyErr_Occurred()) SWIG_fail; | |
13399 | } | |
13400 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); | |
13401 | return resultobj; | |
13402 | fail: | |
13403 | return NULL; | |
13404 | } | |
13405 | ||
13406 | ||
c370783e | 13407 | static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13408 | PyObject *obj; |
13409 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13410 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
13411 | Py_INCREF(obj); | |
13412 | return Py_BuildValue((char *)""); | |
13413 | } | |
c370783e | 13414 | static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13415 | PyObject *resultobj; |
13416 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13417 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
13418 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
13419 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13420 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13421 | long arg4 = (long) 0 ; | |
13422 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13423 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13424 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
13425 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
13426 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
13427 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
13428 | wxDirDialog *result; | |
b411df4a RD |
13429 | bool temp2 = false ; |
13430 | bool temp3 = false ; | |
d55e5bfc RD |
13431 | wxPoint temp5 ; |
13432 | wxSize temp6 ; | |
b411df4a | 13433 | bool temp7 = false ; |
d55e5bfc RD |
13434 | PyObject * obj0 = 0 ; |
13435 | PyObject * obj1 = 0 ; | |
13436 | PyObject * obj2 = 0 ; | |
13437 | PyObject * obj3 = 0 ; | |
13438 | PyObject * obj4 = 0 ; | |
13439 | PyObject * obj5 = 0 ; | |
13440 | PyObject * obj6 = 0 ; | |
13441 | char *kwnames[] = { | |
13442 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
13443 | }; | |
13444 | ||
13445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
13446 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
13447 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13448 | if (obj1) { |
13449 | { | |
13450 | arg2 = wxString_in_helper(obj1); | |
13451 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13452 | temp2 = true; |
d55e5bfc RD |
13453 | } |
13454 | } | |
13455 | if (obj2) { | |
13456 | { | |
13457 | arg3 = wxString_in_helper(obj2); | |
13458 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 13459 | temp3 = true; |
d55e5bfc RD |
13460 | } |
13461 | } | |
13462 | if (obj3) { | |
36ed4f51 RD |
13463 | { |
13464 | arg4 = (long)(SWIG_As_long(obj3)); | |
13465 | if (SWIG_arg_fail(4)) SWIG_fail; | |
13466 | } | |
d55e5bfc RD |
13467 | } |
13468 | if (obj4) { | |
13469 | { | |
13470 | arg5 = &temp5; | |
13471 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13472 | } | |
13473 | } | |
13474 | if (obj5) { | |
13475 | { | |
13476 | arg6 = &temp6; | |
13477 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
13478 | } | |
13479 | } | |
13480 | if (obj6) { | |
13481 | { | |
13482 | arg7 = wxString_in_helper(obj6); | |
13483 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 13484 | temp7 = true; |
d55e5bfc RD |
13485 | } |
13486 | } | |
13487 | { | |
0439c23b | 13488 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13490 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
13491 | ||
13492 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13493 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13494 | } |
13495 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); | |
13496 | { | |
13497 | if (temp2) | |
13498 | delete arg2; | |
13499 | } | |
13500 | { | |
13501 | if (temp3) | |
13502 | delete arg3; | |
13503 | } | |
13504 | { | |
13505 | if (temp7) | |
13506 | delete arg7; | |
13507 | } | |
13508 | return resultobj; | |
13509 | fail: | |
13510 | { | |
13511 | if (temp2) | |
13512 | delete arg2; | |
13513 | } | |
13514 | { | |
13515 | if (temp3) | |
13516 | delete arg3; | |
13517 | } | |
13518 | { | |
13519 | if (temp7) | |
13520 | delete arg7; | |
13521 | } | |
13522 | return NULL; | |
13523 | } | |
13524 | ||
13525 | ||
c370783e | 13526 | static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13527 | PyObject *resultobj; |
13528 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13529 | wxString result; | |
13530 | PyObject * obj0 = 0 ; | |
13531 | char *kwnames[] = { | |
13532 | (char *) "self", NULL | |
13533 | }; | |
13534 | ||
13535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13536 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13537 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13538 | { |
13539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13540 | result = (arg1)->GetPath(); | |
13541 | ||
13542 | wxPyEndAllowThreads(__tstate); | |
13543 | if (PyErr_Occurred()) SWIG_fail; | |
13544 | } | |
13545 | { | |
13546 | #if wxUSE_UNICODE | |
13547 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13548 | #else | |
13549 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13550 | #endif | |
13551 | } | |
13552 | return resultobj; | |
13553 | fail: | |
13554 | return NULL; | |
13555 | } | |
13556 | ||
13557 | ||
c370783e | 13558 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13559 | PyObject *resultobj; |
13560 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13561 | wxString result; | |
13562 | PyObject * obj0 = 0 ; | |
13563 | char *kwnames[] = { | |
13564 | (char *) "self", NULL | |
13565 | }; | |
13566 | ||
13567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13568 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13569 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13570 | { |
13571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13572 | result = (arg1)->GetMessage(); | |
13573 | ||
13574 | wxPyEndAllowThreads(__tstate); | |
13575 | if (PyErr_Occurred()) SWIG_fail; | |
13576 | } | |
13577 | { | |
13578 | #if wxUSE_UNICODE | |
13579 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13580 | #else | |
13581 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13582 | #endif | |
13583 | } | |
13584 | return resultobj; | |
13585 | fail: | |
13586 | return NULL; | |
13587 | } | |
13588 | ||
13589 | ||
c370783e | 13590 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13591 | PyObject *resultobj; |
13592 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13593 | long result; | |
13594 | PyObject * obj0 = 0 ; | |
13595 | char *kwnames[] = { | |
13596 | (char *) "self", NULL | |
13597 | }; | |
13598 | ||
13599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13600 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13601 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13602 | { |
13603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13604 | result = (long)(arg1)->GetStyle(); | |
13605 | ||
13606 | wxPyEndAllowThreads(__tstate); | |
13607 | if (PyErr_Occurred()) SWIG_fail; | |
13608 | } | |
36ed4f51 RD |
13609 | { |
13610 | resultobj = SWIG_From_long((long)(result)); | |
13611 | } | |
d55e5bfc RD |
13612 | return resultobj; |
13613 | fail: | |
13614 | return NULL; | |
13615 | } | |
13616 | ||
13617 | ||
c370783e | 13618 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13619 | PyObject *resultobj; |
13620 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13621 | wxString *arg2 = 0 ; | |
b411df4a | 13622 | bool temp2 = false ; |
d55e5bfc RD |
13623 | PyObject * obj0 = 0 ; |
13624 | PyObject * obj1 = 0 ; | |
13625 | char *kwnames[] = { | |
13626 | (char *) "self",(char *) "message", NULL | |
13627 | }; | |
13628 | ||
13629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13630 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13631 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13632 | { |
13633 | arg2 = wxString_in_helper(obj1); | |
13634 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13635 | temp2 = true; |
d55e5bfc RD |
13636 | } |
13637 | { | |
13638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13639 | (arg1)->SetMessage((wxString const &)*arg2); | |
13640 | ||
13641 | wxPyEndAllowThreads(__tstate); | |
13642 | if (PyErr_Occurred()) SWIG_fail; | |
13643 | } | |
13644 | Py_INCREF(Py_None); resultobj = Py_None; | |
13645 | { | |
13646 | if (temp2) | |
13647 | delete arg2; | |
13648 | } | |
13649 | return resultobj; | |
13650 | fail: | |
13651 | { | |
13652 | if (temp2) | |
13653 | delete arg2; | |
13654 | } | |
13655 | return NULL; | |
13656 | } | |
13657 | ||
13658 | ||
c370783e | 13659 | static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13660 | PyObject *resultobj; |
13661 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13662 | wxString *arg2 = 0 ; | |
b411df4a | 13663 | bool temp2 = false ; |
d55e5bfc RD |
13664 | PyObject * obj0 = 0 ; |
13665 | PyObject * obj1 = 0 ; | |
13666 | char *kwnames[] = { | |
13667 | (char *) "self",(char *) "path", NULL | |
13668 | }; | |
13669 | ||
13670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13671 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13672 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13673 | { |
13674 | arg2 = wxString_in_helper(obj1); | |
13675 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13676 | temp2 = true; |
d55e5bfc RD |
13677 | } |
13678 | { | |
13679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13680 | (arg1)->SetPath((wxString const &)*arg2); | |
13681 | ||
13682 | wxPyEndAllowThreads(__tstate); | |
13683 | if (PyErr_Occurred()) SWIG_fail; | |
13684 | } | |
13685 | Py_INCREF(Py_None); resultobj = Py_None; | |
13686 | { | |
13687 | if (temp2) | |
13688 | delete arg2; | |
13689 | } | |
13690 | return resultobj; | |
13691 | fail: | |
13692 | { | |
13693 | if (temp2) | |
13694 | delete arg2; | |
13695 | } | |
13696 | return NULL; | |
13697 | } | |
13698 | ||
13699 | ||
c370783e | 13700 | static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13701 | PyObject *obj; |
13702 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13703 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
13704 | Py_INCREF(obj); | |
13705 | return Py_BuildValue((char *)""); | |
13706 | } | |
c370783e | 13707 | static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13708 | PyObject *resultobj; |
13709 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13710 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
13711 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
13712 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13713 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13714 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
13715 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
13716 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
13717 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
13718 | long arg6 = (long) 0 ; | |
13719 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
13720 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
13721 | wxFileDialog *result; | |
b411df4a RD |
13722 | bool temp2 = false ; |
13723 | bool temp3 = false ; | |
13724 | bool temp4 = false ; | |
13725 | bool temp5 = false ; | |
d55e5bfc RD |
13726 | wxPoint temp7 ; |
13727 | PyObject * obj0 = 0 ; | |
13728 | PyObject * obj1 = 0 ; | |
13729 | PyObject * obj2 = 0 ; | |
13730 | PyObject * obj3 = 0 ; | |
13731 | PyObject * obj4 = 0 ; | |
13732 | PyObject * obj5 = 0 ; | |
13733 | PyObject * obj6 = 0 ; | |
13734 | char *kwnames[] = { | |
13735 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
13736 | }; | |
13737 | ||
13738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
13739 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
13740 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13741 | if (obj1) { |
13742 | { | |
13743 | arg2 = wxString_in_helper(obj1); | |
13744 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13745 | temp2 = true; |
d55e5bfc RD |
13746 | } |
13747 | } | |
13748 | if (obj2) { | |
13749 | { | |
13750 | arg3 = wxString_in_helper(obj2); | |
13751 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 13752 | temp3 = true; |
d55e5bfc RD |
13753 | } |
13754 | } | |
13755 | if (obj3) { | |
13756 | { | |
13757 | arg4 = wxString_in_helper(obj3); | |
13758 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 13759 | temp4 = true; |
d55e5bfc RD |
13760 | } |
13761 | } | |
13762 | if (obj4) { | |
13763 | { | |
13764 | arg5 = wxString_in_helper(obj4); | |
13765 | if (arg5 == NULL) SWIG_fail; | |
b411df4a | 13766 | temp5 = true; |
d55e5bfc RD |
13767 | } |
13768 | } | |
13769 | if (obj5) { | |
36ed4f51 RD |
13770 | { |
13771 | arg6 = (long)(SWIG_As_long(obj5)); | |
13772 | if (SWIG_arg_fail(6)) SWIG_fail; | |
13773 | } | |
d55e5bfc RD |
13774 | } |
13775 | if (obj6) { | |
13776 | { | |
13777 | arg7 = &temp7; | |
13778 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
13779 | } | |
13780 | } | |
13781 | { | |
0439c23b | 13782 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13784 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
13785 | ||
13786 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13787 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13788 | } |
13789 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); | |
13790 | { | |
13791 | if (temp2) | |
13792 | delete arg2; | |
13793 | } | |
13794 | { | |
13795 | if (temp3) | |
13796 | delete arg3; | |
13797 | } | |
13798 | { | |
13799 | if (temp4) | |
13800 | delete arg4; | |
13801 | } | |
13802 | { | |
13803 | if (temp5) | |
13804 | delete arg5; | |
13805 | } | |
13806 | return resultobj; | |
13807 | fail: | |
13808 | { | |
13809 | if (temp2) | |
13810 | delete arg2; | |
13811 | } | |
13812 | { | |
13813 | if (temp3) | |
13814 | delete arg3; | |
13815 | } | |
13816 | { | |
13817 | if (temp4) | |
13818 | delete arg4; | |
13819 | } | |
13820 | { | |
13821 | if (temp5) | |
13822 | delete arg5; | |
13823 | } | |
13824 | return NULL; | |
13825 | } | |
13826 | ||
13827 | ||
c370783e | 13828 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13829 | PyObject *resultobj; |
13830 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
13831 | wxString *arg2 = 0 ; | |
b411df4a | 13832 | bool temp2 = false ; |
d55e5bfc RD |
13833 | PyObject * obj0 = 0 ; |
13834 | PyObject * obj1 = 0 ; | |
13835 | char *kwnames[] = { | |
13836 | (char *) "self",(char *) "message", NULL | |
13837 | }; | |
13838 | ||
13839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13840 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
13841 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13842 | { |
13843 | arg2 = wxString_in_helper(obj1); | |
13844 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13845 | temp2 = true; |
d55e5bfc RD |
13846 | } |
13847 | { | |
13848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13849 | (arg1)->SetMessage((wxString const &)*arg2); | |
13850 | ||
13851 | wxPyEndAllowThreads(__tstate); | |
13852 | if (PyErr_Occurred()) SWIG_fail; | |
13853 | } | |
13854 | Py_INCREF(Py_None); resultobj = Py_None; | |
13855 | { | |
13856 | if (temp2) | |
13857 | delete arg2; | |
13858 | } | |
13859 | return resultobj; | |
13860 | fail: | |
13861 | { | |
13862 | if (temp2) | |
13863 | delete arg2; | |
13864 | } | |
13865 | return NULL; | |
13866 | } | |
13867 | ||
13868 | ||
c370783e | 13869 | static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13870 | PyObject *resultobj; |
13871 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
13872 | wxString *arg2 = 0 ; | |
b411df4a | 13873 | bool temp2 = false ; |
d55e5bfc RD |
13874 | PyObject * obj0 = 0 ; |
13875 | PyObject * obj1 = 0 ; | |
13876 | char *kwnames[] = { | |
13877 | (char *) "self",(char *) "path", NULL | |
13878 | }; | |
13879 | ||
13880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13881 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
13882 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13883 | { |
13884 | arg2 = wxString_in_helper(obj1); | |
13885 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13886 | temp2 = true; |
d55e5bfc RD |
13887 | } |
13888 | { | |
13889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13890 | (arg1)->SetPath((wxString const &)*arg2); | |
13891 | ||
13892 | wxPyEndAllowThreads(__tstate); | |
13893 | if (PyErr_Occurred()) SWIG_fail; | |
13894 | } | |
13895 | Py_INCREF(Py_None); resultobj = Py_None; | |
13896 | { | |
13897 | if (temp2) | |
13898 | delete arg2; | |
13899 | } | |
13900 | return resultobj; | |
13901 | fail: | |
13902 | { | |
13903 | if (temp2) | |
13904 | delete arg2; | |
13905 | } | |
13906 | return NULL; | |
13907 | } | |
13908 | ||
13909 | ||
c370783e | 13910 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13911 | PyObject *resultobj; |
13912 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
13913 | wxString *arg2 = 0 ; | |
b411df4a | 13914 | bool temp2 = false ; |
d55e5bfc RD |
13915 | PyObject * obj0 = 0 ; |
13916 | PyObject * obj1 = 0 ; | |
13917 | char *kwnames[] = { | |
13918 | (char *) "self",(char *) "dir", NULL | |
13919 | }; | |
13920 | ||
13921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13922 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
13923 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13924 | { |
13925 | arg2 = wxString_in_helper(obj1); | |
13926 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13927 | temp2 = true; |
d55e5bfc RD |
13928 | } |
13929 | { | |
13930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13931 | (arg1)->SetDirectory((wxString const &)*arg2); | |
13932 | ||
13933 | wxPyEndAllowThreads(__tstate); | |
13934 | if (PyErr_Occurred()) SWIG_fail; | |
13935 | } | |
13936 | Py_INCREF(Py_None); resultobj = Py_None; | |
13937 | { | |
13938 | if (temp2) | |
13939 | delete arg2; | |
13940 | } | |
13941 | return resultobj; | |
13942 | fail: | |
13943 | { | |
13944 | if (temp2) | |
13945 | delete arg2; | |
13946 | } | |
13947 | return NULL; | |
13948 | } | |
13949 | ||
13950 | ||
c370783e | 13951 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13952 | PyObject *resultobj; |
13953 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
13954 | wxString *arg2 = 0 ; | |
b411df4a | 13955 | bool temp2 = false ; |
d55e5bfc RD |
13956 | PyObject * obj0 = 0 ; |
13957 | PyObject * obj1 = 0 ; | |
13958 | char *kwnames[] = { | |
13959 | (char *) "self",(char *) "name", NULL | |
13960 | }; | |
13961 | ||
13962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13963 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
13964 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13965 | { |
13966 | arg2 = wxString_in_helper(obj1); | |
13967 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13968 | temp2 = true; |
d55e5bfc RD |
13969 | } |
13970 | { | |
13971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13972 | (arg1)->SetFilename((wxString const &)*arg2); | |
13973 | ||
13974 | wxPyEndAllowThreads(__tstate); | |
13975 | if (PyErr_Occurred()) SWIG_fail; | |
13976 | } | |
13977 | Py_INCREF(Py_None); resultobj = Py_None; | |
13978 | { | |
13979 | if (temp2) | |
13980 | delete arg2; | |
13981 | } | |
13982 | return resultobj; | |
13983 | fail: | |
13984 | { | |
13985 | if (temp2) | |
13986 | delete arg2; | |
13987 | } | |
13988 | return NULL; | |
13989 | } | |
13990 | ||
13991 | ||
c370783e | 13992 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13993 | PyObject *resultobj; |
13994 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
13995 | wxString *arg2 = 0 ; | |
b411df4a | 13996 | bool temp2 = false ; |
d55e5bfc RD |
13997 | PyObject * obj0 = 0 ; |
13998 | PyObject * obj1 = 0 ; | |
13999 | char *kwnames[] = { | |
14000 | (char *) "self",(char *) "wildCard", NULL | |
14001 | }; | |
14002 | ||
14003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14004 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14005 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14006 | { |
14007 | arg2 = wxString_in_helper(obj1); | |
14008 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14009 | temp2 = true; |
d55e5bfc RD |
14010 | } |
14011 | { | |
14012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14013 | (arg1)->SetWildcard((wxString const &)*arg2); | |
14014 | ||
14015 | wxPyEndAllowThreads(__tstate); | |
14016 | if (PyErr_Occurred()) SWIG_fail; | |
14017 | } | |
14018 | Py_INCREF(Py_None); resultobj = Py_None; | |
14019 | { | |
14020 | if (temp2) | |
14021 | delete arg2; | |
14022 | } | |
14023 | return resultobj; | |
14024 | fail: | |
14025 | { | |
14026 | if (temp2) | |
14027 | delete arg2; | |
14028 | } | |
14029 | return NULL; | |
14030 | } | |
14031 | ||
14032 | ||
c370783e | 14033 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14034 | PyObject *resultobj; |
14035 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14036 | long arg2 ; | |
14037 | PyObject * obj0 = 0 ; | |
14038 | PyObject * obj1 = 0 ; | |
14039 | char *kwnames[] = { | |
14040 | (char *) "self",(char *) "style", NULL | |
14041 | }; | |
14042 | ||
14043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14044 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14045 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14046 | { | |
14047 | arg2 = (long)(SWIG_As_long(obj1)); | |
14048 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14049 | } | |
d55e5bfc RD |
14050 | { |
14051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14052 | (arg1)->SetStyle(arg2); | |
14053 | ||
14054 | wxPyEndAllowThreads(__tstate); | |
14055 | if (PyErr_Occurred()) SWIG_fail; | |
14056 | } | |
14057 | Py_INCREF(Py_None); resultobj = Py_None; | |
14058 | return resultobj; | |
14059 | fail: | |
14060 | return NULL; | |
14061 | } | |
14062 | ||
14063 | ||
c370783e | 14064 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14065 | PyObject *resultobj; |
14066 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14067 | int arg2 ; | |
14068 | PyObject * obj0 = 0 ; | |
14069 | PyObject * obj1 = 0 ; | |
14070 | char *kwnames[] = { | |
14071 | (char *) "self",(char *) "filterIndex", NULL | |
14072 | }; | |
14073 | ||
14074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14075 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14076 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14077 | { | |
14078 | arg2 = (int)(SWIG_As_int(obj1)); | |
14079 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14080 | } | |
d55e5bfc RD |
14081 | { |
14082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14083 | (arg1)->SetFilterIndex(arg2); | |
14084 | ||
14085 | wxPyEndAllowThreads(__tstate); | |
14086 | if (PyErr_Occurred()) SWIG_fail; | |
14087 | } | |
14088 | Py_INCREF(Py_None); resultobj = Py_None; | |
14089 | return resultobj; | |
14090 | fail: | |
14091 | return NULL; | |
14092 | } | |
14093 | ||
14094 | ||
c370783e | 14095 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14096 | PyObject *resultobj; |
14097 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14098 | wxString result; | |
14099 | PyObject * obj0 = 0 ; | |
14100 | char *kwnames[] = { | |
14101 | (char *) "self", NULL | |
14102 | }; | |
14103 | ||
14104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14105 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14106 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14107 | { |
14108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14109 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
14110 | ||
14111 | wxPyEndAllowThreads(__tstate); | |
14112 | if (PyErr_Occurred()) SWIG_fail; | |
14113 | } | |
14114 | { | |
14115 | #if wxUSE_UNICODE | |
14116 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14117 | #else | |
14118 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14119 | #endif | |
14120 | } | |
14121 | return resultobj; | |
14122 | fail: | |
14123 | return NULL; | |
14124 | } | |
14125 | ||
14126 | ||
c370783e | 14127 | static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14128 | PyObject *resultobj; |
14129 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14130 | wxString result; | |
14131 | PyObject * obj0 = 0 ; | |
14132 | char *kwnames[] = { | |
14133 | (char *) "self", NULL | |
14134 | }; | |
14135 | ||
14136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14137 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14138 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14139 | { |
14140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14141 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
14142 | ||
14143 | wxPyEndAllowThreads(__tstate); | |
14144 | if (PyErr_Occurred()) SWIG_fail; | |
14145 | } | |
14146 | { | |
14147 | #if wxUSE_UNICODE | |
14148 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14149 | #else | |
14150 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14151 | #endif | |
14152 | } | |
14153 | return resultobj; | |
14154 | fail: | |
14155 | return NULL; | |
14156 | } | |
14157 | ||
14158 | ||
c370783e | 14159 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14160 | PyObject *resultobj; |
14161 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14162 | wxString result; | |
14163 | PyObject * obj0 = 0 ; | |
14164 | char *kwnames[] = { | |
14165 | (char *) "self", NULL | |
14166 | }; | |
14167 | ||
14168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14169 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14170 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14171 | { |
14172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14173 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
14174 | ||
14175 | wxPyEndAllowThreads(__tstate); | |
14176 | if (PyErr_Occurred()) SWIG_fail; | |
14177 | } | |
14178 | { | |
14179 | #if wxUSE_UNICODE | |
14180 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14181 | #else | |
14182 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14183 | #endif | |
14184 | } | |
14185 | return resultobj; | |
14186 | fail: | |
14187 | return NULL; | |
14188 | } | |
14189 | ||
14190 | ||
c370783e | 14191 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14192 | PyObject *resultobj; |
14193 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14194 | wxString result; | |
14195 | PyObject * obj0 = 0 ; | |
14196 | char *kwnames[] = { | |
14197 | (char *) "self", NULL | |
14198 | }; | |
14199 | ||
14200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14201 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14202 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14203 | { |
14204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14205 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
14206 | ||
14207 | wxPyEndAllowThreads(__tstate); | |
14208 | if (PyErr_Occurred()) SWIG_fail; | |
14209 | } | |
14210 | { | |
14211 | #if wxUSE_UNICODE | |
14212 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14213 | #else | |
14214 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14215 | #endif | |
14216 | } | |
14217 | return resultobj; | |
14218 | fail: | |
14219 | return NULL; | |
14220 | } | |
14221 | ||
14222 | ||
c370783e | 14223 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14224 | PyObject *resultobj; |
14225 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14226 | wxString result; | |
14227 | PyObject * obj0 = 0 ; | |
14228 | char *kwnames[] = { | |
14229 | (char *) "self", NULL | |
14230 | }; | |
14231 | ||
14232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14233 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14234 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14235 | { |
14236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14237 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
14238 | ||
14239 | wxPyEndAllowThreads(__tstate); | |
14240 | if (PyErr_Occurred()) SWIG_fail; | |
14241 | } | |
14242 | { | |
14243 | #if wxUSE_UNICODE | |
14244 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14245 | #else | |
14246 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14247 | #endif | |
14248 | } | |
14249 | return resultobj; | |
14250 | fail: | |
14251 | return NULL; | |
14252 | } | |
14253 | ||
14254 | ||
c370783e | 14255 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14256 | PyObject *resultobj; |
14257 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14258 | long result; | |
14259 | PyObject * obj0 = 0 ; | |
14260 | char *kwnames[] = { | |
14261 | (char *) "self", NULL | |
14262 | }; | |
14263 | ||
14264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14265 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14266 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14267 | { |
14268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14269 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
14270 | ||
14271 | wxPyEndAllowThreads(__tstate); | |
14272 | if (PyErr_Occurred()) SWIG_fail; | |
14273 | } | |
36ed4f51 RD |
14274 | { |
14275 | resultobj = SWIG_From_long((long)(result)); | |
14276 | } | |
d55e5bfc RD |
14277 | return resultobj; |
14278 | fail: | |
14279 | return NULL; | |
14280 | } | |
14281 | ||
14282 | ||
c370783e | 14283 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14284 | PyObject *resultobj; |
14285 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14286 | int result; | |
14287 | PyObject * obj0 = 0 ; | |
14288 | char *kwnames[] = { | |
14289 | (char *) "self", NULL | |
14290 | }; | |
14291 | ||
14292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14293 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14294 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14295 | { |
14296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14297 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
14298 | ||
14299 | wxPyEndAllowThreads(__tstate); | |
14300 | if (PyErr_Occurred()) SWIG_fail; | |
14301 | } | |
36ed4f51 RD |
14302 | { |
14303 | resultobj = SWIG_From_int((int)(result)); | |
14304 | } | |
d55e5bfc RD |
14305 | return resultobj; |
14306 | fail: | |
14307 | return NULL; | |
14308 | } | |
14309 | ||
14310 | ||
c370783e | 14311 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14312 | PyObject *resultobj; |
14313 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14314 | PyObject *result; | |
14315 | PyObject * obj0 = 0 ; | |
14316 | char *kwnames[] = { | |
14317 | (char *) "self", NULL | |
14318 | }; | |
14319 | ||
14320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14321 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14322 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14323 | { |
14324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14325 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
14326 | ||
14327 | wxPyEndAllowThreads(__tstate); | |
14328 | if (PyErr_Occurred()) SWIG_fail; | |
14329 | } | |
14330 | resultobj = result; | |
14331 | return resultobj; | |
14332 | fail: | |
14333 | return NULL; | |
14334 | } | |
14335 | ||
14336 | ||
c370783e | 14337 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14338 | PyObject *resultobj; |
14339 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14340 | PyObject *result; | |
14341 | PyObject * obj0 = 0 ; | |
14342 | char *kwnames[] = { | |
14343 | (char *) "self", NULL | |
14344 | }; | |
14345 | ||
14346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14347 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14348 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14349 | { |
14350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14351 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
14352 | ||
14353 | wxPyEndAllowThreads(__tstate); | |
14354 | if (PyErr_Occurred()) SWIG_fail; | |
14355 | } | |
14356 | resultobj = result; | |
14357 | return resultobj; | |
14358 | fail: | |
14359 | return NULL; | |
14360 | } | |
14361 | ||
14362 | ||
c370783e | 14363 | static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14364 | PyObject *obj; |
14365 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14366 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
14367 | Py_INCREF(obj); | |
14368 | return Py_BuildValue((char *)""); | |
14369 | } | |
c370783e | 14370 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14371 | PyObject *resultobj; |
14372 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14373 | wxString *arg2 = 0 ; | |
14374 | wxString *arg3 = 0 ; | |
14375 | int arg4 = (int) 0 ; | |
bfddbb17 | 14376 | wxString *arg5 = (wxString *) NULL ; |
d55e5bfc RD |
14377 | long arg6 = (long) wxCHOICEDLG_STYLE ; |
14378 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
14379 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
14380 | wxMultiChoiceDialog *result; | |
b411df4a RD |
14381 | bool temp2 = false ; |
14382 | bool temp3 = false ; | |
36ed4f51 | 14383 | wxPoint temp7 ; |
d55e5bfc RD |
14384 | PyObject * obj0 = 0 ; |
14385 | PyObject * obj1 = 0 ; | |
14386 | PyObject * obj2 = 0 ; | |
14387 | PyObject * obj3 = 0 ; | |
14388 | PyObject * obj4 = 0 ; | |
14389 | PyObject * obj5 = 0 ; | |
14390 | char *kwnames[] = { | |
14391 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
14392 | }; | |
14393 | ||
14394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
14395 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14396 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14397 | { |
14398 | arg2 = wxString_in_helper(obj1); | |
14399 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14400 | temp2 = true; |
d55e5bfc RD |
14401 | } |
14402 | { | |
14403 | arg3 = wxString_in_helper(obj2); | |
14404 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 14405 | temp3 = true; |
d55e5bfc RD |
14406 | } |
14407 | if (obj3) { | |
14408 | { | |
14409 | arg4 = PyList_Size(obj3); | |
14410 | arg5 = wxString_LIST_helper(obj3); | |
14411 | if (arg5 == NULL) SWIG_fail; | |
14412 | } | |
14413 | } | |
14414 | if (obj4) { | |
36ed4f51 RD |
14415 | { |
14416 | arg6 = (long)(SWIG_As_long(obj4)); | |
14417 | if (SWIG_arg_fail(6)) SWIG_fail; | |
14418 | } | |
d55e5bfc RD |
14419 | } |
14420 | if (obj5) { | |
14421 | { | |
36ed4f51 | 14422 | arg7 = &temp7; |
d55e5bfc RD |
14423 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; |
14424 | } | |
14425 | } | |
14426 | { | |
0439c23b | 14427 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14429 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
14430 | ||
14431 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14432 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14433 | } |
14434 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); | |
14435 | { | |
14436 | if (temp2) | |
14437 | delete arg2; | |
14438 | } | |
14439 | { | |
14440 | if (temp3) | |
14441 | delete arg3; | |
14442 | } | |
14443 | { | |
14444 | if (arg5) delete [] arg5; | |
14445 | } | |
14446 | return resultobj; | |
14447 | fail: | |
14448 | { | |
14449 | if (temp2) | |
14450 | delete arg2; | |
14451 | } | |
14452 | { | |
14453 | if (temp3) | |
14454 | delete arg3; | |
14455 | } | |
14456 | { | |
14457 | if (arg5) delete [] arg5; | |
14458 | } | |
14459 | return NULL; | |
14460 | } | |
14461 | ||
14462 | ||
c370783e | 14463 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14464 | PyObject *resultobj; |
14465 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
14466 | wxArrayInt *arg2 = 0 ; | |
b411df4a | 14467 | bool temp2 = false ; |
d55e5bfc RD |
14468 | PyObject * obj0 = 0 ; |
14469 | PyObject * obj1 = 0 ; | |
14470 | char *kwnames[] = { | |
14471 | (char *) "self",(char *) "selections", NULL | |
14472 | }; | |
14473 | ||
14474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14475 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14476 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14477 | { |
14478 | if (! PySequence_Check(obj1)) { | |
14479 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
14480 | SWIG_fail; | |
14481 | } | |
14482 | arg2 = new wxArrayInt; | |
b411df4a | 14483 | temp2 = true; |
d55e5bfc RD |
14484 | int i, len=PySequence_Length(obj1); |
14485 | for (i=0; i<len; i++) { | |
14486 | PyObject* item = PySequence_GetItem(obj1, i); | |
14487 | PyObject* number = PyNumber_Int(item); | |
14488 | arg2->Add(PyInt_AS_LONG(number)); | |
14489 | Py_DECREF(item); | |
14490 | Py_DECREF(number); | |
14491 | } | |
14492 | } | |
14493 | { | |
14494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14495 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
14496 | ||
14497 | wxPyEndAllowThreads(__tstate); | |
14498 | if (PyErr_Occurred()) SWIG_fail; | |
14499 | } | |
14500 | Py_INCREF(Py_None); resultobj = Py_None; | |
14501 | { | |
14502 | if (temp2) delete arg2; | |
14503 | } | |
14504 | return resultobj; | |
14505 | fail: | |
14506 | { | |
14507 | if (temp2) delete arg2; | |
14508 | } | |
14509 | return NULL; | |
14510 | } | |
14511 | ||
14512 | ||
c370783e | 14513 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14514 | PyObject *resultobj; |
14515 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
14516 | PyObject *result; | |
14517 | PyObject * obj0 = 0 ; | |
14518 | char *kwnames[] = { | |
14519 | (char *) "self", NULL | |
14520 | }; | |
14521 | ||
14522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14523 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14524 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14525 | { |
14526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14527 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
14528 | ||
14529 | wxPyEndAllowThreads(__tstate); | |
14530 | if (PyErr_Occurred()) SWIG_fail; | |
14531 | } | |
14532 | resultobj = result; | |
14533 | return resultobj; | |
14534 | fail: | |
14535 | return NULL; | |
14536 | } | |
14537 | ||
14538 | ||
c370783e | 14539 | static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14540 | PyObject *obj; |
14541 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14542 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
14543 | Py_INCREF(obj); | |
14544 | return Py_BuildValue((char *)""); | |
14545 | } | |
c370783e | 14546 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14547 | PyObject *resultobj; |
14548 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14549 | wxString *arg2 = 0 ; | |
14550 | wxString *arg3 = 0 ; | |
14551 | int arg4 ; | |
14552 | wxString *arg5 = (wxString *) 0 ; | |
14553 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
14554 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
14555 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
14556 | wxSingleChoiceDialog *result; | |
b411df4a RD |
14557 | bool temp2 = false ; |
14558 | bool temp3 = false ; | |
36ed4f51 | 14559 | wxPoint temp7 ; |
d55e5bfc RD |
14560 | PyObject * obj0 = 0 ; |
14561 | PyObject * obj1 = 0 ; | |
14562 | PyObject * obj2 = 0 ; | |
14563 | PyObject * obj3 = 0 ; | |
14564 | PyObject * obj4 = 0 ; | |
14565 | PyObject * obj5 = 0 ; | |
14566 | char *kwnames[] = { | |
14567 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
14568 | }; | |
14569 | ||
14570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
14571 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14572 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14573 | { |
14574 | arg2 = wxString_in_helper(obj1); | |
14575 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14576 | temp2 = true; |
d55e5bfc RD |
14577 | } |
14578 | { | |
14579 | arg3 = wxString_in_helper(obj2); | |
14580 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 14581 | temp3 = true; |
d55e5bfc RD |
14582 | } |
14583 | { | |
14584 | arg4 = PyList_Size(obj3); | |
14585 | arg5 = wxString_LIST_helper(obj3); | |
14586 | if (arg5 == NULL) SWIG_fail; | |
14587 | } | |
14588 | if (obj4) { | |
36ed4f51 RD |
14589 | { |
14590 | arg6 = (long)(SWIG_As_long(obj4)); | |
14591 | if (SWIG_arg_fail(6)) SWIG_fail; | |
14592 | } | |
d55e5bfc RD |
14593 | } |
14594 | if (obj5) { | |
14595 | { | |
36ed4f51 | 14596 | arg7 = &temp7; |
d55e5bfc RD |
14597 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; |
14598 | } | |
14599 | } | |
14600 | { | |
0439c23b | 14601 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14603 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
14604 | ||
14605 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14606 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14607 | } |
14608 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); | |
14609 | { | |
14610 | if (temp2) | |
14611 | delete arg2; | |
14612 | } | |
14613 | { | |
14614 | if (temp3) | |
14615 | delete arg3; | |
14616 | } | |
14617 | { | |
14618 | if (arg5) delete [] arg5; | |
14619 | } | |
14620 | return resultobj; | |
14621 | fail: | |
14622 | { | |
14623 | if (temp2) | |
14624 | delete arg2; | |
14625 | } | |
14626 | { | |
14627 | if (temp3) | |
14628 | delete arg3; | |
14629 | } | |
14630 | { | |
14631 | if (arg5) delete [] arg5; | |
14632 | } | |
14633 | return NULL; | |
14634 | } | |
14635 | ||
14636 | ||
c370783e | 14637 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14638 | PyObject *resultobj; |
14639 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
14640 | int result; | |
14641 | PyObject * obj0 = 0 ; | |
14642 | char *kwnames[] = { | |
14643 | (char *) "self", NULL | |
14644 | }; | |
14645 | ||
14646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14647 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14648 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14649 | { |
14650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14651 | result = (int)(arg1)->GetSelection(); | |
14652 | ||
14653 | wxPyEndAllowThreads(__tstate); | |
14654 | if (PyErr_Occurred()) SWIG_fail; | |
14655 | } | |
36ed4f51 RD |
14656 | { |
14657 | resultobj = SWIG_From_int((int)(result)); | |
14658 | } | |
d55e5bfc RD |
14659 | return resultobj; |
14660 | fail: | |
14661 | return NULL; | |
14662 | } | |
14663 | ||
14664 | ||
c370783e | 14665 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14666 | PyObject *resultobj; |
14667 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
14668 | wxString result; | |
14669 | PyObject * obj0 = 0 ; | |
14670 | char *kwnames[] = { | |
14671 | (char *) "self", NULL | |
14672 | }; | |
14673 | ||
14674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14675 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14676 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14677 | { |
14678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14679 | result = (arg1)->GetStringSelection(); | |
14680 | ||
14681 | wxPyEndAllowThreads(__tstate); | |
14682 | if (PyErr_Occurred()) SWIG_fail; | |
14683 | } | |
14684 | { | |
14685 | #if wxUSE_UNICODE | |
14686 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14687 | #else | |
14688 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14689 | #endif | |
14690 | } | |
14691 | return resultobj; | |
14692 | fail: | |
14693 | return NULL; | |
14694 | } | |
14695 | ||
14696 | ||
c370783e | 14697 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14698 | PyObject *resultobj; |
14699 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
14700 | int arg2 ; | |
14701 | PyObject * obj0 = 0 ; | |
14702 | PyObject * obj1 = 0 ; | |
14703 | char *kwnames[] = { | |
14704 | (char *) "self",(char *) "sel", NULL | |
14705 | }; | |
14706 | ||
14707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14708 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14709 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14710 | { | |
14711 | arg2 = (int)(SWIG_As_int(obj1)); | |
14712 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14713 | } | |
d55e5bfc RD |
14714 | { |
14715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14716 | (arg1)->SetSelection(arg2); | |
14717 | ||
14718 | wxPyEndAllowThreads(__tstate); | |
14719 | if (PyErr_Occurred()) SWIG_fail; | |
14720 | } | |
14721 | Py_INCREF(Py_None); resultobj = Py_None; | |
14722 | return resultobj; | |
14723 | fail: | |
14724 | return NULL; | |
14725 | } | |
14726 | ||
14727 | ||
c370783e | 14728 | static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14729 | PyObject *obj; |
14730 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14731 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
14732 | Py_INCREF(obj); | |
14733 | return Py_BuildValue((char *)""); | |
14734 | } | |
c370783e | 14735 | static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14736 | PyObject *resultobj; |
14737 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14738 | wxString *arg2 = 0 ; | |
14739 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
14740 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14741 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
14742 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
070c48b4 | 14743 | long arg5 = (long) wxTextEntryDialogStyle ; |
d55e5bfc RD |
14744 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
14745 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
14746 | wxTextEntryDialog *result; | |
b411df4a RD |
14747 | bool temp2 = false ; |
14748 | bool temp3 = false ; | |
14749 | bool temp4 = false ; | |
d55e5bfc RD |
14750 | wxPoint temp6 ; |
14751 | PyObject * obj0 = 0 ; | |
14752 | PyObject * obj1 = 0 ; | |
14753 | PyObject * obj2 = 0 ; | |
14754 | PyObject * obj3 = 0 ; | |
14755 | PyObject * obj4 = 0 ; | |
14756 | PyObject * obj5 = 0 ; | |
14757 | char *kwnames[] = { | |
14758 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
14759 | }; | |
14760 | ||
14761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
14762 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14763 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14764 | { |
14765 | arg2 = wxString_in_helper(obj1); | |
14766 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14767 | temp2 = true; |
d55e5bfc RD |
14768 | } |
14769 | if (obj2) { | |
14770 | { | |
14771 | arg3 = wxString_in_helper(obj2); | |
14772 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 14773 | temp3 = true; |
d55e5bfc RD |
14774 | } |
14775 | } | |
14776 | if (obj3) { | |
14777 | { | |
14778 | arg4 = wxString_in_helper(obj3); | |
14779 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 14780 | temp4 = true; |
d55e5bfc RD |
14781 | } |
14782 | } | |
14783 | if (obj4) { | |
36ed4f51 RD |
14784 | { |
14785 | arg5 = (long)(SWIG_As_long(obj4)); | |
14786 | if (SWIG_arg_fail(5)) SWIG_fail; | |
14787 | } | |
d55e5bfc RD |
14788 | } |
14789 | if (obj5) { | |
14790 | { | |
14791 | arg6 = &temp6; | |
14792 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
14793 | } | |
14794 | } | |
14795 | { | |
0439c23b | 14796 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14798 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
14799 | ||
14800 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14801 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14802 | } |
14803 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); | |
14804 | { | |
14805 | if (temp2) | |
14806 | delete arg2; | |
14807 | } | |
14808 | { | |
14809 | if (temp3) | |
14810 | delete arg3; | |
14811 | } | |
14812 | { | |
14813 | if (temp4) | |
14814 | delete arg4; | |
14815 | } | |
14816 | return resultobj; | |
14817 | fail: | |
14818 | { | |
14819 | if (temp2) | |
14820 | delete arg2; | |
14821 | } | |
14822 | { | |
14823 | if (temp3) | |
14824 | delete arg3; | |
14825 | } | |
14826 | { | |
14827 | if (temp4) | |
14828 | delete arg4; | |
14829 | } | |
14830 | return NULL; | |
14831 | } | |
14832 | ||
14833 | ||
c370783e | 14834 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14835 | PyObject *resultobj; |
14836 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
14837 | wxString result; | |
14838 | PyObject * obj0 = 0 ; | |
14839 | char *kwnames[] = { | |
14840 | (char *) "self", NULL | |
14841 | }; | |
14842 | ||
14843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14844 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0); |
14845 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14846 | { |
14847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14848 | result = (arg1)->GetValue(); | |
14849 | ||
14850 | wxPyEndAllowThreads(__tstate); | |
14851 | if (PyErr_Occurred()) SWIG_fail; | |
14852 | } | |
14853 | { | |
14854 | #if wxUSE_UNICODE | |
14855 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14856 | #else | |
14857 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14858 | #endif | |
14859 | } | |
14860 | return resultobj; | |
14861 | fail: | |
14862 | return NULL; | |
14863 | } | |
14864 | ||
14865 | ||
c370783e | 14866 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14867 | PyObject *resultobj; |
14868 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
14869 | wxString *arg2 = 0 ; | |
b411df4a | 14870 | bool temp2 = false ; |
d55e5bfc RD |
14871 | PyObject * obj0 = 0 ; |
14872 | PyObject * obj1 = 0 ; | |
14873 | char *kwnames[] = { | |
14874 | (char *) "self",(char *) "value", NULL | |
14875 | }; | |
14876 | ||
14877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14878 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0); |
14879 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14880 | { |
14881 | arg2 = wxString_in_helper(obj1); | |
14882 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14883 | temp2 = true; |
d55e5bfc RD |
14884 | } |
14885 | { | |
14886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14887 | (arg1)->SetValue((wxString const &)*arg2); | |
14888 | ||
14889 | wxPyEndAllowThreads(__tstate); | |
14890 | if (PyErr_Occurred()) SWIG_fail; | |
14891 | } | |
14892 | Py_INCREF(Py_None); resultobj = Py_None; | |
14893 | { | |
14894 | if (temp2) | |
14895 | delete arg2; | |
14896 | } | |
14897 | return resultobj; | |
14898 | fail: | |
14899 | { | |
14900 | if (temp2) | |
14901 | delete arg2; | |
14902 | } | |
14903 | return NULL; | |
14904 | } | |
14905 | ||
14906 | ||
c370783e | 14907 | static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14908 | PyObject *obj; |
14909 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14910 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
14911 | Py_INCREF(obj); | |
14912 | return Py_BuildValue((char *)""); | |
14913 | } | |
070c48b4 RD |
14914 | static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) { |
14915 | PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only."); | |
14916 | return 1; | |
14917 | } | |
14918 | ||
14919 | ||
36ed4f51 | 14920 | static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) { |
070c48b4 RD |
14921 | PyObject *pyobj; |
14922 | ||
14923 | { | |
14924 | #if wxUSE_UNICODE | |
14925 | pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len()); | |
14926 | #else | |
14927 | pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len()); | |
14928 | #endif | |
14929 | } | |
14930 | return pyobj; | |
14931 | } | |
14932 | ||
14933 | ||
14934 | static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { | |
14935 | PyObject *resultobj; | |
14936 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14937 | wxString *arg2 = 0 ; | |
14938 | wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ; | |
14939 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14940 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
14941 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
14942 | long arg5 = (long) wxTextEntryDialogStyle ; | |
14943 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
14944 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
14945 | wxPasswordEntryDialog *result; | |
14946 | bool temp2 = false ; | |
14947 | bool temp3 = false ; | |
14948 | bool temp4 = false ; | |
14949 | wxPoint temp6 ; | |
14950 | PyObject * obj0 = 0 ; | |
14951 | PyObject * obj1 = 0 ; | |
14952 | PyObject * obj2 = 0 ; | |
14953 | PyObject * obj3 = 0 ; | |
14954 | PyObject * obj4 = 0 ; | |
14955 | PyObject * obj5 = 0 ; | |
14956 | char *kwnames[] = { | |
14957 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL | |
14958 | }; | |
14959 | ||
14960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
14961 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14962 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
14963 | { |
14964 | arg2 = wxString_in_helper(obj1); | |
14965 | if (arg2 == NULL) SWIG_fail; | |
14966 | temp2 = true; | |
14967 | } | |
14968 | if (obj2) { | |
14969 | { | |
14970 | arg3 = wxString_in_helper(obj2); | |
14971 | if (arg3 == NULL) SWIG_fail; | |
14972 | temp3 = true; | |
14973 | } | |
14974 | } | |
14975 | if (obj3) { | |
14976 | { | |
14977 | arg4 = wxString_in_helper(obj3); | |
14978 | if (arg4 == NULL) SWIG_fail; | |
14979 | temp4 = true; | |
14980 | } | |
14981 | } | |
14982 | if (obj4) { | |
36ed4f51 RD |
14983 | { |
14984 | arg5 = (long)(SWIG_As_long(obj4)); | |
14985 | if (SWIG_arg_fail(5)) SWIG_fail; | |
14986 | } | |
070c48b4 RD |
14987 | } |
14988 | if (obj5) { | |
14989 | { | |
14990 | arg6 = &temp6; | |
14991 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
14992 | } | |
14993 | } | |
14994 | { | |
14995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14996 | result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
14997 | ||
14998 | wxPyEndAllowThreads(__tstate); | |
14999 | if (PyErr_Occurred()) SWIG_fail; | |
15000 | } | |
15001 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1); | |
15002 | { | |
15003 | if (temp2) | |
15004 | delete arg2; | |
15005 | } | |
15006 | { | |
15007 | if (temp3) | |
15008 | delete arg3; | |
15009 | } | |
15010 | { | |
15011 | if (temp4) | |
15012 | delete arg4; | |
15013 | } | |
15014 | return resultobj; | |
15015 | fail: | |
15016 | { | |
15017 | if (temp2) | |
15018 | delete arg2; | |
15019 | } | |
15020 | { | |
15021 | if (temp3) | |
15022 | delete arg3; | |
15023 | } | |
15024 | { | |
15025 | if (temp4) | |
15026 | delete arg4; | |
15027 | } | |
15028 | return NULL; | |
15029 | } | |
15030 | ||
15031 | ||
15032 | static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) { | |
15033 | PyObject *obj; | |
15034 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15035 | SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj); | |
15036 | Py_INCREF(obj); | |
15037 | return Py_BuildValue((char *)""); | |
15038 | } | |
c370783e | 15039 | static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15040 | PyObject *resultobj; |
15041 | wxFontData *result; | |
15042 | char *kwnames[] = { | |
15043 | NULL | |
15044 | }; | |
15045 | ||
15046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
15047 | { | |
15048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15049 | result = (wxFontData *)new wxFontData(); | |
15050 | ||
15051 | wxPyEndAllowThreads(__tstate); | |
15052 | if (PyErr_Occurred()) SWIG_fail; | |
15053 | } | |
15054 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); | |
15055 | return resultobj; | |
15056 | fail: | |
15057 | return NULL; | |
15058 | } | |
15059 | ||
15060 | ||
c370783e | 15061 | static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15062 | PyObject *resultobj; |
15063 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15064 | PyObject * obj0 = 0 ; | |
15065 | char *kwnames[] = { | |
15066 | (char *) "self", NULL | |
15067 | }; | |
15068 | ||
15069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15070 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15071 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15072 | { |
15073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15074 | delete arg1; | |
15075 | ||
15076 | wxPyEndAllowThreads(__tstate); | |
15077 | if (PyErr_Occurred()) SWIG_fail; | |
15078 | } | |
15079 | Py_INCREF(Py_None); resultobj = Py_None; | |
15080 | return resultobj; | |
15081 | fail: | |
15082 | return NULL; | |
15083 | } | |
15084 | ||
15085 | ||
c370783e | 15086 | static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15087 | PyObject *resultobj; |
15088 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15089 | bool arg2 ; | |
15090 | PyObject * obj0 = 0 ; | |
15091 | PyObject * obj1 = 0 ; | |
15092 | char *kwnames[] = { | |
15093 | (char *) "self",(char *) "enable", NULL | |
15094 | }; | |
15095 | ||
15096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15097 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15098 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15099 | { | |
15100 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15101 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15102 | } | |
d55e5bfc RD |
15103 | { |
15104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15105 | (arg1)->EnableEffects(arg2); | |
15106 | ||
15107 | wxPyEndAllowThreads(__tstate); | |
15108 | if (PyErr_Occurred()) SWIG_fail; | |
15109 | } | |
15110 | Py_INCREF(Py_None); resultobj = Py_None; | |
15111 | return resultobj; | |
15112 | fail: | |
15113 | return NULL; | |
15114 | } | |
15115 | ||
15116 | ||
c370783e | 15117 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15118 | PyObject *resultobj; |
15119 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15120 | bool result; | |
15121 | PyObject * obj0 = 0 ; | |
15122 | char *kwnames[] = { | |
15123 | (char *) "self", NULL | |
15124 | }; | |
15125 | ||
15126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15127 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15128 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15129 | { |
15130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15131 | result = (bool)(arg1)->GetAllowSymbols(); | |
15132 | ||
15133 | wxPyEndAllowThreads(__tstate); | |
15134 | if (PyErr_Occurred()) SWIG_fail; | |
15135 | } | |
15136 | { | |
15137 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15138 | } | |
15139 | return resultobj; | |
15140 | fail: | |
15141 | return NULL; | |
15142 | } | |
15143 | ||
15144 | ||
c370783e | 15145 | static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15146 | PyObject *resultobj; |
15147 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15148 | wxColour result; | |
15149 | PyObject * obj0 = 0 ; | |
15150 | char *kwnames[] = { | |
15151 | (char *) "self", NULL | |
15152 | }; | |
15153 | ||
15154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15155 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15156 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15157 | { |
15158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15159 | result = (arg1)->GetColour(); | |
15160 | ||
15161 | wxPyEndAllowThreads(__tstate); | |
15162 | if (PyErr_Occurred()) SWIG_fail; | |
15163 | } | |
15164 | { | |
15165 | wxColour * resultptr; | |
36ed4f51 | 15166 | resultptr = new wxColour((wxColour &)(result)); |
d55e5bfc RD |
15167 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
15168 | } | |
15169 | return resultobj; | |
15170 | fail: | |
15171 | return NULL; | |
15172 | } | |
15173 | ||
15174 | ||
c370783e | 15175 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15176 | PyObject *resultobj; |
15177 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15178 | wxFont result; | |
15179 | PyObject * obj0 = 0 ; | |
15180 | char *kwnames[] = { | |
15181 | (char *) "self", NULL | |
15182 | }; | |
15183 | ||
15184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15185 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15186 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15187 | { |
15188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15189 | result = (arg1)->GetChosenFont(); | |
15190 | ||
15191 | wxPyEndAllowThreads(__tstate); | |
15192 | if (PyErr_Occurred()) SWIG_fail; | |
15193 | } | |
15194 | { | |
15195 | wxFont * resultptr; | |
36ed4f51 | 15196 | resultptr = new wxFont((wxFont &)(result)); |
d55e5bfc RD |
15197 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
15198 | } | |
15199 | return resultobj; | |
15200 | fail: | |
15201 | return NULL; | |
15202 | } | |
15203 | ||
15204 | ||
c370783e | 15205 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15206 | PyObject *resultobj; |
15207 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15208 | bool result; | |
15209 | PyObject * obj0 = 0 ; | |
15210 | char *kwnames[] = { | |
15211 | (char *) "self", NULL | |
15212 | }; | |
15213 | ||
15214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15215 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15216 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15217 | { |
15218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15219 | result = (bool)(arg1)->GetEnableEffects(); | |
15220 | ||
15221 | wxPyEndAllowThreads(__tstate); | |
15222 | if (PyErr_Occurred()) SWIG_fail; | |
15223 | } | |
15224 | { | |
15225 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15226 | } | |
15227 | return resultobj; | |
15228 | fail: | |
15229 | return NULL; | |
15230 | } | |
15231 | ||
15232 | ||
c370783e | 15233 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15234 | PyObject *resultobj; |
15235 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15236 | wxFont result; | |
15237 | PyObject * obj0 = 0 ; | |
15238 | char *kwnames[] = { | |
15239 | (char *) "self", NULL | |
15240 | }; | |
15241 | ||
15242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15243 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15244 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15245 | { |
15246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15247 | result = (arg1)->GetInitialFont(); | |
15248 | ||
15249 | wxPyEndAllowThreads(__tstate); | |
15250 | if (PyErr_Occurred()) SWIG_fail; | |
15251 | } | |
15252 | { | |
15253 | wxFont * resultptr; | |
36ed4f51 | 15254 | resultptr = new wxFont((wxFont &)(result)); |
d55e5bfc RD |
15255 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
15256 | } | |
15257 | return resultobj; | |
15258 | fail: | |
15259 | return NULL; | |
15260 | } | |
15261 | ||
15262 | ||
c370783e | 15263 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15264 | PyObject *resultobj; |
15265 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15266 | bool result; | |
15267 | PyObject * obj0 = 0 ; | |
15268 | char *kwnames[] = { | |
15269 | (char *) "self", NULL | |
15270 | }; | |
15271 | ||
15272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15273 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15274 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15275 | { |
15276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15277 | result = (bool)(arg1)->GetShowHelp(); | |
15278 | ||
15279 | wxPyEndAllowThreads(__tstate); | |
15280 | if (PyErr_Occurred()) SWIG_fail; | |
15281 | } | |
15282 | { | |
15283 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15284 | } | |
15285 | return resultobj; | |
15286 | fail: | |
15287 | return NULL; | |
15288 | } | |
15289 | ||
15290 | ||
c370783e | 15291 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15292 | PyObject *resultobj; |
15293 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15294 | bool arg2 ; | |
15295 | PyObject * obj0 = 0 ; | |
15296 | PyObject * obj1 = 0 ; | |
15297 | char *kwnames[] = { | |
15298 | (char *) "self",(char *) "allowSymbols", NULL | |
15299 | }; | |
15300 | ||
15301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15302 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15303 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15304 | { | |
15305 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15306 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15307 | } | |
d55e5bfc RD |
15308 | { |
15309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15310 | (arg1)->SetAllowSymbols(arg2); | |
15311 | ||
15312 | wxPyEndAllowThreads(__tstate); | |
15313 | if (PyErr_Occurred()) SWIG_fail; | |
15314 | } | |
15315 | Py_INCREF(Py_None); resultobj = Py_None; | |
15316 | return resultobj; | |
15317 | fail: | |
15318 | return NULL; | |
15319 | } | |
15320 | ||
15321 | ||
c370783e | 15322 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15323 | PyObject *resultobj; |
15324 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15325 | wxFont *arg2 = 0 ; | |
15326 | PyObject * obj0 = 0 ; | |
15327 | PyObject * obj1 = 0 ; | |
15328 | char *kwnames[] = { | |
15329 | (char *) "self",(char *) "font", NULL | |
15330 | }; | |
15331 | ||
15332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15333 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15334 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15335 | { | |
15336 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
15337 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15338 | if (arg2 == NULL) { | |
15339 | SWIG_null_ref("wxFont"); | |
15340 | } | |
15341 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
15342 | } |
15343 | { | |
15344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15345 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
15346 | ||
15347 | wxPyEndAllowThreads(__tstate); | |
15348 | if (PyErr_Occurred()) SWIG_fail; | |
15349 | } | |
15350 | Py_INCREF(Py_None); resultobj = Py_None; | |
15351 | return resultobj; | |
15352 | fail: | |
15353 | return NULL; | |
15354 | } | |
15355 | ||
15356 | ||
c370783e | 15357 | static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15358 | PyObject *resultobj; |
15359 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15360 | wxColour *arg2 = 0 ; | |
15361 | wxColour temp2 ; | |
15362 | PyObject * obj0 = 0 ; | |
15363 | PyObject * obj1 = 0 ; | |
15364 | char *kwnames[] = { | |
15365 | (char *) "self",(char *) "colour", NULL | |
15366 | }; | |
15367 | ||
15368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15369 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15370 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15371 | { |
15372 | arg2 = &temp2; | |
15373 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
15374 | } | |
15375 | { | |
15376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15377 | (arg1)->SetColour((wxColour const &)*arg2); | |
15378 | ||
15379 | wxPyEndAllowThreads(__tstate); | |
15380 | if (PyErr_Occurred()) SWIG_fail; | |
15381 | } | |
15382 | Py_INCREF(Py_None); resultobj = Py_None; | |
15383 | return resultobj; | |
15384 | fail: | |
15385 | return NULL; | |
15386 | } | |
15387 | ||
15388 | ||
c370783e | 15389 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15390 | PyObject *resultobj; |
15391 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15392 | wxFont *arg2 = 0 ; | |
15393 | PyObject * obj0 = 0 ; | |
15394 | PyObject * obj1 = 0 ; | |
15395 | char *kwnames[] = { | |
15396 | (char *) "self",(char *) "font", NULL | |
15397 | }; | |
15398 | ||
15399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15400 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15401 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15402 | { | |
15403 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
15404 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15405 | if (arg2 == NULL) { | |
15406 | SWIG_null_ref("wxFont"); | |
15407 | } | |
15408 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
15409 | } |
15410 | { | |
15411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15412 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
15413 | ||
15414 | wxPyEndAllowThreads(__tstate); | |
15415 | if (PyErr_Occurred()) SWIG_fail; | |
15416 | } | |
15417 | Py_INCREF(Py_None); resultobj = Py_None; | |
15418 | return resultobj; | |
15419 | fail: | |
15420 | return NULL; | |
15421 | } | |
15422 | ||
15423 | ||
c370783e | 15424 | static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15425 | PyObject *resultobj; |
15426 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15427 | int arg2 ; | |
15428 | int arg3 ; | |
15429 | PyObject * obj0 = 0 ; | |
15430 | PyObject * obj1 = 0 ; | |
15431 | PyObject * obj2 = 0 ; | |
15432 | char *kwnames[] = { | |
15433 | (char *) "self",(char *) "min",(char *) "max", NULL | |
15434 | }; | |
15435 | ||
15436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
15437 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15438 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15439 | { | |
15440 | arg2 = (int)(SWIG_As_int(obj1)); | |
15441 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15442 | } | |
15443 | { | |
15444 | arg3 = (int)(SWIG_As_int(obj2)); | |
15445 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15446 | } | |
d55e5bfc RD |
15447 | { |
15448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15449 | (arg1)->SetRange(arg2,arg3); | |
15450 | ||
15451 | wxPyEndAllowThreads(__tstate); | |
15452 | if (PyErr_Occurred()) SWIG_fail; | |
15453 | } | |
15454 | Py_INCREF(Py_None); resultobj = Py_None; | |
15455 | return resultobj; | |
15456 | fail: | |
15457 | return NULL; | |
15458 | } | |
15459 | ||
15460 | ||
c370783e | 15461 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15462 | PyObject *resultobj; |
15463 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15464 | bool arg2 ; | |
15465 | PyObject * obj0 = 0 ; | |
15466 | PyObject * obj1 = 0 ; | |
15467 | char *kwnames[] = { | |
15468 | (char *) "self",(char *) "showHelp", NULL | |
15469 | }; | |
15470 | ||
15471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15472 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15473 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15474 | { | |
15475 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15476 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15477 | } | |
d55e5bfc RD |
15478 | { |
15479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15480 | (arg1)->SetShowHelp(arg2); | |
15481 | ||
15482 | wxPyEndAllowThreads(__tstate); | |
15483 | if (PyErr_Occurred()) SWIG_fail; | |
15484 | } | |
15485 | Py_INCREF(Py_None); resultobj = Py_None; | |
15486 | return resultobj; | |
15487 | fail: | |
15488 | return NULL; | |
15489 | } | |
15490 | ||
15491 | ||
c370783e | 15492 | static PyObject * FontData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15493 | PyObject *obj; |
15494 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15495 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
15496 | Py_INCREF(obj); | |
15497 | return Py_BuildValue((char *)""); | |
15498 | } | |
c370783e | 15499 | static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15500 | PyObject *resultobj; |
15501 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15502 | wxFontData *arg2 = 0 ; | |
15503 | wxFontDialog *result; | |
15504 | PyObject * obj0 = 0 ; | |
15505 | PyObject * obj1 = 0 ; | |
15506 | char *kwnames[] = { | |
15507 | (char *) "parent",(char *) "data", NULL | |
15508 | }; | |
15509 | ||
15510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15511 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15512 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15513 | { | |
15514 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); | |
15515 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15516 | if (arg2 == NULL) { | |
15517 | SWIG_null_ref("wxFontData"); | |
15518 | } | |
15519 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
15520 | } |
15521 | { | |
0439c23b | 15522 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15524 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); | |
15525 | ||
15526 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15527 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15528 | } |
15529 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); | |
15530 | return resultobj; | |
15531 | fail: | |
15532 | return NULL; | |
15533 | } | |
15534 | ||
15535 | ||
c370783e | 15536 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15537 | PyObject *resultobj; |
15538 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
15539 | wxFontData *result; | |
15540 | PyObject * obj0 = 0 ; | |
15541 | char *kwnames[] = { | |
15542 | (char *) "self", NULL | |
15543 | }; | |
15544 | ||
15545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15546 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0); |
15547 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15548 | { |
15549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15550 | { | |
15551 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
15552 | result = (wxFontData *) &_result_ref; | |
15553 | } | |
15554 | ||
15555 | wxPyEndAllowThreads(__tstate); | |
15556 | if (PyErr_Occurred()) SWIG_fail; | |
15557 | } | |
15558 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); | |
15559 | return resultobj; | |
15560 | fail: | |
15561 | return NULL; | |
15562 | } | |
15563 | ||
15564 | ||
c370783e | 15565 | static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15566 | PyObject *obj; |
15567 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15568 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
15569 | Py_INCREF(obj); | |
15570 | return Py_BuildValue((char *)""); | |
15571 | } | |
c370783e | 15572 | static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15573 | PyObject *resultobj; |
15574 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15575 | wxString *arg2 = 0 ; | |
15576 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
15577 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15578 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
15579 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
15580 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
15581 | wxMessageDialog *result; | |
b411df4a RD |
15582 | bool temp2 = false ; |
15583 | bool temp3 = false ; | |
d55e5bfc RD |
15584 | wxPoint temp5 ; |
15585 | PyObject * obj0 = 0 ; | |
15586 | PyObject * obj1 = 0 ; | |
15587 | PyObject * obj2 = 0 ; | |
15588 | PyObject * obj3 = 0 ; | |
15589 | PyObject * obj4 = 0 ; | |
15590 | char *kwnames[] = { | |
15591 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
15592 | }; | |
15593 | ||
15594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
15595 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15596 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15597 | { |
15598 | arg2 = wxString_in_helper(obj1); | |
15599 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 15600 | temp2 = true; |
d55e5bfc RD |
15601 | } |
15602 | if (obj2) { | |
15603 | { | |
15604 | arg3 = wxString_in_helper(obj2); | |
15605 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 15606 | temp3 = true; |
d55e5bfc RD |
15607 | } |
15608 | } | |
15609 | if (obj3) { | |
36ed4f51 RD |
15610 | { |
15611 | arg4 = (long)(SWIG_As_long(obj3)); | |
15612 | if (SWIG_arg_fail(4)) SWIG_fail; | |
15613 | } | |
d55e5bfc RD |
15614 | } |
15615 | if (obj4) { | |
15616 | { | |
15617 | arg5 = &temp5; | |
15618 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
15619 | } | |
15620 | } | |
15621 | { | |
0439c23b | 15622 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15624 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
15625 | ||
15626 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15627 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15628 | } |
15629 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); | |
15630 | { | |
15631 | if (temp2) | |
15632 | delete arg2; | |
15633 | } | |
15634 | { | |
15635 | if (temp3) | |
15636 | delete arg3; | |
15637 | } | |
15638 | return resultobj; | |
15639 | fail: | |
15640 | { | |
15641 | if (temp2) | |
15642 | delete arg2; | |
15643 | } | |
15644 | { | |
15645 | if (temp3) | |
15646 | delete arg3; | |
15647 | } | |
15648 | return NULL; | |
15649 | } | |
15650 | ||
15651 | ||
c370783e | 15652 | static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15653 | PyObject *obj; |
15654 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15655 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
15656 | Py_INCREF(obj); | |
15657 | return Py_BuildValue((char *)""); | |
15658 | } | |
c370783e | 15659 | static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15660 | PyObject *resultobj; |
15661 | wxString *arg1 = 0 ; | |
15662 | wxString *arg2 = 0 ; | |
15663 | int arg3 = (int) 100 ; | |
15664 | wxWindow *arg4 = (wxWindow *) NULL ; | |
15665 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
15666 | wxProgressDialog *result; | |
b411df4a RD |
15667 | bool temp1 = false ; |
15668 | bool temp2 = false ; | |
d55e5bfc RD |
15669 | PyObject * obj0 = 0 ; |
15670 | PyObject * obj1 = 0 ; | |
15671 | PyObject * obj2 = 0 ; | |
15672 | PyObject * obj3 = 0 ; | |
15673 | PyObject * obj4 = 0 ; | |
15674 | char *kwnames[] = { | |
15675 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
15676 | }; | |
15677 | ||
15678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
15679 | { | |
15680 | arg1 = wxString_in_helper(obj0); | |
15681 | if (arg1 == NULL) SWIG_fail; | |
b411df4a | 15682 | temp1 = true; |
d55e5bfc RD |
15683 | } |
15684 | { | |
15685 | arg2 = wxString_in_helper(obj1); | |
15686 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 15687 | temp2 = true; |
d55e5bfc RD |
15688 | } |
15689 | if (obj2) { | |
36ed4f51 RD |
15690 | { |
15691 | arg3 = (int)(SWIG_As_int(obj2)); | |
15692 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15693 | } | |
d55e5bfc RD |
15694 | } |
15695 | if (obj3) { | |
36ed4f51 RD |
15696 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15697 | if (SWIG_arg_fail(4)) SWIG_fail; | |
d55e5bfc RD |
15698 | } |
15699 | if (obj4) { | |
36ed4f51 RD |
15700 | { |
15701 | arg5 = (int)(SWIG_As_int(obj4)); | |
15702 | if (SWIG_arg_fail(5)) SWIG_fail; | |
15703 | } | |
d55e5bfc RD |
15704 | } |
15705 | { | |
0439c23b | 15706 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15708 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
15709 | ||
15710 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15711 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15712 | } |
15713 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); | |
15714 | { | |
15715 | if (temp1) | |
15716 | delete arg1; | |
15717 | } | |
15718 | { | |
15719 | if (temp2) | |
15720 | delete arg2; | |
15721 | } | |
15722 | return resultobj; | |
15723 | fail: | |
15724 | { | |
15725 | if (temp1) | |
15726 | delete arg1; | |
15727 | } | |
15728 | { | |
15729 | if (temp2) | |
15730 | delete arg2; | |
15731 | } | |
15732 | return NULL; | |
15733 | } | |
15734 | ||
15735 | ||
c370783e | 15736 | static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15737 | PyObject *resultobj; |
15738 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
15739 | int arg2 ; | |
15740 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15741 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15742 | bool result; | |
b411df4a | 15743 | bool temp3 = false ; |
d55e5bfc RD |
15744 | PyObject * obj0 = 0 ; |
15745 | PyObject * obj1 = 0 ; | |
15746 | PyObject * obj2 = 0 ; | |
15747 | char *kwnames[] = { | |
15748 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
15749 | }; | |
15750 | ||
15751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
15752 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0); |
15753 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15754 | { | |
15755 | arg2 = (int)(SWIG_As_int(obj1)); | |
15756 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15757 | } | |
d55e5bfc RD |
15758 | if (obj2) { |
15759 | { | |
15760 | arg3 = wxString_in_helper(obj2); | |
15761 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 15762 | temp3 = true; |
d55e5bfc RD |
15763 | } |
15764 | } | |
15765 | { | |
15766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15767 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
15768 | ||
15769 | wxPyEndAllowThreads(__tstate); | |
15770 | if (PyErr_Occurred()) SWIG_fail; | |
15771 | } | |
15772 | { | |
15773 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15774 | } | |
15775 | { | |
15776 | if (temp3) | |
15777 | delete arg3; | |
15778 | } | |
15779 | return resultobj; | |
15780 | fail: | |
15781 | { | |
15782 | if (temp3) | |
15783 | delete arg3; | |
15784 | } | |
15785 | return NULL; | |
15786 | } | |
15787 | ||
15788 | ||
c370783e | 15789 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15790 | PyObject *resultobj; |
15791 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
15792 | PyObject * obj0 = 0 ; | |
15793 | char *kwnames[] = { | |
15794 | (char *) "self", NULL | |
15795 | }; | |
15796 | ||
15797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15798 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0); |
15799 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15800 | { |
15801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15802 | (arg1)->Resume(); | |
15803 | ||
15804 | wxPyEndAllowThreads(__tstate); | |
15805 | if (PyErr_Occurred()) SWIG_fail; | |
15806 | } | |
15807 | Py_INCREF(Py_None); resultobj = Py_None; | |
15808 | return resultobj; | |
15809 | fail: | |
15810 | return NULL; | |
15811 | } | |
15812 | ||
15813 | ||
c370783e | 15814 | static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15815 | PyObject *obj; |
15816 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15817 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
15818 | Py_INCREF(obj); | |
15819 | return Py_BuildValue((char *)""); | |
15820 | } | |
c370783e | 15821 | static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15822 | PyObject *resultobj; |
15823 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
15824 | int arg2 = (int) 0 ; | |
15825 | wxFindDialogEvent *result; | |
15826 | PyObject * obj0 = 0 ; | |
15827 | PyObject * obj1 = 0 ; | |
15828 | char *kwnames[] = { | |
15829 | (char *) "commandType",(char *) "id", NULL | |
15830 | }; | |
15831 | ||
15832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; | |
15833 | if (obj0) { | |
36ed4f51 RD |
15834 | { |
15835 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
15836 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15837 | } | |
d55e5bfc RD |
15838 | } |
15839 | if (obj1) { | |
36ed4f51 RD |
15840 | { |
15841 | arg2 = (int)(SWIG_As_int(obj1)); | |
15842 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15843 | } | |
d55e5bfc RD |
15844 | } |
15845 | { | |
15846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15847 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
15848 | ||
15849 | wxPyEndAllowThreads(__tstate); | |
15850 | if (PyErr_Occurred()) SWIG_fail; | |
15851 | } | |
15852 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); | |
15853 | return resultobj; | |
15854 | fail: | |
15855 | return NULL; | |
15856 | } | |
15857 | ||
15858 | ||
c370783e | 15859 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15860 | PyObject *resultobj; |
15861 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
15862 | int result; | |
15863 | PyObject * obj0 = 0 ; | |
15864 | char *kwnames[] = { | |
15865 | (char *) "self", NULL | |
15866 | }; | |
15867 | ||
15868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15869 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
15870 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15871 | { |
15872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15873 | result = (int)(arg1)->GetFlags(); | |
15874 | ||
15875 | wxPyEndAllowThreads(__tstate); | |
15876 | if (PyErr_Occurred()) SWIG_fail; | |
15877 | } | |
36ed4f51 RD |
15878 | { |
15879 | resultobj = SWIG_From_int((int)(result)); | |
15880 | } | |
d55e5bfc RD |
15881 | return resultobj; |
15882 | fail: | |
15883 | return NULL; | |
15884 | } | |
15885 | ||
15886 | ||
c370783e | 15887 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15888 | PyObject *resultobj; |
15889 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
15890 | wxString *result; | |
15891 | PyObject * obj0 = 0 ; | |
15892 | char *kwnames[] = { | |
15893 | (char *) "self", NULL | |
15894 | }; | |
15895 | ||
15896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15897 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
15898 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15899 | { |
15900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15901 | { | |
15902 | wxString const &_result_ref = (arg1)->GetFindString(); | |
15903 | result = (wxString *) &_result_ref; | |
15904 | } | |
15905 | ||
15906 | wxPyEndAllowThreads(__tstate); | |
15907 | if (PyErr_Occurred()) SWIG_fail; | |
15908 | } | |
15909 | { | |
15910 | #if wxUSE_UNICODE | |
15911 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
15912 | #else | |
15913 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
15914 | #endif | |
15915 | } | |
15916 | return resultobj; | |
15917 | fail: | |
15918 | return NULL; | |
15919 | } | |
15920 | ||
15921 | ||
c370783e | 15922 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15923 | PyObject *resultobj; |
15924 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
15925 | wxString *result; | |
15926 | PyObject * obj0 = 0 ; | |
15927 | char *kwnames[] = { | |
15928 | (char *) "self", NULL | |
15929 | }; | |
15930 | ||
15931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15932 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
15933 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15934 | { |
15935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15936 | { | |
15937 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
15938 | result = (wxString *) &_result_ref; | |
15939 | } | |
15940 | ||
15941 | wxPyEndAllowThreads(__tstate); | |
15942 | if (PyErr_Occurred()) SWIG_fail; | |
15943 | } | |
15944 | { | |
15945 | #if wxUSE_UNICODE | |
15946 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
15947 | #else | |
15948 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
15949 | #endif | |
15950 | } | |
15951 | return resultobj; | |
15952 | fail: | |
15953 | return NULL; | |
15954 | } | |
15955 | ||
15956 | ||
c370783e | 15957 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15958 | PyObject *resultobj; |
15959 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
15960 | wxFindReplaceDialog *result; | |
15961 | PyObject * obj0 = 0 ; | |
15962 | char *kwnames[] = { | |
15963 | (char *) "self", NULL | |
15964 | }; | |
15965 | ||
15966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15967 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
15968 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15969 | { |
15970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15971 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
15972 | ||
15973 | wxPyEndAllowThreads(__tstate); | |
15974 | if (PyErr_Occurred()) SWIG_fail; | |
15975 | } | |
15976 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); | |
15977 | return resultobj; | |
15978 | fail: | |
15979 | return NULL; | |
15980 | } | |
15981 | ||
15982 | ||
c370783e | 15983 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15984 | PyObject *resultobj; |
15985 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
15986 | int arg2 ; | |
15987 | PyObject * obj0 = 0 ; | |
15988 | PyObject * obj1 = 0 ; | |
15989 | char *kwnames[] = { | |
15990 | (char *) "self",(char *) "flags", NULL | |
15991 | }; | |
15992 | ||
15993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15994 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
15995 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15996 | { | |
15997 | arg2 = (int)(SWIG_As_int(obj1)); | |
15998 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15999 | } | |
d55e5bfc RD |
16000 | { |
16001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16002 | (arg1)->SetFlags(arg2); | |
16003 | ||
16004 | wxPyEndAllowThreads(__tstate); | |
16005 | if (PyErr_Occurred()) SWIG_fail; | |
16006 | } | |
16007 | Py_INCREF(Py_None); resultobj = Py_None; | |
16008 | return resultobj; | |
16009 | fail: | |
16010 | return NULL; | |
16011 | } | |
16012 | ||
16013 | ||
c370783e | 16014 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16015 | PyObject *resultobj; |
16016 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16017 | wxString *arg2 = 0 ; | |
b411df4a | 16018 | bool temp2 = false ; |
d55e5bfc RD |
16019 | PyObject * obj0 = 0 ; |
16020 | PyObject * obj1 = 0 ; | |
16021 | char *kwnames[] = { | |
16022 | (char *) "self",(char *) "str", NULL | |
16023 | }; | |
16024 | ||
16025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16026 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16027 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16028 | { |
16029 | arg2 = wxString_in_helper(obj1); | |
16030 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 16031 | temp2 = true; |
d55e5bfc RD |
16032 | } |
16033 | { | |
16034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16035 | (arg1)->SetFindString((wxString const &)*arg2); | |
16036 | ||
16037 | wxPyEndAllowThreads(__tstate); | |
16038 | if (PyErr_Occurred()) SWIG_fail; | |
16039 | } | |
16040 | Py_INCREF(Py_None); resultobj = Py_None; | |
16041 | { | |
16042 | if (temp2) | |
16043 | delete arg2; | |
16044 | } | |
16045 | return resultobj; | |
16046 | fail: | |
16047 | { | |
16048 | if (temp2) | |
16049 | delete arg2; | |
16050 | } | |
16051 | return NULL; | |
16052 | } | |
16053 | ||
16054 | ||
c370783e | 16055 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16056 | PyObject *resultobj; |
16057 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16058 | wxString *arg2 = 0 ; | |
b411df4a | 16059 | bool temp2 = false ; |
d55e5bfc RD |
16060 | PyObject * obj0 = 0 ; |
16061 | PyObject * obj1 = 0 ; | |
16062 | char *kwnames[] = { | |
16063 | (char *) "self",(char *) "str", NULL | |
16064 | }; | |
16065 | ||
16066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16067 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16068 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16069 | { |
16070 | arg2 = wxString_in_helper(obj1); | |
16071 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 16072 | temp2 = true; |
d55e5bfc RD |
16073 | } |
16074 | { | |
16075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16076 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
16077 | ||
16078 | wxPyEndAllowThreads(__tstate); | |
16079 | if (PyErr_Occurred()) SWIG_fail; | |
16080 | } | |
16081 | Py_INCREF(Py_None); resultobj = Py_None; | |
16082 | { | |
16083 | if (temp2) | |
16084 | delete arg2; | |
16085 | } | |
16086 | return resultobj; | |
16087 | fail: | |
16088 | { | |
16089 | if (temp2) | |
16090 | delete arg2; | |
16091 | } | |
16092 | return NULL; | |
16093 | } | |
16094 | ||
16095 | ||
c370783e | 16096 | static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
16097 | PyObject *obj; |
16098 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16099 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
16100 | Py_INCREF(obj); | |
16101 | return Py_BuildValue((char *)""); | |
16102 | } | |
c370783e | 16103 | static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16104 | PyObject *resultobj; |
16105 | int arg1 = (int) 0 ; | |
16106 | wxFindReplaceData *result; | |
16107 | PyObject * obj0 = 0 ; | |
16108 | char *kwnames[] = { | |
16109 | (char *) "flags", NULL | |
16110 | }; | |
16111 | ||
16112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; | |
16113 | if (obj0) { | |
36ed4f51 RD |
16114 | { |
16115 | arg1 = (int)(SWIG_As_int(obj0)); | |
16116 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16117 | } | |
d55e5bfc RD |
16118 | } |
16119 | { | |
16120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16121 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
16122 | ||
16123 | wxPyEndAllowThreads(__tstate); | |
16124 | if (PyErr_Occurred()) SWIG_fail; | |
16125 | } | |
16126 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); | |
16127 | return resultobj; | |
16128 | fail: | |
16129 | return NULL; | |
16130 | } | |
16131 | ||
16132 | ||
c370783e | 16133 | static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16134 | PyObject *resultobj; |
16135 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16136 | PyObject * obj0 = 0 ; | |
16137 | char *kwnames[] = { | |
16138 | (char *) "self", NULL | |
16139 | }; | |
16140 | ||
16141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16142 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16143 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16144 | { |
16145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16146 | delete arg1; | |
16147 | ||
16148 | wxPyEndAllowThreads(__tstate); | |
16149 | if (PyErr_Occurred()) SWIG_fail; | |
16150 | } | |
16151 | Py_INCREF(Py_None); resultobj = Py_None; | |
16152 | return resultobj; | |
16153 | fail: | |
16154 | return NULL; | |
16155 | } | |
16156 | ||
16157 | ||
c370783e | 16158 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16159 | PyObject *resultobj; |
16160 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16161 | wxString *result; | |
16162 | PyObject * obj0 = 0 ; | |
16163 | char *kwnames[] = { | |
16164 | (char *) "self", NULL | |
16165 | }; | |
16166 | ||
16167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16168 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16169 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16170 | { |
16171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16172 | { | |
16173 | wxString const &_result_ref = (arg1)->GetFindString(); | |
16174 | result = (wxString *) &_result_ref; | |
16175 | } | |
16176 | ||
16177 | wxPyEndAllowThreads(__tstate); | |
16178 | if (PyErr_Occurred()) SWIG_fail; | |
16179 | } | |
16180 | { | |
16181 | #if wxUSE_UNICODE | |
16182 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16183 | #else | |
16184 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16185 | #endif | |
16186 | } | |
16187 | return resultobj; | |
16188 | fail: | |
16189 | return NULL; | |
16190 | } | |
16191 | ||
16192 | ||
c370783e | 16193 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16194 | PyObject *resultobj; |
16195 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16196 | wxString *result; | |
16197 | PyObject * obj0 = 0 ; | |
16198 | char *kwnames[] = { | |
16199 | (char *) "self", NULL | |
16200 | }; | |
16201 | ||
16202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16203 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16204 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16205 | { |
16206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16207 | { | |
16208 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
16209 | result = (wxString *) &_result_ref; | |
16210 | } | |
16211 | ||
16212 | wxPyEndAllowThreads(__tstate); | |
16213 | if (PyErr_Occurred()) SWIG_fail; | |
16214 | } | |
16215 | { | |
16216 | #if wxUSE_UNICODE | |
16217 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16218 | #else | |
16219 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16220 | #endif | |
16221 | } | |
16222 | return resultobj; | |
16223 | fail: | |
16224 | return NULL; | |
16225 | } | |
16226 | ||
16227 | ||
c370783e | 16228 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16229 | PyObject *resultobj; |
16230 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16231 | int result; | |
16232 | PyObject * obj0 = 0 ; | |
16233 | char *kwnames[] = { | |
16234 | (char *) "self", NULL | |
16235 | }; | |
16236 | ||
16237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16238 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16239 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16240 | { |
16241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16242 | result = (int)(arg1)->GetFlags(); | |
16243 | ||
16244 | wxPyEndAllowThreads(__tstate); | |
16245 | if (PyErr_Occurred()) SWIG_fail; | |
16246 | } | |
36ed4f51 RD |
16247 | { |
16248 | resultobj = SWIG_From_int((int)(result)); | |
16249 | } | |
d55e5bfc RD |
16250 | return resultobj; |
16251 | fail: | |
16252 | return NULL; | |
16253 | } | |
16254 | ||
16255 | ||
c370783e | 16256 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16257 | PyObject *resultobj; |
16258 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16259 | int arg2 ; | |
16260 | PyObject * obj0 = 0 ; | |
16261 | PyObject * obj1 = 0 ; | |
16262 | char *kwnames[] = { | |
16263 | (char *) "self",(char *) "flags", NULL | |
16264 | }; | |
16265 | ||
16266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16267 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16268 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16269 | { | |
16270 | arg2 = (int)(SWIG_As_int(obj1)); | |
16271 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16272 | } | |
d55e5bfc RD |
16273 | { |
16274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16275 | (arg1)->SetFlags(arg2); | |
16276 | ||
16277 | wxPyEndAllowThreads(__tstate); | |
16278 | if (PyErr_Occurred()) SWIG_fail; | |
16279 | } | |
16280 | Py_INCREF(Py_None); resultobj = Py_None; | |
16281 | return resultobj; | |
16282 | fail: | |
16283 | return NULL; | |
16284 | } | |
16285 | ||
16286 | ||
c370783e | 16287 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16288 | PyObject *resultobj; |
16289 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16290 | wxString *arg2 = 0 ; | |
b411df4a | 16291 | bool temp2 = false ; |
d55e5bfc RD |
16292 | PyObject * obj0 = 0 ; |
16293 | PyObject * obj1 = 0 ; | |
16294 | char *kwnames[] = { | |
16295 | (char *) "self",(char *) "str", NULL | |
16296 | }; | |
16297 | ||
16298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16299 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16300 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16301 | { |
16302 | arg2 = wxString_in_helper(obj1); | |
16303 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 16304 | temp2 = true; |
d55e5bfc RD |
16305 | } |
16306 | { | |
16307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16308 | (arg1)->SetFindString((wxString const &)*arg2); | |
16309 | ||
16310 | wxPyEndAllowThreads(__tstate); | |
16311 | if (PyErr_Occurred()) SWIG_fail; | |
16312 | } | |
16313 | Py_INCREF(Py_None); resultobj = Py_None; | |
16314 | { | |
16315 | if (temp2) | |
16316 | delete arg2; | |
16317 | } | |
16318 | return resultobj; | |
16319 | fail: | |
16320 | { | |
16321 | if (temp2) | |
16322 | delete arg2; | |
16323 | } | |
16324 | return NULL; | |
16325 | } | |
16326 | ||
16327 | ||
c370783e | 16328 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16329 | PyObject *resultobj; |
16330 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16331 | wxString *arg2 = 0 ; | |
b411df4a | 16332 | bool temp2 = false ; |
d55e5bfc RD |
16333 | PyObject * obj0 = 0 ; |
16334 | PyObject * obj1 = 0 ; | |
16335 | char *kwnames[] = { | |
16336 | (char *) "self",(char *) "str", NULL | |
16337 | }; | |
16338 | ||
16339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16340 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16341 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16342 | { |
16343 | arg2 = wxString_in_helper(obj1); | |
16344 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 16345 | temp2 = true; |
d55e5bfc RD |
16346 | } |
16347 | { | |
16348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16349 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
16350 | ||
16351 | wxPyEndAllowThreads(__tstate); | |
16352 | if (PyErr_Occurred()) SWIG_fail; | |
16353 | } | |
16354 | Py_INCREF(Py_None); resultobj = Py_None; | |
16355 | { | |
16356 | if (temp2) | |
16357 | delete arg2; | |
16358 | } | |
16359 | return resultobj; | |
16360 | fail: | |
16361 | { | |
16362 | if (temp2) | |
16363 | delete arg2; | |
16364 | } | |
16365 | return NULL; | |
16366 | } | |
16367 | ||
16368 | ||
c370783e | 16369 | static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
16370 | PyObject *obj; |
16371 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16372 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
16373 | Py_INCREF(obj); | |
16374 | return Py_BuildValue((char *)""); | |
16375 | } | |
c370783e | 16376 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16377 | PyObject *resultobj; |
16378 | wxWindow *arg1 = (wxWindow *) 0 ; | |
16379 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
16380 | wxString *arg3 = 0 ; | |
16381 | int arg4 = (int) 0 ; | |
16382 | wxFindReplaceDialog *result; | |
b411df4a | 16383 | bool temp3 = false ; |
d55e5bfc RD |
16384 | PyObject * obj0 = 0 ; |
16385 | PyObject * obj1 = 0 ; | |
16386 | PyObject * obj2 = 0 ; | |
16387 | PyObject * obj3 = 0 ; | |
16388 | char *kwnames[] = { | |
16389 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
16390 | }; | |
16391 | ||
16392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
16393 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
16394 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16395 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
16396 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
16397 | { |
16398 | arg3 = wxString_in_helper(obj2); | |
16399 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 16400 | temp3 = true; |
d55e5bfc RD |
16401 | } |
16402 | if (obj3) { | |
36ed4f51 RD |
16403 | { |
16404 | arg4 = (int)(SWIG_As_int(obj3)); | |
16405 | if (SWIG_arg_fail(4)) SWIG_fail; | |
16406 | } | |
d55e5bfc RD |
16407 | } |
16408 | { | |
0439c23b | 16409 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16411 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
16412 | ||
16413 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16414 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16415 | } |
16416 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); | |
16417 | { | |
16418 | if (temp3) | |
16419 | delete arg3; | |
16420 | } | |
16421 | return resultobj; | |
16422 | fail: | |
16423 | { | |
16424 | if (temp3) | |
16425 | delete arg3; | |
16426 | } | |
16427 | return NULL; | |
16428 | } | |
16429 | ||
16430 | ||
c370783e | 16431 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16432 | PyObject *resultobj; |
16433 | wxFindReplaceDialog *result; | |
16434 | char *kwnames[] = { | |
16435 | NULL | |
16436 | }; | |
16437 | ||
16438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
16439 | { | |
0439c23b | 16440 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16442 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
16443 | ||
16444 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16445 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16446 | } |
16447 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); | |
16448 | return resultobj; | |
16449 | fail: | |
16450 | return NULL; | |
16451 | } | |
16452 | ||
16453 | ||
c370783e | 16454 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16455 | PyObject *resultobj; |
16456 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
16457 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16458 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
16459 | wxString *arg4 = 0 ; | |
16460 | int arg5 = (int) 0 ; | |
16461 | bool result; | |
b411df4a | 16462 | bool temp4 = false ; |
d55e5bfc RD |
16463 | PyObject * obj0 = 0 ; |
16464 | PyObject * obj1 = 0 ; | |
16465 | PyObject * obj2 = 0 ; | |
16466 | PyObject * obj3 = 0 ; | |
16467 | PyObject * obj4 = 0 ; | |
16468 | char *kwnames[] = { | |
16469 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
16470 | }; | |
16471 | ||
16472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
16473 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
16474 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16475 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
16476 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16477 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
16478 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
16479 | { |
16480 | arg4 = wxString_in_helper(obj3); | |
16481 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 16482 | temp4 = true; |
d55e5bfc RD |
16483 | } |
16484 | if (obj4) { | |
36ed4f51 RD |
16485 | { |
16486 | arg5 = (int)(SWIG_As_int(obj4)); | |
16487 | if (SWIG_arg_fail(5)) SWIG_fail; | |
16488 | } | |
d55e5bfc RD |
16489 | } |
16490 | { | |
16491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16492 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
16493 | ||
16494 | wxPyEndAllowThreads(__tstate); | |
16495 | if (PyErr_Occurred()) SWIG_fail; | |
16496 | } | |
16497 | { | |
16498 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16499 | } | |
16500 | { | |
16501 | if (temp4) | |
16502 | delete arg4; | |
16503 | } | |
16504 | return resultobj; | |
16505 | fail: | |
16506 | { | |
16507 | if (temp4) | |
16508 | delete arg4; | |
16509 | } | |
16510 | return NULL; | |
16511 | } | |
16512 | ||
16513 | ||
c370783e | 16514 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16515 | PyObject *resultobj; |
16516 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
16517 | wxFindReplaceData *result; | |
16518 | PyObject * obj0 = 0 ; | |
16519 | char *kwnames[] = { | |
16520 | (char *) "self", NULL | |
16521 | }; | |
16522 | ||
16523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16524 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
16525 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16526 | { |
16527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16528 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
16529 | ||
16530 | wxPyEndAllowThreads(__tstate); | |
16531 | if (PyErr_Occurred()) SWIG_fail; | |
16532 | } | |
16533 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); | |
16534 | return resultobj; | |
16535 | fail: | |
16536 | return NULL; | |
16537 | } | |
16538 | ||
16539 | ||
c370783e | 16540 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16541 | PyObject *resultobj; |
16542 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
16543 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
16544 | PyObject * obj0 = 0 ; | |
16545 | PyObject * obj1 = 0 ; | |
16546 | char *kwnames[] = { | |
16547 | (char *) "self",(char *) "data", NULL | |
16548 | }; | |
16549 | ||
16550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16551 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
16552 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16553 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
16554 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
16555 | { |
16556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16557 | (arg1)->SetData(arg2); | |
16558 | ||
16559 | wxPyEndAllowThreads(__tstate); | |
16560 | if (PyErr_Occurred()) SWIG_fail; | |
16561 | } | |
16562 | Py_INCREF(Py_None); resultobj = Py_None; | |
16563 | return resultobj; | |
16564 | fail: | |
16565 | return NULL; | |
16566 | } | |
16567 | ||
16568 | ||
c370783e | 16569 | static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
16570 | PyObject *obj; |
16571 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16572 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
16573 | Py_INCREF(obj); | |
16574 | return Py_BuildValue((char *)""); | |
16575 | } | |
c370783e | 16576 | static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16577 | PyObject *resultobj; |
16578 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 RD |
16579 | int arg2 = (int) (int)-1 ; |
16580 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
16581 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
16582 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
16583 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
16584 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
16585 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
16586 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
16587 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
16588 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
16589 | wxMDIParentFrame *result; | |
b411df4a | 16590 | bool temp3 = false ; |
d55e5bfc RD |
16591 | wxPoint temp4 ; |
16592 | wxSize temp5 ; | |
b411df4a | 16593 | bool temp7 = false ; |
d55e5bfc RD |
16594 | PyObject * obj0 = 0 ; |
16595 | PyObject * obj1 = 0 ; | |
16596 | PyObject * obj2 = 0 ; | |
16597 | PyObject * obj3 = 0 ; | |
16598 | PyObject * obj4 = 0 ; | |
16599 | PyObject * obj5 = 0 ; | |
16600 | PyObject * obj6 = 0 ; | |
16601 | char *kwnames[] = { | |
16602 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16603 | }; | |
16604 | ||
bfddbb17 | 16605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
16606 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
16607 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 16608 | if (obj1) { |
36ed4f51 RD |
16609 | { |
16610 | arg2 = (int const)(SWIG_As_int(obj1)); | |
16611 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16612 | } | |
bfddbb17 RD |
16613 | } |
16614 | if (obj2) { | |
16615 | { | |
16616 | arg3 = wxString_in_helper(obj2); | |
16617 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 16618 | temp3 = true; |
bfddbb17 | 16619 | } |
d55e5bfc RD |
16620 | } |
16621 | if (obj3) { | |
16622 | { | |
16623 | arg4 = &temp4; | |
16624 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
16625 | } | |
16626 | } | |
16627 | if (obj4) { | |
16628 | { | |
16629 | arg5 = &temp5; | |
16630 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
16631 | } | |
16632 | } | |
16633 | if (obj5) { | |
36ed4f51 RD |
16634 | { |
16635 | arg6 = (long)(SWIG_As_long(obj5)); | |
16636 | if (SWIG_arg_fail(6)) SWIG_fail; | |
16637 | } | |
d55e5bfc RD |
16638 | } |
16639 | if (obj6) { | |
16640 | { | |
16641 | arg7 = wxString_in_helper(obj6); | |
16642 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 16643 | temp7 = true; |
d55e5bfc RD |
16644 | } |
16645 | } | |
16646 | { | |
0439c23b | 16647 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16649 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
16650 | ||
16651 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16652 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16653 | } |
16654 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); | |
16655 | { | |
16656 | if (temp3) | |
16657 | delete arg3; | |
16658 | } | |
16659 | { | |
16660 | if (temp7) | |
16661 | delete arg7; | |
16662 | } | |
16663 | return resultobj; | |
16664 | fail: | |
16665 | { | |
16666 | if (temp3) | |
16667 | delete arg3; | |
16668 | } | |
16669 | { | |
16670 | if (temp7) | |
16671 | delete arg7; | |
16672 | } | |
16673 | return NULL; | |
16674 | } | |
16675 | ||
16676 | ||
c370783e | 16677 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16678 | PyObject *resultobj; |
16679 | wxMDIParentFrame *result; | |
16680 | char *kwnames[] = { | |
16681 | NULL | |
16682 | }; | |
16683 | ||
16684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
16685 | { | |
0439c23b | 16686 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16688 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
16689 | ||
16690 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16691 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16692 | } |
16693 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); | |
16694 | return resultobj; | |
16695 | fail: | |
16696 | return NULL; | |
16697 | } | |
16698 | ||
16699 | ||
c370783e | 16700 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16701 | PyObject *resultobj; |
16702 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16703 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 RD |
16704 | int arg3 = (int) (int)-1 ; |
16705 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
16706 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
16707 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
16708 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
16709 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
16710 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
16711 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
16712 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
16713 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
16714 | bool result; | |
b411df4a | 16715 | bool temp4 = false ; |
d55e5bfc RD |
16716 | wxPoint temp5 ; |
16717 | wxSize temp6 ; | |
b411df4a | 16718 | bool temp8 = false ; |
d55e5bfc RD |
16719 | PyObject * obj0 = 0 ; |
16720 | PyObject * obj1 = 0 ; | |
16721 | PyObject * obj2 = 0 ; | |
16722 | PyObject * obj3 = 0 ; | |
16723 | PyObject * obj4 = 0 ; | |
16724 | PyObject * obj5 = 0 ; | |
16725 | PyObject * obj6 = 0 ; | |
16726 | PyObject * obj7 = 0 ; | |
16727 | char *kwnames[] = { | |
16728 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16729 | }; | |
16730 | ||
bfddbb17 | 16731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
16732 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
16733 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16734 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
16735 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 16736 | if (obj2) { |
36ed4f51 RD |
16737 | { |
16738 | arg3 = (int const)(SWIG_As_int(obj2)); | |
16739 | if (SWIG_arg_fail(3)) SWIG_fail; | |
16740 | } | |
bfddbb17 RD |
16741 | } |
16742 | if (obj3) { | |
16743 | { | |
16744 | arg4 = wxString_in_helper(obj3); | |
16745 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 16746 | temp4 = true; |
bfddbb17 | 16747 | } |
d55e5bfc RD |
16748 | } |
16749 | if (obj4) { | |
16750 | { | |
16751 | arg5 = &temp5; | |
16752 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
16753 | } | |
16754 | } | |
16755 | if (obj5) { | |
16756 | { | |
16757 | arg6 = &temp6; | |
16758 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
16759 | } | |
16760 | } | |
16761 | if (obj6) { | |
36ed4f51 RD |
16762 | { |
16763 | arg7 = (long)(SWIG_As_long(obj6)); | |
16764 | if (SWIG_arg_fail(7)) SWIG_fail; | |
16765 | } | |
d55e5bfc RD |
16766 | } |
16767 | if (obj7) { | |
16768 | { | |
16769 | arg8 = wxString_in_helper(obj7); | |
16770 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 16771 | temp8 = true; |
d55e5bfc RD |
16772 | } |
16773 | } | |
16774 | { | |
16775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16776 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
16777 | ||
16778 | wxPyEndAllowThreads(__tstate); | |
16779 | if (PyErr_Occurred()) SWIG_fail; | |
16780 | } | |
16781 | { | |
16782 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16783 | } | |
16784 | { | |
16785 | if (temp4) | |
16786 | delete arg4; | |
16787 | } | |
16788 | { | |
16789 | if (temp8) | |
16790 | delete arg8; | |
16791 | } | |
16792 | return resultobj; | |
16793 | fail: | |
16794 | { | |
16795 | if (temp4) | |
16796 | delete arg4; | |
16797 | } | |
16798 | { | |
16799 | if (temp8) | |
16800 | delete arg8; | |
16801 | } | |
16802 | return NULL; | |
16803 | } | |
16804 | ||
16805 | ||
c370783e | 16806 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16807 | PyObject *resultobj; |
16808 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16809 | PyObject * obj0 = 0 ; | |
16810 | char *kwnames[] = { | |
16811 | (char *) "self", NULL | |
16812 | }; | |
16813 | ||
16814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16815 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
16816 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16817 | { |
16818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16819 | (arg1)->ActivateNext(); | |
16820 | ||
16821 | wxPyEndAllowThreads(__tstate); | |
16822 | if (PyErr_Occurred()) SWIG_fail; | |
16823 | } | |
16824 | Py_INCREF(Py_None); resultobj = Py_None; | |
16825 | return resultobj; | |
16826 | fail: | |
16827 | return NULL; | |
16828 | } | |
16829 | ||
16830 | ||
c370783e | 16831 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16832 | PyObject *resultobj; |
16833 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16834 | PyObject * obj0 = 0 ; | |
16835 | char *kwnames[] = { | |
16836 | (char *) "self", NULL | |
16837 | }; | |
16838 | ||
16839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16840 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
16841 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16842 | { |
16843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16844 | (arg1)->ActivatePrevious(); | |
16845 | ||
16846 | wxPyEndAllowThreads(__tstate); | |
16847 | if (PyErr_Occurred()) SWIG_fail; | |
16848 | } | |
16849 | Py_INCREF(Py_None); resultobj = Py_None; | |
16850 | return resultobj; | |
16851 | fail: | |
16852 | return NULL; | |
16853 | } | |
16854 | ||
16855 | ||
c370783e | 16856 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16857 | PyObject *resultobj; |
16858 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16859 | PyObject * obj0 = 0 ; | |
16860 | char *kwnames[] = { | |
16861 | (char *) "self", NULL | |
16862 | }; | |
16863 | ||
16864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16865 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
16866 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16867 | { |
16868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16869 | (arg1)->ArrangeIcons(); | |
16870 | ||
16871 | wxPyEndAllowThreads(__tstate); | |
16872 | if (PyErr_Occurred()) SWIG_fail; | |
16873 | } | |
16874 | Py_INCREF(Py_None); resultobj = Py_None; | |
16875 | return resultobj; | |
16876 | fail: | |
16877 | return NULL; | |
16878 | } | |
16879 | ||
16880 | ||
c370783e | 16881 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16882 | PyObject *resultobj; |
16883 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16884 | PyObject * obj0 = 0 ; | |
16885 | char *kwnames[] = { | |
16886 | (char *) "self", NULL | |
16887 | }; | |
16888 | ||
16889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16890 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
16891 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16892 | { |
16893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16894 | (arg1)->Cascade(); | |
16895 | ||
16896 | wxPyEndAllowThreads(__tstate); | |
16897 | if (PyErr_Occurred()) SWIG_fail; | |
16898 | } | |
16899 | Py_INCREF(Py_None); resultobj = Py_None; | |
16900 | return resultobj; | |
16901 | fail: | |
16902 | return NULL; | |
16903 | } | |
16904 | ||
16905 | ||
c370783e | 16906 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16907 | PyObject *resultobj; |
16908 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16909 | wxMDIChildFrame *result; | |
16910 | PyObject * obj0 = 0 ; | |
16911 | char *kwnames[] = { | |
16912 | (char *) "self", NULL | |
16913 | }; | |
16914 | ||
16915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16916 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
16917 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16918 | { |
16919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16920 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
16921 | ||
16922 | wxPyEndAllowThreads(__tstate); | |
16923 | if (PyErr_Occurred()) SWIG_fail; | |
16924 | } | |
16925 | { | |
412d302d | 16926 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
16927 | } |
16928 | return resultobj; | |
16929 | fail: | |
16930 | return NULL; | |
16931 | } | |
16932 | ||
16933 | ||
c370783e | 16934 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16935 | PyObject *resultobj; |
16936 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16937 | wxMDIClientWindow *result; | |
16938 | PyObject * obj0 = 0 ; | |
16939 | char *kwnames[] = { | |
16940 | (char *) "self", NULL | |
16941 | }; | |
16942 | ||
16943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16944 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
16945 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16946 | { |
16947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16948 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
16949 | ||
16950 | wxPyEndAllowThreads(__tstate); | |
16951 | if (PyErr_Occurred()) SWIG_fail; | |
16952 | } | |
16953 | { | |
412d302d | 16954 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
16955 | } |
16956 | return resultobj; | |
16957 | fail: | |
16958 | return NULL; | |
16959 | } | |
16960 | ||
16961 | ||
c370783e | 16962 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16963 | PyObject *resultobj; |
16964 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16965 | wxWindow *result; | |
16966 | PyObject * obj0 = 0 ; | |
16967 | char *kwnames[] = { | |
16968 | (char *) "self", NULL | |
16969 | }; | |
16970 | ||
16971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16972 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
16973 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16974 | { |
16975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16976 | result = (wxWindow *)(arg1)->GetToolBar(); | |
16977 | ||
16978 | wxPyEndAllowThreads(__tstate); | |
16979 | if (PyErr_Occurred()) SWIG_fail; | |
16980 | } | |
16981 | { | |
412d302d | 16982 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
16983 | } |
16984 | return resultobj; | |
16985 | fail: | |
16986 | return NULL; | |
16987 | } | |
16988 | ||
16989 | ||
c370783e | 16990 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16991 | PyObject *resultobj; |
16992 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16993 | PyObject * obj0 = 0 ; | |
16994 | char *kwnames[] = { | |
16995 | (char *) "self", NULL | |
16996 | }; | |
16997 | ||
16998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16999 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17000 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17001 | { |
17002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17003 | (arg1)->Tile(); | |
17004 | ||
17005 | wxPyEndAllowThreads(__tstate); | |
17006 | if (PyErr_Occurred()) SWIG_fail; | |
17007 | } | |
17008 | Py_INCREF(Py_None); resultobj = Py_None; | |
17009 | return resultobj; | |
17010 | fail: | |
17011 | return NULL; | |
17012 | } | |
17013 | ||
17014 | ||
c370783e | 17015 | static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
17016 | PyObject *obj; |
17017 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17018 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
17019 | Py_INCREF(obj); | |
17020 | return Py_BuildValue((char *)""); | |
17021 | } | |
c370783e | 17022 | static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17023 | PyObject *resultobj; |
17024 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
bfddbb17 RD |
17025 | int arg2 = (int) (int)-1 ; |
17026 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
17027 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
17028 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
17029 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
17030 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
17031 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
17032 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
17033 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
17034 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
17035 | wxMDIChildFrame *result; | |
b411df4a | 17036 | bool temp3 = false ; |
d55e5bfc RD |
17037 | wxPoint temp4 ; |
17038 | wxSize temp5 ; | |
b411df4a | 17039 | bool temp7 = false ; |
d55e5bfc RD |
17040 | PyObject * obj0 = 0 ; |
17041 | PyObject * obj1 = 0 ; | |
17042 | PyObject * obj2 = 0 ; | |
17043 | PyObject * obj3 = 0 ; | |
17044 | PyObject * obj4 = 0 ; | |
17045 | PyObject * obj5 = 0 ; | |
17046 | PyObject * obj6 = 0 ; | |
17047 | char *kwnames[] = { | |
17048 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17049 | }; | |
17050 | ||
bfddbb17 | 17051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
17052 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17053 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 17054 | if (obj1) { |
36ed4f51 RD |
17055 | { |
17056 | arg2 = (int const)(SWIG_As_int(obj1)); | |
17057 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17058 | } | |
bfddbb17 RD |
17059 | } |
17060 | if (obj2) { | |
17061 | { | |
17062 | arg3 = wxString_in_helper(obj2); | |
17063 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 17064 | temp3 = true; |
bfddbb17 | 17065 | } |
d55e5bfc RD |
17066 | } |
17067 | if (obj3) { | |
17068 | { | |
17069 | arg4 = &temp4; | |
17070 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
17071 | } | |
17072 | } | |
17073 | if (obj4) { | |
17074 | { | |
17075 | arg5 = &temp5; | |
17076 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
17077 | } | |
17078 | } | |
17079 | if (obj5) { | |
36ed4f51 RD |
17080 | { |
17081 | arg6 = (long)(SWIG_As_long(obj5)); | |
17082 | if (SWIG_arg_fail(6)) SWIG_fail; | |
17083 | } | |
d55e5bfc RD |
17084 | } |
17085 | if (obj6) { | |
17086 | { | |
17087 | arg7 = wxString_in_helper(obj6); | |
17088 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 17089 | temp7 = true; |
d55e5bfc RD |
17090 | } |
17091 | } | |
17092 | { | |
0439c23b | 17093 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17095 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
17096 | ||
17097 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17098 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 17099 | } |
b0f7404b | 17100 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d55e5bfc RD |
17101 | { |
17102 | if (temp3) | |
17103 | delete arg3; | |
17104 | } | |
17105 | { | |
17106 | if (temp7) | |
17107 | delete arg7; | |
17108 | } | |
17109 | return resultobj; | |
17110 | fail: | |
17111 | { | |
17112 | if (temp3) | |
17113 | delete arg3; | |
17114 | } | |
17115 | { | |
17116 | if (temp7) | |
17117 | delete arg7; | |
17118 | } | |
17119 | return NULL; | |
17120 | } | |
17121 | ||
17122 | ||
c370783e | 17123 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17124 | PyObject *resultobj; |
17125 | wxMDIChildFrame *result; | |
17126 | char *kwnames[] = { | |
17127 | NULL | |
17128 | }; | |
17129 | ||
17130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
17131 | { | |
0439c23b | 17132 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17134 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
17135 | ||
17136 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17137 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 17138 | } |
b0f7404b | 17139 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d55e5bfc RD |
17140 | return resultobj; |
17141 | fail: | |
17142 | return NULL; | |
17143 | } | |
17144 | ||
17145 | ||
c370783e | 17146 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17147 | PyObject *resultobj; |
17148 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
17149 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
bfddbb17 RD |
17150 | int arg3 = (int) (int)-1 ; |
17151 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
17152 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
17153 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
17154 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
17155 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
17156 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
17157 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
17158 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
17159 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
17160 | bool result; | |
b411df4a | 17161 | bool temp4 = false ; |
d55e5bfc RD |
17162 | wxPoint temp5 ; |
17163 | wxSize temp6 ; | |
b411df4a | 17164 | bool temp8 = false ; |
d55e5bfc RD |
17165 | PyObject * obj0 = 0 ; |
17166 | PyObject * obj1 = 0 ; | |
17167 | PyObject * obj2 = 0 ; | |
17168 | PyObject * obj3 = 0 ; | |
17169 | PyObject * obj4 = 0 ; | |
17170 | PyObject * obj5 = 0 ; | |
17171 | PyObject * obj6 = 0 ; | |
17172 | PyObject * obj7 = 0 ; | |
17173 | char *kwnames[] = { | |
17174 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17175 | }; | |
17176 | ||
bfddbb17 | 17177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
17178 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17179 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17180 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
17181 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 17182 | if (obj2) { |
36ed4f51 RD |
17183 | { |
17184 | arg3 = (int const)(SWIG_As_int(obj2)); | |
17185 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17186 | } | |
bfddbb17 RD |
17187 | } |
17188 | if (obj3) { | |
17189 | { | |
17190 | arg4 = wxString_in_helper(obj3); | |
17191 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 17192 | temp4 = true; |
bfddbb17 | 17193 | } |
d55e5bfc RD |
17194 | } |
17195 | if (obj4) { | |
17196 | { | |
17197 | arg5 = &temp5; | |
17198 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
17199 | } | |
17200 | } | |
17201 | if (obj5) { | |
17202 | { | |
17203 | arg6 = &temp6; | |
17204 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
17205 | } | |
17206 | } | |
17207 | if (obj6) { | |
36ed4f51 RD |
17208 | { |
17209 | arg7 = (long)(SWIG_As_long(obj6)); | |
17210 | if (SWIG_arg_fail(7)) SWIG_fail; | |
17211 | } | |
d55e5bfc RD |
17212 | } |
17213 | if (obj7) { | |
17214 | { | |
17215 | arg8 = wxString_in_helper(obj7); | |
17216 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 17217 | temp8 = true; |
d55e5bfc RD |
17218 | } |
17219 | } | |
17220 | { | |
17221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17222 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
17223 | ||
17224 | wxPyEndAllowThreads(__tstate); | |
17225 | if (PyErr_Occurred()) SWIG_fail; | |
17226 | } | |
17227 | { | |
17228 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17229 | } | |
17230 | { | |
17231 | if (temp4) | |
17232 | delete arg4; | |
17233 | } | |
17234 | { | |
17235 | if (temp8) | |
17236 | delete arg8; | |
17237 | } | |
17238 | return resultobj; | |
17239 | fail: | |
17240 | { | |
17241 | if (temp4) | |
17242 | delete arg4; | |
17243 | } | |
17244 | { | |
17245 | if (temp8) | |
17246 | delete arg8; | |
17247 | } | |
17248 | return NULL; | |
17249 | } | |
17250 | ||
17251 | ||
c370783e | 17252 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17253 | PyObject *resultobj; |
17254 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
17255 | PyObject * obj0 = 0 ; | |
17256 | char *kwnames[] = { | |
17257 | (char *) "self", NULL | |
17258 | }; | |
17259 | ||
17260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17261 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17262 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17263 | { |
17264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17265 | (arg1)->Activate(); | |
17266 | ||
17267 | wxPyEndAllowThreads(__tstate); | |
17268 | if (PyErr_Occurred()) SWIG_fail; | |
17269 | } | |
17270 | Py_INCREF(Py_None); resultobj = Py_None; | |
17271 | return resultobj; | |
17272 | fail: | |
17273 | return NULL; | |
17274 | } | |
17275 | ||
17276 | ||
c370783e | 17277 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17278 | PyObject *resultobj; |
17279 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
5cbf236d | 17280 | bool arg2 = (bool) true ; |
d55e5bfc RD |
17281 | PyObject * obj0 = 0 ; |
17282 | PyObject * obj1 = 0 ; | |
17283 | char *kwnames[] = { | |
17284 | (char *) "self",(char *) "maximize", NULL | |
17285 | }; | |
17286 | ||
5cbf236d | 17287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; |
36ed4f51 RD |
17288 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17289 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d | 17290 | if (obj1) { |
36ed4f51 RD |
17291 | { |
17292 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
17293 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17294 | } | |
5cbf236d | 17295 | } |
d55e5bfc RD |
17296 | { |
17297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17298 | (arg1)->Maximize(arg2); | |
17299 | ||
17300 | wxPyEndAllowThreads(__tstate); | |
17301 | if (PyErr_Occurred()) SWIG_fail; | |
17302 | } | |
17303 | Py_INCREF(Py_None); resultobj = Py_None; | |
17304 | return resultobj; | |
17305 | fail: | |
17306 | return NULL; | |
17307 | } | |
17308 | ||
17309 | ||
c370783e | 17310 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17311 | PyObject *resultobj; |
17312 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
17313 | PyObject * obj0 = 0 ; | |
17314 | char *kwnames[] = { | |
17315 | (char *) "self", NULL | |
17316 | }; | |
17317 | ||
17318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17319 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17320 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17321 | { |
17322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17323 | (arg1)->Restore(); | |
17324 | ||
17325 | wxPyEndAllowThreads(__tstate); | |
17326 | if (PyErr_Occurred()) SWIG_fail; | |
17327 | } | |
17328 | Py_INCREF(Py_None); resultobj = Py_None; | |
17329 | return resultobj; | |
17330 | fail: | |
17331 | return NULL; | |
17332 | } | |
17333 | ||
17334 | ||
c370783e | 17335 | static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
17336 | PyObject *obj; |
17337 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17338 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
17339 | Py_INCREF(obj); | |
17340 | return Py_BuildValue((char *)""); | |
17341 | } | |
c370783e | 17342 | static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17343 | PyObject *resultobj; |
17344 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17345 | long arg2 = (long) 0 ; | |
17346 | wxMDIClientWindow *result; | |
17347 | PyObject * obj0 = 0 ; | |
17348 | PyObject * obj1 = 0 ; | |
17349 | char *kwnames[] = { | |
17350 | (char *) "parent",(char *) "style", NULL | |
17351 | }; | |
17352 | ||
17353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
17354 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17355 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 17356 | if (obj1) { |
36ed4f51 RD |
17357 | { |
17358 | arg2 = (long)(SWIG_As_long(obj1)); | |
17359 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17360 | } | |
d55e5bfc RD |
17361 | } |
17362 | { | |
0439c23b | 17363 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17365 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
17366 | ||
17367 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17368 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 17369 | } |
b0f7404b | 17370 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d55e5bfc RD |
17371 | return resultobj; |
17372 | fail: | |
17373 | return NULL; | |
17374 | } | |
17375 | ||
17376 | ||
c370783e | 17377 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17378 | PyObject *resultobj; |
17379 | wxMDIClientWindow *result; | |
17380 | char *kwnames[] = { | |
17381 | NULL | |
17382 | }; | |
17383 | ||
17384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
17385 | { | |
0439c23b | 17386 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17388 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
17389 | ||
17390 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17391 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 17392 | } |
b0f7404b | 17393 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d55e5bfc RD |
17394 | return resultobj; |
17395 | fail: | |
17396 | return NULL; | |
17397 | } | |
17398 | ||
17399 | ||
c370783e | 17400 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17401 | PyObject *resultobj; |
17402 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
17403 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
17404 | long arg3 = (long) 0 ; | |
17405 | bool result; | |
17406 | PyObject * obj0 = 0 ; | |
17407 | PyObject * obj1 = 0 ; | |
17408 | PyObject * obj2 = 0 ; | |
17409 | char *kwnames[] = { | |
17410 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
17411 | }; | |
17412 | ||
17413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
17414 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0); |
17415 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17416 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
17417 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 17418 | if (obj2) { |
36ed4f51 RD |
17419 | { |
17420 | arg3 = (long)(SWIG_As_long(obj2)); | |
17421 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17422 | } | |
d55e5bfc RD |
17423 | } |
17424 | { | |
17425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17426 | result = (bool)(arg1)->Create(arg2,arg3); | |
17427 | ||
17428 | wxPyEndAllowThreads(__tstate); | |
17429 | if (PyErr_Occurred()) SWIG_fail; | |
17430 | } | |
17431 | { | |
17432 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17433 | } | |
17434 | return resultobj; | |
17435 | fail: | |
17436 | return NULL; | |
17437 | } | |
17438 | ||
17439 | ||
c370783e | 17440 | static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
17441 | PyObject *obj; |
17442 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17443 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
17444 | Py_INCREF(obj); | |
17445 | return Py_BuildValue((char *)""); | |
17446 | } | |
c370783e | 17447 | static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17448 | PyObject *resultobj; |
17449 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 17450 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
17451 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
17452 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
17453 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
17454 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
17455 | long arg5 = (long) 0 ; | |
17456 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
17457 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
17458 | wxPyWindow *result; | |
17459 | wxPoint temp3 ; | |
17460 | wxSize temp4 ; | |
b411df4a | 17461 | bool temp6 = false ; |
d55e5bfc RD |
17462 | PyObject * obj0 = 0 ; |
17463 | PyObject * obj1 = 0 ; | |
17464 | PyObject * obj2 = 0 ; | |
17465 | PyObject * obj3 = 0 ; | |
17466 | PyObject * obj4 = 0 ; | |
17467 | PyObject * obj5 = 0 ; | |
17468 | char *kwnames[] = { | |
17469 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17470 | }; | |
17471 | ||
bfddbb17 | 17472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
36ed4f51 RD |
17473 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
17474 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 17475 | if (obj1) { |
36ed4f51 RD |
17476 | { |
17477 | arg2 = (int const)(SWIG_As_int(obj1)); | |
17478 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17479 | } | |
bfddbb17 | 17480 | } |
d55e5bfc RD |
17481 | if (obj2) { |
17482 | { | |
17483 | arg3 = &temp3; | |
17484 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
17485 | } | |
17486 | } | |
17487 | if (obj3) { | |
17488 | { | |
17489 | arg4 = &temp4; | |
17490 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
17491 | } | |
17492 | } | |
17493 | if (obj4) { | |
36ed4f51 RD |
17494 | { |
17495 | arg5 = (long)(SWIG_As_long(obj4)); | |
17496 | if (SWIG_arg_fail(5)) SWIG_fail; | |
17497 | } | |
d55e5bfc RD |
17498 | } |
17499 | if (obj5) { | |
17500 | { | |
17501 | arg6 = wxString_in_helper(obj5); | |
17502 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 17503 | temp6 = true; |
d55e5bfc RD |
17504 | } |
17505 | } | |
17506 | { | |
0439c23b | 17507 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17509 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
17510 | ||
17511 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17512 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
17513 | } |
17514 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
17515 | { | |
17516 | if (temp6) | |
17517 | delete arg6; | |
17518 | } | |
17519 | return resultobj; | |
17520 | fail: | |
17521 | { | |
17522 | if (temp6) | |
17523 | delete arg6; | |
17524 | } | |
17525 | return NULL; | |
17526 | } | |
17527 | ||
17528 | ||
c370783e | 17529 | static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17530 | PyObject *resultobj; |
17531 | wxPyWindow *result; | |
17532 | char *kwnames[] = { | |
17533 | NULL | |
17534 | }; | |
17535 | ||
17536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail; | |
17537 | { | |
0439c23b | 17538 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17540 | result = (wxPyWindow *)new wxPyWindow(); | |
17541 | ||
17542 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17543 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
17544 | } |
17545 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
17546 | return resultobj; | |
17547 | fail: | |
17548 | return NULL; | |
17549 | } | |
17550 | ||
17551 | ||
c370783e | 17552 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17553 | PyObject *resultobj; |
17554 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17555 | PyObject *arg2 = (PyObject *) 0 ; | |
17556 | PyObject *arg3 = (PyObject *) 0 ; | |
17557 | PyObject * obj0 = 0 ; | |
17558 | PyObject * obj1 = 0 ; | |
17559 | PyObject * obj2 = 0 ; | |
17560 | char *kwnames[] = { | |
17561 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
17562 | }; | |
17563 | ||
17564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
17565 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17566 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17567 | arg2 = obj1; |
17568 | arg3 = obj2; | |
17569 | { | |
17570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17571 | (arg1)->_setCallbackInfo(arg2,arg3); | |
17572 | ||
17573 | wxPyEndAllowThreads(__tstate); | |
17574 | if (PyErr_Occurred()) SWIG_fail; | |
17575 | } | |
17576 | Py_INCREF(Py_None); resultobj = Py_None; | |
17577 | return resultobj; | |
17578 | fail: | |
17579 | return NULL; | |
17580 | } | |
17581 | ||
17582 | ||
c370783e | 17583 | static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
17584 | PyObject *resultobj; |
17585 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17586 | wxSize *arg2 = 0 ; | |
17587 | wxSize temp2 ; | |
17588 | PyObject * obj0 = 0 ; | |
17589 | PyObject * obj1 = 0 ; | |
17590 | char *kwnames[] = { | |
17591 | (char *) "self",(char *) "size", NULL | |
17592 | }; | |
17593 | ||
17594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
17595 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17596 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
17597 | { |
17598 | arg2 = &temp2; | |
17599 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
17600 | } | |
17601 | { | |
17602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17603 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
17604 | ||
17605 | wxPyEndAllowThreads(__tstate); | |
17606 | if (PyErr_Occurred()) SWIG_fail; | |
17607 | } | |
17608 | Py_INCREF(Py_None); resultobj = Py_None; | |
17609 | return resultobj; | |
17610 | fail: | |
17611 | return NULL; | |
17612 | } | |
17613 | ||
17614 | ||
c370783e | 17615 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17616 | PyObject *resultobj; |
17617 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17618 | int arg2 ; | |
17619 | int arg3 ; | |
17620 | int arg4 ; | |
17621 | int arg5 ; | |
17622 | PyObject * obj0 = 0 ; | |
17623 | PyObject * obj1 = 0 ; | |
17624 | PyObject * obj2 = 0 ; | |
17625 | PyObject * obj3 = 0 ; | |
17626 | PyObject * obj4 = 0 ; | |
17627 | char *kwnames[] = { | |
17628 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
17629 | }; | |
17630 | ||
17631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
17632 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17633 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17634 | { | |
17635 | arg2 = (int)(SWIG_As_int(obj1)); | |
17636 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17637 | } | |
17638 | { | |
17639 | arg3 = (int)(SWIG_As_int(obj2)); | |
17640 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17641 | } | |
17642 | { | |
17643 | arg4 = (int)(SWIG_As_int(obj3)); | |
17644 | if (SWIG_arg_fail(4)) SWIG_fail; | |
17645 | } | |
17646 | { | |
17647 | arg5 = (int)(SWIG_As_int(obj4)); | |
17648 | if (SWIG_arg_fail(5)) SWIG_fail; | |
17649 | } | |
d55e5bfc RD |
17650 | { |
17651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17652 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
17653 | ||
17654 | wxPyEndAllowThreads(__tstate); | |
17655 | if (PyErr_Occurred()) SWIG_fail; | |
17656 | } | |
17657 | Py_INCREF(Py_None); resultobj = Py_None; | |
17658 | return resultobj; | |
17659 | fail: | |
17660 | return NULL; | |
17661 | } | |
17662 | ||
17663 | ||
c370783e | 17664 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17665 | PyObject *resultobj; |
17666 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17667 | int arg2 ; | |
17668 | int arg3 ; | |
17669 | int arg4 ; | |
17670 | int arg5 ; | |
17671 | int arg6 = (int) wxSIZE_AUTO ; | |
17672 | PyObject * obj0 = 0 ; | |
17673 | PyObject * obj1 = 0 ; | |
17674 | PyObject * obj2 = 0 ; | |
17675 | PyObject * obj3 = 0 ; | |
17676 | PyObject * obj4 = 0 ; | |
17677 | PyObject * obj5 = 0 ; | |
17678 | char *kwnames[] = { | |
17679 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
17680 | }; | |
17681 | ||
17682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
17683 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17684 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17685 | { | |
17686 | arg2 = (int)(SWIG_As_int(obj1)); | |
17687 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17688 | } | |
17689 | { | |
17690 | arg3 = (int)(SWIG_As_int(obj2)); | |
17691 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17692 | } | |
17693 | { | |
17694 | arg4 = (int)(SWIG_As_int(obj3)); | |
17695 | if (SWIG_arg_fail(4)) SWIG_fail; | |
17696 | } | |
17697 | { | |
17698 | arg5 = (int)(SWIG_As_int(obj4)); | |
17699 | if (SWIG_arg_fail(5)) SWIG_fail; | |
17700 | } | |
d55e5bfc | 17701 | if (obj5) { |
36ed4f51 RD |
17702 | { |
17703 | arg6 = (int)(SWIG_As_int(obj5)); | |
17704 | if (SWIG_arg_fail(6)) SWIG_fail; | |
17705 | } | |
d55e5bfc RD |
17706 | } |
17707 | { | |
17708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17709 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
17710 | ||
17711 | wxPyEndAllowThreads(__tstate); | |
17712 | if (PyErr_Occurred()) SWIG_fail; | |
17713 | } | |
17714 | Py_INCREF(Py_None); resultobj = Py_None; | |
17715 | return resultobj; | |
17716 | fail: | |
17717 | return NULL; | |
17718 | } | |
17719 | ||
17720 | ||
c370783e | 17721 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17722 | PyObject *resultobj; |
17723 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17724 | int arg2 ; | |
17725 | int arg3 ; | |
17726 | PyObject * obj0 = 0 ; | |
17727 | PyObject * obj1 = 0 ; | |
17728 | PyObject * obj2 = 0 ; | |
17729 | char *kwnames[] = { | |
17730 | (char *) "self",(char *) "width",(char *) "height", NULL | |
17731 | }; | |
17732 | ||
17733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
17734 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17735 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17736 | { | |
17737 | arg2 = (int)(SWIG_As_int(obj1)); | |
17738 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17739 | } | |
17740 | { | |
17741 | arg3 = (int)(SWIG_As_int(obj2)); | |
17742 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17743 | } | |
d55e5bfc RD |
17744 | { |
17745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17746 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
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 | ||
c370783e | 17758 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17759 | PyObject *resultobj; |
17760 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17761 | int arg2 ; | |
17762 | int arg3 ; | |
17763 | PyObject * obj0 = 0 ; | |
17764 | PyObject * obj1 = 0 ; | |
17765 | PyObject * obj2 = 0 ; | |
17766 | char *kwnames[] = { | |
17767 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17768 | }; | |
17769 | ||
17770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
17771 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17772 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17773 | { | |
17774 | arg2 = (int)(SWIG_As_int(obj1)); | |
17775 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17776 | } | |
17777 | { | |
17778 | arg3 = (int)(SWIG_As_int(obj2)); | |
17779 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17780 | } | |
d55e5bfc RD |
17781 | { |
17782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17783 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
17784 | ||
17785 | wxPyEndAllowThreads(__tstate); | |
17786 | if (PyErr_Occurred()) SWIG_fail; | |
17787 | } | |
17788 | Py_INCREF(Py_None); resultobj = Py_None; | |
17789 | return resultobj; | |
17790 | fail: | |
17791 | return NULL; | |
17792 | } | |
17793 | ||
17794 | ||
c370783e | 17795 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17796 | PyObject *resultobj; |
17797 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17798 | int *arg2 = (int *) 0 ; | |
17799 | int *arg3 = (int *) 0 ; | |
17800 | int temp2 ; | |
c370783e | 17801 | int res2 = 0 ; |
d55e5bfc | 17802 | int temp3 ; |
c370783e | 17803 | int res3 = 0 ; |
d55e5bfc RD |
17804 | PyObject * obj0 = 0 ; |
17805 | char *kwnames[] = { | |
17806 | (char *) "self", NULL | |
17807 | }; | |
17808 | ||
c370783e RD |
17809 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
17810 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 17811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
17812 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17813 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17814 | { |
17815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17816 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
17817 | ||
17818 | wxPyEndAllowThreads(__tstate); | |
17819 | if (PyErr_Occurred()) SWIG_fail; | |
17820 | } | |
17821 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
17822 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
17823 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
17824 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
17825 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
17826 | return resultobj; |
17827 | fail: | |
17828 | return NULL; | |
17829 | } | |
17830 | ||
17831 | ||
c370783e | 17832 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17833 | PyObject *resultobj; |
17834 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17835 | int *arg2 = (int *) 0 ; | |
17836 | int *arg3 = (int *) 0 ; | |
17837 | int temp2 ; | |
c370783e | 17838 | int res2 = 0 ; |
d55e5bfc | 17839 | int temp3 ; |
c370783e | 17840 | int res3 = 0 ; |
d55e5bfc RD |
17841 | PyObject * obj0 = 0 ; |
17842 | char *kwnames[] = { | |
17843 | (char *) "self", NULL | |
17844 | }; | |
17845 | ||
c370783e RD |
17846 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
17847 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 17848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
17849 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17850 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17851 | { |
17852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17853 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
17854 | ||
17855 | wxPyEndAllowThreads(__tstate); | |
17856 | if (PyErr_Occurred()) SWIG_fail; | |
17857 | } | |
17858 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
17859 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
17860 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
17861 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
17862 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
17863 | return resultobj; |
17864 | fail: | |
17865 | return NULL; | |
17866 | } | |
17867 | ||
17868 | ||
c370783e | 17869 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17870 | PyObject *resultobj; |
17871 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17872 | int *arg2 = (int *) 0 ; | |
17873 | int *arg3 = (int *) 0 ; | |
17874 | int temp2 ; | |
c370783e | 17875 | int res2 = 0 ; |
d55e5bfc | 17876 | int temp3 ; |
c370783e | 17877 | int res3 = 0 ; |
d55e5bfc RD |
17878 | PyObject * obj0 = 0 ; |
17879 | char *kwnames[] = { | |
17880 | (char *) "self", NULL | |
17881 | }; | |
17882 | ||
c370783e RD |
17883 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
17884 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 17885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
17886 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17887 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17888 | { |
17889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17890 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
17891 | ||
17892 | wxPyEndAllowThreads(__tstate); | |
17893 | if (PyErr_Occurred()) SWIG_fail; | |
17894 | } | |
17895 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
17896 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
17897 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
17898 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
17899 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
17900 | return resultobj; |
17901 | fail: | |
17902 | return NULL; | |
17903 | } | |
17904 | ||
17905 | ||
c370783e | 17906 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17907 | PyObject *resultobj; |
17908 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17909 | wxSize result; | |
17910 | PyObject * obj0 = 0 ; | |
17911 | char *kwnames[] = { | |
17912 | (char *) "self", NULL | |
17913 | }; | |
17914 | ||
17915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17916 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17917 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17918 | { |
17919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17920 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
17921 | ||
17922 | wxPyEndAllowThreads(__tstate); | |
17923 | if (PyErr_Occurred()) SWIG_fail; | |
17924 | } | |
17925 | { | |
17926 | wxSize * resultptr; | |
36ed4f51 | 17927 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
17928 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
17929 | } | |
17930 | return resultobj; | |
17931 | fail: | |
17932 | return NULL; | |
17933 | } | |
17934 | ||
17935 | ||
c370783e | 17936 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17937 | PyObject *resultobj; |
17938 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17939 | wxSize result; | |
17940 | PyObject * obj0 = 0 ; | |
17941 | char *kwnames[] = { | |
17942 | (char *) "self", NULL | |
17943 | }; | |
17944 | ||
17945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17946 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17947 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17948 | { |
17949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17950 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
17951 | ||
17952 | wxPyEndAllowThreads(__tstate); | |
17953 | if (PyErr_Occurred()) SWIG_fail; | |
17954 | } | |
17955 | { | |
17956 | wxSize * resultptr; | |
36ed4f51 | 17957 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
17958 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
17959 | } | |
17960 | return resultobj; | |
17961 | fail: | |
17962 | return NULL; | |
17963 | } | |
17964 | ||
17965 | ||
c370783e | 17966 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17967 | PyObject *resultobj; |
17968 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17969 | PyObject * obj0 = 0 ; | |
17970 | char *kwnames[] = { | |
17971 | (char *) "self", NULL | |
17972 | }; | |
17973 | ||
17974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17975 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17976 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17977 | { |
17978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17979 | (arg1)->base_InitDialog(); | |
17980 | ||
17981 | wxPyEndAllowThreads(__tstate); | |
17982 | if (PyErr_Occurred()) SWIG_fail; | |
17983 | } | |
17984 | Py_INCREF(Py_None); resultobj = Py_None; | |
17985 | return resultobj; | |
17986 | fail: | |
17987 | return NULL; | |
17988 | } | |
17989 | ||
17990 | ||
c370783e | 17991 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17992 | PyObject *resultobj; |
17993 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17994 | bool result; | |
17995 | PyObject * obj0 = 0 ; | |
17996 | char *kwnames[] = { | |
17997 | (char *) "self", NULL | |
17998 | }; | |
17999 | ||
18000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18001 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18002 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18003 | { |
18004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18005 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
18006 | ||
18007 | wxPyEndAllowThreads(__tstate); | |
18008 | if (PyErr_Occurred()) SWIG_fail; | |
18009 | } | |
18010 | { | |
18011 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18012 | } | |
18013 | return resultobj; | |
18014 | fail: | |
18015 | return NULL; | |
18016 | } | |
18017 | ||
18018 | ||
c370783e | 18019 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18020 | PyObject *resultobj; |
18021 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18022 | bool result; | |
18023 | PyObject * obj0 = 0 ; | |
18024 | char *kwnames[] = { | |
18025 | (char *) "self", NULL | |
18026 | }; | |
18027 | ||
18028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18029 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18030 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18031 | { |
18032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18033 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
18034 | ||
18035 | wxPyEndAllowThreads(__tstate); | |
18036 | if (PyErr_Occurred()) SWIG_fail; | |
18037 | } | |
18038 | { | |
18039 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18040 | } | |
18041 | return resultobj; | |
18042 | fail: | |
18043 | return NULL; | |
18044 | } | |
18045 | ||
18046 | ||
c370783e | 18047 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18048 | PyObject *resultobj; |
18049 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18050 | bool result; | |
18051 | PyObject * obj0 = 0 ; | |
18052 | char *kwnames[] = { | |
18053 | (char *) "self", NULL | |
18054 | }; | |
18055 | ||
18056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18057 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18058 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18059 | { |
18060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18061 | result = (bool)(arg1)->base_Validate(); | |
18062 | ||
18063 | wxPyEndAllowThreads(__tstate); | |
18064 | if (PyErr_Occurred()) SWIG_fail; | |
18065 | } | |
18066 | { | |
18067 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18068 | } | |
18069 | return resultobj; | |
18070 | fail: | |
18071 | return NULL; | |
18072 | } | |
18073 | ||
18074 | ||
c370783e | 18075 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18076 | PyObject *resultobj; |
18077 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18078 | bool result; | |
18079 | PyObject * obj0 = 0 ; | |
18080 | char *kwnames[] = { | |
18081 | (char *) "self", NULL | |
18082 | }; | |
18083 | ||
18084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18085 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18086 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18087 | { |
18088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18089 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
18090 | ||
18091 | wxPyEndAllowThreads(__tstate); | |
18092 | if (PyErr_Occurred()) SWIG_fail; | |
18093 | } | |
18094 | { | |
18095 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18096 | } | |
18097 | return resultobj; | |
18098 | fail: | |
18099 | return NULL; | |
18100 | } | |
18101 | ||
18102 | ||
c370783e | 18103 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18104 | PyObject *resultobj; |
18105 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18106 | bool result; | |
18107 | PyObject * obj0 = 0 ; | |
18108 | char *kwnames[] = { | |
18109 | (char *) "self", NULL | |
18110 | }; | |
18111 | ||
18112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18113 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18114 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18115 | { |
18116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18117 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
18118 | ||
18119 | wxPyEndAllowThreads(__tstate); | |
18120 | if (PyErr_Occurred()) SWIG_fail; | |
18121 | } | |
18122 | { | |
18123 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18124 | } | |
18125 | return resultobj; | |
18126 | fail: | |
18127 | return NULL; | |
18128 | } | |
18129 | ||
18130 | ||
c370783e | 18131 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18132 | PyObject *resultobj; |
18133 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18134 | wxSize result; | |
18135 | PyObject * obj0 = 0 ; | |
18136 | char *kwnames[] = { | |
18137 | (char *) "self", NULL | |
18138 | }; | |
18139 | ||
18140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18141 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18142 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18143 | { |
18144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18145 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
18146 | ||
18147 | wxPyEndAllowThreads(__tstate); | |
18148 | if (PyErr_Occurred()) SWIG_fail; | |
18149 | } | |
18150 | { | |
18151 | wxSize * resultptr; | |
36ed4f51 | 18152 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
18153 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
18154 | } | |
18155 | return resultobj; | |
18156 | fail: | |
18157 | return NULL; | |
18158 | } | |
18159 | ||
18160 | ||
c370783e | 18161 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18162 | PyObject *resultobj; |
18163 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18164 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18165 | PyObject * obj0 = 0 ; | |
18166 | PyObject * obj1 = 0 ; | |
18167 | char *kwnames[] = { | |
18168 | (char *) "self",(char *) "child", NULL | |
18169 | }; | |
18170 | ||
18171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
18172 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18173 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18174 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
18175 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
18176 | { |
18177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18178 | (arg1)->base_AddChild(arg2); | |
18179 | ||
18180 | wxPyEndAllowThreads(__tstate); | |
18181 | if (PyErr_Occurred()) SWIG_fail; | |
18182 | } | |
18183 | Py_INCREF(Py_None); resultobj = Py_None; | |
18184 | return resultobj; | |
18185 | fail: | |
18186 | return NULL; | |
18187 | } | |
18188 | ||
18189 | ||
c370783e | 18190 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18191 | PyObject *resultobj; |
18192 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18193 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18194 | PyObject * obj0 = 0 ; | |
18195 | PyObject * obj1 = 0 ; | |
18196 | char *kwnames[] = { | |
18197 | (char *) "self",(char *) "child", NULL | |
18198 | }; | |
18199 | ||
18200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
18201 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18202 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18203 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
18204 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
18205 | { |
18206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18207 | (arg1)->base_RemoveChild(arg2); | |
18208 | ||
18209 | wxPyEndAllowThreads(__tstate); | |
18210 | if (PyErr_Occurred()) SWIG_fail; | |
18211 | } | |
18212 | Py_INCREF(Py_None); resultobj = Py_None; | |
18213 | return resultobj; | |
18214 | fail: | |
18215 | return NULL; | |
18216 | } | |
18217 | ||
18218 | ||
c370783e | 18219 | static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18220 | PyObject *resultobj; |
18221 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18222 | bool result; | |
18223 | PyObject * obj0 = 0 ; | |
18224 | char *kwnames[] = { | |
18225 | (char *) "self", NULL | |
18226 | }; | |
18227 | ||
18228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18229 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18230 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18231 | { |
18232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a5ee0656 | 18233 | result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
18234 | |
18235 | wxPyEndAllowThreads(__tstate); | |
18236 | if (PyErr_Occurred()) SWIG_fail; | |
18237 | } | |
18238 | { | |
18239 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18240 | } | |
18241 | return resultobj; | |
18242 | fail: | |
18243 | return NULL; | |
18244 | } | |
18245 | ||
18246 | ||
c370783e | 18247 | static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18248 | PyObject *resultobj; |
18249 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18250 | wxColour *arg2 = 0 ; | |
18251 | wxColour temp2 ; | |
18252 | PyObject * obj0 = 0 ; | |
18253 | PyObject * obj1 = 0 ; | |
18254 | char *kwnames[] = { | |
18255 | (char *) "self",(char *) "c", NULL | |
18256 | }; | |
18257 | ||
18258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
18259 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18260 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18261 | { |
18262 | arg2 = &temp2; | |
18263 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
18264 | } | |
18265 | { | |
18266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18267 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
18268 | ||
18269 | wxPyEndAllowThreads(__tstate); | |
18270 | if (PyErr_Occurred()) SWIG_fail; | |
18271 | } | |
18272 | Py_INCREF(Py_None); resultobj = Py_None; | |
18273 | return resultobj; | |
18274 | fail: | |
18275 | return NULL; | |
18276 | } | |
18277 | ||
18278 | ||
c370783e | 18279 | static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
18280 | PyObject *resultobj; |
18281 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18282 | wxVisualAttributes result; | |
18283 | PyObject * obj0 = 0 ; | |
18284 | char *kwnames[] = { | |
18285 | (char *) "self", NULL | |
18286 | }; | |
18287 | ||
18288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18289 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18290 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
18291 | { |
18292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18293 | result = (arg1)->base_GetDefaultAttributes(); | |
18294 | ||
18295 | wxPyEndAllowThreads(__tstate); | |
18296 | if (PyErr_Occurred()) SWIG_fail; | |
18297 | } | |
18298 | { | |
18299 | wxVisualAttributes * resultptr; | |
36ed4f51 | 18300 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
a5ee0656 RD |
18301 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
18302 | } | |
18303 | return resultobj; | |
18304 | fail: | |
18305 | return NULL; | |
18306 | } | |
18307 | ||
18308 | ||
c370783e | 18309 | static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
18310 | PyObject *obj; |
18311 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18312 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
18313 | Py_INCREF(obj); | |
18314 | return Py_BuildValue((char *)""); | |
18315 | } | |
c370783e | 18316 | static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18317 | PyObject *resultobj; |
18318 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 18319 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
18320 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
18321 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
18322 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
18323 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
18324 | long arg5 = (long) 0 ; | |
18325 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
18326 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
18327 | wxPyPanel *result; | |
18328 | wxPoint temp3 ; | |
18329 | wxSize temp4 ; | |
b411df4a | 18330 | bool temp6 = false ; |
d55e5bfc RD |
18331 | PyObject * obj0 = 0 ; |
18332 | PyObject * obj1 = 0 ; | |
18333 | PyObject * obj2 = 0 ; | |
18334 | PyObject * obj3 = 0 ; | |
18335 | PyObject * obj4 = 0 ; | |
18336 | PyObject * obj5 = 0 ; | |
18337 | char *kwnames[] = { | |
18338 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
18339 | }; | |
18340 | ||
bfddbb17 | 18341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
36ed4f51 RD |
18342 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
18343 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 18344 | if (obj1) { |
36ed4f51 RD |
18345 | { |
18346 | arg2 = (int const)(SWIG_As_int(obj1)); | |
18347 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18348 | } | |
bfddbb17 | 18349 | } |
d55e5bfc RD |
18350 | if (obj2) { |
18351 | { | |
18352 | arg3 = &temp3; | |
18353 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
18354 | } | |
18355 | } | |
18356 | if (obj3) { | |
18357 | { | |
18358 | arg4 = &temp4; | |
18359 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
18360 | } | |
18361 | } | |
18362 | if (obj4) { | |
36ed4f51 RD |
18363 | { |
18364 | arg5 = (long)(SWIG_As_long(obj4)); | |
18365 | if (SWIG_arg_fail(5)) SWIG_fail; | |
18366 | } | |
d55e5bfc RD |
18367 | } |
18368 | if (obj5) { | |
18369 | { | |
18370 | arg6 = wxString_in_helper(obj5); | |
18371 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 18372 | temp6 = true; |
d55e5bfc RD |
18373 | } |
18374 | } | |
18375 | { | |
0439c23b | 18376 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
18377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
18378 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
18379 | ||
18380 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 18381 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
18382 | } |
18383 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
18384 | { | |
18385 | if (temp6) | |
18386 | delete arg6; | |
18387 | } | |
18388 | return resultobj; | |
18389 | fail: | |
18390 | { | |
18391 | if (temp6) | |
18392 | delete arg6; | |
18393 | } | |
18394 | return NULL; | |
18395 | } | |
18396 | ||
18397 | ||
c370783e | 18398 | static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18399 | PyObject *resultobj; |
18400 | wxPyPanel *result; | |
18401 | char *kwnames[] = { | |
18402 | NULL | |
18403 | }; | |
18404 | ||
18405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail; | |
18406 | { | |
0439c23b | 18407 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
18408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
18409 | result = (wxPyPanel *)new wxPyPanel(); | |
18410 | ||
18411 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 18412 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
18413 | } |
18414 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
18415 | return resultobj; | |
18416 | fail: | |
18417 | return NULL; | |
18418 | } | |
18419 | ||
18420 | ||
c370783e | 18421 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18422 | PyObject *resultobj; |
18423 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18424 | PyObject *arg2 = (PyObject *) 0 ; | |
18425 | PyObject *arg3 = (PyObject *) 0 ; | |
18426 | PyObject * obj0 = 0 ; | |
18427 | PyObject * obj1 = 0 ; | |
18428 | PyObject * obj2 = 0 ; | |
18429 | char *kwnames[] = { | |
18430 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
18431 | }; | |
18432 | ||
18433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
18434 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18435 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18436 | arg2 = obj1; |
18437 | arg3 = obj2; | |
18438 | { | |
18439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18440 | (arg1)->_setCallbackInfo(arg2,arg3); | |
18441 | ||
18442 | wxPyEndAllowThreads(__tstate); | |
18443 | if (PyErr_Occurred()) SWIG_fail; | |
18444 | } | |
18445 | Py_INCREF(Py_None); resultobj = Py_None; | |
18446 | return resultobj; | |
18447 | fail: | |
18448 | return NULL; | |
18449 | } | |
18450 | ||
18451 | ||
c370783e | 18452 | static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
18453 | PyObject *resultobj; |
18454 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18455 | wxSize *arg2 = 0 ; | |
18456 | wxSize temp2 ; | |
18457 | PyObject * obj0 = 0 ; | |
18458 | PyObject * obj1 = 0 ; | |
18459 | char *kwnames[] = { | |
18460 | (char *) "self",(char *) "size", NULL | |
18461 | }; | |
18462 | ||
18463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
18464 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18465 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
18466 | { |
18467 | arg2 = &temp2; | |
18468 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
18469 | } | |
18470 | { | |
18471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18472 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
18473 | ||
18474 | wxPyEndAllowThreads(__tstate); | |
18475 | if (PyErr_Occurred()) SWIG_fail; | |
18476 | } | |
18477 | Py_INCREF(Py_None); resultobj = Py_None; | |
18478 | return resultobj; | |
18479 | fail: | |
18480 | return NULL; | |
18481 | } | |
18482 | ||
18483 | ||
c370783e | 18484 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18485 | PyObject *resultobj; |
18486 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18487 | int arg2 ; | |
18488 | int arg3 ; | |
18489 | int arg4 ; | |
18490 | int arg5 ; | |
18491 | PyObject * obj0 = 0 ; | |
18492 | PyObject * obj1 = 0 ; | |
18493 | PyObject * obj2 = 0 ; | |
18494 | PyObject * obj3 = 0 ; | |
18495 | PyObject * obj4 = 0 ; | |
18496 | char *kwnames[] = { | |
18497 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
18498 | }; | |
18499 | ||
18500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
18501 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18502 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18503 | { | |
18504 | arg2 = (int)(SWIG_As_int(obj1)); | |
18505 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18506 | } | |
18507 | { | |
18508 | arg3 = (int)(SWIG_As_int(obj2)); | |
18509 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18510 | } | |
18511 | { | |
18512 | arg4 = (int)(SWIG_As_int(obj3)); | |
18513 | if (SWIG_arg_fail(4)) SWIG_fail; | |
18514 | } | |
18515 | { | |
18516 | arg5 = (int)(SWIG_As_int(obj4)); | |
18517 | if (SWIG_arg_fail(5)) SWIG_fail; | |
18518 | } | |
d55e5bfc RD |
18519 | { |
18520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18521 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
18522 | ||
18523 | wxPyEndAllowThreads(__tstate); | |
18524 | if (PyErr_Occurred()) SWIG_fail; | |
18525 | } | |
18526 | Py_INCREF(Py_None); resultobj = Py_None; | |
18527 | return resultobj; | |
18528 | fail: | |
18529 | return NULL; | |
18530 | } | |
18531 | ||
18532 | ||
c370783e | 18533 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18534 | PyObject *resultobj; |
18535 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18536 | int arg2 ; | |
18537 | int arg3 ; | |
18538 | int arg4 ; | |
18539 | int arg5 ; | |
18540 | int arg6 = (int) wxSIZE_AUTO ; | |
18541 | PyObject * obj0 = 0 ; | |
18542 | PyObject * obj1 = 0 ; | |
18543 | PyObject * obj2 = 0 ; | |
18544 | PyObject * obj3 = 0 ; | |
18545 | PyObject * obj4 = 0 ; | |
18546 | PyObject * obj5 = 0 ; | |
18547 | char *kwnames[] = { | |
18548 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
18549 | }; | |
18550 | ||
18551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
18552 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18553 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18554 | { | |
18555 | arg2 = (int)(SWIG_As_int(obj1)); | |
18556 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18557 | } | |
18558 | { | |
18559 | arg3 = (int)(SWIG_As_int(obj2)); | |
18560 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18561 | } | |
18562 | { | |
18563 | arg4 = (int)(SWIG_As_int(obj3)); | |
18564 | if (SWIG_arg_fail(4)) SWIG_fail; | |
18565 | } | |
18566 | { | |
18567 | arg5 = (int)(SWIG_As_int(obj4)); | |
18568 | if (SWIG_arg_fail(5)) SWIG_fail; | |
18569 | } | |
d55e5bfc | 18570 | if (obj5) { |
36ed4f51 RD |
18571 | { |
18572 | arg6 = (int)(SWIG_As_int(obj5)); | |
18573 | if (SWIG_arg_fail(6)) SWIG_fail; | |
18574 | } | |
d55e5bfc RD |
18575 | } |
18576 | { | |
18577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18578 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
18579 | ||
18580 | wxPyEndAllowThreads(__tstate); | |
18581 | if (PyErr_Occurred()) SWIG_fail; | |
18582 | } | |
18583 | Py_INCREF(Py_None); resultobj = Py_None; | |
18584 | return resultobj; | |
18585 | fail: | |
18586 | return NULL; | |
18587 | } | |
18588 | ||
18589 | ||
c370783e | 18590 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18591 | PyObject *resultobj; |
18592 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18593 | int arg2 ; | |
18594 | int arg3 ; | |
18595 | PyObject * obj0 = 0 ; | |
18596 | PyObject * obj1 = 0 ; | |
18597 | PyObject * obj2 = 0 ; | |
18598 | char *kwnames[] = { | |
18599 | (char *) "self",(char *) "width",(char *) "height", NULL | |
18600 | }; | |
18601 | ||
18602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
18603 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18604 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18605 | { | |
18606 | arg2 = (int)(SWIG_As_int(obj1)); | |
18607 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18608 | } | |
18609 | { | |
18610 | arg3 = (int)(SWIG_As_int(obj2)); | |
18611 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18612 | } | |
d55e5bfc RD |
18613 | { |
18614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18615 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
18616 | ||
18617 | wxPyEndAllowThreads(__tstate); | |
18618 | if (PyErr_Occurred()) SWIG_fail; | |
18619 | } | |
18620 | Py_INCREF(Py_None); resultobj = Py_None; | |
18621 | return resultobj; | |
18622 | fail: | |
18623 | return NULL; | |
18624 | } | |
18625 | ||
18626 | ||
c370783e | 18627 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18628 | PyObject *resultobj; |
18629 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18630 | int arg2 ; | |
18631 | int arg3 ; | |
18632 | PyObject * obj0 = 0 ; | |
18633 | PyObject * obj1 = 0 ; | |
18634 | PyObject * obj2 = 0 ; | |
18635 | char *kwnames[] = { | |
18636 | (char *) "self",(char *) "x",(char *) "y", NULL | |
18637 | }; | |
18638 | ||
18639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
18640 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18641 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18642 | { | |
18643 | arg2 = (int)(SWIG_As_int(obj1)); | |
18644 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18645 | } | |
18646 | { | |
18647 | arg3 = (int)(SWIG_As_int(obj2)); | |
18648 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18649 | } | |
d55e5bfc RD |
18650 | { |
18651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18652 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
18653 | ||
18654 | wxPyEndAllowThreads(__tstate); | |
18655 | if (PyErr_Occurred()) SWIG_fail; | |
18656 | } | |
18657 | Py_INCREF(Py_None); resultobj = Py_None; | |
18658 | return resultobj; | |
18659 | fail: | |
18660 | return NULL; | |
18661 | } | |
18662 | ||
18663 | ||
c370783e | 18664 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18665 | PyObject *resultobj; |
18666 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18667 | int *arg2 = (int *) 0 ; | |
18668 | int *arg3 = (int *) 0 ; | |
18669 | int temp2 ; | |
c370783e | 18670 | int res2 = 0 ; |
d55e5bfc | 18671 | int temp3 ; |
c370783e | 18672 | int res3 = 0 ; |
d55e5bfc RD |
18673 | PyObject * obj0 = 0 ; |
18674 | char *kwnames[] = { | |
18675 | (char *) "self", NULL | |
18676 | }; | |
18677 | ||
c370783e RD |
18678 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18679 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
18681 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18682 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18683 | { |
18684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18685 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
18686 | ||
18687 | wxPyEndAllowThreads(__tstate); | |
18688 | if (PyErr_Occurred()) SWIG_fail; | |
18689 | } | |
18690 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
18691 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18692 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18693 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18694 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18695 | return resultobj; |
18696 | fail: | |
18697 | return NULL; | |
18698 | } | |
18699 | ||
18700 | ||
c370783e | 18701 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18702 | PyObject *resultobj; |
18703 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18704 | int *arg2 = (int *) 0 ; | |
18705 | int *arg3 = (int *) 0 ; | |
18706 | int temp2 ; | |
c370783e | 18707 | int res2 = 0 ; |
d55e5bfc | 18708 | int temp3 ; |
c370783e | 18709 | int res3 = 0 ; |
d55e5bfc RD |
18710 | PyObject * obj0 = 0 ; |
18711 | char *kwnames[] = { | |
18712 | (char *) "self", NULL | |
18713 | }; | |
18714 | ||
c370783e RD |
18715 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18716 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
18718 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18719 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18720 | { |
18721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18722 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
18723 | ||
18724 | wxPyEndAllowThreads(__tstate); | |
18725 | if (PyErr_Occurred()) SWIG_fail; | |
18726 | } | |
18727 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
18728 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18729 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18730 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18731 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18732 | return resultobj; |
18733 | fail: | |
18734 | return NULL; | |
18735 | } | |
18736 | ||
18737 | ||
c370783e | 18738 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18739 | PyObject *resultobj; |
18740 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18741 | int *arg2 = (int *) 0 ; | |
18742 | int *arg3 = (int *) 0 ; | |
18743 | int temp2 ; | |
c370783e | 18744 | int res2 = 0 ; |
d55e5bfc | 18745 | int temp3 ; |
c370783e | 18746 | int res3 = 0 ; |
d55e5bfc RD |
18747 | PyObject * obj0 = 0 ; |
18748 | char *kwnames[] = { | |
18749 | (char *) "self", NULL | |
18750 | }; | |
18751 | ||
c370783e RD |
18752 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18753 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
18755 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18756 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18757 | { |
18758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18759 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
18760 | ||
18761 | wxPyEndAllowThreads(__tstate); | |
18762 | if (PyErr_Occurred()) SWIG_fail; | |
18763 | } | |
18764 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
18765 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18766 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18767 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18768 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18769 | return resultobj; |
18770 | fail: | |
18771 | return NULL; | |
18772 | } | |
18773 | ||
18774 | ||
c370783e | 18775 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18776 | PyObject *resultobj; |
18777 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18778 | wxSize result; | |
18779 | PyObject * obj0 = 0 ; | |
18780 | char *kwnames[] = { | |
18781 | (char *) "self", NULL | |
18782 | }; | |
18783 | ||
18784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18785 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18786 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18787 | { |
18788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18789 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
18790 | ||
18791 | wxPyEndAllowThreads(__tstate); | |
18792 | if (PyErr_Occurred()) SWIG_fail; | |
18793 | } | |
18794 | { | |
18795 | wxSize * resultptr; | |
36ed4f51 | 18796 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
18797 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
18798 | } | |
18799 | return resultobj; | |
18800 | fail: | |
18801 | return NULL; | |
18802 | } | |
18803 | ||
18804 | ||
c370783e | 18805 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18806 | PyObject *resultobj; |
18807 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18808 | wxSize result; | |
18809 | PyObject * obj0 = 0 ; | |
18810 | char *kwnames[] = { | |
18811 | (char *) "self", NULL | |
18812 | }; | |
18813 | ||
18814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18815 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18816 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18817 | { |
18818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18819 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
18820 | ||
18821 | wxPyEndAllowThreads(__tstate); | |
18822 | if (PyErr_Occurred()) SWIG_fail; | |
18823 | } | |
18824 | { | |
18825 | wxSize * resultptr; | |
36ed4f51 | 18826 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
18827 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
18828 | } | |
18829 | return resultobj; | |
18830 | fail: | |
18831 | return NULL; | |
18832 | } | |
18833 | ||
18834 | ||
c370783e | 18835 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18836 | PyObject *resultobj; |
18837 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18838 | PyObject * obj0 = 0 ; | |
18839 | char *kwnames[] = { | |
18840 | (char *) "self", NULL | |
18841 | }; | |
18842 | ||
18843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18844 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18845 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18846 | { |
18847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18848 | (arg1)->base_InitDialog(); | |
18849 | ||
18850 | wxPyEndAllowThreads(__tstate); | |
18851 | if (PyErr_Occurred()) SWIG_fail; | |
18852 | } | |
18853 | Py_INCREF(Py_None); resultobj = Py_None; | |
18854 | return resultobj; | |
18855 | fail: | |
18856 | return NULL; | |
18857 | } | |
18858 | ||
18859 | ||
c370783e | 18860 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18861 | PyObject *resultobj; |
18862 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18863 | bool result; | |
18864 | PyObject * obj0 = 0 ; | |
18865 | char *kwnames[] = { | |
18866 | (char *) "self", NULL | |
18867 | }; | |
18868 | ||
18869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18870 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18871 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18872 | { |
18873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18874 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
18875 | ||
18876 | wxPyEndAllowThreads(__tstate); | |
18877 | if (PyErr_Occurred()) SWIG_fail; | |
18878 | } | |
18879 | { | |
18880 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18881 | } | |
18882 | return resultobj; | |
18883 | fail: | |
18884 | return NULL; | |
18885 | } | |
18886 | ||
18887 | ||
c370783e | 18888 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18889 | PyObject *resultobj; |
18890 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18891 | bool result; | |
18892 | PyObject * obj0 = 0 ; | |
18893 | char *kwnames[] = { | |
18894 | (char *) "self", NULL | |
18895 | }; | |
18896 | ||
18897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18898 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18899 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18900 | { |
18901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18902 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
18903 | ||
18904 | wxPyEndAllowThreads(__tstate); | |
18905 | if (PyErr_Occurred()) SWIG_fail; | |
18906 | } | |
18907 | { | |
18908 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18909 | } | |
18910 | return resultobj; | |
18911 | fail: | |
18912 | return NULL; | |
18913 | } | |
18914 | ||
18915 | ||
c370783e | 18916 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18917 | PyObject *resultobj; |
18918 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18919 | bool result; | |
18920 | PyObject * obj0 = 0 ; | |
18921 | char *kwnames[] = { | |
18922 | (char *) "self", NULL | |
18923 | }; | |
18924 | ||
18925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18926 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18927 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18928 | { |
18929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18930 | result = (bool)(arg1)->base_Validate(); | |
18931 | ||
18932 | wxPyEndAllowThreads(__tstate); | |
18933 | if (PyErr_Occurred()) SWIG_fail; | |
18934 | } | |
18935 | { | |
18936 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18937 | } | |
18938 | return resultobj; | |
18939 | fail: | |
18940 | return NULL; | |
18941 | } | |
18942 | ||
18943 | ||
c370783e | 18944 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18945 | PyObject *resultobj; |
18946 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18947 | bool result; | |
18948 | PyObject * obj0 = 0 ; | |
18949 | char *kwnames[] = { | |
18950 | (char *) "self", NULL | |
18951 | }; | |
18952 | ||
18953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18954 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18955 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18956 | { |
18957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18958 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
18959 | ||
18960 | wxPyEndAllowThreads(__tstate); | |
18961 | if (PyErr_Occurred()) SWIG_fail; | |
18962 | } | |
18963 | { | |
18964 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18965 | } | |
18966 | return resultobj; | |
18967 | fail: | |
18968 | return NULL; | |
18969 | } | |
18970 | ||
18971 | ||
c370783e | 18972 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18973 | PyObject *resultobj; |
18974 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18975 | bool result; | |
18976 | PyObject * obj0 = 0 ; | |
18977 | char *kwnames[] = { | |
18978 | (char *) "self", NULL | |
18979 | }; | |
18980 | ||
18981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18982 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18983 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18984 | { |
18985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18986 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
18987 | ||
18988 | wxPyEndAllowThreads(__tstate); | |
18989 | if (PyErr_Occurred()) SWIG_fail; | |
18990 | } | |
18991 | { | |
18992 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18993 | } | |
18994 | return resultobj; | |
18995 | fail: | |
18996 | return NULL; | |
18997 | } | |
18998 | ||
18999 | ||
c370783e | 19000 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19001 | PyObject *resultobj; |
19002 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19003 | wxSize result; | |
19004 | PyObject * obj0 = 0 ; | |
19005 | char *kwnames[] = { | |
19006 | (char *) "self", NULL | |
19007 | }; | |
19008 | ||
19009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19010 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19011 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19012 | { |
19013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19014 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
19015 | ||
19016 | wxPyEndAllowThreads(__tstate); | |
19017 | if (PyErr_Occurred()) SWIG_fail; | |
19018 | } | |
19019 | { | |
19020 | wxSize * resultptr; | |
36ed4f51 | 19021 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19022 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19023 | } | |
19024 | return resultobj; | |
19025 | fail: | |
19026 | return NULL; | |
19027 | } | |
19028 | ||
19029 | ||
c370783e | 19030 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19031 | PyObject *resultobj; |
19032 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19033 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19034 | PyObject * obj0 = 0 ; | |
19035 | PyObject * obj1 = 0 ; | |
19036 | char *kwnames[] = { | |
19037 | (char *) "self",(char *) "child", NULL | |
19038 | }; | |
19039 | ||
19040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
19041 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19042 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19043 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
19044 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
19045 | { |
19046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19047 | (arg1)->base_AddChild(arg2); | |
19048 | ||
19049 | wxPyEndAllowThreads(__tstate); | |
19050 | if (PyErr_Occurred()) SWIG_fail; | |
19051 | } | |
19052 | Py_INCREF(Py_None); resultobj = Py_None; | |
19053 | return resultobj; | |
19054 | fail: | |
19055 | return NULL; | |
19056 | } | |
19057 | ||
19058 | ||
c370783e | 19059 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19060 | PyObject *resultobj; |
19061 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19062 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19063 | PyObject * obj0 = 0 ; | |
19064 | PyObject * obj1 = 0 ; | |
19065 | char *kwnames[] = { | |
19066 | (char *) "self",(char *) "child", NULL | |
19067 | }; | |
19068 | ||
19069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
19070 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19071 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19072 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
19073 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
19074 | { |
19075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19076 | (arg1)->base_RemoveChild(arg2); | |
19077 | ||
19078 | wxPyEndAllowThreads(__tstate); | |
19079 | if (PyErr_Occurred()) SWIG_fail; | |
19080 | } | |
19081 | Py_INCREF(Py_None); resultobj = Py_None; | |
19082 | return resultobj; | |
19083 | fail: | |
19084 | return NULL; | |
19085 | } | |
19086 | ||
19087 | ||
c370783e | 19088 | static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19089 | PyObject *resultobj; |
19090 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19091 | bool result; | |
19092 | PyObject * obj0 = 0 ; | |
19093 | char *kwnames[] = { | |
19094 | (char *) "self", NULL | |
19095 | }; | |
19096 | ||
19097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19098 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19099 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19100 | { |
19101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a5ee0656 | 19102 | result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
19103 | |
19104 | wxPyEndAllowThreads(__tstate); | |
19105 | if (PyErr_Occurred()) SWIG_fail; | |
19106 | } | |
19107 | { | |
19108 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19109 | } | |
19110 | return resultobj; | |
19111 | fail: | |
19112 | return NULL; | |
19113 | } | |
19114 | ||
19115 | ||
c370783e | 19116 | static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19117 | PyObject *resultobj; |
19118 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19119 | wxColour *arg2 = 0 ; | |
19120 | wxColour temp2 ; | |
19121 | PyObject * obj0 = 0 ; | |
19122 | PyObject * obj1 = 0 ; | |
19123 | char *kwnames[] = { | |
19124 | (char *) "self",(char *) "c", NULL | |
19125 | }; | |
19126 | ||
19127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
19128 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19129 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19130 | { |
19131 | arg2 = &temp2; | |
19132 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
19133 | } | |
19134 | { | |
19135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19136 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
19137 | ||
19138 | wxPyEndAllowThreads(__tstate); | |
19139 | if (PyErr_Occurred()) SWIG_fail; | |
19140 | } | |
19141 | Py_INCREF(Py_None); resultobj = Py_None; | |
19142 | return resultobj; | |
19143 | fail: | |
19144 | return NULL; | |
19145 | } | |
19146 | ||
19147 | ||
c370783e | 19148 | static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
19149 | PyObject *resultobj; |
19150 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19151 | wxVisualAttributes result; | |
19152 | PyObject * obj0 = 0 ; | |
19153 | char *kwnames[] = { | |
19154 | (char *) "self", NULL | |
19155 | }; | |
19156 | ||
19157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19158 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19159 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
19160 | { |
19161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19162 | result = (arg1)->base_GetDefaultAttributes(); | |
19163 | ||
19164 | wxPyEndAllowThreads(__tstate); | |
19165 | if (PyErr_Occurred()) SWIG_fail; | |
19166 | } | |
19167 | { | |
19168 | wxVisualAttributes * resultptr; | |
36ed4f51 | 19169 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
a5ee0656 RD |
19170 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
19171 | } | |
19172 | return resultobj; | |
19173 | fail: | |
19174 | return NULL; | |
19175 | } | |
19176 | ||
19177 | ||
c370783e | 19178 | static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
19179 | PyObject *obj; |
19180 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19181 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
19182 | Py_INCREF(obj); | |
19183 | return Py_BuildValue((char *)""); | |
19184 | } | |
c370783e | 19185 | static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19186 | PyObject *resultobj; |
19187 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 19188 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
19189 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
19190 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
19191 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
19192 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
19193 | long arg5 = (long) 0 ; | |
19194 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
19195 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
19196 | wxPyScrolledWindow *result; | |
19197 | wxPoint temp3 ; | |
19198 | wxSize temp4 ; | |
b411df4a | 19199 | bool temp6 = false ; |
d55e5bfc RD |
19200 | PyObject * obj0 = 0 ; |
19201 | PyObject * obj1 = 0 ; | |
19202 | PyObject * obj2 = 0 ; | |
19203 | PyObject * obj3 = 0 ; | |
19204 | PyObject * obj4 = 0 ; | |
19205 | PyObject * obj5 = 0 ; | |
19206 | char *kwnames[] = { | |
19207 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
19208 | }; | |
19209 | ||
bfddbb17 | 19210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
36ed4f51 RD |
19211 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
19212 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 19213 | if (obj1) { |
36ed4f51 RD |
19214 | { |
19215 | arg2 = (int const)(SWIG_As_int(obj1)); | |
19216 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19217 | } | |
bfddbb17 | 19218 | } |
d55e5bfc RD |
19219 | if (obj2) { |
19220 | { | |
19221 | arg3 = &temp3; | |
19222 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
19223 | } | |
19224 | } | |
19225 | if (obj3) { | |
19226 | { | |
19227 | arg4 = &temp4; | |
19228 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
19229 | } | |
19230 | } | |
19231 | if (obj4) { | |
36ed4f51 RD |
19232 | { |
19233 | arg5 = (long)(SWIG_As_long(obj4)); | |
19234 | if (SWIG_arg_fail(5)) SWIG_fail; | |
19235 | } | |
d55e5bfc RD |
19236 | } |
19237 | if (obj5) { | |
19238 | { | |
19239 | arg6 = wxString_in_helper(obj5); | |
19240 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 19241 | temp6 = true; |
d55e5bfc RD |
19242 | } |
19243 | } | |
19244 | { | |
0439c23b | 19245 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
19246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
19247 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
19248 | ||
19249 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 19250 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
19251 | } |
19252 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
19253 | { | |
19254 | if (temp6) | |
19255 | delete arg6; | |
19256 | } | |
19257 | return resultobj; | |
19258 | fail: | |
19259 | { | |
19260 | if (temp6) | |
19261 | delete arg6; | |
19262 | } | |
19263 | return NULL; | |
19264 | } | |
19265 | ||
19266 | ||
c370783e | 19267 | static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19268 | PyObject *resultobj; |
19269 | wxPyScrolledWindow *result; | |
19270 | char *kwnames[] = { | |
19271 | NULL | |
19272 | }; | |
19273 | ||
19274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail; | |
19275 | { | |
0439c23b | 19276 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
19277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
19278 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(); | |
19279 | ||
19280 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 19281 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
19282 | } |
19283 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
19284 | return resultobj; | |
19285 | fail: | |
19286 | return NULL; | |
19287 | } | |
19288 | ||
19289 | ||
c370783e | 19290 | static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19291 | PyObject *resultobj; |
19292 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19293 | PyObject *arg2 = (PyObject *) 0 ; | |
19294 | PyObject *arg3 = (PyObject *) 0 ; | |
19295 | PyObject * obj0 = 0 ; | |
19296 | PyObject * obj1 = 0 ; | |
19297 | PyObject * obj2 = 0 ; | |
19298 | char *kwnames[] = { | |
19299 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
19300 | }; | |
19301 | ||
19302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
19303 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19304 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19305 | arg2 = obj1; |
19306 | arg3 = obj2; | |
19307 | { | |
19308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19309 | (arg1)->_setCallbackInfo(arg2,arg3); | |
19310 | ||
19311 | wxPyEndAllowThreads(__tstate); | |
19312 | if (PyErr_Occurred()) SWIG_fail; | |
19313 | } | |
19314 | Py_INCREF(Py_None); resultobj = Py_None; | |
19315 | return resultobj; | |
19316 | fail: | |
19317 | return NULL; | |
19318 | } | |
19319 | ||
19320 | ||
c370783e | 19321 | static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
19322 | PyObject *resultobj; |
19323 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19324 | wxSize *arg2 = 0 ; | |
19325 | wxSize temp2 ; | |
19326 | PyObject * obj0 = 0 ; | |
19327 | PyObject * obj1 = 0 ; | |
19328 | char *kwnames[] = { | |
19329 | (char *) "self",(char *) "size", NULL | |
19330 | }; | |
19331 | ||
19332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
19333 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19334 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
19335 | { |
19336 | arg2 = &temp2; | |
19337 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
19338 | } | |
19339 | { | |
19340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19341 | (arg1)->SetBestSize((wxSize const &)*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 | ||
c370783e | 19353 | static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19354 | PyObject *resultobj; |
19355 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19356 | int arg2 ; | |
19357 | int arg3 ; | |
19358 | int arg4 ; | |
19359 | int arg5 ; | |
19360 | PyObject * obj0 = 0 ; | |
19361 | PyObject * obj1 = 0 ; | |
19362 | PyObject * obj2 = 0 ; | |
19363 | PyObject * obj3 = 0 ; | |
19364 | PyObject * obj4 = 0 ; | |
19365 | char *kwnames[] = { | |
19366 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
19367 | }; | |
19368 | ||
19369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
19370 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19371 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19372 | { | |
19373 | arg2 = (int)(SWIG_As_int(obj1)); | |
19374 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19375 | } | |
19376 | { | |
19377 | arg3 = (int)(SWIG_As_int(obj2)); | |
19378 | if (SWIG_arg_fail(3)) SWIG_fail; | |
19379 | } | |
19380 | { | |
19381 | arg4 = (int)(SWIG_As_int(obj3)); | |
19382 | if (SWIG_arg_fail(4)) SWIG_fail; | |
19383 | } | |
19384 | { | |
19385 | arg5 = (int)(SWIG_As_int(obj4)); | |
19386 | if (SWIG_arg_fail(5)) SWIG_fail; | |
19387 | } | |
d55e5bfc RD |
19388 | { |
19389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19390 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
19391 | ||
19392 | wxPyEndAllowThreads(__tstate); | |
19393 | if (PyErr_Occurred()) SWIG_fail; | |
19394 | } | |
19395 | Py_INCREF(Py_None); resultobj = Py_None; | |
19396 | return resultobj; | |
19397 | fail: | |
19398 | return NULL; | |
19399 | } | |
19400 | ||
19401 | ||
c370783e | 19402 | static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19403 | PyObject *resultobj; |
19404 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19405 | int arg2 ; | |
19406 | int arg3 ; | |
19407 | int arg4 ; | |
19408 | int arg5 ; | |
19409 | int arg6 = (int) wxSIZE_AUTO ; | |
19410 | PyObject * obj0 = 0 ; | |
19411 | PyObject * obj1 = 0 ; | |
19412 | PyObject * obj2 = 0 ; | |
19413 | PyObject * obj3 = 0 ; | |
19414 | PyObject * obj4 = 0 ; | |
19415 | PyObject * obj5 = 0 ; | |
19416 | char *kwnames[] = { | |
19417 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
19418 | }; | |
19419 | ||
19420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
19421 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19422 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19423 | { | |
19424 | arg2 = (int)(SWIG_As_int(obj1)); | |
19425 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19426 | } | |
19427 | { | |
19428 | arg3 = (int)(SWIG_As_int(obj2)); | |
19429 | if (SWIG_arg_fail(3)) SWIG_fail; | |
19430 | } | |
19431 | { | |
19432 | arg4 = (int)(SWIG_As_int(obj3)); | |
19433 | if (SWIG_arg_fail(4)) SWIG_fail; | |
19434 | } | |
19435 | { | |
19436 | arg5 = (int)(SWIG_As_int(obj4)); | |
19437 | if (SWIG_arg_fail(5)) SWIG_fail; | |
19438 | } | |
d55e5bfc | 19439 | if (obj5) { |
36ed4f51 RD |
19440 | { |
19441 | arg6 = (int)(SWIG_As_int(obj5)); | |
19442 | if (SWIG_arg_fail(6)) SWIG_fail; | |
19443 | } | |
d55e5bfc RD |
19444 | } |
19445 | { | |
19446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19447 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
19448 | ||
19449 | wxPyEndAllowThreads(__tstate); | |
19450 | if (PyErr_Occurred()) SWIG_fail; | |
19451 | } | |
19452 | Py_INCREF(Py_None); resultobj = Py_None; | |
19453 | return resultobj; | |
19454 | fail: | |
19455 | return NULL; | |
19456 | } | |
19457 | ||
19458 | ||
c370783e | 19459 | static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19460 | PyObject *resultobj; |
19461 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19462 | int arg2 ; | |
19463 | int arg3 ; | |
19464 | PyObject * obj0 = 0 ; | |
19465 | PyObject * obj1 = 0 ; | |
19466 | PyObject * obj2 = 0 ; | |
19467 | char *kwnames[] = { | |
19468 | (char *) "self",(char *) "width",(char *) "height", NULL | |
19469 | }; | |
19470 | ||
19471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
19472 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19473 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19474 | { | |
19475 | arg2 = (int)(SWIG_As_int(obj1)); | |
19476 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19477 | } | |
19478 | { | |
19479 | arg3 = (int)(SWIG_As_int(obj2)); | |
19480 | if (SWIG_arg_fail(3)) SWIG_fail; | |
19481 | } | |
d55e5bfc RD |
19482 | { |
19483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19484 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
19485 | ||
19486 | wxPyEndAllowThreads(__tstate); | |
19487 | if (PyErr_Occurred()) SWIG_fail; | |
19488 | } | |
19489 | Py_INCREF(Py_None); resultobj = Py_None; | |
19490 | return resultobj; | |
19491 | fail: | |
19492 | return NULL; | |
19493 | } | |
19494 | ||
19495 | ||
c370783e | 19496 | static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19497 | PyObject *resultobj; |
19498 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19499 | int arg2 ; | |
19500 | int arg3 ; | |
19501 | PyObject * obj0 = 0 ; | |
19502 | PyObject * obj1 = 0 ; | |
19503 | PyObject * obj2 = 0 ; | |
19504 | char *kwnames[] = { | |
19505 | (char *) "self",(char *) "x",(char *) "y", NULL | |
19506 | }; | |
19507 | ||
19508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
19509 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19510 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19511 | { | |
19512 | arg2 = (int)(SWIG_As_int(obj1)); | |
19513 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19514 | } | |
19515 | { | |
19516 | arg3 = (int)(SWIG_As_int(obj2)); | |
19517 | if (SWIG_arg_fail(3)) SWIG_fail; | |
19518 | } | |
d55e5bfc RD |
19519 | { |
19520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19521 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
19522 | ||
19523 | wxPyEndAllowThreads(__tstate); | |
19524 | if (PyErr_Occurred()) SWIG_fail; | |
19525 | } | |
19526 | Py_INCREF(Py_None); resultobj = Py_None; | |
19527 | return resultobj; | |
19528 | fail: | |
19529 | return NULL; | |
19530 | } | |
19531 | ||
19532 | ||
c370783e | 19533 | static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19534 | PyObject *resultobj; |
19535 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19536 | int *arg2 = (int *) 0 ; | |
19537 | int *arg3 = (int *) 0 ; | |
19538 | int temp2 ; | |
c370783e | 19539 | int res2 = 0 ; |
d55e5bfc | 19540 | int temp3 ; |
c370783e | 19541 | int res3 = 0 ; |
d55e5bfc RD |
19542 | PyObject * obj0 = 0 ; |
19543 | char *kwnames[] = { | |
19544 | (char *) "self", NULL | |
19545 | }; | |
19546 | ||
c370783e RD |
19547 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19548 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 19549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
19550 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19551 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19552 | { |
19553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19554 | ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
19555 | ||
19556 | wxPyEndAllowThreads(__tstate); | |
19557 | if (PyErr_Occurred()) SWIG_fail; | |
19558 | } | |
19559 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
19560 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19561 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19562 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19563 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
19564 | return resultobj; |
19565 | fail: | |
19566 | return NULL; | |
19567 | } | |
19568 | ||
19569 | ||
c370783e | 19570 | static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19571 | PyObject *resultobj; |
19572 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19573 | int *arg2 = (int *) 0 ; | |
19574 | int *arg3 = (int *) 0 ; | |
19575 | int temp2 ; | |
c370783e | 19576 | int res2 = 0 ; |
d55e5bfc | 19577 | int temp3 ; |
c370783e | 19578 | int res3 = 0 ; |
d55e5bfc RD |
19579 | PyObject * obj0 = 0 ; |
19580 | char *kwnames[] = { | |
19581 | (char *) "self", NULL | |
19582 | }; | |
19583 | ||
c370783e RD |
19584 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19585 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 19586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
19587 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19588 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19589 | { |
19590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19591 | ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
19592 | ||
19593 | wxPyEndAllowThreads(__tstate); | |
19594 | if (PyErr_Occurred()) SWIG_fail; | |
19595 | } | |
19596 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
19597 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19598 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19599 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19600 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
19601 | return resultobj; |
19602 | fail: | |
19603 | return NULL; | |
19604 | } | |
19605 | ||
19606 | ||
c370783e | 19607 | static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19608 | PyObject *resultobj; |
19609 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19610 | int *arg2 = (int *) 0 ; | |
19611 | int *arg3 = (int *) 0 ; | |
19612 | int temp2 ; | |
c370783e | 19613 | int res2 = 0 ; |
d55e5bfc | 19614 | int temp3 ; |
c370783e | 19615 | int res3 = 0 ; |
d55e5bfc RD |
19616 | PyObject * obj0 = 0 ; |
19617 | char *kwnames[] = { | |
19618 | (char *) "self", NULL | |
19619 | }; | |
19620 | ||
c370783e RD |
19621 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19622 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 19623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
19624 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19625 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19626 | { |
19627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19628 | ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
19629 | ||
19630 | wxPyEndAllowThreads(__tstate); | |
19631 | if (PyErr_Occurred()) SWIG_fail; | |
19632 | } | |
19633 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
19634 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19635 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19636 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19637 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
19638 | return resultobj; |
19639 | fail: | |
19640 | return NULL; | |
19641 | } | |
19642 | ||
19643 | ||
c370783e | 19644 | static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19645 | PyObject *resultobj; |
19646 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19647 | wxSize result; | |
19648 | PyObject * obj0 = 0 ; | |
19649 | char *kwnames[] = { | |
19650 | (char *) "self", NULL | |
19651 | }; | |
19652 | ||
19653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19654 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19655 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19656 | { |
19657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19658 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize(); | |
19659 | ||
19660 | wxPyEndAllowThreads(__tstate); | |
19661 | if (PyErr_Occurred()) SWIG_fail; | |
19662 | } | |
19663 | { | |
19664 | wxSize * resultptr; | |
36ed4f51 | 19665 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19666 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19667 | } | |
19668 | return resultobj; | |
19669 | fail: | |
19670 | return NULL; | |
19671 | } | |
19672 | ||
19673 | ||
c370783e | 19674 | static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19675 | PyObject *resultobj; |
19676 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19677 | wxSize result; | |
19678 | PyObject * obj0 = 0 ; | |
19679 | char *kwnames[] = { | |
19680 | (char *) "self", NULL | |
19681 | }; | |
19682 | ||
19683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19684 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19685 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19686 | { |
19687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19688 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize(); | |
19689 | ||
19690 | wxPyEndAllowThreads(__tstate); | |
19691 | if (PyErr_Occurred()) SWIG_fail; | |
19692 | } | |
19693 | { | |
19694 | wxSize * resultptr; | |
36ed4f51 | 19695 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19696 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19697 | } | |
19698 | return resultobj; | |
19699 | fail: | |
19700 | return NULL; | |
19701 | } | |
19702 | ||
19703 | ||
c370783e | 19704 | static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19705 | PyObject *resultobj; |
19706 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19707 | PyObject * obj0 = 0 ; | |
19708 | char *kwnames[] = { | |
19709 | (char *) "self", NULL | |
19710 | }; | |
19711 | ||
19712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19713 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19714 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19715 | { |
19716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19717 | (arg1)->base_InitDialog(); | |
19718 | ||
19719 | wxPyEndAllowThreads(__tstate); | |
19720 | if (PyErr_Occurred()) SWIG_fail; | |
19721 | } | |
19722 | Py_INCREF(Py_None); resultobj = Py_None; | |
19723 | return resultobj; | |
19724 | fail: | |
19725 | return NULL; | |
19726 | } | |
19727 | ||
19728 | ||
c370783e | 19729 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19730 | PyObject *resultobj; |
19731 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19732 | bool result; | |
19733 | PyObject * obj0 = 0 ; | |
19734 | char *kwnames[] = { | |
19735 | (char *) "self", NULL | |
19736 | }; | |
19737 | ||
19738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19739 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19740 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19741 | { |
19742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19743 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
19744 | ||
19745 | wxPyEndAllowThreads(__tstate); | |
19746 | if (PyErr_Occurred()) SWIG_fail; | |
19747 | } | |
19748 | { | |
19749 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19750 | } | |
19751 | return resultobj; | |
19752 | fail: | |
19753 | return NULL; | |
19754 | } | |
19755 | ||
19756 | ||
c370783e | 19757 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19758 | PyObject *resultobj; |
19759 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19760 | bool result; | |
19761 | PyObject * obj0 = 0 ; | |
19762 | char *kwnames[] = { | |
19763 | (char *) "self", NULL | |
19764 | }; | |
19765 | ||
19766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19767 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19768 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19769 | { |
19770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19771 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
19772 | ||
19773 | wxPyEndAllowThreads(__tstate); | |
19774 | if (PyErr_Occurred()) SWIG_fail; | |
19775 | } | |
19776 | { | |
19777 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19778 | } | |
19779 | return resultobj; | |
19780 | fail: | |
19781 | return NULL; | |
19782 | } | |
19783 | ||
19784 | ||
c370783e | 19785 | static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19786 | PyObject *resultobj; |
19787 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19788 | bool result; | |
19789 | PyObject * obj0 = 0 ; | |
19790 | char *kwnames[] = { | |
19791 | (char *) "self", NULL | |
19792 | }; | |
19793 | ||
19794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19795 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19796 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19797 | { |
19798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19799 | result = (bool)(arg1)->base_Validate(); | |
19800 | ||
19801 | wxPyEndAllowThreads(__tstate); | |
19802 | if (PyErr_Occurred()) SWIG_fail; | |
19803 | } | |
19804 | { | |
19805 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19806 | } | |
19807 | return resultobj; | |
19808 | fail: | |
19809 | return NULL; | |
19810 | } | |
19811 | ||
19812 | ||
c370783e | 19813 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19814 | PyObject *resultobj; |
19815 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19816 | bool result; | |
19817 | PyObject * obj0 = 0 ; | |
19818 | char *kwnames[] = { | |
19819 | (char *) "self", NULL | |
19820 | }; | |
19821 | ||
19822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19823 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19824 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19825 | { |
19826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19827 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus(); | |
19828 | ||
19829 | wxPyEndAllowThreads(__tstate); | |
19830 | if (PyErr_Occurred()) SWIG_fail; | |
19831 | } | |
19832 | { | |
19833 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19834 | } | |
19835 | return resultobj; | |
19836 | fail: | |
19837 | return NULL; | |
19838 | } | |
19839 | ||
19840 | ||
c370783e | 19841 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19842 | PyObject *resultobj; |
19843 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19844 | bool result; | |
19845 | PyObject * obj0 = 0 ; | |
19846 | char *kwnames[] = { | |
19847 | (char *) "self", NULL | |
19848 | }; | |
19849 | ||
19850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19851 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19852 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19853 | { |
19854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19855 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
19856 | ||
19857 | wxPyEndAllowThreads(__tstate); | |
19858 | if (PyErr_Occurred()) SWIG_fail; | |
19859 | } | |
19860 | { | |
19861 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19862 | } | |
19863 | return resultobj; | |
19864 | fail: | |
19865 | return NULL; | |
19866 | } | |
19867 | ||
19868 | ||
c370783e | 19869 | static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19870 | PyObject *resultobj; |
19871 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19872 | wxSize result; | |
19873 | PyObject * obj0 = 0 ; | |
19874 | char *kwnames[] = { | |
19875 | (char *) "self", NULL | |
19876 | }; | |
19877 | ||
19878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19879 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19880 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19881 | { |
19882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19883 | result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize(); | |
19884 | ||
19885 | wxPyEndAllowThreads(__tstate); | |
19886 | if (PyErr_Occurred()) SWIG_fail; | |
19887 | } | |
19888 | { | |
19889 | wxSize * resultptr; | |
36ed4f51 | 19890 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19891 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19892 | } | |
19893 | return resultobj; | |
19894 | fail: | |
19895 | return NULL; | |
19896 | } | |
19897 | ||
19898 | ||
c370783e | 19899 | static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19900 | PyObject *resultobj; |
19901 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19902 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19903 | PyObject * obj0 = 0 ; | |
19904 | PyObject * obj1 = 0 ; | |
19905 | char *kwnames[] = { | |
19906 | (char *) "self",(char *) "child", NULL | |
19907 | }; | |
19908 | ||
19909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
19910 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19911 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19912 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
19913 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
19914 | { |
19915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19916 | (arg1)->base_AddChild(arg2); | |
19917 | ||
19918 | wxPyEndAllowThreads(__tstate); | |
19919 | if (PyErr_Occurred()) SWIG_fail; | |
19920 | } | |
19921 | Py_INCREF(Py_None); resultobj = Py_None; | |
19922 | return resultobj; | |
19923 | fail: | |
19924 | return NULL; | |
19925 | } | |
19926 | ||
19927 | ||
c370783e | 19928 | static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19929 | PyObject *resultobj; |
19930 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19931 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19932 | PyObject * obj0 = 0 ; | |
19933 | PyObject * obj1 = 0 ; | |
19934 | char *kwnames[] = { | |
19935 | (char *) "self",(char *) "child", NULL | |
19936 | }; | |
19937 | ||
19938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
19939 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19940 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19941 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
19942 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
19943 | { |
19944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19945 | (arg1)->base_RemoveChild(arg2); | |
19946 | ||
19947 | wxPyEndAllowThreads(__tstate); | |
19948 | if (PyErr_Occurred()) SWIG_fail; | |
19949 | } | |
19950 | Py_INCREF(Py_None); resultobj = Py_None; | |
19951 | return resultobj; | |
19952 | fail: | |
19953 | return NULL; | |
19954 | } | |
19955 | ||
19956 | ||
c370783e | 19957 | static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19958 | PyObject *resultobj; |
19959 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19960 | bool result; | |
19961 | PyObject * obj0 = 0 ; | |
19962 | char *kwnames[] = { | |
19963 | (char *) "self", NULL | |
19964 | }; | |
19965 | ||
19966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19967 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19968 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19969 | { |
19970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a5ee0656 | 19971 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
19972 | |
19973 | wxPyEndAllowThreads(__tstate); | |
19974 | if (PyErr_Occurred()) SWIG_fail; | |
19975 | } | |
19976 | { | |
19977 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19978 | } | |
19979 | return resultobj; | |
19980 | fail: | |
19981 | return NULL; | |
19982 | } | |
19983 | ||
19984 | ||
c370783e | 19985 | static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19986 | PyObject *resultobj; |
19987 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19988 | wxColour *arg2 = 0 ; | |
19989 | wxColour temp2 ; | |
19990 | PyObject * obj0 = 0 ; | |
19991 | PyObject * obj1 = 0 ; | |
19992 | char *kwnames[] = { | |
19993 | (char *) "self",(char *) "c", NULL | |
19994 | }; | |
19995 | ||
19996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
19997 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19998 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19999 | { |
20000 | arg2 = &temp2; | |
20001 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
20002 | } | |
20003 | { | |
20004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20005 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
20006 | ||
20007 | wxPyEndAllowThreads(__tstate); | |
20008 | if (PyErr_Occurred()) SWIG_fail; | |
20009 | } | |
20010 | Py_INCREF(Py_None); resultobj = Py_None; | |
20011 | return resultobj; | |
20012 | fail: | |
20013 | return NULL; | |
20014 | } | |
20015 | ||
20016 | ||
c370783e | 20017 | static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
20018 | PyObject *resultobj; |
20019 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20020 | wxVisualAttributes result; | |
20021 | PyObject * obj0 = 0 ; | |
20022 | char *kwnames[] = { | |
20023 | (char *) "self", NULL | |
20024 | }; | |
20025 | ||
20026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20027 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20028 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
20029 | { |
20030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20031 | result = (arg1)->base_GetDefaultAttributes(); | |
20032 | ||
20033 | wxPyEndAllowThreads(__tstate); | |
20034 | if (PyErr_Occurred()) SWIG_fail; | |
20035 | } | |
20036 | { | |
20037 | wxVisualAttributes * resultptr; | |
36ed4f51 | 20038 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
a5ee0656 RD |
20039 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
20040 | } | |
20041 | return resultobj; | |
20042 | fail: | |
20043 | return NULL; | |
20044 | } | |
20045 | ||
20046 | ||
c370783e | 20047 | static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
20048 | PyObject *obj; |
20049 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20050 | SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj); | |
20051 | Py_INCREF(obj); | |
20052 | return Py_BuildValue((char *)""); | |
20053 | } | |
c370783e | 20054 | static int _wrap_PrintoutTitleStr_set(PyObject *) { |
d55e5bfc RD |
20055 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); |
20056 | return 1; | |
20057 | } | |
20058 | ||
20059 | ||
36ed4f51 | 20060 | static PyObject *_wrap_PrintoutTitleStr_get(void) { |
d55e5bfc RD |
20061 | PyObject *pyobj; |
20062 | ||
20063 | { | |
20064 | #if wxUSE_UNICODE | |
20065 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
20066 | #else | |
20067 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
20068 | #endif | |
20069 | } | |
20070 | return pyobj; | |
20071 | } | |
20072 | ||
20073 | ||
c370783e | 20074 | static int _wrap_PreviewCanvasNameStr_set(PyObject *) { |
d55e5bfc RD |
20075 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); |
20076 | return 1; | |
20077 | } | |
20078 | ||
20079 | ||
36ed4f51 | 20080 | static PyObject *_wrap_PreviewCanvasNameStr_get(void) { |
d55e5bfc RD |
20081 | PyObject *pyobj; |
20082 | ||
20083 | { | |
20084 | #if wxUSE_UNICODE | |
20085 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
20086 | #else | |
20087 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
20088 | #endif | |
20089 | } | |
20090 | return pyobj; | |
20091 | } | |
20092 | ||
20093 | ||
c370783e | 20094 | static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
20095 | PyObject *resultobj; |
20096 | wxPrintData *result; | |
d55e5bfc | 20097 | |
09c21d3b | 20098 | if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail; |
d55e5bfc RD |
20099 | { |
20100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20101 | result = (wxPrintData *)new wxPrintData(); | |
20102 | ||
20103 | wxPyEndAllowThreads(__tstate); | |
20104 | if (PyErr_Occurred()) SWIG_fail; | |
20105 | } | |
20106 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
20107 | return resultobj; | |
20108 | fail: | |
20109 | return NULL; | |
20110 | } | |
20111 | ||
20112 | ||
c370783e | 20113 | static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) { |
09c21d3b RD |
20114 | PyObject *resultobj; |
20115 | wxPrintData *arg1 = 0 ; | |
20116 | wxPrintData *result; | |
20117 | PyObject * obj0 = 0 ; | |
20118 | ||
20119 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail; | |
36ed4f51 RD |
20120 | { |
20121 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
20122 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20123 | if (arg1 == NULL) { | |
20124 | SWIG_null_ref("wxPrintData"); | |
20125 | } | |
20126 | if (SWIG_arg_fail(1)) SWIG_fail; | |
09c21d3b RD |
20127 | } |
20128 | { | |
20129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20130 | result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1); | |
20131 | ||
20132 | wxPyEndAllowThreads(__tstate); | |
20133 | if (PyErr_Occurred()) SWIG_fail; | |
20134 | } | |
20135 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
20136 | return resultobj; | |
20137 | fail: | |
20138 | return NULL; | |
20139 | } | |
20140 | ||
20141 | ||
20142 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) { | |
20143 | int argc; | |
20144 | PyObject *argv[2]; | |
20145 | int ii; | |
20146 | ||
20147 | argc = PyObject_Length(args); | |
20148 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
20149 | argv[ii] = PyTuple_GetItem(args,ii); | |
20150 | } | |
20151 | if (argc == 0) { | |
20152 | return _wrap_new_PrintData__SWIG_0(self,args); | |
20153 | } | |
20154 | if (argc == 1) { | |
20155 | int _v; | |
20156 | { | |
36ed4f51 | 20157 | void *ptr = 0; |
09c21d3b RD |
20158 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { |
20159 | _v = 0; | |
20160 | PyErr_Clear(); | |
20161 | } else { | |
36ed4f51 | 20162 | _v = (ptr != 0); |
09c21d3b RD |
20163 | } |
20164 | } | |
20165 | if (_v) { | |
20166 | return _wrap_new_PrintData__SWIG_1(self,args); | |
20167 | } | |
20168 | } | |
20169 | ||
36ed4f51 | 20170 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'"); |
09c21d3b RD |
20171 | return NULL; |
20172 | } | |
20173 | ||
20174 | ||
c370783e | 20175 | static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20176 | PyObject *resultobj; |
20177 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20178 | PyObject * obj0 = 0 ; | |
20179 | char *kwnames[] = { | |
20180 | (char *) "self", NULL | |
20181 | }; | |
20182 | ||
20183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20184 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20185 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20186 | { |
20187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20188 | delete arg1; | |
20189 | ||
20190 | wxPyEndAllowThreads(__tstate); | |
20191 | if (PyErr_Occurred()) SWIG_fail; | |
20192 | } | |
20193 | Py_INCREF(Py_None); resultobj = Py_None; | |
20194 | return resultobj; | |
20195 | fail: | |
20196 | return NULL; | |
20197 | } | |
20198 | ||
20199 | ||
c370783e | 20200 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20201 | PyObject *resultobj; |
20202 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20203 | int result; | |
20204 | PyObject * obj0 = 0 ; | |
20205 | char *kwnames[] = { | |
20206 | (char *) "self", NULL | |
20207 | }; | |
20208 | ||
20209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20210 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20211 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20212 | { |
20213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20214 | result = (int)(arg1)->GetNoCopies(); | |
20215 | ||
20216 | wxPyEndAllowThreads(__tstate); | |
20217 | if (PyErr_Occurred()) SWIG_fail; | |
20218 | } | |
36ed4f51 RD |
20219 | { |
20220 | resultobj = SWIG_From_int((int)(result)); | |
20221 | } | |
d55e5bfc RD |
20222 | return resultobj; |
20223 | fail: | |
20224 | return NULL; | |
20225 | } | |
20226 | ||
20227 | ||
c370783e | 20228 | static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20229 | PyObject *resultobj; |
20230 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20231 | bool result; | |
20232 | PyObject * obj0 = 0 ; | |
20233 | char *kwnames[] = { | |
20234 | (char *) "self", NULL | |
20235 | }; | |
20236 | ||
20237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20238 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20239 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20240 | { |
20241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20242 | result = (bool)(arg1)->GetCollate(); | |
20243 | ||
20244 | wxPyEndAllowThreads(__tstate); | |
20245 | if (PyErr_Occurred()) SWIG_fail; | |
20246 | } | |
20247 | { | |
20248 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20249 | } | |
20250 | return resultobj; | |
20251 | fail: | |
20252 | return NULL; | |
20253 | } | |
20254 | ||
20255 | ||
c370783e | 20256 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20257 | PyObject *resultobj; |
20258 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20259 | int result; | |
20260 | PyObject * obj0 = 0 ; | |
20261 | char *kwnames[] = { | |
20262 | (char *) "self", NULL | |
20263 | }; | |
20264 | ||
20265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20266 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20267 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20268 | { |
20269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20270 | result = (int)(arg1)->GetOrientation(); | |
20271 | ||
20272 | wxPyEndAllowThreads(__tstate); | |
20273 | if (PyErr_Occurred()) SWIG_fail; | |
20274 | } | |
36ed4f51 RD |
20275 | { |
20276 | resultobj = SWIG_From_int((int)(result)); | |
20277 | } | |
d55e5bfc RD |
20278 | return resultobj; |
20279 | fail: | |
20280 | return NULL; | |
20281 | } | |
20282 | ||
20283 | ||
c370783e | 20284 | static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20285 | PyObject *resultobj; |
20286 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20287 | bool result; | |
20288 | PyObject * obj0 = 0 ; | |
20289 | char *kwnames[] = { | |
20290 | (char *) "self", NULL | |
20291 | }; | |
20292 | ||
20293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20294 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20295 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20296 | { |
20297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20298 | result = (bool)(arg1)->Ok(); | |
20299 | ||
20300 | wxPyEndAllowThreads(__tstate); | |
20301 | if (PyErr_Occurred()) SWIG_fail; | |
20302 | } | |
20303 | { | |
20304 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20305 | } | |
20306 | return resultobj; | |
20307 | fail: | |
20308 | return NULL; | |
20309 | } | |
20310 | ||
20311 | ||
c370783e | 20312 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20313 | PyObject *resultobj; |
20314 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20315 | wxString *result; | |
20316 | PyObject * obj0 = 0 ; | |
20317 | char *kwnames[] = { | |
20318 | (char *) "self", NULL | |
20319 | }; | |
20320 | ||
20321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20322 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20323 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20324 | { |
20325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20326 | { | |
20327 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
20328 | result = (wxString *) &_result_ref; | |
20329 | } | |
20330 | ||
20331 | wxPyEndAllowThreads(__tstate); | |
20332 | if (PyErr_Occurred()) SWIG_fail; | |
20333 | } | |
20334 | { | |
20335 | #if wxUSE_UNICODE | |
20336 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
20337 | #else | |
20338 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
20339 | #endif | |
20340 | } | |
20341 | return resultobj; | |
20342 | fail: | |
20343 | return NULL; | |
20344 | } | |
20345 | ||
20346 | ||
c370783e | 20347 | static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20348 | PyObject *resultobj; |
20349 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20350 | bool result; | |
20351 | PyObject * obj0 = 0 ; | |
20352 | char *kwnames[] = { | |
20353 | (char *) "self", NULL | |
20354 | }; | |
20355 | ||
20356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20357 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20358 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20359 | { |
20360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20361 | result = (bool)(arg1)->GetColour(); | |
20362 | ||
20363 | wxPyEndAllowThreads(__tstate); | |
20364 | if (PyErr_Occurred()) SWIG_fail; | |
20365 | } | |
20366 | { | |
20367 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20368 | } | |
20369 | return resultobj; | |
20370 | fail: | |
20371 | return NULL; | |
20372 | } | |
20373 | ||
20374 | ||
c370783e | 20375 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20376 | PyObject *resultobj; |
20377 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20378 | wxDuplexMode result; |
d55e5bfc RD |
20379 | PyObject * obj0 = 0 ; |
20380 | char *kwnames[] = { | |
20381 | (char *) "self", NULL | |
20382 | }; | |
20383 | ||
20384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20385 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20386 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20387 | { |
20388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 20389 | result = (wxDuplexMode)(arg1)->GetDuplex(); |
d55e5bfc RD |
20390 | |
20391 | wxPyEndAllowThreads(__tstate); | |
20392 | if (PyErr_Occurred()) SWIG_fail; | |
20393 | } | |
36ed4f51 | 20394 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
20395 | return resultobj; |
20396 | fail: | |
20397 | return NULL; | |
20398 | } | |
20399 | ||
20400 | ||
c370783e | 20401 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20402 | PyObject *resultobj; |
20403 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20404 | wxPaperSize result; |
d55e5bfc RD |
20405 | PyObject * obj0 = 0 ; |
20406 | char *kwnames[] = { | |
20407 | (char *) "self", NULL | |
20408 | }; | |
20409 | ||
20410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20411 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20412 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20413 | { |
20414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 20415 | result = (wxPaperSize)(arg1)->GetPaperId(); |
d55e5bfc RD |
20416 | |
20417 | wxPyEndAllowThreads(__tstate); | |
20418 | if (PyErr_Occurred()) SWIG_fail; | |
20419 | } | |
36ed4f51 | 20420 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
20421 | return resultobj; |
20422 | fail: | |
20423 | return NULL; | |
20424 | } | |
20425 | ||
20426 | ||
c370783e | 20427 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20428 | PyObject *resultobj; |
20429 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20430 | wxSize *result; | |
20431 | PyObject * obj0 = 0 ; | |
20432 | char *kwnames[] = { | |
20433 | (char *) "self", NULL | |
20434 | }; | |
20435 | ||
20436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20437 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20438 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20439 | { |
20440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20441 | { | |
20442 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
20443 | result = (wxSize *) &_result_ref; | |
20444 | } | |
20445 | ||
20446 | wxPyEndAllowThreads(__tstate); | |
20447 | if (PyErr_Occurred()) SWIG_fail; | |
20448 | } | |
20449 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); | |
20450 | return resultobj; | |
20451 | fail: | |
20452 | return NULL; | |
20453 | } | |
20454 | ||
20455 | ||
c370783e | 20456 | static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20457 | PyObject *resultobj; |
20458 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20459 | int result; | |
20460 | PyObject * obj0 = 0 ; | |
20461 | char *kwnames[] = { | |
20462 | (char *) "self", NULL | |
20463 | }; | |
20464 | ||
20465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20466 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20467 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20468 | { |
20469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20470 | result = (int)(arg1)->GetQuality(); | |
20471 | ||
20472 | wxPyEndAllowThreads(__tstate); | |
20473 | if (PyErr_Occurred()) SWIG_fail; | |
20474 | } | |
36ed4f51 RD |
20475 | { |
20476 | resultobj = SWIG_From_int((int)(result)); | |
20477 | } | |
d55e5bfc RD |
20478 | return resultobj; |
20479 | fail: | |
20480 | return NULL; | |
20481 | } | |
20482 | ||
20483 | ||
b411df4a RD |
20484 | static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
20485 | PyObject *resultobj; | |
20486 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20487 | wxPrintBin result; |
b411df4a RD |
20488 | PyObject * obj0 = 0 ; |
20489 | char *kwnames[] = { | |
20490 | (char *) "self", NULL | |
20491 | }; | |
20492 | ||
20493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20494 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20495 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b411df4a RD |
20496 | { |
20497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 20498 | result = (wxPrintBin)(arg1)->GetBin(); |
b411df4a RD |
20499 | |
20500 | wxPyEndAllowThreads(__tstate); | |
20501 | if (PyErr_Occurred()) SWIG_fail; | |
20502 | } | |
36ed4f51 | 20503 | resultobj = SWIG_From_int((result)); |
b411df4a RD |
20504 | return resultobj; |
20505 | fail: | |
20506 | return NULL; | |
20507 | } | |
20508 | ||
20509 | ||
070c48b4 RD |
20510 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
20511 | PyObject *resultobj; | |
20512 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20513 | wxPrintMode result; |
070c48b4 RD |
20514 | PyObject * obj0 = 0 ; |
20515 | char *kwnames[] = { | |
20516 | (char *) "self", NULL | |
20517 | }; | |
20518 | ||
20519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20520 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20521 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
20522 | { |
20523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 20524 | result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode(); |
070c48b4 RD |
20525 | |
20526 | wxPyEndAllowThreads(__tstate); | |
20527 | if (PyErr_Occurred()) SWIG_fail; | |
20528 | } | |
36ed4f51 | 20529 | resultobj = SWIG_From_int((result)); |
070c48b4 RD |
20530 | return resultobj; |
20531 | fail: | |
20532 | return NULL; | |
20533 | } | |
20534 | ||
20535 | ||
c370783e | 20536 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20537 | PyObject *resultobj; |
20538 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20539 | int arg2 ; | |
20540 | PyObject * obj0 = 0 ; | |
20541 | PyObject * obj1 = 0 ; | |
20542 | char *kwnames[] = { | |
20543 | (char *) "self",(char *) "v", NULL | |
20544 | }; | |
20545 | ||
20546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20547 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20548 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20549 | { | |
20550 | arg2 = (int)(SWIG_As_int(obj1)); | |
20551 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20552 | } | |
d55e5bfc RD |
20553 | { |
20554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20555 | (arg1)->SetNoCopies(arg2); | |
20556 | ||
20557 | wxPyEndAllowThreads(__tstate); | |
20558 | if (PyErr_Occurred()) SWIG_fail; | |
20559 | } | |
20560 | Py_INCREF(Py_None); resultobj = Py_None; | |
20561 | return resultobj; | |
20562 | fail: | |
20563 | return NULL; | |
20564 | } | |
20565 | ||
20566 | ||
c370783e | 20567 | static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20568 | PyObject *resultobj; |
20569 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20570 | bool arg2 ; | |
20571 | PyObject * obj0 = 0 ; | |
20572 | PyObject * obj1 = 0 ; | |
20573 | char *kwnames[] = { | |
20574 | (char *) "self",(char *) "flag", NULL | |
20575 | }; | |
20576 | ||
20577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20578 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20579 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20580 | { | |
20581 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
20582 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20583 | } | |
d55e5bfc RD |
20584 | { |
20585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20586 | (arg1)->SetCollate(arg2); | |
20587 | ||
20588 | wxPyEndAllowThreads(__tstate); | |
20589 | if (PyErr_Occurred()) SWIG_fail; | |
20590 | } | |
20591 | Py_INCREF(Py_None); resultobj = Py_None; | |
20592 | return resultobj; | |
20593 | fail: | |
20594 | return NULL; | |
20595 | } | |
20596 | ||
20597 | ||
c370783e | 20598 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20599 | PyObject *resultobj; |
20600 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20601 | int arg2 ; | |
20602 | PyObject * obj0 = 0 ; | |
20603 | PyObject * obj1 = 0 ; | |
20604 | char *kwnames[] = { | |
20605 | (char *) "self",(char *) "orient", NULL | |
20606 | }; | |
20607 | ||
20608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20609 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20610 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20611 | { | |
20612 | arg2 = (int)(SWIG_As_int(obj1)); | |
20613 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20614 | } | |
d55e5bfc RD |
20615 | { |
20616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20617 | (arg1)->SetOrientation(arg2); | |
20618 | ||
20619 | wxPyEndAllowThreads(__tstate); | |
20620 | if (PyErr_Occurred()) SWIG_fail; | |
20621 | } | |
20622 | Py_INCREF(Py_None); resultobj = Py_None; | |
20623 | return resultobj; | |
20624 | fail: | |
20625 | return NULL; | |
20626 | } | |
20627 | ||
20628 | ||
c370783e | 20629 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20630 | PyObject *resultobj; |
20631 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20632 | wxString *arg2 = 0 ; | |
b411df4a | 20633 | bool temp2 = false ; |
d55e5bfc RD |
20634 | PyObject * obj0 = 0 ; |
20635 | PyObject * obj1 = 0 ; | |
20636 | char *kwnames[] = { | |
20637 | (char *) "self",(char *) "name", NULL | |
20638 | }; | |
20639 | ||
20640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20641 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20642 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20643 | { |
20644 | arg2 = wxString_in_helper(obj1); | |
20645 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 20646 | temp2 = true; |
d55e5bfc RD |
20647 | } |
20648 | { | |
20649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20650 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
20651 | ||
20652 | wxPyEndAllowThreads(__tstate); | |
20653 | if (PyErr_Occurred()) SWIG_fail; | |
20654 | } | |
20655 | Py_INCREF(Py_None); resultobj = Py_None; | |
20656 | { | |
20657 | if (temp2) | |
20658 | delete arg2; | |
20659 | } | |
20660 | return resultobj; | |
20661 | fail: | |
20662 | { | |
20663 | if (temp2) | |
20664 | delete arg2; | |
20665 | } | |
20666 | return NULL; | |
20667 | } | |
20668 | ||
20669 | ||
c370783e | 20670 | static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20671 | PyObject *resultobj; |
20672 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20673 | bool arg2 ; | |
20674 | PyObject * obj0 = 0 ; | |
20675 | PyObject * obj1 = 0 ; | |
20676 | char *kwnames[] = { | |
20677 | (char *) "self",(char *) "colour", NULL | |
20678 | }; | |
20679 | ||
20680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20681 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20682 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20683 | { | |
20684 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
20685 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20686 | } | |
d55e5bfc RD |
20687 | { |
20688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20689 | (arg1)->SetColour(arg2); | |
20690 | ||
20691 | wxPyEndAllowThreads(__tstate); | |
20692 | if (PyErr_Occurred()) SWIG_fail; | |
20693 | } | |
20694 | Py_INCREF(Py_None); resultobj = Py_None; | |
20695 | return resultobj; | |
20696 | fail: | |
20697 | return NULL; | |
20698 | } | |
20699 | ||
20700 | ||
c370783e | 20701 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20702 | PyObject *resultobj; |
20703 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20704 | wxDuplexMode arg2 ; |
d55e5bfc RD |
20705 | PyObject * obj0 = 0 ; |
20706 | PyObject * obj1 = 0 ; | |
20707 | char *kwnames[] = { | |
20708 | (char *) "self",(char *) "duplex", NULL | |
20709 | }; | |
20710 | ||
20711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20712 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20713 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20714 | { | |
20715 | arg2 = (wxDuplexMode)(SWIG_As_int(obj1)); | |
20716 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20717 | } | |
d55e5bfc RD |
20718 | { |
20719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20720 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
20721 | ||
20722 | wxPyEndAllowThreads(__tstate); | |
20723 | if (PyErr_Occurred()) SWIG_fail; | |
20724 | } | |
20725 | Py_INCREF(Py_None); resultobj = Py_None; | |
20726 | return resultobj; | |
20727 | fail: | |
20728 | return NULL; | |
20729 | } | |
20730 | ||
20731 | ||
c370783e | 20732 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20733 | PyObject *resultobj; |
20734 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20735 | wxPaperSize arg2 ; |
d55e5bfc RD |
20736 | PyObject * obj0 = 0 ; |
20737 | PyObject * obj1 = 0 ; | |
20738 | char *kwnames[] = { | |
20739 | (char *) "self",(char *) "sizeId", NULL | |
20740 | }; | |
20741 | ||
20742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20743 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20744 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20745 | { | |
20746 | arg2 = (wxPaperSize)(SWIG_As_int(obj1)); | |
20747 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20748 | } | |
d55e5bfc RD |
20749 | { |
20750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20751 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
20752 | ||
20753 | wxPyEndAllowThreads(__tstate); | |
20754 | if (PyErr_Occurred()) SWIG_fail; | |
20755 | } | |
20756 | Py_INCREF(Py_None); resultobj = Py_None; | |
20757 | return resultobj; | |
20758 | fail: | |
20759 | return NULL; | |
20760 | } | |
20761 | ||
20762 | ||
c370783e | 20763 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20764 | PyObject *resultobj; |
20765 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20766 | wxSize *arg2 = 0 ; | |
20767 | wxSize temp2 ; | |
20768 | PyObject * obj0 = 0 ; | |
20769 | PyObject * obj1 = 0 ; | |
20770 | char *kwnames[] = { | |
20771 | (char *) "self",(char *) "sz", NULL | |
20772 | }; | |
20773 | ||
20774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20775 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20776 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20777 | { |
20778 | arg2 = &temp2; | |
20779 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
20780 | } | |
20781 | { | |
20782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20783 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
20784 | ||
20785 | wxPyEndAllowThreads(__tstate); | |
20786 | if (PyErr_Occurred()) SWIG_fail; | |
20787 | } | |
20788 | Py_INCREF(Py_None); resultobj = Py_None; | |
20789 | return resultobj; | |
20790 | fail: | |
20791 | return NULL; | |
20792 | } | |
20793 | ||
20794 | ||
c370783e | 20795 | static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20796 | PyObject *resultobj; |
20797 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20798 | int arg2 ; | |
20799 | PyObject * obj0 = 0 ; | |
20800 | PyObject * obj1 = 0 ; | |
20801 | char *kwnames[] = { | |
20802 | (char *) "self",(char *) "quality", NULL | |
20803 | }; | |
20804 | ||
20805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20806 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20807 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20808 | { | |
20809 | arg2 = (int)(SWIG_As_int(obj1)); | |
20810 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20811 | } | |
d55e5bfc RD |
20812 | { |
20813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20814 | (arg1)->SetQuality(arg2); | |
20815 | ||
20816 | wxPyEndAllowThreads(__tstate); | |
20817 | if (PyErr_Occurred()) SWIG_fail; | |
20818 | } | |
20819 | Py_INCREF(Py_None); resultobj = Py_None; | |
20820 | return resultobj; | |
20821 | fail: | |
20822 | return NULL; | |
20823 | } | |
20824 | ||
20825 | ||
b411df4a RD |
20826 | static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
20827 | PyObject *resultobj; | |
20828 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20829 | wxPrintBin arg2 ; |
b411df4a RD |
20830 | PyObject * obj0 = 0 ; |
20831 | PyObject * obj1 = 0 ; | |
20832 | char *kwnames[] = { | |
20833 | (char *) "self",(char *) "bin", NULL | |
20834 | }; | |
20835 | ||
20836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20837 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20838 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20839 | { | |
20840 | arg2 = (wxPrintBin)(SWIG_As_int(obj1)); | |
20841 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20842 | } | |
b411df4a RD |
20843 | { |
20844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20845 | (arg1)->SetBin((wxPrintBin )arg2); | |
20846 | ||
20847 | wxPyEndAllowThreads(__tstate); | |
20848 | if (PyErr_Occurred()) SWIG_fail; | |
20849 | } | |
20850 | Py_INCREF(Py_None); resultobj = Py_None; | |
20851 | return resultobj; | |
20852 | fail: | |
20853 | return NULL; | |
20854 | } | |
20855 | ||
20856 | ||
070c48b4 | 20857 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20858 | PyObject *resultobj; |
20859 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20860 | wxPrintMode arg2 ; |
070c48b4 RD |
20861 | PyObject * obj0 = 0 ; |
20862 | PyObject * obj1 = 0 ; | |
20863 | char *kwnames[] = { | |
20864 | (char *) "self",(char *) "printMode", NULL | |
20865 | }; | |
20866 | ||
20867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20868 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20869 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20870 | { | |
20871 | arg2 = (wxPrintMode)(SWIG_As_int(obj1)); | |
20872 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20873 | } | |
070c48b4 RD |
20874 | { |
20875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20876 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
20877 | ||
20878 | wxPyEndAllowThreads(__tstate); | |
20879 | if (PyErr_Occurred()) SWIG_fail; | |
20880 | } | |
20881 | Py_INCREF(Py_None); resultobj = Py_None; | |
20882 | return resultobj; | |
20883 | fail: | |
20884 | return NULL; | |
20885 | } | |
20886 | ||
20887 | ||
20888 | static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { | |
20889 | PyObject *resultobj; | |
20890 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20891 | wxString result; | |
d55e5bfc RD |
20892 | PyObject * obj0 = 0 ; |
20893 | char *kwnames[] = { | |
20894 | (char *) "self", NULL | |
20895 | }; | |
20896 | ||
070c48b4 | 20897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
20898 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20899 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20900 | { |
20901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 20902 | result = ((wxPrintData const *)arg1)->GetFilename(); |
d55e5bfc RD |
20903 | |
20904 | wxPyEndAllowThreads(__tstate); | |
20905 | if (PyErr_Occurred()) SWIG_fail; | |
20906 | } | |
20907 | { | |
20908 | #if wxUSE_UNICODE | |
070c48b4 | 20909 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d55e5bfc | 20910 | #else |
070c48b4 | 20911 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d55e5bfc RD |
20912 | #endif |
20913 | } | |
20914 | return resultobj; | |
20915 | fail: | |
20916 | return NULL; | |
20917 | } | |
20918 | ||
20919 | ||
070c48b4 RD |
20920 | static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
20921 | PyObject *resultobj; | |
20922 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20923 | wxString *arg2 = 0 ; | |
20924 | bool temp2 = false ; | |
20925 | PyObject * obj0 = 0 ; | |
20926 | PyObject * obj1 = 0 ; | |
20927 | char *kwnames[] = { | |
20928 | (char *) "self",(char *) "filename", NULL | |
20929 | }; | |
20930 | ||
20931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20932 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20933 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
20934 | { |
20935 | arg2 = wxString_in_helper(obj1); | |
20936 | if (arg2 == NULL) SWIG_fail; | |
20937 | temp2 = true; | |
20938 | } | |
20939 | { | |
20940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20941 | (arg1)->SetFilename((wxString const &)*arg2); | |
20942 | ||
20943 | wxPyEndAllowThreads(__tstate); | |
20944 | if (PyErr_Occurred()) SWIG_fail; | |
20945 | } | |
20946 | Py_INCREF(Py_None); resultobj = Py_None; | |
20947 | { | |
20948 | if (temp2) | |
20949 | delete arg2; | |
20950 | } | |
20951 | return resultobj; | |
20952 | fail: | |
20953 | { | |
20954 | if (temp2) | |
20955 | delete arg2; | |
20956 | } | |
20957 | return NULL; | |
20958 | } | |
20959 | ||
20960 | ||
20961 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { | |
d55e5bfc RD |
20962 | PyObject *resultobj; |
20963 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20964 | wxString *result; | |
20965 | PyObject * obj0 = 0 ; | |
20966 | char *kwnames[] = { | |
20967 | (char *) "self", NULL | |
20968 | }; | |
20969 | ||
070c48b4 | 20970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
20971 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20972 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20973 | { |
20974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20975 | { | |
070c48b4 | 20976 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); |
d55e5bfc RD |
20977 | result = (wxString *) &_result_ref; |
20978 | } | |
20979 | ||
20980 | wxPyEndAllowThreads(__tstate); | |
20981 | if (PyErr_Occurred()) SWIG_fail; | |
20982 | } | |
20983 | { | |
20984 | #if wxUSE_UNICODE | |
20985 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
20986 | #else | |
20987 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
20988 | #endif | |
20989 | } | |
20990 | return resultobj; | |
20991 | fail: | |
20992 | return NULL; | |
20993 | } | |
20994 | ||
20995 | ||
070c48b4 | 20996 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20997 | PyObject *resultobj; |
20998 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20999 | wxString *result; | |
21000 | PyObject * obj0 = 0 ; | |
21001 | char *kwnames[] = { | |
21002 | (char *) "self", NULL | |
21003 | }; | |
21004 | ||
070c48b4 | 21005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
21006 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21007 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21008 | { |
21009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21010 | { | |
070c48b4 | 21011 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); |
d55e5bfc RD |
21012 | result = (wxString *) &_result_ref; |
21013 | } | |
21014 | ||
21015 | wxPyEndAllowThreads(__tstate); | |
21016 | if (PyErr_Occurred()) SWIG_fail; | |
21017 | } | |
21018 | { | |
21019 | #if wxUSE_UNICODE | |
21020 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21021 | #else | |
21022 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21023 | #endif | |
21024 | } | |
21025 | return resultobj; | |
21026 | fail: | |
21027 | return NULL; | |
21028 | } | |
21029 | ||
21030 | ||
070c48b4 | 21031 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21032 | PyObject *resultobj; |
21033 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21034 | wxString *result; | |
21035 | PyObject * obj0 = 0 ; | |
21036 | char *kwnames[] = { | |
21037 | (char *) "self", NULL | |
21038 | }; | |
21039 | ||
070c48b4 | 21040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
21041 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21042 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21043 | { |
21044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21045 | { | |
070c48b4 | 21046 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); |
d55e5bfc RD |
21047 | result = (wxString *) &_result_ref; |
21048 | } | |
21049 | ||
21050 | wxPyEndAllowThreads(__tstate); | |
21051 | if (PyErr_Occurred()) SWIG_fail; | |
21052 | } | |
21053 | { | |
21054 | #if wxUSE_UNICODE | |
21055 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21056 | #else | |
21057 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21058 | #endif | |
21059 | } | |
21060 | return resultobj; | |
21061 | fail: | |
21062 | return NULL; | |
21063 | } | |
21064 | ||
21065 | ||
c370783e | 21066 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21067 | PyObject *resultobj; |
21068 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21069 | wxString *result; | |
21070 | PyObject * obj0 = 0 ; | |
21071 | char *kwnames[] = { | |
21072 | (char *) "self", NULL | |
21073 | }; | |
21074 | ||
21075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21076 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21077 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21078 | { |
21079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21080 | { | |
21081 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
21082 | result = (wxString *) &_result_ref; | |
21083 | } | |
21084 | ||
21085 | wxPyEndAllowThreads(__tstate); | |
21086 | if (PyErr_Occurred()) SWIG_fail; | |
21087 | } | |
21088 | { | |
21089 | #if wxUSE_UNICODE | |
21090 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21091 | #else | |
21092 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21093 | #endif | |
21094 | } | |
21095 | return resultobj; | |
21096 | fail: | |
21097 | return NULL; | |
21098 | } | |
21099 | ||
21100 | ||
c370783e | 21101 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21102 | PyObject *resultobj; |
21103 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21104 | double result; | |
21105 | PyObject * obj0 = 0 ; | |
21106 | char *kwnames[] = { | |
21107 | (char *) "self", NULL | |
21108 | }; | |
21109 | ||
21110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21111 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21112 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21113 | { |
21114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21115 | result = (double)(arg1)->GetPrinterScaleX(); | |
21116 | ||
21117 | wxPyEndAllowThreads(__tstate); | |
21118 | if (PyErr_Occurred()) SWIG_fail; | |
21119 | } | |
36ed4f51 RD |
21120 | { |
21121 | resultobj = SWIG_From_double((double)(result)); | |
21122 | } | |
d55e5bfc RD |
21123 | return resultobj; |
21124 | fail: | |
21125 | return NULL; | |
21126 | } | |
21127 | ||
21128 | ||
c370783e | 21129 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21130 | PyObject *resultobj; |
21131 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21132 | double result; | |
21133 | PyObject * obj0 = 0 ; | |
21134 | char *kwnames[] = { | |
21135 | (char *) "self", NULL | |
21136 | }; | |
21137 | ||
21138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21139 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21140 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21141 | { |
21142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21143 | result = (double)(arg1)->GetPrinterScaleY(); | |
21144 | ||
21145 | wxPyEndAllowThreads(__tstate); | |
21146 | if (PyErr_Occurred()) SWIG_fail; | |
21147 | } | |
36ed4f51 RD |
21148 | { |
21149 | resultobj = SWIG_From_double((double)(result)); | |
21150 | } | |
d55e5bfc RD |
21151 | return resultobj; |
21152 | fail: | |
21153 | return NULL; | |
21154 | } | |
21155 | ||
21156 | ||
c370783e | 21157 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21158 | PyObject *resultobj; |
21159 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21160 | long result; | |
21161 | PyObject * obj0 = 0 ; | |
21162 | char *kwnames[] = { | |
21163 | (char *) "self", NULL | |
21164 | }; | |
21165 | ||
21166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21167 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21168 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21169 | { |
21170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21171 | result = (long)(arg1)->GetPrinterTranslateX(); | |
21172 | ||
21173 | wxPyEndAllowThreads(__tstate); | |
21174 | if (PyErr_Occurred()) SWIG_fail; | |
21175 | } | |
36ed4f51 RD |
21176 | { |
21177 | resultobj = SWIG_From_long((long)(result)); | |
21178 | } | |
d55e5bfc RD |
21179 | return resultobj; |
21180 | fail: | |
21181 | return NULL; | |
21182 | } | |
21183 | ||
21184 | ||
c370783e | 21185 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21186 | PyObject *resultobj; |
21187 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21188 | long result; | |
21189 | PyObject * obj0 = 0 ; | |
21190 | char *kwnames[] = { | |
21191 | (char *) "self", NULL | |
21192 | }; | |
21193 | ||
21194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21195 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21196 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21197 | { |
21198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21199 | result = (long)(arg1)->GetPrinterTranslateY(); | |
21200 | ||
21201 | wxPyEndAllowThreads(__tstate); | |
21202 | if (PyErr_Occurred()) SWIG_fail; | |
21203 | } | |
36ed4f51 RD |
21204 | { |
21205 | resultobj = SWIG_From_long((long)(result)); | |
21206 | } | |
d55e5bfc RD |
21207 | return resultobj; |
21208 | fail: | |
21209 | return NULL; | |
21210 | } | |
21211 | ||
21212 | ||
070c48b4 | 21213 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21214 | PyObject *resultobj; |
21215 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
070c48b4 RD |
21216 | wxString *arg2 = 0 ; |
21217 | bool temp2 = false ; | |
d55e5bfc | 21218 | PyObject * obj0 = 0 ; |
070c48b4 | 21219 | PyObject * obj1 = 0 ; |
d55e5bfc | 21220 | char *kwnames[] = { |
070c48b4 | 21221 | (char *) "self",(char *) "command", NULL |
d55e5bfc RD |
21222 | }; |
21223 | ||
070c48b4 | 21224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; |
36ed4f51 RD |
21225 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21226 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
21227 | { |
21228 | arg2 = wxString_in_helper(obj1); | |
21229 | if (arg2 == NULL) SWIG_fail; | |
21230 | temp2 = true; | |
21231 | } | |
d55e5bfc RD |
21232 | { |
21233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 21234 | (arg1)->SetPrinterCommand((wxString const &)*arg2); |
d55e5bfc RD |
21235 | |
21236 | wxPyEndAllowThreads(__tstate); | |
21237 | if (PyErr_Occurred()) SWIG_fail; | |
21238 | } | |
070c48b4 RD |
21239 | Py_INCREF(Py_None); resultobj = Py_None; |
21240 | { | |
21241 | if (temp2) | |
21242 | delete arg2; | |
21243 | } | |
d55e5bfc RD |
21244 | return resultobj; |
21245 | fail: | |
21246 | { | |
21247 | if (temp2) | |
21248 | delete arg2; | |
21249 | } | |
21250 | return NULL; | |
21251 | } | |
21252 | ||
21253 | ||
c370783e | 21254 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21255 | PyObject *resultobj; |
21256 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21257 | wxString *arg2 = 0 ; | |
b411df4a | 21258 | bool temp2 = false ; |
d55e5bfc RD |
21259 | PyObject * obj0 = 0 ; |
21260 | PyObject * obj1 = 0 ; | |
21261 | char *kwnames[] = { | |
21262 | (char *) "self",(char *) "options", NULL | |
21263 | }; | |
21264 | ||
21265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21266 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21267 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21268 | { |
21269 | arg2 = wxString_in_helper(obj1); | |
21270 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 21271 | temp2 = true; |
d55e5bfc RD |
21272 | } |
21273 | { | |
21274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21275 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
21276 | ||
21277 | wxPyEndAllowThreads(__tstate); | |
21278 | if (PyErr_Occurred()) SWIG_fail; | |
21279 | } | |
21280 | Py_INCREF(Py_None); resultobj = Py_None; | |
21281 | { | |
21282 | if (temp2) | |
21283 | delete arg2; | |
21284 | } | |
21285 | return resultobj; | |
21286 | fail: | |
21287 | { | |
21288 | if (temp2) | |
21289 | delete arg2; | |
21290 | } | |
21291 | return NULL; | |
21292 | } | |
21293 | ||
21294 | ||
c370783e | 21295 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21296 | PyObject *resultobj; |
21297 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21298 | wxString *arg2 = 0 ; | |
b411df4a | 21299 | bool temp2 = false ; |
d55e5bfc RD |
21300 | PyObject * obj0 = 0 ; |
21301 | PyObject * obj1 = 0 ; | |
21302 | char *kwnames[] = { | |
21303 | (char *) "self",(char *) "command", NULL | |
21304 | }; | |
21305 | ||
21306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21307 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21308 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21309 | { |
21310 | arg2 = wxString_in_helper(obj1); | |
21311 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 21312 | temp2 = true; |
d55e5bfc RD |
21313 | } |
21314 | { | |
21315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21316 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
21317 | ||
21318 | wxPyEndAllowThreads(__tstate); | |
21319 | if (PyErr_Occurred()) SWIG_fail; | |
21320 | } | |
21321 | Py_INCREF(Py_None); resultobj = Py_None; | |
21322 | { | |
21323 | if (temp2) | |
21324 | delete arg2; | |
21325 | } | |
21326 | return resultobj; | |
21327 | fail: | |
21328 | { | |
21329 | if (temp2) | |
21330 | delete arg2; | |
21331 | } | |
21332 | return NULL; | |
21333 | } | |
21334 | ||
21335 | ||
c370783e | 21336 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21337 | PyObject *resultobj; |
21338 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21339 | wxString *arg2 = 0 ; | |
b411df4a | 21340 | bool temp2 = false ; |
d55e5bfc RD |
21341 | PyObject * obj0 = 0 ; |
21342 | PyObject * obj1 = 0 ; | |
21343 | char *kwnames[] = { | |
21344 | (char *) "self",(char *) "path", NULL | |
21345 | }; | |
21346 | ||
21347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21348 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21349 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21350 | { |
21351 | arg2 = wxString_in_helper(obj1); | |
21352 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 21353 | temp2 = true; |
d55e5bfc RD |
21354 | } |
21355 | { | |
21356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21357 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
21358 | ||
21359 | wxPyEndAllowThreads(__tstate); | |
21360 | if (PyErr_Occurred()) SWIG_fail; | |
21361 | } | |
21362 | Py_INCREF(Py_None); resultobj = Py_None; | |
21363 | { | |
21364 | if (temp2) | |
21365 | delete arg2; | |
21366 | } | |
21367 | return resultobj; | |
21368 | fail: | |
21369 | { | |
21370 | if (temp2) | |
21371 | delete arg2; | |
21372 | } | |
21373 | return NULL; | |
21374 | } | |
21375 | ||
21376 | ||
c370783e | 21377 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21378 | PyObject *resultobj; |
21379 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21380 | double arg2 ; | |
21381 | PyObject * obj0 = 0 ; | |
21382 | PyObject * obj1 = 0 ; | |
21383 | char *kwnames[] = { | |
21384 | (char *) "self",(char *) "x", NULL | |
21385 | }; | |
21386 | ||
21387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21388 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21389 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21390 | { | |
21391 | arg2 = (double)(SWIG_As_double(obj1)); | |
21392 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21393 | } | |
d55e5bfc RD |
21394 | { |
21395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21396 | (arg1)->SetPrinterScaleX(arg2); | |
21397 | ||
21398 | wxPyEndAllowThreads(__tstate); | |
21399 | if (PyErr_Occurred()) SWIG_fail; | |
21400 | } | |
21401 | Py_INCREF(Py_None); resultobj = Py_None; | |
21402 | return resultobj; | |
21403 | fail: | |
21404 | return NULL; | |
21405 | } | |
21406 | ||
21407 | ||
c370783e | 21408 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21409 | PyObject *resultobj; |
21410 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21411 | double arg2 ; | |
21412 | PyObject * obj0 = 0 ; | |
21413 | PyObject * obj1 = 0 ; | |
21414 | char *kwnames[] = { | |
21415 | (char *) "self",(char *) "y", NULL | |
21416 | }; | |
21417 | ||
21418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21419 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21420 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21421 | { | |
21422 | arg2 = (double)(SWIG_As_double(obj1)); | |
21423 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21424 | } | |
d55e5bfc RD |
21425 | { |
21426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21427 | (arg1)->SetPrinterScaleY(arg2); | |
21428 | ||
21429 | wxPyEndAllowThreads(__tstate); | |
21430 | if (PyErr_Occurred()) SWIG_fail; | |
21431 | } | |
21432 | Py_INCREF(Py_None); resultobj = Py_None; | |
21433 | return resultobj; | |
21434 | fail: | |
21435 | return NULL; | |
21436 | } | |
21437 | ||
21438 | ||
c370783e | 21439 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21440 | PyObject *resultobj; |
21441 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21442 | double arg2 ; | |
21443 | double arg3 ; | |
21444 | PyObject * obj0 = 0 ; | |
21445 | PyObject * obj1 = 0 ; | |
21446 | PyObject * obj2 = 0 ; | |
21447 | char *kwnames[] = { | |
21448 | (char *) "self",(char *) "x",(char *) "y", NULL | |
21449 | }; | |
21450 | ||
21451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
21452 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21453 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21454 | { | |
21455 | arg2 = (double)(SWIG_As_double(obj1)); | |
21456 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21457 | } | |
21458 | { | |
21459 | arg3 = (double)(SWIG_As_double(obj2)); | |
21460 | if (SWIG_arg_fail(3)) SWIG_fail; | |
21461 | } | |
d55e5bfc RD |
21462 | { |
21463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21464 | (arg1)->SetPrinterScaling(arg2,arg3); | |
21465 | ||
21466 | wxPyEndAllowThreads(__tstate); | |
21467 | if (PyErr_Occurred()) SWIG_fail; | |
21468 | } | |
21469 | Py_INCREF(Py_None); resultobj = Py_None; | |
21470 | return resultobj; | |
21471 | fail: | |
21472 | return NULL; | |
21473 | } | |
21474 | ||
21475 | ||
c370783e | 21476 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21477 | PyObject *resultobj; |
21478 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21479 | long arg2 ; | |
21480 | PyObject * obj0 = 0 ; | |
21481 | PyObject * obj1 = 0 ; | |
21482 | char *kwnames[] = { | |
21483 | (char *) "self",(char *) "x", NULL | |
21484 | }; | |
21485 | ||
21486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21487 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21488 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21489 | { | |
21490 | arg2 = (long)(SWIG_As_long(obj1)); | |
21491 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21492 | } | |
d55e5bfc RD |
21493 | { |
21494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21495 | (arg1)->SetPrinterTranslateX(arg2); | |
21496 | ||
21497 | wxPyEndAllowThreads(__tstate); | |
21498 | if (PyErr_Occurred()) SWIG_fail; | |
21499 | } | |
21500 | Py_INCREF(Py_None); resultobj = Py_None; | |
21501 | return resultobj; | |
21502 | fail: | |
21503 | return NULL; | |
21504 | } | |
21505 | ||
21506 | ||
c370783e | 21507 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21508 | PyObject *resultobj; |
21509 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21510 | long arg2 ; | |
21511 | PyObject * obj0 = 0 ; | |
21512 | PyObject * obj1 = 0 ; | |
21513 | char *kwnames[] = { | |
21514 | (char *) "self",(char *) "y", NULL | |
21515 | }; | |
21516 | ||
21517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21518 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21519 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21520 | { | |
21521 | arg2 = (long)(SWIG_As_long(obj1)); | |
21522 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21523 | } | |
d55e5bfc RD |
21524 | { |
21525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21526 | (arg1)->SetPrinterTranslateY(arg2); | |
21527 | ||
21528 | wxPyEndAllowThreads(__tstate); | |
21529 | if (PyErr_Occurred()) SWIG_fail; | |
21530 | } | |
21531 | Py_INCREF(Py_None); resultobj = Py_None; | |
21532 | return resultobj; | |
21533 | fail: | |
21534 | return NULL; | |
21535 | } | |
21536 | ||
21537 | ||
c370783e | 21538 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21539 | PyObject *resultobj; |
21540 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21541 | long arg2 ; | |
21542 | long arg3 ; | |
21543 | PyObject * obj0 = 0 ; | |
21544 | PyObject * obj1 = 0 ; | |
21545 | PyObject * obj2 = 0 ; | |
21546 | char *kwnames[] = { | |
21547 | (char *) "self",(char *) "x",(char *) "y", NULL | |
21548 | }; | |
21549 | ||
21550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
21551 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21552 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21553 | { | |
21554 | arg2 = (long)(SWIG_As_long(obj1)); | |
21555 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21556 | } | |
21557 | { | |
21558 | arg3 = (long)(SWIG_As_long(obj2)); | |
21559 | if (SWIG_arg_fail(3)) SWIG_fail; | |
21560 | } | |
d55e5bfc RD |
21561 | { |
21562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21563 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
21564 | ||
21565 | wxPyEndAllowThreads(__tstate); | |
21566 | if (PyErr_Occurred()) SWIG_fail; | |
21567 | } | |
21568 | Py_INCREF(Py_None); resultobj = Py_None; | |
21569 | return resultobj; | |
21570 | fail: | |
21571 | return NULL; | |
21572 | } | |
21573 | ||
21574 | ||
c370783e | 21575 | static PyObject * PrintData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
21576 | PyObject *obj; |
21577 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21578 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
21579 | Py_INCREF(obj); | |
21580 | return Py_BuildValue((char *)""); | |
21581 | } | |
c370783e | 21582 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
21583 | PyObject *resultobj; |
21584 | wxPageSetupDialogData *result; | |
d55e5bfc | 21585 | |
09c21d3b | 21586 | if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail; |
d55e5bfc RD |
21587 | { |
21588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21589 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
21590 | ||
21591 | wxPyEndAllowThreads(__tstate); | |
21592 | if (PyErr_Occurred()) SWIG_fail; | |
21593 | } | |
21594 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
21595 | return resultobj; | |
21596 | fail: | |
21597 | return NULL; | |
21598 | } | |
21599 | ||
21600 | ||
c370783e | 21601 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) { |
09c21d3b RD |
21602 | PyObject *resultobj; |
21603 | wxPageSetupDialogData *arg1 = 0 ; | |
21604 | wxPageSetupDialogData *result; | |
21605 | PyObject * obj0 = 0 ; | |
21606 | ||
21607 | if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail; | |
36ed4f51 RD |
21608 | { |
21609 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); | |
21610 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21611 | if (arg1 == NULL) { | |
21612 | SWIG_null_ref("wxPageSetupDialogData"); | |
21613 | } | |
21614 | if (SWIG_arg_fail(1)) SWIG_fail; | |
09c21d3b RD |
21615 | } |
21616 | { | |
21617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21618 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1); | |
21619 | ||
21620 | wxPyEndAllowThreads(__tstate); | |
21621 | if (PyErr_Occurred()) SWIG_fail; | |
21622 | } | |
21623 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
21624 | return resultobj; | |
21625 | fail: | |
21626 | return NULL; | |
21627 | } | |
21628 | ||
21629 | ||
21630 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) { | |
21631 | int argc; | |
21632 | PyObject *argv[2]; | |
21633 | int ii; | |
21634 | ||
21635 | argc = PyObject_Length(args); | |
21636 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
21637 | argv[ii] = PyTuple_GetItem(args,ii); | |
21638 | } | |
21639 | if (argc == 0) { | |
21640 | return _wrap_new_PageSetupDialogData__SWIG_0(self,args); | |
21641 | } | |
21642 | if (argc == 1) { | |
21643 | int _v; | |
21644 | { | |
36ed4f51 | 21645 | void *ptr = 0; |
09c21d3b RD |
21646 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) { |
21647 | _v = 0; | |
21648 | PyErr_Clear(); | |
21649 | } else { | |
36ed4f51 | 21650 | _v = (ptr != 0); |
09c21d3b RD |
21651 | } |
21652 | } | |
21653 | if (_v) { | |
21654 | return _wrap_new_PageSetupDialogData__SWIG_1(self,args); | |
21655 | } | |
21656 | } | |
21657 | ||
36ed4f51 | 21658 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'"); |
09c21d3b RD |
21659 | return NULL; |
21660 | } | |
21661 | ||
21662 | ||
c370783e | 21663 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21664 | PyObject *resultobj; |
21665 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21666 | PyObject * obj0 = 0 ; | |
21667 | char *kwnames[] = { | |
21668 | (char *) "self", NULL | |
21669 | }; | |
21670 | ||
21671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21672 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21673 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21674 | { |
21675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21676 | delete arg1; | |
21677 | ||
21678 | wxPyEndAllowThreads(__tstate); | |
21679 | if (PyErr_Occurred()) SWIG_fail; | |
21680 | } | |
21681 | Py_INCREF(Py_None); resultobj = Py_None; | |
21682 | return resultobj; | |
21683 | fail: | |
21684 | return NULL; | |
21685 | } | |
21686 | ||
21687 | ||
c370783e | 21688 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21689 | PyObject *resultobj; |
21690 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21691 | bool arg2 ; | |
21692 | PyObject * obj0 = 0 ; | |
21693 | PyObject * obj1 = 0 ; | |
21694 | char *kwnames[] = { | |
21695 | (char *) "self",(char *) "flag", NULL | |
21696 | }; | |
21697 | ||
21698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21699 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21700 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21701 | { | |
21702 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
21703 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21704 | } | |
d55e5bfc RD |
21705 | { |
21706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21707 | (arg1)->EnableHelp(arg2); | |
21708 | ||
21709 | wxPyEndAllowThreads(__tstate); | |
21710 | if (PyErr_Occurred()) SWIG_fail; | |
21711 | } | |
21712 | Py_INCREF(Py_None); resultobj = Py_None; | |
21713 | return resultobj; | |
21714 | fail: | |
21715 | return NULL; | |
21716 | } | |
21717 | ||
21718 | ||
c370783e | 21719 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21720 | PyObject *resultobj; |
21721 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21722 | bool arg2 ; | |
21723 | PyObject * obj0 = 0 ; | |
21724 | PyObject * obj1 = 0 ; | |
21725 | char *kwnames[] = { | |
21726 | (char *) "self",(char *) "flag", NULL | |
21727 | }; | |
21728 | ||
21729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21730 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21731 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21732 | { | |
21733 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
21734 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21735 | } | |
d55e5bfc RD |
21736 | { |
21737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21738 | (arg1)->EnableMargins(arg2); | |
21739 | ||
21740 | wxPyEndAllowThreads(__tstate); | |
21741 | if (PyErr_Occurred()) SWIG_fail; | |
21742 | } | |
21743 | Py_INCREF(Py_None); resultobj = Py_None; | |
21744 | return resultobj; | |
21745 | fail: | |
21746 | return NULL; | |
21747 | } | |
21748 | ||
21749 | ||
c370783e | 21750 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21751 | PyObject *resultobj; |
21752 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21753 | bool arg2 ; | |
21754 | PyObject * obj0 = 0 ; | |
21755 | PyObject * obj1 = 0 ; | |
21756 | char *kwnames[] = { | |
21757 | (char *) "self",(char *) "flag", NULL | |
21758 | }; | |
21759 | ||
21760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21761 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21762 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21763 | { | |
21764 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
21765 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21766 | } | |
d55e5bfc RD |
21767 | { |
21768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21769 | (arg1)->EnableOrientation(arg2); | |
21770 | ||
21771 | wxPyEndAllowThreads(__tstate); | |
21772 | if (PyErr_Occurred()) SWIG_fail; | |
21773 | } | |
21774 | Py_INCREF(Py_None); resultobj = Py_None; | |
21775 | return resultobj; | |
21776 | fail: | |
21777 | return NULL; | |
21778 | } | |
21779 | ||
21780 | ||
c370783e | 21781 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21782 | PyObject *resultobj; |
21783 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21784 | bool arg2 ; | |
21785 | PyObject * obj0 = 0 ; | |
21786 | PyObject * obj1 = 0 ; | |
21787 | char *kwnames[] = { | |
21788 | (char *) "self",(char *) "flag", NULL | |
21789 | }; | |
21790 | ||
21791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21792 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21793 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21794 | { | |
21795 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
21796 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21797 | } | |
d55e5bfc RD |
21798 | { |
21799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21800 | (arg1)->EnablePaper(arg2); | |
21801 | ||
21802 | wxPyEndAllowThreads(__tstate); | |
21803 | if (PyErr_Occurred()) SWIG_fail; | |
21804 | } | |
21805 | Py_INCREF(Py_None); resultobj = Py_None; | |
21806 | return resultobj; | |
21807 | fail: | |
21808 | return NULL; | |
21809 | } | |
21810 | ||
21811 | ||
c370783e | 21812 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21813 | PyObject *resultobj; |
21814 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21815 | bool arg2 ; | |
21816 | PyObject * obj0 = 0 ; | |
21817 | PyObject * obj1 = 0 ; | |
21818 | char *kwnames[] = { | |
21819 | (char *) "self",(char *) "flag", NULL | |
21820 | }; | |
21821 | ||
21822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21823 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21824 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21825 | { | |
21826 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
21827 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21828 | } | |
d55e5bfc RD |
21829 | { |
21830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21831 | (arg1)->EnablePrinter(arg2); | |
21832 | ||
21833 | wxPyEndAllowThreads(__tstate); | |
21834 | if (PyErr_Occurred()) SWIG_fail; | |
21835 | } | |
21836 | Py_INCREF(Py_None); resultobj = Py_None; | |
21837 | return resultobj; | |
21838 | fail: | |
21839 | return NULL; | |
21840 | } | |
21841 | ||
21842 | ||
c370783e | 21843 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21844 | PyObject *resultobj; |
21845 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21846 | bool result; | |
21847 | PyObject * obj0 = 0 ; | |
21848 | char *kwnames[] = { | |
21849 | (char *) "self", NULL | |
21850 | }; | |
21851 | ||
21852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21853 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21854 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21855 | { |
21856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21857 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
21858 | ||
21859 | wxPyEndAllowThreads(__tstate); | |
21860 | if (PyErr_Occurred()) SWIG_fail; | |
21861 | } | |
21862 | { | |
21863 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21864 | } | |
21865 | return resultobj; | |
21866 | fail: | |
21867 | return NULL; | |
21868 | } | |
21869 | ||
21870 | ||
c370783e | 21871 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21872 | PyObject *resultobj; |
21873 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21874 | bool result; | |
21875 | PyObject * obj0 = 0 ; | |
21876 | char *kwnames[] = { | |
21877 | (char *) "self", NULL | |
21878 | }; | |
21879 | ||
21880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21881 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21882 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21883 | { |
21884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21885 | result = (bool)(arg1)->GetEnableMargins(); | |
21886 | ||
21887 | wxPyEndAllowThreads(__tstate); | |
21888 | if (PyErr_Occurred()) SWIG_fail; | |
21889 | } | |
21890 | { | |
21891 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21892 | } | |
21893 | return resultobj; | |
21894 | fail: | |
21895 | return NULL; | |
21896 | } | |
21897 | ||
21898 | ||
c370783e | 21899 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21900 | PyObject *resultobj; |
21901 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21902 | bool result; | |
21903 | PyObject * obj0 = 0 ; | |
21904 | char *kwnames[] = { | |
21905 | (char *) "self", NULL | |
21906 | }; | |
21907 | ||
21908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21909 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21910 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21911 | { |
21912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21913 | result = (bool)(arg1)->GetEnableOrientation(); | |
21914 | ||
21915 | wxPyEndAllowThreads(__tstate); | |
21916 | if (PyErr_Occurred()) SWIG_fail; | |
21917 | } | |
21918 | { | |
21919 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21920 | } | |
21921 | return resultobj; | |
21922 | fail: | |
21923 | return NULL; | |
21924 | } | |
21925 | ||
21926 | ||
c370783e | 21927 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21928 | PyObject *resultobj; |
21929 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21930 | bool result; | |
21931 | PyObject * obj0 = 0 ; | |
21932 | char *kwnames[] = { | |
21933 | (char *) "self", NULL | |
21934 | }; | |
21935 | ||
21936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21937 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21938 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21939 | { |
21940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21941 | result = (bool)(arg1)->GetEnablePaper(); | |
21942 | ||
21943 | wxPyEndAllowThreads(__tstate); | |
21944 | if (PyErr_Occurred()) SWIG_fail; | |
21945 | } | |
21946 | { | |
21947 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21948 | } | |
21949 | return resultobj; | |
21950 | fail: | |
21951 | return NULL; | |
21952 | } | |
21953 | ||
21954 | ||
c370783e | 21955 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21956 | PyObject *resultobj; |
21957 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21958 | bool result; | |
21959 | PyObject * obj0 = 0 ; | |
21960 | char *kwnames[] = { | |
21961 | (char *) "self", NULL | |
21962 | }; | |
21963 | ||
21964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21965 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21966 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21967 | { |
21968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21969 | result = (bool)(arg1)->GetEnablePrinter(); | |
21970 | ||
21971 | wxPyEndAllowThreads(__tstate); | |
21972 | if (PyErr_Occurred()) SWIG_fail; | |
21973 | } | |
21974 | { | |
21975 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21976 | } | |
21977 | return resultobj; | |
21978 | fail: | |
21979 | return NULL; | |
21980 | } | |
21981 | ||
21982 | ||
c370783e | 21983 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21984 | PyObject *resultobj; |
21985 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21986 | bool result; | |
21987 | PyObject * obj0 = 0 ; | |
21988 | char *kwnames[] = { | |
21989 | (char *) "self", NULL | |
21990 | }; | |
21991 | ||
21992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21993 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21994 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21995 | { |
21996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21997 | result = (bool)(arg1)->GetEnableHelp(); | |
21998 | ||
21999 | wxPyEndAllowThreads(__tstate); | |
22000 | if (PyErr_Occurred()) SWIG_fail; | |
22001 | } | |
22002 | { | |
22003 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22004 | } | |
22005 | return resultobj; | |
22006 | fail: | |
22007 | return NULL; | |
22008 | } | |
22009 | ||
22010 | ||
c370783e | 22011 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22012 | PyObject *resultobj; |
22013 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22014 | bool result; | |
22015 | PyObject * obj0 = 0 ; | |
22016 | char *kwnames[] = { | |
22017 | (char *) "self", NULL | |
22018 | }; | |
22019 | ||
22020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22021 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22022 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22023 | { |
22024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22025 | result = (bool)(arg1)->GetDefaultInfo(); | |
22026 | ||
22027 | wxPyEndAllowThreads(__tstate); | |
22028 | if (PyErr_Occurred()) SWIG_fail; | |
22029 | } | |
22030 | { | |
22031 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22032 | } | |
22033 | return resultobj; | |
22034 | fail: | |
22035 | return NULL; | |
22036 | } | |
22037 | ||
22038 | ||
c370783e | 22039 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22040 | PyObject *resultobj; |
22041 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22042 | wxPoint result; | |
22043 | PyObject * obj0 = 0 ; | |
22044 | char *kwnames[] = { | |
22045 | (char *) "self", NULL | |
22046 | }; | |
22047 | ||
22048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22049 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22050 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22051 | { |
22052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22053 | result = (arg1)->GetMarginTopLeft(); | |
22054 | ||
22055 | wxPyEndAllowThreads(__tstate); | |
22056 | if (PyErr_Occurred()) SWIG_fail; | |
22057 | } | |
22058 | { | |
22059 | wxPoint * resultptr; | |
36ed4f51 | 22060 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
22061 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
22062 | } | |
22063 | return resultobj; | |
22064 | fail: | |
22065 | return NULL; | |
22066 | } | |
22067 | ||
22068 | ||
c370783e | 22069 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22070 | PyObject *resultobj; |
22071 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22072 | wxPoint result; | |
22073 | PyObject * obj0 = 0 ; | |
22074 | char *kwnames[] = { | |
22075 | (char *) "self", NULL | |
22076 | }; | |
22077 | ||
22078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22079 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22080 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22081 | { |
22082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22083 | result = (arg1)->GetMarginBottomRight(); | |
22084 | ||
22085 | wxPyEndAllowThreads(__tstate); | |
22086 | if (PyErr_Occurred()) SWIG_fail; | |
22087 | } | |
22088 | { | |
22089 | wxPoint * resultptr; | |
36ed4f51 | 22090 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
22091 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
22092 | } | |
22093 | return resultobj; | |
22094 | fail: | |
22095 | return NULL; | |
22096 | } | |
22097 | ||
22098 | ||
c370783e | 22099 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22100 | PyObject *resultobj; |
22101 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22102 | wxPoint result; | |
22103 | PyObject * obj0 = 0 ; | |
22104 | char *kwnames[] = { | |
22105 | (char *) "self", NULL | |
22106 | }; | |
22107 | ||
22108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22109 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22110 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22111 | { |
22112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22113 | result = (arg1)->GetMinMarginTopLeft(); | |
22114 | ||
22115 | wxPyEndAllowThreads(__tstate); | |
22116 | if (PyErr_Occurred()) SWIG_fail; | |
22117 | } | |
22118 | { | |
22119 | wxPoint * resultptr; | |
36ed4f51 | 22120 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
22121 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
22122 | } | |
22123 | return resultobj; | |
22124 | fail: | |
22125 | return NULL; | |
22126 | } | |
22127 | ||
22128 | ||
c370783e | 22129 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22130 | PyObject *resultobj; |
22131 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22132 | wxPoint result; | |
22133 | PyObject * obj0 = 0 ; | |
22134 | char *kwnames[] = { | |
22135 | (char *) "self", NULL | |
22136 | }; | |
22137 | ||
22138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22139 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22140 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22141 | { |
22142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22143 | result = (arg1)->GetMinMarginBottomRight(); | |
22144 | ||
22145 | wxPyEndAllowThreads(__tstate); | |
22146 | if (PyErr_Occurred()) SWIG_fail; | |
22147 | } | |
22148 | { | |
22149 | wxPoint * resultptr; | |
36ed4f51 | 22150 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
22151 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
22152 | } | |
22153 | return resultobj; | |
22154 | fail: | |
22155 | return NULL; | |
22156 | } | |
22157 | ||
22158 | ||
c370783e | 22159 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22160 | PyObject *resultobj; |
22161 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
36ed4f51 | 22162 | wxPaperSize result; |
d55e5bfc RD |
22163 | PyObject * obj0 = 0 ; |
22164 | char *kwnames[] = { | |
22165 | (char *) "self", NULL | |
22166 | }; | |
22167 | ||
22168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22169 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22170 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22171 | { |
22172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 22173 | result = (wxPaperSize)(arg1)->GetPaperId(); |
d55e5bfc RD |
22174 | |
22175 | wxPyEndAllowThreads(__tstate); | |
22176 | if (PyErr_Occurred()) SWIG_fail; | |
22177 | } | |
36ed4f51 | 22178 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
22179 | return resultobj; |
22180 | fail: | |
22181 | return NULL; | |
22182 | } | |
22183 | ||
22184 | ||
c370783e | 22185 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22186 | PyObject *resultobj; |
22187 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22188 | wxSize result; | |
22189 | PyObject * obj0 = 0 ; | |
22190 | char *kwnames[] = { | |
22191 | (char *) "self", NULL | |
22192 | }; | |
22193 | ||
22194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22195 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22196 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22197 | { |
22198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22199 | result = (arg1)->GetPaperSize(); | |
22200 | ||
22201 | wxPyEndAllowThreads(__tstate); | |
22202 | if (PyErr_Occurred()) SWIG_fail; | |
22203 | } | |
22204 | { | |
22205 | wxSize * resultptr; | |
36ed4f51 | 22206 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
22207 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
22208 | } | |
22209 | return resultobj; | |
22210 | fail: | |
22211 | return NULL; | |
22212 | } | |
22213 | ||
22214 | ||
c370783e | 22215 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22216 | PyObject *resultobj; |
22217 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22218 | wxPrintData *result; | |
22219 | PyObject * obj0 = 0 ; | |
22220 | char *kwnames[] = { | |
22221 | (char *) "self", NULL | |
22222 | }; | |
22223 | ||
22224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22225 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22226 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22227 | { |
22228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22229 | { | |
22230 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
22231 | result = (wxPrintData *) &_result_ref; | |
22232 | } | |
22233 | ||
22234 | wxPyEndAllowThreads(__tstate); | |
22235 | if (PyErr_Occurred()) SWIG_fail; | |
22236 | } | |
22237 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); | |
22238 | return resultobj; | |
22239 | fail: | |
22240 | return NULL; | |
22241 | } | |
22242 | ||
22243 | ||
c370783e | 22244 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22245 | PyObject *resultobj; |
22246 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22247 | bool result; | |
22248 | PyObject * obj0 = 0 ; | |
22249 | char *kwnames[] = { | |
22250 | (char *) "self", NULL | |
22251 | }; | |
22252 | ||
22253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22254 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22255 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22256 | { |
22257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22258 | result = (bool)(arg1)->Ok(); | |
22259 | ||
22260 | wxPyEndAllowThreads(__tstate); | |
22261 | if (PyErr_Occurred()) SWIG_fail; | |
22262 | } | |
22263 | { | |
22264 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22265 | } | |
22266 | return resultobj; | |
22267 | fail: | |
22268 | return NULL; | |
22269 | } | |
22270 | ||
22271 | ||
c370783e | 22272 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22273 | PyObject *resultobj; |
22274 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22275 | bool arg2 ; | |
22276 | PyObject * obj0 = 0 ; | |
22277 | PyObject * obj1 = 0 ; | |
22278 | char *kwnames[] = { | |
22279 | (char *) "self",(char *) "flag", NULL | |
22280 | }; | |
22281 | ||
22282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22283 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22284 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22285 | { | |
22286 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22287 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22288 | } | |
d55e5bfc RD |
22289 | { |
22290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22291 | (arg1)->SetDefaultInfo(arg2); | |
22292 | ||
22293 | wxPyEndAllowThreads(__tstate); | |
22294 | if (PyErr_Occurred()) SWIG_fail; | |
22295 | } | |
22296 | Py_INCREF(Py_None); resultobj = Py_None; | |
22297 | return resultobj; | |
22298 | fail: | |
22299 | return NULL; | |
22300 | } | |
22301 | ||
22302 | ||
c370783e | 22303 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22304 | PyObject *resultobj; |
22305 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22306 | bool arg2 ; | |
22307 | PyObject * obj0 = 0 ; | |
22308 | PyObject * obj1 = 0 ; | |
22309 | char *kwnames[] = { | |
22310 | (char *) "self",(char *) "flag", NULL | |
22311 | }; | |
22312 | ||
22313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22314 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22315 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22316 | { | |
22317 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22318 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22319 | } | |
d55e5bfc RD |
22320 | { |
22321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22322 | (arg1)->SetDefaultMinMargins(arg2); | |
22323 | ||
22324 | wxPyEndAllowThreads(__tstate); | |
22325 | if (PyErr_Occurred()) SWIG_fail; | |
22326 | } | |
22327 | Py_INCREF(Py_None); resultobj = Py_None; | |
22328 | return resultobj; | |
22329 | fail: | |
22330 | return NULL; | |
22331 | } | |
22332 | ||
22333 | ||
c370783e | 22334 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22335 | PyObject *resultobj; |
22336 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22337 | wxPoint *arg2 = 0 ; | |
22338 | wxPoint temp2 ; | |
22339 | PyObject * obj0 = 0 ; | |
22340 | PyObject * obj1 = 0 ; | |
22341 | char *kwnames[] = { | |
22342 | (char *) "self",(char *) "pt", NULL | |
22343 | }; | |
22344 | ||
22345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22346 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22347 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22348 | { |
22349 | arg2 = &temp2; | |
22350 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22351 | } | |
22352 | { | |
22353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22354 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
22355 | ||
22356 | wxPyEndAllowThreads(__tstate); | |
22357 | if (PyErr_Occurred()) SWIG_fail; | |
22358 | } | |
22359 | Py_INCREF(Py_None); resultobj = Py_None; | |
22360 | return resultobj; | |
22361 | fail: | |
22362 | return NULL; | |
22363 | } | |
22364 | ||
22365 | ||
c370783e | 22366 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22367 | PyObject *resultobj; |
22368 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22369 | wxPoint *arg2 = 0 ; | |
22370 | wxPoint temp2 ; | |
22371 | PyObject * obj0 = 0 ; | |
22372 | PyObject * obj1 = 0 ; | |
22373 | char *kwnames[] = { | |
22374 | (char *) "self",(char *) "pt", NULL | |
22375 | }; | |
22376 | ||
22377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22378 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22379 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22380 | { |
22381 | arg2 = &temp2; | |
22382 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22383 | } | |
22384 | { | |
22385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22386 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
22387 | ||
22388 | wxPyEndAllowThreads(__tstate); | |
22389 | if (PyErr_Occurred()) SWIG_fail; | |
22390 | } | |
22391 | Py_INCREF(Py_None); resultobj = Py_None; | |
22392 | return resultobj; | |
22393 | fail: | |
22394 | return NULL; | |
22395 | } | |
22396 | ||
22397 | ||
c370783e | 22398 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22399 | PyObject *resultobj; |
22400 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22401 | wxPoint *arg2 = 0 ; | |
22402 | wxPoint temp2 ; | |
22403 | PyObject * obj0 = 0 ; | |
22404 | PyObject * obj1 = 0 ; | |
22405 | char *kwnames[] = { | |
22406 | (char *) "self",(char *) "pt", NULL | |
22407 | }; | |
22408 | ||
22409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22410 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22411 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22412 | { |
22413 | arg2 = &temp2; | |
22414 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22415 | } | |
22416 | { | |
22417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22418 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
22419 | ||
22420 | wxPyEndAllowThreads(__tstate); | |
22421 | if (PyErr_Occurred()) SWIG_fail; | |
22422 | } | |
22423 | Py_INCREF(Py_None); resultobj = Py_None; | |
22424 | return resultobj; | |
22425 | fail: | |
22426 | return NULL; | |
22427 | } | |
22428 | ||
22429 | ||
c370783e | 22430 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22431 | PyObject *resultobj; |
22432 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22433 | wxPoint *arg2 = 0 ; | |
22434 | wxPoint temp2 ; | |
22435 | PyObject * obj0 = 0 ; | |
22436 | PyObject * obj1 = 0 ; | |
22437 | char *kwnames[] = { | |
22438 | (char *) "self",(char *) "pt", NULL | |
22439 | }; | |
22440 | ||
22441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22442 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22443 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22444 | { |
22445 | arg2 = &temp2; | |
22446 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22447 | } | |
22448 | { | |
22449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22450 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
22451 | ||
22452 | wxPyEndAllowThreads(__tstate); | |
22453 | if (PyErr_Occurred()) SWIG_fail; | |
22454 | } | |
22455 | Py_INCREF(Py_None); resultobj = Py_None; | |
22456 | return resultobj; | |
22457 | fail: | |
22458 | return NULL; | |
22459 | } | |
22460 | ||
22461 | ||
c370783e | 22462 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22463 | PyObject *resultobj; |
22464 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
36ed4f51 | 22465 | wxPaperSize arg2 ; |
d55e5bfc RD |
22466 | PyObject * obj0 = 0 ; |
22467 | PyObject * obj1 = 0 ; | |
22468 | char *kwnames[] = { | |
22469 | (char *) "self",(char *) "id", NULL | |
22470 | }; | |
22471 | ||
22472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22473 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22474 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22475 | { | |
22476 | arg2 = (wxPaperSize)(SWIG_As_int(obj1)); | |
22477 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22478 | } | |
d55e5bfc RD |
22479 | { |
22480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22481 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
22482 | ||
22483 | wxPyEndAllowThreads(__tstate); | |
22484 | if (PyErr_Occurred()) SWIG_fail; | |
22485 | } | |
22486 | Py_INCREF(Py_None); resultobj = Py_None; | |
22487 | return resultobj; | |
22488 | fail: | |
22489 | return NULL; | |
22490 | } | |
22491 | ||
22492 | ||
c370783e | 22493 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22494 | PyObject *resultobj; |
22495 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22496 | wxSize *arg2 = 0 ; | |
22497 | wxSize temp2 ; | |
22498 | PyObject * obj0 = 0 ; | |
22499 | PyObject * obj1 = 0 ; | |
22500 | char *kwnames[] = { | |
22501 | (char *) "self",(char *) "size", NULL | |
22502 | }; | |
22503 | ||
22504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22505 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22506 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22507 | { |
22508 | arg2 = &temp2; | |
22509 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
22510 | } | |
22511 | { | |
22512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22513 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
22514 | ||
22515 | wxPyEndAllowThreads(__tstate); | |
22516 | if (PyErr_Occurred()) SWIG_fail; | |
22517 | } | |
22518 | Py_INCREF(Py_None); resultobj = Py_None; | |
22519 | return resultobj; | |
22520 | fail: | |
22521 | return NULL; | |
22522 | } | |
22523 | ||
22524 | ||
c370783e | 22525 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22526 | PyObject *resultobj; |
22527 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22528 | wxPrintData *arg2 = 0 ; | |
22529 | PyObject * obj0 = 0 ; | |
22530 | PyObject * obj1 = 0 ; | |
22531 | char *kwnames[] = { | |
22532 | (char *) "self",(char *) "printData", NULL | |
22533 | }; | |
22534 | ||
22535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22536 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22537 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22538 | { | |
22539 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
22540 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22541 | if (arg2 == NULL) { | |
22542 | SWIG_null_ref("wxPrintData"); | |
22543 | } | |
22544 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
22545 | } |
22546 | { | |
22547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22548 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
22549 | ||
22550 | wxPyEndAllowThreads(__tstate); | |
22551 | if (PyErr_Occurred()) SWIG_fail; | |
22552 | } | |
22553 | Py_INCREF(Py_None); resultobj = Py_None; | |
22554 | return resultobj; | |
22555 | fail: | |
22556 | return NULL; | |
22557 | } | |
22558 | ||
22559 | ||
c370783e | 22560 | static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
22561 | PyObject *obj; |
22562 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22563 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
22564 | Py_INCREF(obj); | |
22565 | return Py_BuildValue((char *)""); | |
22566 | } | |
c370783e | 22567 | static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22568 | PyObject *resultobj; |
22569 | wxWindow *arg1 = (wxWindow *) 0 ; | |
22570 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
22571 | wxPageSetupDialog *result; | |
22572 | PyObject * obj0 = 0 ; | |
22573 | PyObject * obj1 = 0 ; | |
22574 | char *kwnames[] = { | |
22575 | (char *) "parent",(char *) "data", NULL | |
22576 | }; | |
22577 | ||
22578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22579 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
22580 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 22581 | if (obj1) { |
36ed4f51 RD |
22582 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22583 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
22584 | } |
22585 | { | |
0439c23b | 22586 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
22587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22588 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
22589 | ||
22590 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 22591 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
22592 | } |
22593 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); | |
22594 | return resultobj; | |
22595 | fail: | |
22596 | return NULL; | |
22597 | } | |
22598 | ||
22599 | ||
c370783e | 22600 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22601 | PyObject *resultobj; |
22602 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
22603 | wxPageSetupDialogData *result; | |
22604 | PyObject * obj0 = 0 ; | |
22605 | char *kwnames[] = { | |
22606 | (char *) "self", NULL | |
22607 | }; | |
22608 | ||
22609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22610 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
22611 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22612 | { |
22613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22614 | { | |
22615 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
22616 | result = (wxPageSetupDialogData *) &_result_ref; | |
22617 | } | |
22618 | ||
22619 | wxPyEndAllowThreads(__tstate); | |
22620 | if (PyErr_Occurred()) SWIG_fail; | |
22621 | } | |
22622 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
22623 | return resultobj; | |
22624 | fail: | |
22625 | return NULL; | |
22626 | } | |
22627 | ||
22628 | ||
6e0de3df RD |
22629 | static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
22630 | PyObject *resultobj; | |
22631 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
22632 | wxPageSetupDialogData *result; | |
22633 | PyObject * obj0 = 0 ; | |
22634 | char *kwnames[] = { | |
22635 | (char *) "self", NULL | |
22636 | }; | |
22637 | ||
22638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22639 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
22640 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6e0de3df RD |
22641 | { |
22642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22643 | { | |
22644 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData(); | |
22645 | result = (wxPageSetupDialogData *) &_result_ref; | |
22646 | } | |
22647 | ||
22648 | wxPyEndAllowThreads(__tstate); | |
22649 | if (PyErr_Occurred()) SWIG_fail; | |
22650 | } | |
22651 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
22652 | return resultobj; | |
22653 | fail: | |
22654 | return NULL; | |
22655 | } | |
22656 | ||
22657 | ||
c370783e | 22658 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22659 | PyObject *resultobj; |
22660 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
22661 | int result; | |
22662 | PyObject * obj0 = 0 ; | |
22663 | char *kwnames[] = { | |
22664 | (char *) "self", NULL | |
22665 | }; | |
22666 | ||
22667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22668 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
22669 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22670 | { |
22671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22672 | result = (int)(arg1)->ShowModal(); | |
22673 | ||
22674 | wxPyEndAllowThreads(__tstate); | |
22675 | if (PyErr_Occurred()) SWIG_fail; | |
22676 | } | |
36ed4f51 RD |
22677 | { |
22678 | resultobj = SWIG_From_int((int)(result)); | |
22679 | } | |
d55e5bfc RD |
22680 | return resultobj; |
22681 | fail: | |
22682 | return NULL; | |
22683 | } | |
22684 | ||
22685 | ||
c370783e | 22686 | static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
22687 | PyObject *obj; |
22688 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22689 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
22690 | Py_INCREF(obj); | |
22691 | return Py_BuildValue((char *)""); | |
22692 | } | |
c370783e | 22693 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
22694 | PyObject *resultobj; |
22695 | wxPrintDialogData *result; | |
22696 | ||
22697 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; | |
22698 | { | |
22699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22700 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
22701 | ||
22702 | wxPyEndAllowThreads(__tstate); | |
22703 | if (PyErr_Occurred()) SWIG_fail; | |
22704 | } | |
22705 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
22706 | return resultobj; | |
22707 | fail: | |
22708 | return NULL; | |
22709 | } | |
22710 | ||
22711 | ||
c370783e | 22712 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
22713 | PyObject *resultobj; |
22714 | wxPrintData *arg1 = 0 ; | |
22715 | wxPrintDialogData *result; | |
22716 | PyObject * obj0 = 0 ; | |
22717 | ||
22718 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
36ed4f51 RD |
22719 | { |
22720 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
22721 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22722 | if (arg1 == NULL) { | |
22723 | SWIG_null_ref("wxPrintData"); | |
22724 | } | |
22725 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22726 | } |
22727 | { | |
22728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22729 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
22730 | ||
22731 | wxPyEndAllowThreads(__tstate); | |
22732 | if (PyErr_Occurred()) SWIG_fail; | |
22733 | } | |
22734 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
22735 | return resultobj; | |
22736 | fail: | |
22737 | return NULL; | |
22738 | } | |
22739 | ||
22740 | ||
22741 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { | |
22742 | int argc; | |
22743 | PyObject *argv[2]; | |
22744 | int ii; | |
22745 | ||
22746 | argc = PyObject_Length(args); | |
22747 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
22748 | argv[ii] = PyTuple_GetItem(args,ii); | |
22749 | } | |
22750 | if (argc == 0) { | |
22751 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
22752 | } | |
22753 | if (argc == 1) { | |
22754 | int _v; | |
22755 | { | |
36ed4f51 | 22756 | void *ptr = 0; |
d55e5bfc RD |
22757 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { |
22758 | _v = 0; | |
22759 | PyErr_Clear(); | |
22760 | } else { | |
36ed4f51 | 22761 | _v = (ptr != 0); |
d55e5bfc RD |
22762 | } |
22763 | } | |
22764 | if (_v) { | |
22765 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
22766 | } | |
22767 | } | |
22768 | ||
36ed4f51 | 22769 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'"); |
d55e5bfc RD |
22770 | return NULL; |
22771 | } | |
22772 | ||
22773 | ||
c370783e | 22774 | static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22775 | PyObject *resultobj; |
22776 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
22777 | PyObject * obj0 = 0 ; | |
22778 | char *kwnames[] = { | |
22779 | (char *) "self", NULL | |
22780 | }; | |
22781 | ||
22782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22783 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
22784 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22785 | { |
22786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22787 | delete arg1; | |
22788 | ||
22789 | wxPyEndAllowThreads(__tstate); | |
22790 | if (PyErr_Occurred()) SWIG_fail; | |
22791 | } | |
22792 | Py_INCREF(Py_None); resultobj = Py_None; | |
22793 | return resultobj; | |
22794 | fail: | |
22795 | return NULL; | |
22796 | } | |
22797 | ||
22798 | ||
c370783e | 22799 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22800 | PyObject *resultobj; |
22801 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
22802 | int result; | |
22803 | PyObject * obj0 = 0 ; | |
22804 | char *kwnames[] = { | |
22805 | (char *) "self", NULL | |
22806 | }; | |
22807 | ||
22808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22809 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
22810 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22811 | { |
22812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22813 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
22814 | ||
22815 | wxPyEndAllowThreads(__tstate); | |
22816 | if (PyErr_Occurred()) SWIG_fail; | |
22817 | } | |
36ed4f51 RD |
22818 | { |
22819 | resultobj = SWIG_From_int((int)(result)); | |
22820 | } | |
d55e5bfc RD |
22821 | return resultobj; |
22822 | fail: | |
22823 | return NULL; | |
22824 | } | |
22825 | ||
22826 | ||
c370783e | 22827 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22828 | PyObject *resultobj; |
22829 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
22830 | int result; | |
22831 | PyObject * obj0 = 0 ; | |
22832 | char *kwnames[] = { | |
22833 | (char *) "self", NULL | |
22834 | }; | |
22835 | ||
22836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22837 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
22838 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22839 | { |
22840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22841 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
22842 | ||
22843 | wxPyEndAllowThreads(__tstate); | |
22844 | if (PyErr_Occurred()) SWIG_fail; | |
22845 | } | |
36ed4f51 RD |
22846 | { |
22847 | resultobj = SWIG_From_int((int)(result)); | |
22848 | } | |
d55e5bfc RD |
22849 | return resultobj; |
22850 | fail: | |
22851 | return NULL; | |
22852 | } | |
22853 | ||
22854 | ||
c370783e | 22855 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22856 | PyObject *resultobj; |
22857 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
22858 | int result; | |
22859 | PyObject * obj0 = 0 ; | |
22860 | char *kwnames[] = { | |
22861 | (char *) "self", NULL | |
22862 | }; | |
22863 | ||
22864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22865 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
22866 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22867 | { |
22868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22869 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
22870 | ||
22871 | wxPyEndAllowThreads(__tstate); | |
22872 | if (PyErr_Occurred()) SWIG_fail; | |
22873 | } | |
36ed4f51 RD |
22874 | { |
22875 | resultobj = SWIG_From_int((int)(result)); | |
22876 | } | |
d55e5bfc RD |
22877 | return resultobj; |
22878 | fail: | |
22879 | return NULL; | |
22880 | } | |
22881 | ||
22882 | ||
c370783e | 22883 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22884 | PyObject *resultobj; |
22885 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
22886 | int result; | |
22887 | PyObject * obj0 = 0 ; | |
22888 | char *kwnames[] = { | |
22889 | (char *) "self", NULL | |
22890 | }; | |
22891 | ||
22892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22893 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
22894 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22895 | { |
22896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22897 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
22898 | ||
22899 | wxPyEndAllowThreads(__tstate); | |
22900 | if (PyErr_Occurred()) SWIG_fail; | |
22901 | } | |
36ed4f51 RD |
22902 | { |
22903 | resultobj = SWIG_From_int((int)(result)); | |
22904 | } | |
d55e5bfc RD |
22905 | return resultobj; |
22906 | fail: | |
22907 | return NULL; | |
22908 | } | |
22909 | ||
22910 | ||
c370783e | 22911 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22912 | PyObject *resultobj; |
22913 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
22914 | int result; | |
22915 | PyObject * obj0 = 0 ; | |
22916 | char *kwnames[] = { | |
22917 | (char *) "self", NULL | |
22918 | }; | |
22919 | ||
22920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22921 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
22922 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22923 | { |
22924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22925 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
22926 | ||
22927 | wxPyEndAllowThreads(__tstate); | |
22928 | if (PyErr_Occurred()) SWIG_fail; | |
22929 | } | |
36ed4f51 RD |
22930 | { |
22931 | resultobj = SWIG_From_int((int)(result)); | |
22932 | } | |
d55e5bfc RD |
22933 | return resultobj; |
22934 | fail: | |
22935 | return NULL; | |
22936 | } | |
22937 | ||
22938 | ||
c370783e | 22939 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22940 | PyObject *resultobj; |
22941 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
22942 | bool result; | |
22943 | PyObject * obj0 = 0 ; | |
22944 | char *kwnames[] = { | |
22945 | (char *) "self", NULL | |
22946 | }; | |
22947 | ||
22948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22949 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
22950 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22951 | { |
22952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22953 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
22954 | ||
22955 | wxPyEndAllowThreads(__tstate); | |
22956 | if (PyErr_Occurred()) SWIG_fail; | |
22957 | } | |
22958 | { | |
22959 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22960 | } | |
22961 | return resultobj; | |
22962 | fail: | |
22963 | return NULL; | |
22964 | } | |
22965 | ||
22966 | ||
c370783e | 22967 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22968 | PyObject *resultobj; |
22969 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
22970 | bool result; | |
22971 | PyObject * obj0 = 0 ; | |
22972 | char *kwnames[] = { | |
22973 | (char *) "self", NULL | |
22974 | }; | |
22975 | ||
22976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22977 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
22978 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22979 | { |
22980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22981 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
22982 | ||
22983 | wxPyEndAllowThreads(__tstate); | |
22984 | if (PyErr_Occurred()) SWIG_fail; | |
22985 | } | |
22986 | { | |
22987 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22988 | } | |
22989 | return resultobj; | |
22990 | fail: | |
22991 | return NULL; | |
22992 | } | |
22993 | ||
22994 | ||
c370783e | 22995 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22996 | PyObject *resultobj; |
22997 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
22998 | bool result; | |
22999 | PyObject * obj0 = 0 ; | |
23000 | char *kwnames[] = { | |
23001 | (char *) "self", NULL | |
23002 | }; | |
23003 | ||
23004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23005 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23006 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23007 | { |
23008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23009 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
23010 | ||
23011 | wxPyEndAllowThreads(__tstate); | |
23012 | if (PyErr_Occurred()) SWIG_fail; | |
23013 | } | |
23014 | { | |
23015 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23016 | } | |
23017 | return resultobj; | |
23018 | fail: | |
23019 | return NULL; | |
23020 | } | |
23021 | ||
23022 | ||
c370783e | 23023 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23024 | PyObject *resultobj; |
23025 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23026 | bool result; | |
23027 | PyObject * obj0 = 0 ; | |
23028 | char *kwnames[] = { | |
23029 | (char *) "self", NULL | |
23030 | }; | |
23031 | ||
23032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23033 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23034 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23035 | { |
23036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23037 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
23038 | ||
23039 | wxPyEndAllowThreads(__tstate); | |
23040 | if (PyErr_Occurred()) SWIG_fail; | |
23041 | } | |
23042 | { | |
23043 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23044 | } | |
23045 | return resultobj; | |
23046 | fail: | |
23047 | return NULL; | |
23048 | } | |
23049 | ||
23050 | ||
c370783e | 23051 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23052 | PyObject *resultobj; |
23053 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23054 | bool result; | |
23055 | PyObject * obj0 = 0 ; | |
23056 | char *kwnames[] = { | |
23057 | (char *) "self", NULL | |
23058 | }; | |
23059 | ||
23060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23061 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23062 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23063 | { |
23064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23065 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
23066 | ||
23067 | wxPyEndAllowThreads(__tstate); | |
23068 | if (PyErr_Occurred()) SWIG_fail; | |
23069 | } | |
23070 | { | |
23071 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23072 | } | |
23073 | return resultobj; | |
23074 | fail: | |
23075 | return NULL; | |
23076 | } | |
23077 | ||
23078 | ||
070c48b4 RD |
23079 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
23080 | PyObject *resultobj; | |
23081 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23082 | bool arg2 ; | |
23083 | PyObject * obj0 = 0 ; | |
23084 | PyObject * obj1 = 0 ; | |
23085 | char *kwnames[] = { | |
23086 | (char *) "self",(char *) "flag", NULL | |
23087 | }; | |
23088 | ||
23089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23090 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23091 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23092 | { | |
23093 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23094 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23095 | } | |
070c48b4 RD |
23096 | { |
23097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23098 | (arg1)->SetSetupDialog(arg2); | |
23099 | ||
23100 | wxPyEndAllowThreads(__tstate); | |
23101 | if (PyErr_Occurred()) SWIG_fail; | |
23102 | } | |
23103 | Py_INCREF(Py_None); resultobj = Py_None; | |
23104 | return resultobj; | |
23105 | fail: | |
23106 | return NULL; | |
23107 | } | |
23108 | ||
23109 | ||
c370783e | 23110 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23111 | PyObject *resultobj; |
23112 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23113 | int arg2 ; | |
23114 | PyObject * obj0 = 0 ; | |
23115 | PyObject * obj1 = 0 ; | |
23116 | char *kwnames[] = { | |
23117 | (char *) "self",(char *) "v", NULL | |
23118 | }; | |
23119 | ||
23120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23121 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23122 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23123 | { | |
23124 | arg2 = (int)(SWIG_As_int(obj1)); | |
23125 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23126 | } | |
d55e5bfc RD |
23127 | { |
23128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23129 | (arg1)->SetFromPage(arg2); | |
23130 | ||
23131 | wxPyEndAllowThreads(__tstate); | |
23132 | if (PyErr_Occurred()) SWIG_fail; | |
23133 | } | |
23134 | Py_INCREF(Py_None); resultobj = Py_None; | |
23135 | return resultobj; | |
23136 | fail: | |
23137 | return NULL; | |
23138 | } | |
23139 | ||
23140 | ||
c370783e | 23141 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23142 | PyObject *resultobj; |
23143 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23144 | int arg2 ; | |
23145 | PyObject * obj0 = 0 ; | |
23146 | PyObject * obj1 = 0 ; | |
23147 | char *kwnames[] = { | |
23148 | (char *) "self",(char *) "v", NULL | |
23149 | }; | |
23150 | ||
23151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23152 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23153 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23154 | { | |
23155 | arg2 = (int)(SWIG_As_int(obj1)); | |
23156 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23157 | } | |
d55e5bfc RD |
23158 | { |
23159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23160 | (arg1)->SetToPage(arg2); | |
23161 | ||
23162 | wxPyEndAllowThreads(__tstate); | |
23163 | if (PyErr_Occurred()) SWIG_fail; | |
23164 | } | |
23165 | Py_INCREF(Py_None); resultobj = Py_None; | |
23166 | return resultobj; | |
23167 | fail: | |
23168 | return NULL; | |
23169 | } | |
23170 | ||
23171 | ||
c370783e | 23172 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23173 | PyObject *resultobj; |
23174 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23175 | int arg2 ; | |
23176 | PyObject * obj0 = 0 ; | |
23177 | PyObject * obj1 = 0 ; | |
23178 | char *kwnames[] = { | |
23179 | (char *) "self",(char *) "v", NULL | |
23180 | }; | |
23181 | ||
23182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23183 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23184 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23185 | { | |
23186 | arg2 = (int)(SWIG_As_int(obj1)); | |
23187 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23188 | } | |
d55e5bfc RD |
23189 | { |
23190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23191 | (arg1)->SetMinPage(arg2); | |
23192 | ||
23193 | wxPyEndAllowThreads(__tstate); | |
23194 | if (PyErr_Occurred()) SWIG_fail; | |
23195 | } | |
23196 | Py_INCREF(Py_None); resultobj = Py_None; | |
23197 | return resultobj; | |
23198 | fail: | |
23199 | return NULL; | |
23200 | } | |
23201 | ||
23202 | ||
c370783e | 23203 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23204 | PyObject *resultobj; |
23205 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23206 | int arg2 ; | |
23207 | PyObject * obj0 = 0 ; | |
23208 | PyObject * obj1 = 0 ; | |
23209 | char *kwnames[] = { | |
23210 | (char *) "self",(char *) "v", NULL | |
23211 | }; | |
23212 | ||
23213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23214 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23215 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23216 | { | |
23217 | arg2 = (int)(SWIG_As_int(obj1)); | |
23218 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23219 | } | |
d55e5bfc RD |
23220 | { |
23221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23222 | (arg1)->SetMaxPage(arg2); | |
23223 | ||
23224 | wxPyEndAllowThreads(__tstate); | |
23225 | if (PyErr_Occurred()) SWIG_fail; | |
23226 | } | |
23227 | Py_INCREF(Py_None); resultobj = Py_None; | |
23228 | return resultobj; | |
23229 | fail: | |
23230 | return NULL; | |
23231 | } | |
23232 | ||
23233 | ||
c370783e | 23234 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23235 | PyObject *resultobj; |
23236 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23237 | int arg2 ; | |
23238 | PyObject * obj0 = 0 ; | |
23239 | PyObject * obj1 = 0 ; | |
23240 | char *kwnames[] = { | |
23241 | (char *) "self",(char *) "v", NULL | |
23242 | }; | |
23243 | ||
23244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23245 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23246 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23247 | { | |
23248 | arg2 = (int)(SWIG_As_int(obj1)); | |
23249 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23250 | } | |
d55e5bfc RD |
23251 | { |
23252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23253 | (arg1)->SetNoCopies(arg2); | |
23254 | ||
23255 | wxPyEndAllowThreads(__tstate); | |
23256 | if (PyErr_Occurred()) SWIG_fail; | |
23257 | } | |
23258 | Py_INCREF(Py_None); resultobj = Py_None; | |
23259 | return resultobj; | |
23260 | fail: | |
23261 | return NULL; | |
23262 | } | |
23263 | ||
23264 | ||
c370783e | 23265 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23266 | PyObject *resultobj; |
23267 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23268 | bool arg2 ; | |
23269 | PyObject * obj0 = 0 ; | |
23270 | PyObject * obj1 = 0 ; | |
23271 | char *kwnames[] = { | |
23272 | (char *) "self",(char *) "flag", NULL | |
23273 | }; | |
23274 | ||
23275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23276 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23277 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23278 | { | |
23279 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23280 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23281 | } | |
d55e5bfc RD |
23282 | { |
23283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23284 | (arg1)->SetAllPages(arg2); | |
23285 | ||
23286 | wxPyEndAllowThreads(__tstate); | |
23287 | if (PyErr_Occurred()) SWIG_fail; | |
23288 | } | |
23289 | Py_INCREF(Py_None); resultobj = Py_None; | |
23290 | return resultobj; | |
23291 | fail: | |
23292 | return NULL; | |
23293 | } | |
23294 | ||
23295 | ||
c370783e | 23296 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23297 | PyObject *resultobj; |
23298 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23299 | bool arg2 ; | |
23300 | PyObject * obj0 = 0 ; | |
23301 | PyObject * obj1 = 0 ; | |
23302 | char *kwnames[] = { | |
23303 | (char *) "self",(char *) "flag", NULL | |
23304 | }; | |
23305 | ||
23306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23307 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23308 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23309 | { | |
23310 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23311 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23312 | } | |
d55e5bfc RD |
23313 | { |
23314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23315 | (arg1)->SetSelection(arg2); | |
23316 | ||
23317 | wxPyEndAllowThreads(__tstate); | |
23318 | if (PyErr_Occurred()) SWIG_fail; | |
23319 | } | |
23320 | Py_INCREF(Py_None); resultobj = Py_None; | |
23321 | return resultobj; | |
23322 | fail: | |
23323 | return NULL; | |
23324 | } | |
23325 | ||
23326 | ||
c370783e | 23327 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23328 | PyObject *resultobj; |
23329 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23330 | bool arg2 ; | |
23331 | PyObject * obj0 = 0 ; | |
23332 | PyObject * obj1 = 0 ; | |
23333 | char *kwnames[] = { | |
23334 | (char *) "self",(char *) "flag", NULL | |
23335 | }; | |
23336 | ||
23337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23338 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23339 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23340 | { | |
23341 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23342 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23343 | } | |
d55e5bfc RD |
23344 | { |
23345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23346 | (arg1)->SetCollate(arg2); | |
23347 | ||
23348 | wxPyEndAllowThreads(__tstate); | |
23349 | if (PyErr_Occurred()) SWIG_fail; | |
23350 | } | |
23351 | Py_INCREF(Py_None); resultobj = Py_None; | |
23352 | return resultobj; | |
23353 | fail: | |
23354 | return NULL; | |
23355 | } | |
23356 | ||
23357 | ||
c370783e | 23358 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23359 | PyObject *resultobj; |
23360 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23361 | bool arg2 ; | |
23362 | PyObject * obj0 = 0 ; | |
23363 | PyObject * obj1 = 0 ; | |
23364 | char *kwnames[] = { | |
23365 | (char *) "self",(char *) "flag", NULL | |
23366 | }; | |
23367 | ||
23368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23369 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23370 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23371 | { | |
23372 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23373 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23374 | } | |
d55e5bfc RD |
23375 | { |
23376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23377 | (arg1)->SetPrintToFile(arg2); | |
23378 | ||
23379 | wxPyEndAllowThreads(__tstate); | |
23380 | if (PyErr_Occurred()) SWIG_fail; | |
23381 | } | |
23382 | Py_INCREF(Py_None); resultobj = Py_None; | |
23383 | return resultobj; | |
23384 | fail: | |
23385 | return NULL; | |
23386 | } | |
23387 | ||
23388 | ||
c370783e | 23389 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23390 | PyObject *resultobj; |
23391 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23392 | bool arg2 ; | |
23393 | PyObject * obj0 = 0 ; | |
23394 | PyObject * obj1 = 0 ; | |
23395 | char *kwnames[] = { | |
23396 | (char *) "self",(char *) "flag", NULL | |
23397 | }; | |
23398 | ||
23399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23400 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23401 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23402 | { | |
23403 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23404 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23405 | } | |
d55e5bfc RD |
23406 | { |
23407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23408 | (arg1)->EnablePrintToFile(arg2); | |
23409 | ||
23410 | wxPyEndAllowThreads(__tstate); | |
23411 | if (PyErr_Occurred()) SWIG_fail; | |
23412 | } | |
23413 | Py_INCREF(Py_None); resultobj = Py_None; | |
23414 | return resultobj; | |
23415 | fail: | |
23416 | return NULL; | |
23417 | } | |
23418 | ||
23419 | ||
c370783e | 23420 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23421 | PyObject *resultobj; |
23422 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23423 | bool arg2 ; | |
23424 | PyObject * obj0 = 0 ; | |
23425 | PyObject * obj1 = 0 ; | |
23426 | char *kwnames[] = { | |
23427 | (char *) "self",(char *) "flag", NULL | |
23428 | }; | |
23429 | ||
23430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23431 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23432 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23433 | { | |
23434 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23435 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23436 | } | |
d55e5bfc RD |
23437 | { |
23438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23439 | (arg1)->EnableSelection(arg2); | |
23440 | ||
23441 | wxPyEndAllowThreads(__tstate); | |
23442 | if (PyErr_Occurred()) SWIG_fail; | |
23443 | } | |
23444 | Py_INCREF(Py_None); resultobj = Py_None; | |
23445 | return resultobj; | |
23446 | fail: | |
23447 | return NULL; | |
23448 | } | |
23449 | ||
23450 | ||
c370783e | 23451 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23452 | PyObject *resultobj; |
23453 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23454 | bool arg2 ; | |
23455 | PyObject * obj0 = 0 ; | |
23456 | PyObject * obj1 = 0 ; | |
23457 | char *kwnames[] = { | |
23458 | (char *) "self",(char *) "flag", NULL | |
23459 | }; | |
23460 | ||
23461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23462 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23463 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23464 | { | |
23465 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23466 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23467 | } | |
d55e5bfc RD |
23468 | { |
23469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23470 | (arg1)->EnablePageNumbers(arg2); | |
23471 | ||
23472 | wxPyEndAllowThreads(__tstate); | |
23473 | if (PyErr_Occurred()) SWIG_fail; | |
23474 | } | |
23475 | Py_INCREF(Py_None); resultobj = Py_None; | |
23476 | return resultobj; | |
23477 | fail: | |
23478 | return NULL; | |
23479 | } | |
23480 | ||
23481 | ||
c370783e | 23482 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23483 | PyObject *resultobj; |
23484 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23485 | bool arg2 ; | |
23486 | PyObject * obj0 = 0 ; | |
23487 | PyObject * obj1 = 0 ; | |
23488 | char *kwnames[] = { | |
23489 | (char *) "self",(char *) "flag", NULL | |
23490 | }; | |
23491 | ||
23492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23493 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23494 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23495 | { | |
23496 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23497 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23498 | } | |
d55e5bfc RD |
23499 | { |
23500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23501 | (arg1)->EnableHelp(arg2); | |
23502 | ||
23503 | wxPyEndAllowThreads(__tstate); | |
23504 | if (PyErr_Occurred()) SWIG_fail; | |
23505 | } | |
23506 | Py_INCREF(Py_None); resultobj = Py_None; | |
23507 | return resultobj; | |
23508 | fail: | |
23509 | return NULL; | |
23510 | } | |
23511 | ||
23512 | ||
c370783e | 23513 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23514 | PyObject *resultobj; |
23515 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23516 | bool result; | |
23517 | PyObject * obj0 = 0 ; | |
23518 | char *kwnames[] = { | |
23519 | (char *) "self", NULL | |
23520 | }; | |
23521 | ||
23522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23523 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23524 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23525 | { |
23526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23527 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
23528 | ||
23529 | wxPyEndAllowThreads(__tstate); | |
23530 | if (PyErr_Occurred()) SWIG_fail; | |
23531 | } | |
23532 | { | |
23533 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23534 | } | |
23535 | return resultobj; | |
23536 | fail: | |
23537 | return NULL; | |
23538 | } | |
23539 | ||
23540 | ||
c370783e | 23541 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23542 | PyObject *resultobj; |
23543 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23544 | bool result; | |
23545 | PyObject * obj0 = 0 ; | |
23546 | char *kwnames[] = { | |
23547 | (char *) "self", NULL | |
23548 | }; | |
23549 | ||
23550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23551 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23552 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23553 | { |
23554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23555 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
23556 | ||
23557 | wxPyEndAllowThreads(__tstate); | |
23558 | if (PyErr_Occurred()) SWIG_fail; | |
23559 | } | |
23560 | { | |
23561 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23562 | } | |
23563 | return resultobj; | |
23564 | fail: | |
23565 | return NULL; | |
23566 | } | |
23567 | ||
23568 | ||
c370783e | 23569 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23570 | PyObject *resultobj; |
23571 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23572 | bool result; | |
23573 | PyObject * obj0 = 0 ; | |
23574 | char *kwnames[] = { | |
23575 | (char *) "self", NULL | |
23576 | }; | |
23577 | ||
23578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23579 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23580 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23581 | { |
23582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23583 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
23584 | ||
23585 | wxPyEndAllowThreads(__tstate); | |
23586 | if (PyErr_Occurred()) SWIG_fail; | |
23587 | } | |
23588 | { | |
23589 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23590 | } | |
23591 | return resultobj; | |
23592 | fail: | |
23593 | return NULL; | |
23594 | } | |
23595 | ||
23596 | ||
c370783e | 23597 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23598 | PyObject *resultobj; |
23599 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23600 | bool result; | |
23601 | PyObject * obj0 = 0 ; | |
23602 | char *kwnames[] = { | |
23603 | (char *) "self", NULL | |
23604 | }; | |
23605 | ||
23606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23607 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23608 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23609 | { |
23610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23611 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
23612 | ||
23613 | wxPyEndAllowThreads(__tstate); | |
23614 | if (PyErr_Occurred()) SWIG_fail; | |
23615 | } | |
23616 | { | |
23617 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23618 | } | |
23619 | return resultobj; | |
23620 | fail: | |
23621 | return NULL; | |
23622 | } | |
23623 | ||
23624 | ||
c370783e | 23625 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23626 | PyObject *resultobj; |
23627 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23628 | bool result; | |
23629 | PyObject * obj0 = 0 ; | |
23630 | char *kwnames[] = { | |
23631 | (char *) "self", NULL | |
23632 | }; | |
23633 | ||
23634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23635 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23636 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23637 | { |
23638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23639 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
23640 | ||
23641 | wxPyEndAllowThreads(__tstate); | |
23642 | if (PyErr_Occurred()) SWIG_fail; | |
23643 | } | |
23644 | { | |
23645 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23646 | } | |
23647 | return resultobj; | |
23648 | fail: | |
23649 | return NULL; | |
23650 | } | |
23651 | ||
23652 | ||
c370783e | 23653 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23654 | PyObject *resultobj; |
23655 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23656 | wxPrintData *result; | |
23657 | PyObject * obj0 = 0 ; | |
23658 | char *kwnames[] = { | |
23659 | (char *) "self", NULL | |
23660 | }; | |
23661 | ||
23662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23663 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23664 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23665 | { |
23666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23667 | { | |
23668 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
23669 | result = (wxPrintData *) &_result_ref; | |
23670 | } | |
23671 | ||
23672 | wxPyEndAllowThreads(__tstate); | |
23673 | if (PyErr_Occurred()) SWIG_fail; | |
23674 | } | |
23675 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); | |
23676 | return resultobj; | |
23677 | fail: | |
23678 | return NULL; | |
23679 | } | |
23680 | ||
23681 | ||
c370783e | 23682 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23683 | PyObject *resultobj; |
23684 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23685 | wxPrintData *arg2 = 0 ; | |
23686 | PyObject * obj0 = 0 ; | |
23687 | PyObject * obj1 = 0 ; | |
23688 | char *kwnames[] = { | |
23689 | (char *) "self",(char *) "printData", NULL | |
23690 | }; | |
23691 | ||
23692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23693 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23694 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23695 | { | |
23696 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
23697 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23698 | if (arg2 == NULL) { | |
23699 | SWIG_null_ref("wxPrintData"); | |
23700 | } | |
23701 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
23702 | } |
23703 | { | |
23704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23705 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
23706 | ||
23707 | wxPyEndAllowThreads(__tstate); | |
23708 | if (PyErr_Occurred()) SWIG_fail; | |
23709 | } | |
23710 | Py_INCREF(Py_None); resultobj = Py_None; | |
23711 | return resultobj; | |
23712 | fail: | |
23713 | return NULL; | |
23714 | } | |
23715 | ||
23716 | ||
c370783e | 23717 | static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
23718 | PyObject *obj; |
23719 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23720 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
23721 | Py_INCREF(obj); | |
23722 | return Py_BuildValue((char *)""); | |
23723 | } | |
c370783e | 23724 | static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23725 | PyObject *resultobj; |
23726 | wxWindow *arg1 = (wxWindow *) 0 ; | |
23727 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
23728 | wxPrintDialog *result; | |
23729 | PyObject * obj0 = 0 ; | |
23730 | PyObject * obj1 = 0 ; | |
23731 | char *kwnames[] = { | |
23732 | (char *) "parent",(char *) "data", NULL | |
23733 | }; | |
23734 | ||
23735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23736 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
23737 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 23738 | if (obj1) { |
36ed4f51 RD |
23739 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23740 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
23741 | } |
23742 | { | |
0439c23b | 23743 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
23744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23745 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
23746 | ||
23747 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23748 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
23749 | } |
23750 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); | |
23751 | return resultobj; | |
23752 | fail: | |
23753 | return NULL; | |
23754 | } | |
23755 | ||
23756 | ||
070c48b4 RD |
23757 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
23758 | PyObject *resultobj; | |
23759 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
23760 | int result; | |
23761 | PyObject * obj0 = 0 ; | |
23762 | char *kwnames[] = { | |
23763 | (char *) "self", NULL | |
23764 | }; | |
23765 | ||
23766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23767 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
23768 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
23769 | { |
23770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23771 | result = (int)(arg1)->ShowModal(); | |
23772 | ||
23773 | wxPyEndAllowThreads(__tstate); | |
23774 | if (PyErr_Occurred()) SWIG_fail; | |
23775 | } | |
36ed4f51 RD |
23776 | { |
23777 | resultobj = SWIG_From_int((int)(result)); | |
23778 | } | |
070c48b4 RD |
23779 | return resultobj; |
23780 | fail: | |
23781 | return NULL; | |
23782 | } | |
23783 | ||
23784 | ||
c370783e | 23785 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23786 | PyObject *resultobj; |
23787 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
23788 | wxPrintDialogData *result; | |
23789 | PyObject * obj0 = 0 ; | |
23790 | char *kwnames[] = { | |
23791 | (char *) "self", NULL | |
23792 | }; | |
23793 | ||
23794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23795 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
23796 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23797 | { |
23798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23799 | { | |
23800 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
23801 | result = (wxPrintDialogData *) &_result_ref; | |
23802 | } | |
23803 | ||
23804 | wxPyEndAllowThreads(__tstate); | |
23805 | if (PyErr_Occurred()) SWIG_fail; | |
23806 | } | |
23807 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
23808 | return resultobj; | |
23809 | fail: | |
23810 | return NULL; | |
23811 | } | |
23812 | ||
23813 | ||
070c48b4 | 23814 | static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23815 | PyObject *resultobj; |
23816 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
070c48b4 | 23817 | wxPrintData *result; |
d55e5bfc RD |
23818 | PyObject * obj0 = 0 ; |
23819 | char *kwnames[] = { | |
23820 | (char *) "self", NULL | |
23821 | }; | |
23822 | ||
070c48b4 | 23823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
23824 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
23825 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23826 | { |
23827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 RD |
23828 | { |
23829 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
23830 | result = (wxPrintData *) &_result_ref; | |
23831 | } | |
d55e5bfc RD |
23832 | |
23833 | wxPyEndAllowThreads(__tstate); | |
23834 | if (PyErr_Occurred()) SWIG_fail; | |
23835 | } | |
070c48b4 | 23836 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d55e5bfc RD |
23837 | return resultobj; |
23838 | fail: | |
23839 | return NULL; | |
23840 | } | |
23841 | ||
23842 | ||
070c48b4 | 23843 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23844 | PyObject *resultobj; |
23845 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
070c48b4 | 23846 | wxDC *result; |
d55e5bfc RD |
23847 | PyObject * obj0 = 0 ; |
23848 | char *kwnames[] = { | |
23849 | (char *) "self", NULL | |
23850 | }; | |
23851 | ||
070c48b4 | 23852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
23853 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
23854 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23855 | { |
23856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 23857 | result = (wxDC *)(arg1)->GetPrintDC(); |
d55e5bfc RD |
23858 | |
23859 | wxPyEndAllowThreads(__tstate); | |
23860 | if (PyErr_Occurred()) SWIG_fail; | |
23861 | } | |
070c48b4 RD |
23862 | { |
23863 | resultobj = wxPyMake_wxObject(result, 1); | |
23864 | } | |
d55e5bfc RD |
23865 | return resultobj; |
23866 | fail: | |
23867 | return NULL; | |
23868 | } | |
23869 | ||
23870 | ||
c370783e | 23871 | static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
23872 | PyObject *obj; |
23873 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23874 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
23875 | Py_INCREF(obj); | |
23876 | return Py_BuildValue((char *)""); | |
23877 | } | |
c370783e | 23878 | static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23879 | PyObject *resultobj; |
23880 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
23881 | wxPrinter *result; | |
23882 | PyObject * obj0 = 0 ; | |
23883 | char *kwnames[] = { | |
23884 | (char *) "data", NULL | |
23885 | }; | |
23886 | ||
23887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
23888 | if (obj0) { | |
36ed4f51 RD |
23889 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23890 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23891 | } |
23892 | { | |
0439c23b | 23893 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
23894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23895 | result = (wxPrinter *)new wxPrinter(arg1); | |
23896 | ||
23897 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23898 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
23899 | } |
23900 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); | |
23901 | return resultobj; | |
23902 | fail: | |
23903 | return NULL; | |
23904 | } | |
23905 | ||
23906 | ||
c370783e | 23907 | static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23908 | PyObject *resultobj; |
23909 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
23910 | PyObject * obj0 = 0 ; | |
23911 | char *kwnames[] = { | |
23912 | (char *) "self", NULL | |
23913 | }; | |
23914 | ||
23915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23916 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
23917 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23918 | { |
23919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23920 | delete arg1; | |
23921 | ||
23922 | wxPyEndAllowThreads(__tstate); | |
23923 | if (PyErr_Occurred()) SWIG_fail; | |
23924 | } | |
23925 | Py_INCREF(Py_None); resultobj = Py_None; | |
23926 | return resultobj; | |
23927 | fail: | |
23928 | return NULL; | |
23929 | } | |
23930 | ||
23931 | ||
c370783e | 23932 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23933 | PyObject *resultobj; |
23934 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
23935 | wxWindow *arg2 = (wxWindow *) 0 ; | |
23936 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
070c48b4 | 23937 | wxWindow *result; |
d55e5bfc RD |
23938 | PyObject * obj0 = 0 ; |
23939 | PyObject * obj1 = 0 ; | |
23940 | PyObject * obj2 = 0 ; | |
23941 | char *kwnames[] = { | |
23942 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
23943 | }; | |
23944 | ||
23945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
23946 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
23947 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23948 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
23949 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23950 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
23951 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
23952 | { |
23953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 23954 | result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3); |
d55e5bfc RD |
23955 | |
23956 | wxPyEndAllowThreads(__tstate); | |
23957 | if (PyErr_Occurred()) SWIG_fail; | |
23958 | } | |
d55e5bfc | 23959 | { |
070c48b4 | 23960 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc | 23961 | } |
d55e5bfc RD |
23962 | return resultobj; |
23963 | fail: | |
23964 | return NULL; | |
23965 | } | |
23966 | ||
23967 | ||
070c48b4 | 23968 | static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23969 | PyObject *resultobj; |
23970 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
23971 | wxWindow *arg2 = (wxWindow *) 0 ; | |
23972 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
070c48b4 RD |
23973 | wxString *arg4 = 0 ; |
23974 | bool temp4 = false ; | |
d55e5bfc RD |
23975 | PyObject * obj0 = 0 ; |
23976 | PyObject * obj1 = 0 ; | |
23977 | PyObject * obj2 = 0 ; | |
23978 | PyObject * obj3 = 0 ; | |
23979 | char *kwnames[] = { | |
070c48b4 | 23980 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL |
d55e5bfc RD |
23981 | }; |
23982 | ||
070c48b4 | 23983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
36ed4f51 RD |
23984 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
23985 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23986 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
23987 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23988 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
23989 | if (SWIG_arg_fail(3)) SWIG_fail; | |
070c48b4 RD |
23990 | { |
23991 | arg4 = wxString_in_helper(obj3); | |
23992 | if (arg4 == NULL) SWIG_fail; | |
23993 | temp4 = true; | |
d55e5bfc RD |
23994 | } |
23995 | { | |
23996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 23997 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); |
d55e5bfc RD |
23998 | |
23999 | wxPyEndAllowThreads(__tstate); | |
24000 | if (PyErr_Occurred()) SWIG_fail; | |
24001 | } | |
070c48b4 | 24002 | Py_INCREF(Py_None); resultobj = Py_None; |
d55e5bfc | 24003 | { |
070c48b4 RD |
24004 | if (temp4) |
24005 | delete arg4; | |
d55e5bfc RD |
24006 | } |
24007 | return resultobj; | |
24008 | fail: | |
070c48b4 RD |
24009 | { |
24010 | if (temp4) | |
24011 | delete arg4; | |
24012 | } | |
d55e5bfc RD |
24013 | return NULL; |
24014 | } | |
24015 | ||
24016 | ||
070c48b4 | 24017 | static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24018 | PyObject *resultobj; |
24019 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24020 | wxWindow *arg2 = (wxWindow *) 0 ; | |
070c48b4 | 24021 | bool result; |
d55e5bfc RD |
24022 | PyObject * obj0 = 0 ; |
24023 | PyObject * obj1 = 0 ; | |
24024 | char *kwnames[] = { | |
24025 | (char *) "self",(char *) "parent", NULL | |
24026 | }; | |
24027 | ||
070c48b4 | 24028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; |
36ed4f51 RD |
24029 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24030 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24031 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24032 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
24033 | { |
24034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 24035 | result = (bool)(arg1)->Setup(arg2); |
d55e5bfc RD |
24036 | |
24037 | wxPyEndAllowThreads(__tstate); | |
24038 | if (PyErr_Occurred()) SWIG_fail; | |
24039 | } | |
24040 | { | |
070c48b4 | 24041 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d55e5bfc RD |
24042 | } |
24043 | return resultobj; | |
24044 | fail: | |
24045 | return NULL; | |
24046 | } | |
24047 | ||
24048 | ||
070c48b4 | 24049 | static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24050 | PyObject *resultobj; |
24051 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24052 | wxWindow *arg2 = (wxWindow *) 0 ; | |
24053 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
070c48b4 RD |
24054 | bool arg4 = (bool) true ; |
24055 | bool result; | |
d55e5bfc RD |
24056 | PyObject * obj0 = 0 ; |
24057 | PyObject * obj1 = 0 ; | |
24058 | PyObject * obj2 = 0 ; | |
24059 | PyObject * obj3 = 0 ; | |
24060 | char *kwnames[] = { | |
070c48b4 | 24061 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL |
d55e5bfc RD |
24062 | }; |
24063 | ||
070c48b4 | 24064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
36ed4f51 RD |
24065 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24066 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24067 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24068 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24069 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
24070 | if (SWIG_arg_fail(3)) SWIG_fail; | |
070c48b4 | 24071 | if (obj3) { |
36ed4f51 RD |
24072 | { |
24073 | arg4 = (bool)(SWIG_As_bool(obj3)); | |
24074 | if (SWIG_arg_fail(4)) SWIG_fail; | |
24075 | } | |
d55e5bfc RD |
24076 | } |
24077 | { | |
24078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 24079 | result = (bool)(arg1)->Print(arg2,arg3,arg4); |
d55e5bfc RD |
24080 | |
24081 | wxPyEndAllowThreads(__tstate); | |
24082 | if (PyErr_Occurred()) SWIG_fail; | |
24083 | } | |
d55e5bfc | 24084 | { |
070c48b4 | 24085 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d55e5bfc RD |
24086 | } |
24087 | return resultobj; | |
24088 | fail: | |
d55e5bfc RD |
24089 | return NULL; |
24090 | } | |
24091 | ||
24092 | ||
070c48b4 | 24093 | static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24094 | PyObject *resultobj; |
24095 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24096 | wxWindow *arg2 = (wxWindow *) 0 ; | |
070c48b4 | 24097 | wxDC *result; |
d55e5bfc RD |
24098 | PyObject * obj0 = 0 ; |
24099 | PyObject * obj1 = 0 ; | |
24100 | char *kwnames[] = { | |
24101 | (char *) "self",(char *) "parent", NULL | |
24102 | }; | |
24103 | ||
070c48b4 | 24104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; |
36ed4f51 RD |
24105 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24106 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24107 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24108 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
24109 | { |
24110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 24111 | result = (wxDC *)(arg1)->PrintDialog(arg2); |
d55e5bfc RD |
24112 | |
24113 | wxPyEndAllowThreads(__tstate); | |
24114 | if (PyErr_Occurred()) SWIG_fail; | |
24115 | } | |
24116 | { | |
070c48b4 | 24117 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
24118 | } |
24119 | return resultobj; | |
24120 | fail: | |
24121 | return NULL; | |
24122 | } | |
24123 | ||
24124 | ||
070c48b4 RD |
24125 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
24126 | PyObject *resultobj; | |
24127 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24128 | wxPrintDialogData *result; | |
24129 | PyObject * obj0 = 0 ; | |
24130 | char *kwnames[] = { | |
24131 | (char *) "self", NULL | |
24132 | }; | |
24133 | ||
24134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24135 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24136 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
24137 | { |
24138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24139 | { | |
24140 | wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData(); | |
24141 | result = (wxPrintDialogData *) &_result_ref; | |
24142 | } | |
24143 | ||
24144 | wxPyEndAllowThreads(__tstate); | |
24145 | if (PyErr_Occurred()) SWIG_fail; | |
24146 | } | |
24147 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
24148 | return resultobj; | |
24149 | fail: | |
24150 | return NULL; | |
24151 | } | |
24152 | ||
24153 | ||
c370783e | 24154 | static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24155 | PyObject *resultobj; |
24156 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24157 | bool result; | |
24158 | PyObject * obj0 = 0 ; | |
24159 | char *kwnames[] = { | |
24160 | (char *) "self", NULL | |
24161 | }; | |
24162 | ||
24163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24164 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24165 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24166 | { |
24167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24168 | result = (bool)(arg1)->GetAbort(); | |
24169 | ||
24170 | wxPyEndAllowThreads(__tstate); | |
24171 | if (PyErr_Occurred()) SWIG_fail; | |
24172 | } | |
24173 | { | |
24174 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24175 | } | |
24176 | return resultobj; | |
24177 | fail: | |
24178 | return NULL; | |
24179 | } | |
24180 | ||
24181 | ||
c370783e | 24182 | static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 24183 | PyObject *resultobj; |
36ed4f51 | 24184 | wxPrinterError result; |
d55e5bfc RD |
24185 | char *kwnames[] = { |
24186 | NULL | |
24187 | }; | |
24188 | ||
24189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
24190 | { | |
24191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 24192 | result = (wxPrinterError)wxPrinter::GetLastError(); |
d55e5bfc RD |
24193 | |
24194 | wxPyEndAllowThreads(__tstate); | |
24195 | if (PyErr_Occurred()) SWIG_fail; | |
24196 | } | |
36ed4f51 | 24197 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
24198 | return resultobj; |
24199 | fail: | |
24200 | return NULL; | |
24201 | } | |
24202 | ||
24203 | ||
c370783e | 24204 | static PyObject * Printer_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
24205 | PyObject *obj; |
24206 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24207 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
24208 | Py_INCREF(obj); | |
24209 | return Py_BuildValue((char *)""); | |
24210 | } | |
c370783e | 24211 | static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24212 | PyObject *resultobj; |
24213 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
24214 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
24215 | wxPyPrintout *result; | |
b411df4a | 24216 | bool temp1 = false ; |
d55e5bfc RD |
24217 | PyObject * obj0 = 0 ; |
24218 | char *kwnames[] = { | |
24219 | (char *) "title", NULL | |
24220 | }; | |
24221 | ||
24222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
24223 | if (obj0) { | |
24224 | { | |
24225 | arg1 = wxString_in_helper(obj0); | |
24226 | if (arg1 == NULL) SWIG_fail; | |
b411df4a | 24227 | temp1 = true; |
d55e5bfc RD |
24228 | } |
24229 | } | |
24230 | { | |
0439c23b | 24231 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
24232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24233 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
24234 | ||
24235 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24236 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
24237 | } |
24238 | { | |
412d302d | 24239 | resultobj = wxPyMake_wxObject(result, 1); |
d55e5bfc RD |
24240 | } |
24241 | { | |
24242 | if (temp1) | |
24243 | delete arg1; | |
24244 | } | |
24245 | return resultobj; | |
24246 | fail: | |
24247 | { | |
24248 | if (temp1) | |
24249 | delete arg1; | |
24250 | } | |
24251 | return NULL; | |
24252 | } | |
24253 | ||
24254 | ||
c370783e | 24255 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24256 | PyObject *resultobj; |
24257 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24258 | PyObject *arg2 = (PyObject *) 0 ; | |
24259 | PyObject *arg3 = (PyObject *) 0 ; | |
24260 | PyObject * obj0 = 0 ; | |
24261 | PyObject * obj1 = 0 ; | |
24262 | PyObject * obj2 = 0 ; | |
24263 | char *kwnames[] = { | |
24264 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24265 | }; | |
24266 | ||
24267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24268 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24269 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24270 | arg2 = obj1; |
24271 | arg3 = obj2; | |
24272 | { | |
24273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24274 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24275 | ||
24276 | wxPyEndAllowThreads(__tstate); | |
24277 | if (PyErr_Occurred()) SWIG_fail; | |
24278 | } | |
24279 | Py_INCREF(Py_None); resultobj = Py_None; | |
24280 | return resultobj; | |
24281 | fail: | |
24282 | return NULL; | |
24283 | } | |
24284 | ||
24285 | ||
c370783e | 24286 | static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24287 | PyObject *resultobj; |
24288 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24289 | wxString result; | |
24290 | PyObject * obj0 = 0 ; | |
24291 | char *kwnames[] = { | |
24292 | (char *) "self", NULL | |
24293 | }; | |
24294 | ||
24295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24296 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24297 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24298 | { |
24299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24300 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
24301 | ||
24302 | wxPyEndAllowThreads(__tstate); | |
24303 | if (PyErr_Occurred()) SWIG_fail; | |
24304 | } | |
24305 | { | |
24306 | #if wxUSE_UNICODE | |
24307 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
24308 | #else | |
24309 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
24310 | #endif | |
24311 | } | |
24312 | return resultobj; | |
24313 | fail: | |
24314 | return NULL; | |
24315 | } | |
24316 | ||
24317 | ||
c370783e | 24318 | static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24319 | PyObject *resultobj; |
24320 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24321 | wxDC *result; | |
24322 | PyObject * obj0 = 0 ; | |
24323 | char *kwnames[] = { | |
24324 | (char *) "self", NULL | |
24325 | }; | |
24326 | ||
24327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24328 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24329 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24330 | { |
24331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24332 | result = (wxDC *)(arg1)->GetDC(); | |
24333 | ||
24334 | wxPyEndAllowThreads(__tstate); | |
24335 | if (PyErr_Occurred()) SWIG_fail; | |
24336 | } | |
24337 | { | |
412d302d | 24338 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
24339 | } |
24340 | return resultobj; | |
24341 | fail: | |
24342 | return NULL; | |
24343 | } | |
24344 | ||
24345 | ||
c370783e | 24346 | static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24347 | PyObject *resultobj; |
24348 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24349 | wxDC *arg2 = (wxDC *) 0 ; | |
24350 | PyObject * obj0 = 0 ; | |
24351 | PyObject * obj1 = 0 ; | |
24352 | char *kwnames[] = { | |
24353 | (char *) "self",(char *) "dc", NULL | |
24354 | }; | |
24355 | ||
24356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
24357 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24358 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24359 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
24360 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
24361 | { |
24362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24363 | (arg1)->SetDC(arg2); | |
24364 | ||
24365 | wxPyEndAllowThreads(__tstate); | |
24366 | if (PyErr_Occurred()) SWIG_fail; | |
24367 | } | |
24368 | Py_INCREF(Py_None); resultobj = Py_None; | |
24369 | return resultobj; | |
24370 | fail: | |
24371 | return NULL; | |
24372 | } | |
24373 | ||
24374 | ||
c370783e | 24375 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24376 | PyObject *resultobj; |
24377 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24378 | int arg2 ; | |
24379 | int arg3 ; | |
24380 | PyObject * obj0 = 0 ; | |
24381 | PyObject * obj1 = 0 ; | |
24382 | PyObject * obj2 = 0 ; | |
24383 | char *kwnames[] = { | |
24384 | (char *) "self",(char *) "w",(char *) "h", NULL | |
24385 | }; | |
24386 | ||
24387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24388 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24389 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24390 | { | |
24391 | arg2 = (int)(SWIG_As_int(obj1)); | |
24392 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24393 | } | |
24394 | { | |
24395 | arg3 = (int)(SWIG_As_int(obj2)); | |
24396 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24397 | } | |
d55e5bfc RD |
24398 | { |
24399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24400 | (arg1)->SetPageSizePixels(arg2,arg3); | |
24401 | ||
24402 | wxPyEndAllowThreads(__tstate); | |
24403 | if (PyErr_Occurred()) SWIG_fail; | |
24404 | } | |
24405 | Py_INCREF(Py_None); resultobj = Py_None; | |
24406 | return resultobj; | |
24407 | fail: | |
24408 | return NULL; | |
24409 | } | |
24410 | ||
24411 | ||
c370783e | 24412 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24413 | PyObject *resultobj; |
24414 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24415 | int *arg2 = (int *) 0 ; | |
24416 | int *arg3 = (int *) 0 ; | |
24417 | int temp2 ; | |
c370783e | 24418 | int res2 = 0 ; |
d55e5bfc | 24419 | int temp3 ; |
c370783e | 24420 | int res3 = 0 ; |
d55e5bfc RD |
24421 | PyObject * obj0 = 0 ; |
24422 | char *kwnames[] = { | |
24423 | (char *) "self", NULL | |
24424 | }; | |
24425 | ||
c370783e RD |
24426 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24427 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 24428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
24429 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24430 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24431 | { |
24432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24433 | (arg1)->GetPageSizePixels(arg2,arg3); | |
24434 | ||
24435 | wxPyEndAllowThreads(__tstate); | |
24436 | if (PyErr_Occurred()) SWIG_fail; | |
24437 | } | |
24438 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
24439 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24440 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24441 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24442 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
24443 | return resultobj; |
24444 | fail: | |
24445 | return NULL; | |
24446 | } | |
24447 | ||
24448 | ||
c370783e | 24449 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24450 | PyObject *resultobj; |
24451 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24452 | int arg2 ; | |
24453 | int arg3 ; | |
24454 | PyObject * obj0 = 0 ; | |
24455 | PyObject * obj1 = 0 ; | |
24456 | PyObject * obj2 = 0 ; | |
24457 | char *kwnames[] = { | |
24458 | (char *) "self",(char *) "w",(char *) "h", NULL | |
24459 | }; | |
24460 | ||
24461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24462 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24463 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24464 | { | |
24465 | arg2 = (int)(SWIG_As_int(obj1)); | |
24466 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24467 | } | |
24468 | { | |
24469 | arg3 = (int)(SWIG_As_int(obj2)); | |
24470 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24471 | } | |
d55e5bfc RD |
24472 | { |
24473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24474 | (arg1)->SetPageSizeMM(arg2,arg3); | |
24475 | ||
24476 | wxPyEndAllowThreads(__tstate); | |
24477 | if (PyErr_Occurred()) SWIG_fail; | |
24478 | } | |
24479 | Py_INCREF(Py_None); resultobj = Py_None; | |
24480 | return resultobj; | |
24481 | fail: | |
24482 | return NULL; | |
24483 | } | |
24484 | ||
24485 | ||
c370783e | 24486 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24487 | PyObject *resultobj; |
24488 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24489 | int *arg2 = (int *) 0 ; | |
24490 | int *arg3 = (int *) 0 ; | |
24491 | int temp2 ; | |
c370783e | 24492 | int res2 = 0 ; |
d55e5bfc | 24493 | int temp3 ; |
c370783e | 24494 | int res3 = 0 ; |
d55e5bfc RD |
24495 | PyObject * obj0 = 0 ; |
24496 | char *kwnames[] = { | |
24497 | (char *) "self", NULL | |
24498 | }; | |
24499 | ||
c370783e RD |
24500 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24501 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 24502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
24503 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24504 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24505 | { |
24506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24507 | (arg1)->GetPageSizeMM(arg2,arg3); | |
24508 | ||
24509 | wxPyEndAllowThreads(__tstate); | |
24510 | if (PyErr_Occurred()) SWIG_fail; | |
24511 | } | |
24512 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
24513 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24514 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24515 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24516 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
24517 | return resultobj; |
24518 | fail: | |
24519 | return NULL; | |
24520 | } | |
24521 | ||
24522 | ||
c370783e | 24523 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24524 | PyObject *resultobj; |
24525 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24526 | int arg2 ; | |
24527 | int arg3 ; | |
24528 | PyObject * obj0 = 0 ; | |
24529 | PyObject * obj1 = 0 ; | |
24530 | PyObject * obj2 = 0 ; | |
24531 | char *kwnames[] = { | |
24532 | (char *) "self",(char *) "x",(char *) "y", NULL | |
24533 | }; | |
24534 | ||
24535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24536 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24537 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24538 | { | |
24539 | arg2 = (int)(SWIG_As_int(obj1)); | |
24540 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24541 | } | |
24542 | { | |
24543 | arg3 = (int)(SWIG_As_int(obj2)); | |
24544 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24545 | } | |
d55e5bfc RD |
24546 | { |
24547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24548 | (arg1)->SetPPIScreen(arg2,arg3); | |
24549 | ||
24550 | wxPyEndAllowThreads(__tstate); | |
24551 | if (PyErr_Occurred()) SWIG_fail; | |
24552 | } | |
24553 | Py_INCREF(Py_None); resultobj = Py_None; | |
24554 | return resultobj; | |
24555 | fail: | |
24556 | return NULL; | |
24557 | } | |
24558 | ||
24559 | ||
c370783e | 24560 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24561 | PyObject *resultobj; |
24562 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24563 | int *arg2 = (int *) 0 ; | |
24564 | int *arg3 = (int *) 0 ; | |
24565 | int temp2 ; | |
c370783e | 24566 | int res2 = 0 ; |
d55e5bfc | 24567 | int temp3 ; |
c370783e | 24568 | int res3 = 0 ; |
d55e5bfc RD |
24569 | PyObject * obj0 = 0 ; |
24570 | char *kwnames[] = { | |
24571 | (char *) "self", NULL | |
24572 | }; | |
24573 | ||
c370783e RD |
24574 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24575 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 24576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
24577 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24578 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24579 | { |
24580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24581 | (arg1)->GetPPIScreen(arg2,arg3); | |
24582 | ||
24583 | wxPyEndAllowThreads(__tstate); | |
24584 | if (PyErr_Occurred()) SWIG_fail; | |
24585 | } | |
24586 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
24587 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24588 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24589 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24590 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
24591 | return resultobj; |
24592 | fail: | |
24593 | return NULL; | |
24594 | } | |
24595 | ||
24596 | ||
c370783e | 24597 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24598 | PyObject *resultobj; |
24599 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24600 | int arg2 ; | |
24601 | int arg3 ; | |
24602 | PyObject * obj0 = 0 ; | |
24603 | PyObject * obj1 = 0 ; | |
24604 | PyObject * obj2 = 0 ; | |
24605 | char *kwnames[] = { | |
24606 | (char *) "self",(char *) "x",(char *) "y", NULL | |
24607 | }; | |
24608 | ||
24609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24610 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24611 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24612 | { | |
24613 | arg2 = (int)(SWIG_As_int(obj1)); | |
24614 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24615 | } | |
24616 | { | |
24617 | arg3 = (int)(SWIG_As_int(obj2)); | |
24618 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24619 | } | |
d55e5bfc RD |
24620 | { |
24621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24622 | (arg1)->SetPPIPrinter(arg2,arg3); | |
24623 | ||
24624 | wxPyEndAllowThreads(__tstate); | |
24625 | if (PyErr_Occurred()) SWIG_fail; | |
24626 | } | |
24627 | Py_INCREF(Py_None); resultobj = Py_None; | |
24628 | return resultobj; | |
24629 | fail: | |
24630 | return NULL; | |
24631 | } | |
24632 | ||
24633 | ||
c370783e | 24634 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24635 | PyObject *resultobj; |
24636 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24637 | int *arg2 = (int *) 0 ; | |
24638 | int *arg3 = (int *) 0 ; | |
24639 | int temp2 ; | |
c370783e | 24640 | int res2 = 0 ; |
d55e5bfc | 24641 | int temp3 ; |
c370783e | 24642 | int res3 = 0 ; |
d55e5bfc RD |
24643 | PyObject * obj0 = 0 ; |
24644 | char *kwnames[] = { | |
24645 | (char *) "self", NULL | |
24646 | }; | |
24647 | ||
c370783e RD |
24648 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24649 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 24650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
24651 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24652 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24653 | { |
24654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24655 | (arg1)->GetPPIPrinter(arg2,arg3); | |
24656 | ||
24657 | wxPyEndAllowThreads(__tstate); | |
24658 | if (PyErr_Occurred()) SWIG_fail; | |
24659 | } | |
24660 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
24661 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24662 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24663 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24664 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
24665 | return resultobj; |
24666 | fail: | |
24667 | return NULL; | |
24668 | } | |
24669 | ||
24670 | ||
c370783e | 24671 | static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24672 | PyObject *resultobj; |
24673 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24674 | bool result; | |
24675 | PyObject * obj0 = 0 ; | |
24676 | char *kwnames[] = { | |
24677 | (char *) "self", NULL | |
24678 | }; | |
24679 | ||
24680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24681 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24682 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24683 | { |
24684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24685 | result = (bool)(arg1)->IsPreview(); | |
24686 | ||
24687 | wxPyEndAllowThreads(__tstate); | |
24688 | if (PyErr_Occurred()) SWIG_fail; | |
24689 | } | |
24690 | { | |
24691 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24692 | } | |
24693 | return resultobj; | |
24694 | fail: | |
24695 | return NULL; | |
24696 | } | |
24697 | ||
24698 | ||
c370783e | 24699 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24700 | PyObject *resultobj; |
24701 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24702 | bool arg2 ; | |
24703 | PyObject * obj0 = 0 ; | |
24704 | PyObject * obj1 = 0 ; | |
24705 | char *kwnames[] = { | |
24706 | (char *) "self",(char *) "p", NULL | |
24707 | }; | |
24708 | ||
24709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
24710 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24711 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24712 | { | |
24713 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
24714 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24715 | } | |
d55e5bfc RD |
24716 | { |
24717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24718 | (arg1)->SetIsPreview(arg2); | |
24719 | ||
24720 | wxPyEndAllowThreads(__tstate); | |
24721 | if (PyErr_Occurred()) SWIG_fail; | |
24722 | } | |
24723 | Py_INCREF(Py_None); resultobj = Py_None; | |
24724 | return resultobj; | |
24725 | fail: | |
24726 | return NULL; | |
24727 | } | |
24728 | ||
24729 | ||
c370783e | 24730 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24731 | PyObject *resultobj; |
24732 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24733 | int arg2 ; | |
24734 | int arg3 ; | |
24735 | bool result; | |
24736 | PyObject * obj0 = 0 ; | |
24737 | PyObject * obj1 = 0 ; | |
24738 | PyObject * obj2 = 0 ; | |
24739 | char *kwnames[] = { | |
24740 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
24741 | }; | |
24742 | ||
24743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24744 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24745 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24746 | { | |
24747 | arg2 = (int)(SWIG_As_int(obj1)); | |
24748 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24749 | } | |
24750 | { | |
24751 | arg3 = (int)(SWIG_As_int(obj2)); | |
24752 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24753 | } | |
d55e5bfc RD |
24754 | { |
24755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24756 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
24757 | ||
24758 | wxPyEndAllowThreads(__tstate); | |
24759 | if (PyErr_Occurred()) SWIG_fail; | |
24760 | } | |
24761 | { | |
24762 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24763 | } | |
24764 | return resultobj; | |
24765 | fail: | |
24766 | return NULL; | |
24767 | } | |
24768 | ||
24769 | ||
c370783e | 24770 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24771 | PyObject *resultobj; |
24772 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24773 | PyObject * obj0 = 0 ; | |
24774 | char *kwnames[] = { | |
24775 | (char *) "self", NULL | |
24776 | }; | |
24777 | ||
24778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24779 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24780 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24781 | { |
24782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24783 | (arg1)->base_OnEndDocument(); | |
24784 | ||
24785 | wxPyEndAllowThreads(__tstate); | |
24786 | if (PyErr_Occurred()) SWIG_fail; | |
24787 | } | |
24788 | Py_INCREF(Py_None); resultobj = Py_None; | |
24789 | return resultobj; | |
24790 | fail: | |
24791 | return NULL; | |
24792 | } | |
24793 | ||
24794 | ||
c370783e | 24795 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24796 | PyObject *resultobj; |
24797 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24798 | PyObject * obj0 = 0 ; | |
24799 | char *kwnames[] = { | |
24800 | (char *) "self", NULL | |
24801 | }; | |
24802 | ||
24803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24804 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24805 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24806 | { |
24807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24808 | (arg1)->base_OnBeginPrinting(); | |
24809 | ||
24810 | wxPyEndAllowThreads(__tstate); | |
24811 | if (PyErr_Occurred()) SWIG_fail; | |
24812 | } | |
24813 | Py_INCREF(Py_None); resultobj = Py_None; | |
24814 | return resultobj; | |
24815 | fail: | |
24816 | return NULL; | |
24817 | } | |
24818 | ||
24819 | ||
c370783e | 24820 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24821 | PyObject *resultobj; |
24822 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24823 | PyObject * obj0 = 0 ; | |
24824 | char *kwnames[] = { | |
24825 | (char *) "self", NULL | |
24826 | }; | |
24827 | ||
24828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24829 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24830 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24831 | { |
24832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24833 | (arg1)->base_OnEndPrinting(); | |
24834 | ||
24835 | wxPyEndAllowThreads(__tstate); | |
24836 | if (PyErr_Occurred()) SWIG_fail; | |
24837 | } | |
24838 | Py_INCREF(Py_None); resultobj = Py_None; | |
24839 | return resultobj; | |
24840 | fail: | |
24841 | return NULL; | |
24842 | } | |
24843 | ||
24844 | ||
c370783e | 24845 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24846 | PyObject *resultobj; |
24847 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24848 | PyObject * obj0 = 0 ; | |
24849 | char *kwnames[] = { | |
24850 | (char *) "self", NULL | |
24851 | }; | |
24852 | ||
24853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24854 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24855 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24856 | { |
24857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24858 | (arg1)->base_OnPreparePrinting(); | |
24859 | ||
24860 | wxPyEndAllowThreads(__tstate); | |
24861 | if (PyErr_Occurred()) SWIG_fail; | |
24862 | } | |
24863 | Py_INCREF(Py_None); resultobj = Py_None; | |
24864 | return resultobj; | |
24865 | fail: | |
24866 | return NULL; | |
24867 | } | |
24868 | ||
24869 | ||
c370783e | 24870 | static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24871 | PyObject *resultobj; |
24872 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24873 | int arg2 ; | |
24874 | bool result; | |
24875 | PyObject * obj0 = 0 ; | |
24876 | PyObject * obj1 = 0 ; | |
24877 | char *kwnames[] = { | |
24878 | (char *) "self",(char *) "page", NULL | |
24879 | }; | |
24880 | ||
24881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
24882 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24883 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24884 | { | |
24885 | arg2 = (int)(SWIG_As_int(obj1)); | |
24886 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24887 | } | |
d55e5bfc RD |
24888 | { |
24889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24890 | result = (bool)(arg1)->base_HasPage(arg2); | |
24891 | ||
24892 | wxPyEndAllowThreads(__tstate); | |
24893 | if (PyErr_Occurred()) SWIG_fail; | |
24894 | } | |
24895 | { | |
24896 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24897 | } | |
24898 | return resultobj; | |
24899 | fail: | |
24900 | return NULL; | |
24901 | } | |
24902 | ||
24903 | ||
c370783e | 24904 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24905 | PyObject *resultobj; |
24906 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24907 | int *arg2 = (int *) 0 ; | |
24908 | int *arg3 = (int *) 0 ; | |
24909 | int *arg4 = (int *) 0 ; | |
24910 | int *arg5 = (int *) 0 ; | |
24911 | int temp2 ; | |
c370783e | 24912 | int res2 = 0 ; |
d55e5bfc | 24913 | int temp3 ; |
c370783e | 24914 | int res3 = 0 ; |
d55e5bfc | 24915 | int temp4 ; |
c370783e | 24916 | int res4 = 0 ; |
d55e5bfc | 24917 | int temp5 ; |
c370783e | 24918 | int res5 = 0 ; |
d55e5bfc RD |
24919 | PyObject * obj0 = 0 ; |
24920 | char *kwnames[] = { | |
24921 | (char *) "self", NULL | |
24922 | }; | |
24923 | ||
c370783e RD |
24924 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24925 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
24926 | arg4 = &temp4; res4 = SWIG_NEWOBJ; | |
24927 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d55e5bfc | 24928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
24929 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24930 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24931 | { |
24932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24933 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
24934 | ||
24935 | wxPyEndAllowThreads(__tstate); | |
24936 | if (PyErr_Occurred()) SWIG_fail; | |
24937 | } | |
24938 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
24939 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24940 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24941 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24942 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
24943 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? | |
24944 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
24945 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
24946 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
24947 | return resultobj; |
24948 | fail: | |
24949 | return NULL; | |
24950 | } | |
24951 | ||
24952 | ||
c370783e | 24953 | static PyObject * Printout_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
24954 | PyObject *obj; |
24955 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24956 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
24957 | Py_INCREF(obj); | |
24958 | return Py_BuildValue((char *)""); | |
24959 | } | |
c370783e | 24960 | static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24961 | PyObject *resultobj; |
24962 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24963 | wxWindow *arg2 = (wxWindow *) 0 ; | |
24964 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
24965 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
24966 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
24967 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
24968 | long arg5 = (long) 0 ; | |
24969 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
24970 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
24971 | wxPreviewCanvas *result; | |
24972 | wxPoint temp3 ; | |
24973 | wxSize temp4 ; | |
b411df4a | 24974 | bool temp6 = false ; |
d55e5bfc RD |
24975 | PyObject * obj0 = 0 ; |
24976 | PyObject * obj1 = 0 ; | |
24977 | PyObject * obj2 = 0 ; | |
24978 | PyObject * obj3 = 0 ; | |
24979 | PyObject * obj4 = 0 ; | |
24980 | PyObject * obj5 = 0 ; | |
24981 | char *kwnames[] = { | |
24982 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
24983 | }; | |
24984 | ||
24985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
24986 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
24987 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24988 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24989 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
24990 | if (obj2) { |
24991 | { | |
24992 | arg3 = &temp3; | |
24993 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
24994 | } | |
24995 | } | |
24996 | if (obj3) { | |
24997 | { | |
24998 | arg4 = &temp4; | |
24999 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
25000 | } | |
25001 | } | |
25002 | if (obj4) { | |
36ed4f51 RD |
25003 | { |
25004 | arg5 = (long)(SWIG_As_long(obj4)); | |
25005 | if (SWIG_arg_fail(5)) SWIG_fail; | |
25006 | } | |
d55e5bfc RD |
25007 | } |
25008 | if (obj5) { | |
25009 | { | |
25010 | arg6 = wxString_in_helper(obj5); | |
25011 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 25012 | temp6 = true; |
d55e5bfc RD |
25013 | } |
25014 | } | |
25015 | { | |
0439c23b | 25016 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25018 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
25019 | ||
25020 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25021 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25022 | } |
25023 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); | |
25024 | { | |
25025 | if (temp6) | |
25026 | delete arg6; | |
25027 | } | |
25028 | return resultobj; | |
25029 | fail: | |
25030 | { | |
25031 | if (temp6) | |
25032 | delete arg6; | |
25033 | } | |
25034 | return NULL; | |
25035 | } | |
25036 | ||
25037 | ||
c370783e | 25038 | static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25039 | PyObject *obj; |
25040 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25041 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
25042 | Py_INCREF(obj); | |
25043 | return Py_BuildValue((char *)""); | |
25044 | } | |
c370783e | 25045 | static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25046 | PyObject *resultobj; |
25047 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25048 | wxFrame *arg2 = (wxFrame *) 0 ; | |
25049 | wxString *arg3 = 0 ; | |
25050 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
25051 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
25052 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
25053 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
25054 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
25055 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
25056 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
25057 | wxPreviewFrame *result; | |
b411df4a | 25058 | bool temp3 = false ; |
d55e5bfc RD |
25059 | wxPoint temp4 ; |
25060 | wxSize temp5 ; | |
b411df4a | 25061 | bool temp7 = false ; |
d55e5bfc RD |
25062 | PyObject * obj0 = 0 ; |
25063 | PyObject * obj1 = 0 ; | |
25064 | PyObject * obj2 = 0 ; | |
25065 | PyObject * obj3 = 0 ; | |
25066 | PyObject * obj4 = 0 ; | |
25067 | PyObject * obj5 = 0 ; | |
25068 | PyObject * obj6 = 0 ; | |
25069 | char *kwnames[] = { | |
25070 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25071 | }; | |
25072 | ||
25073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
25074 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25075 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25076 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
25077 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
25078 | { |
25079 | arg3 = wxString_in_helper(obj2); | |
25080 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 25081 | temp3 = true; |
d55e5bfc RD |
25082 | } |
25083 | if (obj3) { | |
25084 | { | |
25085 | arg4 = &temp4; | |
25086 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
25087 | } | |
25088 | } | |
25089 | if (obj4) { | |
25090 | { | |
25091 | arg5 = &temp5; | |
25092 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
25093 | } | |
25094 | } | |
25095 | if (obj5) { | |
36ed4f51 RD |
25096 | { |
25097 | arg6 = (long)(SWIG_As_long(obj5)); | |
25098 | if (SWIG_arg_fail(6)) SWIG_fail; | |
25099 | } | |
d55e5bfc RD |
25100 | } |
25101 | if (obj6) { | |
25102 | { | |
25103 | arg7 = wxString_in_helper(obj6); | |
25104 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 25105 | temp7 = true; |
d55e5bfc RD |
25106 | } |
25107 | } | |
25108 | { | |
0439c23b | 25109 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25111 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
25112 | ||
25113 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25114 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25115 | } |
25116 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); | |
25117 | { | |
25118 | if (temp3) | |
25119 | delete arg3; | |
25120 | } | |
25121 | { | |
25122 | if (temp7) | |
25123 | delete arg7; | |
25124 | } | |
25125 | return resultobj; | |
25126 | fail: | |
25127 | { | |
25128 | if (temp3) | |
25129 | delete arg3; | |
25130 | } | |
25131 | { | |
25132 | if (temp7) | |
25133 | delete arg7; | |
25134 | } | |
25135 | return NULL; | |
25136 | } | |
25137 | ||
25138 | ||
c370783e | 25139 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25140 | PyObject *resultobj; |
25141 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
25142 | PyObject * obj0 = 0 ; | |
25143 | char *kwnames[] = { | |
25144 | (char *) "self", NULL | |
25145 | }; | |
25146 | ||
25147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25148 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25149 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25150 | { |
25151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25152 | (arg1)->Initialize(); | |
25153 | ||
25154 | wxPyEndAllowThreads(__tstate); | |
25155 | if (PyErr_Occurred()) SWIG_fail; | |
25156 | } | |
25157 | Py_INCREF(Py_None); resultobj = Py_None; | |
25158 | return resultobj; | |
25159 | fail: | |
25160 | return NULL; | |
25161 | } | |
25162 | ||
25163 | ||
c370783e | 25164 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25165 | PyObject *resultobj; |
25166 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
25167 | PyObject * obj0 = 0 ; | |
25168 | char *kwnames[] = { | |
25169 | (char *) "self", NULL | |
25170 | }; | |
25171 | ||
25172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25173 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25174 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25175 | { |
25176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25177 | (arg1)->CreateControlBar(); | |
25178 | ||
25179 | wxPyEndAllowThreads(__tstate); | |
25180 | if (PyErr_Occurred()) SWIG_fail; | |
25181 | } | |
25182 | Py_INCREF(Py_None); resultobj = Py_None; | |
25183 | return resultobj; | |
25184 | fail: | |
25185 | return NULL; | |
25186 | } | |
25187 | ||
25188 | ||
c370783e | 25189 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25190 | PyObject *resultobj; |
25191 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
25192 | PyObject * obj0 = 0 ; | |
25193 | char *kwnames[] = { | |
25194 | (char *) "self", NULL | |
25195 | }; | |
25196 | ||
25197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25198 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25199 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25200 | { |
25201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25202 | (arg1)->CreateCanvas(); | |
25203 | ||
25204 | wxPyEndAllowThreads(__tstate); | |
25205 | if (PyErr_Occurred()) SWIG_fail; | |
25206 | } | |
25207 | Py_INCREF(Py_None); resultobj = Py_None; | |
25208 | return resultobj; | |
25209 | fail: | |
25210 | return NULL; | |
25211 | } | |
25212 | ||
25213 | ||
c370783e | 25214 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25215 | PyObject *resultobj; |
25216 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
25217 | wxPreviewControlBar *result; | |
25218 | PyObject * obj0 = 0 ; | |
25219 | char *kwnames[] = { | |
25220 | (char *) "self", NULL | |
25221 | }; | |
25222 | ||
25223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25224 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25225 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25226 | { |
25227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25228 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
25229 | ||
25230 | wxPyEndAllowThreads(__tstate); | |
25231 | if (PyErr_Occurred()) SWIG_fail; | |
25232 | } | |
25233 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); | |
25234 | return resultobj; | |
25235 | fail: | |
25236 | return NULL; | |
25237 | } | |
25238 | ||
25239 | ||
c370783e | 25240 | static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25241 | PyObject *obj; |
25242 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25243 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
25244 | Py_INCREF(obj); | |
25245 | return Py_BuildValue((char *)""); | |
25246 | } | |
c370783e | 25247 | static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25248 | PyObject *resultobj; |
25249 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25250 | long arg2 ; | |
25251 | wxWindow *arg3 = (wxWindow *) 0 ; | |
25252 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
25253 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
25254 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
25255 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
25256 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
25257 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
25258 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
25259 | wxPreviewControlBar *result; | |
25260 | wxPoint temp4 ; | |
25261 | wxSize temp5 ; | |
b411df4a | 25262 | bool temp7 = false ; |
d55e5bfc RD |
25263 | PyObject * obj0 = 0 ; |
25264 | PyObject * obj1 = 0 ; | |
25265 | PyObject * obj2 = 0 ; | |
25266 | PyObject * obj3 = 0 ; | |
25267 | PyObject * obj4 = 0 ; | |
25268 | PyObject * obj5 = 0 ; | |
25269 | PyObject * obj6 = 0 ; | |
25270 | char *kwnames[] = { | |
25271 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25272 | }; | |
25273 | ||
25274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
25275 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25276 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25277 | { | |
25278 | arg2 = (long)(SWIG_As_long(obj1)); | |
25279 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25280 | } | |
25281 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
25282 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
25283 | if (obj3) { |
25284 | { | |
25285 | arg4 = &temp4; | |
25286 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
25287 | } | |
25288 | } | |
25289 | if (obj4) { | |
25290 | { | |
25291 | arg5 = &temp5; | |
25292 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
25293 | } | |
25294 | } | |
25295 | if (obj5) { | |
36ed4f51 RD |
25296 | { |
25297 | arg6 = (long)(SWIG_As_long(obj5)); | |
25298 | if (SWIG_arg_fail(6)) SWIG_fail; | |
25299 | } | |
d55e5bfc RD |
25300 | } |
25301 | if (obj6) { | |
25302 | { | |
25303 | arg7 = wxString_in_helper(obj6); | |
25304 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 25305 | temp7 = true; |
d55e5bfc RD |
25306 | } |
25307 | } | |
25308 | { | |
0439c23b | 25309 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25311 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
25312 | ||
25313 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25314 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25315 | } |
25316 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); | |
25317 | { | |
25318 | if (temp7) | |
25319 | delete arg7; | |
25320 | } | |
25321 | return resultobj; | |
25322 | fail: | |
25323 | { | |
25324 | if (temp7) | |
25325 | delete arg7; | |
25326 | } | |
25327 | return NULL; | |
25328 | } | |
25329 | ||
25330 | ||
c370783e | 25331 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25332 | PyObject *resultobj; |
25333 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25334 | int result; | |
25335 | PyObject * obj0 = 0 ; | |
25336 | char *kwnames[] = { | |
25337 | (char *) "self", NULL | |
25338 | }; | |
25339 | ||
25340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25341 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25342 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25343 | { |
25344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25345 | result = (int)(arg1)->GetZoomControl(); | |
25346 | ||
25347 | wxPyEndAllowThreads(__tstate); | |
25348 | if (PyErr_Occurred()) SWIG_fail; | |
25349 | } | |
36ed4f51 RD |
25350 | { |
25351 | resultobj = SWIG_From_int((int)(result)); | |
25352 | } | |
d55e5bfc RD |
25353 | return resultobj; |
25354 | fail: | |
25355 | return NULL; | |
25356 | } | |
25357 | ||
25358 | ||
c370783e | 25359 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25360 | PyObject *resultobj; |
25361 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25362 | int arg2 ; | |
25363 | PyObject * obj0 = 0 ; | |
25364 | PyObject * obj1 = 0 ; | |
25365 | char *kwnames[] = { | |
25366 | (char *) "self",(char *) "zoom", NULL | |
25367 | }; | |
25368 | ||
25369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
25370 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25371 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25372 | { | |
25373 | arg2 = (int)(SWIG_As_int(obj1)); | |
25374 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25375 | } | |
d55e5bfc RD |
25376 | { |
25377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25378 | (arg1)->SetZoomControl(arg2); | |
25379 | ||
25380 | wxPyEndAllowThreads(__tstate); | |
25381 | if (PyErr_Occurred()) SWIG_fail; | |
25382 | } | |
25383 | Py_INCREF(Py_None); resultobj = Py_None; | |
25384 | return resultobj; | |
25385 | fail: | |
25386 | return NULL; | |
25387 | } | |
25388 | ||
25389 | ||
c370783e | 25390 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25391 | PyObject *resultobj; |
25392 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25393 | wxPrintPreview *result; | |
25394 | PyObject * obj0 = 0 ; | |
25395 | char *kwnames[] = { | |
25396 | (char *) "self", NULL | |
25397 | }; | |
25398 | ||
25399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25400 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25401 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25402 | { |
25403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25404 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
25405 | ||
25406 | wxPyEndAllowThreads(__tstate); | |
25407 | if (PyErr_Occurred()) SWIG_fail; | |
25408 | } | |
25409 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); | |
25410 | return resultobj; | |
25411 | fail: | |
25412 | return NULL; | |
25413 | } | |
25414 | ||
25415 | ||
c370783e | 25416 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25417 | PyObject *resultobj; |
25418 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25419 | PyObject * obj0 = 0 ; | |
25420 | char *kwnames[] = { | |
25421 | (char *) "self", NULL | |
25422 | }; | |
25423 | ||
25424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25425 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25426 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25427 | { |
25428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25429 | (arg1)->OnNext(); | |
25430 | ||
25431 | wxPyEndAllowThreads(__tstate); | |
25432 | if (PyErr_Occurred()) SWIG_fail; | |
25433 | } | |
25434 | Py_INCREF(Py_None); resultobj = Py_None; | |
25435 | return resultobj; | |
25436 | fail: | |
25437 | return NULL; | |
25438 | } | |
25439 | ||
25440 | ||
c370783e | 25441 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25442 | PyObject *resultobj; |
25443 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25444 | PyObject * obj0 = 0 ; | |
25445 | char *kwnames[] = { | |
25446 | (char *) "self", NULL | |
25447 | }; | |
25448 | ||
25449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25450 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25451 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25452 | { |
25453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25454 | (arg1)->OnPrevious(); | |
25455 | ||
25456 | wxPyEndAllowThreads(__tstate); | |
25457 | if (PyErr_Occurred()) SWIG_fail; | |
25458 | } | |
25459 | Py_INCREF(Py_None); resultobj = Py_None; | |
25460 | return resultobj; | |
25461 | fail: | |
25462 | return NULL; | |
25463 | } | |
25464 | ||
25465 | ||
c370783e | 25466 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25467 | PyObject *resultobj; |
25468 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25469 | PyObject * obj0 = 0 ; | |
25470 | char *kwnames[] = { | |
25471 | (char *) "self", NULL | |
25472 | }; | |
25473 | ||
25474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25475 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25476 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25477 | { |
25478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25479 | (arg1)->OnFirst(); | |
25480 | ||
25481 | wxPyEndAllowThreads(__tstate); | |
25482 | if (PyErr_Occurred()) SWIG_fail; | |
25483 | } | |
25484 | Py_INCREF(Py_None); resultobj = Py_None; | |
25485 | return resultobj; | |
25486 | fail: | |
25487 | return NULL; | |
25488 | } | |
25489 | ||
25490 | ||
c370783e | 25491 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25492 | PyObject *resultobj; |
25493 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25494 | PyObject * obj0 = 0 ; | |
25495 | char *kwnames[] = { | |
25496 | (char *) "self", NULL | |
25497 | }; | |
25498 | ||
25499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25500 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25501 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25502 | { |
25503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25504 | (arg1)->OnLast(); | |
25505 | ||
25506 | wxPyEndAllowThreads(__tstate); | |
25507 | if (PyErr_Occurred()) SWIG_fail; | |
25508 | } | |
25509 | Py_INCREF(Py_None); resultobj = Py_None; | |
25510 | return resultobj; | |
25511 | fail: | |
25512 | return NULL; | |
25513 | } | |
25514 | ||
25515 | ||
c370783e | 25516 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25517 | PyObject *resultobj; |
25518 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25519 | PyObject * obj0 = 0 ; | |
25520 | char *kwnames[] = { | |
25521 | (char *) "self", NULL | |
25522 | }; | |
25523 | ||
25524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25525 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25526 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25527 | { |
25528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25529 | (arg1)->OnGoto(); | |
25530 | ||
25531 | wxPyEndAllowThreads(__tstate); | |
25532 | if (PyErr_Occurred()) SWIG_fail; | |
25533 | } | |
25534 | Py_INCREF(Py_None); resultobj = Py_None; | |
25535 | return resultobj; | |
25536 | fail: | |
25537 | return NULL; | |
25538 | } | |
25539 | ||
25540 | ||
c370783e | 25541 | static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25542 | PyObject *obj; |
25543 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25544 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
25545 | Py_INCREF(obj); | |
25546 | return Py_BuildValue((char *)""); | |
25547 | } | |
c370783e | 25548 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
25549 | PyObject *resultobj; |
25550 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25551 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
25552 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; | |
25553 | wxPrintPreview *result; | |
25554 | PyObject * obj0 = 0 ; | |
25555 | PyObject * obj1 = 0 ; | |
25556 | PyObject * obj2 = 0 ; | |
25557 | ||
25558 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
25559 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25560 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25561 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
25562 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 25563 | if (obj2) { |
36ed4f51 RD |
25564 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
25565 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
25566 | } |
25567 | { | |
0439c23b | 25568 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25570 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
25571 | ||
25572 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25573 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25574 | } |
25575 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
25576 | return resultobj; | |
25577 | fail: | |
25578 | return NULL; | |
25579 | } | |
25580 | ||
25581 | ||
c370783e | 25582 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
25583 | PyObject *resultobj; |
25584 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25585 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
25586 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
25587 | wxPrintPreview *result; | |
25588 | PyObject * obj0 = 0 ; | |
25589 | PyObject * obj1 = 0 ; | |
25590 | PyObject * obj2 = 0 ; | |
25591 | ||
25592 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
25593 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25594 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25595 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
25596 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25597 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
25598 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc | 25599 | { |
0439c23b | 25600 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25602 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
25603 | ||
25604 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25605 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25606 | } |
25607 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
25608 | return resultobj; | |
25609 | fail: | |
25610 | return NULL; | |
25611 | } | |
25612 | ||
25613 | ||
25614 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
25615 | int argc; | |
25616 | PyObject *argv[4]; | |
25617 | int ii; | |
25618 | ||
25619 | argc = PyObject_Length(args); | |
25620 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
25621 | argv[ii] = PyTuple_GetItem(args,ii); | |
25622 | } | |
25623 | if ((argc >= 2) && (argc <= 3)) { | |
25624 | int _v; | |
25625 | { | |
25626 | void *ptr; | |
25627 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25628 | _v = 0; | |
25629 | PyErr_Clear(); | |
25630 | } else { | |
25631 | _v = 1; | |
25632 | } | |
25633 | } | |
25634 | if (_v) { | |
25635 | { | |
25636 | void *ptr; | |
25637 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25638 | _v = 0; | |
25639 | PyErr_Clear(); | |
25640 | } else { | |
25641 | _v = 1; | |
25642 | } | |
25643 | } | |
25644 | if (_v) { | |
25645 | if (argc <= 2) { | |
25646 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
25647 | } | |
25648 | { | |
25649 | void *ptr; | |
25650 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
25651 | _v = 0; | |
25652 | PyErr_Clear(); | |
25653 | } else { | |
25654 | _v = 1; | |
25655 | } | |
25656 | } | |
25657 | if (_v) { | |
25658 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
25659 | } | |
25660 | } | |
25661 | } | |
25662 | } | |
25663 | if (argc == 3) { | |
25664 | int _v; | |
25665 | { | |
25666 | void *ptr; | |
25667 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25668 | _v = 0; | |
25669 | PyErr_Clear(); | |
25670 | } else { | |
25671 | _v = 1; | |
25672 | } | |
25673 | } | |
25674 | if (_v) { | |
25675 | { | |
25676 | void *ptr; | |
25677 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25678 | _v = 0; | |
25679 | PyErr_Clear(); | |
25680 | } else { | |
25681 | _v = 1; | |
25682 | } | |
25683 | } | |
25684 | if (_v) { | |
25685 | { | |
25686 | void *ptr; | |
25687 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
25688 | _v = 0; | |
25689 | PyErr_Clear(); | |
25690 | } else { | |
25691 | _v = 1; | |
25692 | } | |
25693 | } | |
25694 | if (_v) { | |
25695 | return _wrap_new_PrintPreview__SWIG_1(self,args); | |
25696 | } | |
25697 | } | |
25698 | } | |
25699 | } | |
25700 | ||
36ed4f51 | 25701 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'"); |
d55e5bfc RD |
25702 | return NULL; |
25703 | } | |
25704 | ||
25705 | ||
c370783e | 25706 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25707 | PyObject *resultobj; |
25708 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25709 | int arg2 ; | |
25710 | bool result; | |
25711 | PyObject * obj0 = 0 ; | |
25712 | PyObject * obj1 = 0 ; | |
25713 | char *kwnames[] = { | |
25714 | (char *) "self",(char *) "pageNum", NULL | |
25715 | }; | |
25716 | ||
25717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
25718 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25719 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25720 | { | |
25721 | arg2 = (int)(SWIG_As_int(obj1)); | |
25722 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25723 | } | |
d55e5bfc RD |
25724 | { |
25725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25726 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
25727 | ||
25728 | wxPyEndAllowThreads(__tstate); | |
25729 | if (PyErr_Occurred()) SWIG_fail; | |
25730 | } | |
25731 | { | |
25732 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
25733 | } | |
25734 | return resultobj; | |
25735 | fail: | |
25736 | return NULL; | |
25737 | } | |
25738 | ||
25739 | ||
c370783e | 25740 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25741 | PyObject *resultobj; |
25742 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25743 | int result; | |
25744 | PyObject * obj0 = 0 ; | |
25745 | char *kwnames[] = { | |
25746 | (char *) "self", NULL | |
25747 | }; | |
25748 | ||
25749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25750 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25751 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25752 | { |
25753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25754 | result = (int)(arg1)->GetCurrentPage(); | |
25755 | ||
25756 | wxPyEndAllowThreads(__tstate); | |
25757 | if (PyErr_Occurred()) SWIG_fail; | |
25758 | } | |
36ed4f51 RD |
25759 | { |
25760 | resultobj = SWIG_From_int((int)(result)); | |
25761 | } | |
d55e5bfc RD |
25762 | return resultobj; |
25763 | fail: | |
25764 | return NULL; | |
25765 | } | |
25766 | ||
25767 | ||
c370783e | 25768 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25769 | PyObject *resultobj; |
25770 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25771 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
25772 | PyObject * obj0 = 0 ; | |
25773 | PyObject * obj1 = 0 ; | |
25774 | char *kwnames[] = { | |
25775 | (char *) "self",(char *) "printout", NULL | |
25776 | }; | |
25777 | ||
25778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
25779 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25780 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25781 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
25782 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
25783 | { |
25784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25785 | (arg1)->SetPrintout(arg2); | |
25786 | ||
25787 | wxPyEndAllowThreads(__tstate); | |
25788 | if (PyErr_Occurred()) SWIG_fail; | |
25789 | } | |
25790 | Py_INCREF(Py_None); resultobj = Py_None; | |
25791 | return resultobj; | |
25792 | fail: | |
25793 | return NULL; | |
25794 | } | |
25795 | ||
25796 | ||
c370783e | 25797 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25798 | PyObject *resultobj; |
25799 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25800 | wxPyPrintout *result; | |
25801 | PyObject * obj0 = 0 ; | |
25802 | char *kwnames[] = { | |
25803 | (char *) "self", NULL | |
25804 | }; | |
25805 | ||
25806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25807 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25808 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25809 | { |
25810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25811 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
25812 | ||
25813 | wxPyEndAllowThreads(__tstate); | |
25814 | if (PyErr_Occurred()) SWIG_fail; | |
25815 | } | |
25816 | { | |
412d302d | 25817 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
25818 | } |
25819 | return resultobj; | |
25820 | fail: | |
25821 | return NULL; | |
25822 | } | |
25823 | ||
25824 | ||
c370783e | 25825 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25826 | PyObject *resultobj; |
25827 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25828 | wxPyPrintout *result; | |
25829 | PyObject * obj0 = 0 ; | |
25830 | char *kwnames[] = { | |
25831 | (char *) "self", NULL | |
25832 | }; | |
25833 | ||
25834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25835 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25836 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25837 | { |
25838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25839 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
25840 | ||
25841 | wxPyEndAllowThreads(__tstate); | |
25842 | if (PyErr_Occurred()) SWIG_fail; | |
25843 | } | |
25844 | { | |
412d302d | 25845 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
25846 | } |
25847 | return resultobj; | |
25848 | fail: | |
25849 | return NULL; | |
25850 | } | |
25851 | ||
25852 | ||
c370783e | 25853 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25854 | PyObject *resultobj; |
25855 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25856 | wxFrame *arg2 = (wxFrame *) 0 ; | |
25857 | PyObject * obj0 = 0 ; | |
25858 | PyObject * obj1 = 0 ; | |
25859 | char *kwnames[] = { | |
25860 | (char *) "self",(char *) "frame", NULL | |
25861 | }; | |
25862 | ||
25863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
25864 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25865 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25866 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
25867 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
25868 | { |
25869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25870 | (arg1)->SetFrame(arg2); | |
25871 | ||
25872 | wxPyEndAllowThreads(__tstate); | |
25873 | if (PyErr_Occurred()) SWIG_fail; | |
25874 | } | |
25875 | Py_INCREF(Py_None); resultobj = Py_None; | |
25876 | return resultobj; | |
25877 | fail: | |
25878 | return NULL; | |
25879 | } | |
25880 | ||
25881 | ||
c370783e | 25882 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25883 | PyObject *resultobj; |
25884 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25885 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
25886 | PyObject * obj0 = 0 ; | |
25887 | PyObject * obj1 = 0 ; | |
25888 | char *kwnames[] = { | |
25889 | (char *) "self",(char *) "canvas", NULL | |
25890 | }; | |
25891 | ||
25892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
25893 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25894 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25895 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
25896 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
25897 | { |
25898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25899 | (arg1)->SetCanvas(arg2); | |
25900 | ||
25901 | wxPyEndAllowThreads(__tstate); | |
25902 | if (PyErr_Occurred()) SWIG_fail; | |
25903 | } | |
25904 | Py_INCREF(Py_None); resultobj = Py_None; | |
25905 | return resultobj; | |
25906 | fail: | |
25907 | return NULL; | |
25908 | } | |
25909 | ||
25910 | ||
c370783e | 25911 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25912 | PyObject *resultobj; |
25913 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25914 | wxFrame *result; | |
25915 | PyObject * obj0 = 0 ; | |
25916 | char *kwnames[] = { | |
25917 | (char *) "self", NULL | |
25918 | }; | |
25919 | ||
25920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25921 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25922 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25923 | { |
25924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25925 | result = (wxFrame *)(arg1)->GetFrame(); | |
25926 | ||
25927 | wxPyEndAllowThreads(__tstate); | |
25928 | if (PyErr_Occurred()) SWIG_fail; | |
25929 | } | |
25930 | { | |
412d302d | 25931 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
25932 | } |
25933 | return resultobj; | |
25934 | fail: | |
25935 | return NULL; | |
25936 | } | |
25937 | ||
25938 | ||
c370783e | 25939 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25940 | PyObject *resultobj; |
25941 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25942 | wxPreviewCanvas *result; | |
25943 | PyObject * obj0 = 0 ; | |
25944 | char *kwnames[] = { | |
25945 | (char *) "self", NULL | |
25946 | }; | |
25947 | ||
25948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25949 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25950 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25951 | { |
25952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25953 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
25954 | ||
25955 | wxPyEndAllowThreads(__tstate); | |
25956 | if (PyErr_Occurred()) SWIG_fail; | |
25957 | } | |
25958 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); | |
25959 | return resultobj; | |
25960 | fail: | |
25961 | return NULL; | |
25962 | } | |
25963 | ||
25964 | ||
c370783e | 25965 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25966 | PyObject *resultobj; |
25967 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25968 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
25969 | wxDC *arg3 = 0 ; | |
25970 | bool result; | |
25971 | PyObject * obj0 = 0 ; | |
25972 | PyObject * obj1 = 0 ; | |
25973 | PyObject * obj2 = 0 ; | |
25974 | char *kwnames[] = { | |
25975 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
25976 | }; | |
25977 | ||
25978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
25979 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25980 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25981 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
25982 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25983 | { | |
25984 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
25985 | if (SWIG_arg_fail(3)) SWIG_fail; | |
25986 | if (arg3 == NULL) { | |
25987 | SWIG_null_ref("wxDC"); | |
25988 | } | |
25989 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
25990 | } |
25991 | { | |
25992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25993 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
25994 | ||
25995 | wxPyEndAllowThreads(__tstate); | |
25996 | if (PyErr_Occurred()) SWIG_fail; | |
25997 | } | |
25998 | { | |
25999 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26000 | } | |
26001 | return resultobj; | |
26002 | fail: | |
26003 | return NULL; | |
26004 | } | |
26005 | ||
26006 | ||
c370783e | 26007 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26008 | PyObject *resultobj; |
26009 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26010 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26011 | wxDC *arg3 = 0 ; | |
26012 | bool result; | |
26013 | PyObject * obj0 = 0 ; | |
26014 | PyObject * obj1 = 0 ; | |
26015 | PyObject * obj2 = 0 ; | |
26016 | char *kwnames[] = { | |
26017 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26018 | }; | |
26019 | ||
26020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26021 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26022 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26023 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26024 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26025 | { | |
26026 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26027 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26028 | if (arg3 == NULL) { | |
26029 | SWIG_null_ref("wxDC"); | |
26030 | } | |
26031 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26032 | } |
26033 | { | |
26034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26035 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
26036 | ||
26037 | wxPyEndAllowThreads(__tstate); | |
26038 | if (PyErr_Occurred()) SWIG_fail; | |
26039 | } | |
26040 | { | |
26041 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26042 | } | |
26043 | return resultobj; | |
26044 | fail: | |
26045 | return NULL; | |
26046 | } | |
26047 | ||
26048 | ||
c370783e | 26049 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26050 | PyObject *resultobj; |
26051 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26052 | int arg2 ; | |
26053 | bool result; | |
26054 | PyObject * obj0 = 0 ; | |
26055 | PyObject * obj1 = 0 ; | |
26056 | char *kwnames[] = { | |
26057 | (char *) "self",(char *) "pageNum", NULL | |
26058 | }; | |
26059 | ||
26060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26061 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26062 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26063 | { | |
26064 | arg2 = (int)(SWIG_As_int(obj1)); | |
26065 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26066 | } | |
d55e5bfc RD |
26067 | { |
26068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26069 | result = (bool)(arg1)->RenderPage(arg2); | |
26070 | ||
26071 | wxPyEndAllowThreads(__tstate); | |
26072 | if (PyErr_Occurred()) SWIG_fail; | |
26073 | } | |
26074 | { | |
26075 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26076 | } | |
26077 | return resultobj; | |
26078 | fail: | |
26079 | return NULL; | |
26080 | } | |
26081 | ||
26082 | ||
c370783e | 26083 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26084 | PyObject *resultobj; |
26085 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26086 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26087 | PyObject * obj0 = 0 ; | |
26088 | PyObject * obj1 = 0 ; | |
26089 | char *kwnames[] = { | |
26090 | (char *) "self",(char *) "canvas", NULL | |
26091 | }; | |
26092 | ||
26093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26094 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26095 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26096 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26097 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
26098 | { |
26099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26100 | (arg1)->AdjustScrollbars(arg2); | |
26101 | ||
26102 | wxPyEndAllowThreads(__tstate); | |
26103 | if (PyErr_Occurred()) SWIG_fail; | |
26104 | } | |
26105 | Py_INCREF(Py_None); resultobj = Py_None; | |
26106 | return resultobj; | |
26107 | fail: | |
26108 | return NULL; | |
26109 | } | |
26110 | ||
26111 | ||
c370783e | 26112 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26113 | PyObject *resultobj; |
26114 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26115 | wxPrintDialogData *result; | |
26116 | PyObject * obj0 = 0 ; | |
26117 | char *kwnames[] = { | |
26118 | (char *) "self", NULL | |
26119 | }; | |
26120 | ||
26121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26122 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26123 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26124 | { |
26125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26126 | { | |
26127 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
26128 | result = (wxPrintDialogData *) &_result_ref; | |
26129 | } | |
26130 | ||
26131 | wxPyEndAllowThreads(__tstate); | |
26132 | if (PyErr_Occurred()) SWIG_fail; | |
26133 | } | |
26134 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
26135 | return resultobj; | |
26136 | fail: | |
26137 | return NULL; | |
26138 | } | |
26139 | ||
26140 | ||
c370783e | 26141 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26142 | PyObject *resultobj; |
26143 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26144 | int arg2 ; | |
26145 | PyObject * obj0 = 0 ; | |
26146 | PyObject * obj1 = 0 ; | |
26147 | char *kwnames[] = { | |
26148 | (char *) "self",(char *) "percent", NULL | |
26149 | }; | |
26150 | ||
26151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26152 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26153 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26154 | { | |
26155 | arg2 = (int)(SWIG_As_int(obj1)); | |
26156 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26157 | } | |
d55e5bfc RD |
26158 | { |
26159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26160 | (arg1)->SetZoom(arg2); | |
26161 | ||
26162 | wxPyEndAllowThreads(__tstate); | |
26163 | if (PyErr_Occurred()) SWIG_fail; | |
26164 | } | |
26165 | Py_INCREF(Py_None); resultobj = Py_None; | |
26166 | return resultobj; | |
26167 | fail: | |
26168 | return NULL; | |
26169 | } | |
26170 | ||
26171 | ||
c370783e | 26172 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26173 | PyObject *resultobj; |
26174 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26175 | int result; | |
26176 | PyObject * obj0 = 0 ; | |
26177 | char *kwnames[] = { | |
26178 | (char *) "self", NULL | |
26179 | }; | |
26180 | ||
26181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26182 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26183 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26184 | { |
26185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26186 | result = (int)(arg1)->GetZoom(); | |
26187 | ||
26188 | wxPyEndAllowThreads(__tstate); | |
26189 | if (PyErr_Occurred()) SWIG_fail; | |
26190 | } | |
36ed4f51 RD |
26191 | { |
26192 | resultobj = SWIG_From_int((int)(result)); | |
26193 | } | |
d55e5bfc RD |
26194 | return resultobj; |
26195 | fail: | |
26196 | return NULL; | |
26197 | } | |
26198 | ||
26199 | ||
c370783e | 26200 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26201 | PyObject *resultobj; |
26202 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26203 | int result; | |
26204 | PyObject * obj0 = 0 ; | |
26205 | char *kwnames[] = { | |
26206 | (char *) "self", NULL | |
26207 | }; | |
26208 | ||
26209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26210 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26211 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26212 | { |
26213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26214 | result = (int)(arg1)->GetMaxPage(); | |
26215 | ||
26216 | wxPyEndAllowThreads(__tstate); | |
26217 | if (PyErr_Occurred()) SWIG_fail; | |
26218 | } | |
36ed4f51 RD |
26219 | { |
26220 | resultobj = SWIG_From_int((int)(result)); | |
26221 | } | |
d55e5bfc RD |
26222 | return resultobj; |
26223 | fail: | |
26224 | return NULL; | |
26225 | } | |
26226 | ||
26227 | ||
c370783e | 26228 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26229 | PyObject *resultobj; |
26230 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26231 | int result; | |
26232 | PyObject * obj0 = 0 ; | |
26233 | char *kwnames[] = { | |
26234 | (char *) "self", NULL | |
26235 | }; | |
26236 | ||
26237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26238 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26239 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26240 | { |
26241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26242 | result = (int)(arg1)->GetMinPage(); | |
26243 | ||
26244 | wxPyEndAllowThreads(__tstate); | |
26245 | if (PyErr_Occurred()) SWIG_fail; | |
26246 | } | |
36ed4f51 RD |
26247 | { |
26248 | resultobj = SWIG_From_int((int)(result)); | |
26249 | } | |
d55e5bfc RD |
26250 | return resultobj; |
26251 | fail: | |
26252 | return NULL; | |
26253 | } | |
26254 | ||
26255 | ||
c370783e | 26256 | static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26257 | PyObject *resultobj; |
26258 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26259 | bool result; | |
26260 | PyObject * obj0 = 0 ; | |
26261 | char *kwnames[] = { | |
26262 | (char *) "self", NULL | |
26263 | }; | |
26264 | ||
26265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26266 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26267 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26268 | { |
26269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26270 | result = (bool)(arg1)->Ok(); | |
26271 | ||
26272 | wxPyEndAllowThreads(__tstate); | |
26273 | if (PyErr_Occurred()) SWIG_fail; | |
26274 | } | |
26275 | { | |
26276 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26277 | } | |
26278 | return resultobj; | |
26279 | fail: | |
26280 | return NULL; | |
26281 | } | |
26282 | ||
26283 | ||
c370783e | 26284 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26285 | PyObject *resultobj; |
26286 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26287 | bool arg2 ; | |
26288 | PyObject * obj0 = 0 ; | |
26289 | PyObject * obj1 = 0 ; | |
26290 | char *kwnames[] = { | |
26291 | (char *) "self",(char *) "ok", NULL | |
26292 | }; | |
26293 | ||
26294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26295 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26296 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26297 | { | |
26298 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
26299 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26300 | } | |
d55e5bfc RD |
26301 | { |
26302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26303 | (arg1)->SetOk(arg2); | |
26304 | ||
26305 | wxPyEndAllowThreads(__tstate); | |
26306 | if (PyErr_Occurred()) SWIG_fail; | |
26307 | } | |
26308 | Py_INCREF(Py_None); resultobj = Py_None; | |
26309 | return resultobj; | |
26310 | fail: | |
26311 | return NULL; | |
26312 | } | |
26313 | ||
26314 | ||
c370783e | 26315 | static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26316 | PyObject *resultobj; |
26317 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26318 | bool arg2 ; | |
26319 | bool result; | |
26320 | PyObject * obj0 = 0 ; | |
26321 | PyObject * obj1 = 0 ; | |
26322 | char *kwnames[] = { | |
26323 | (char *) "self",(char *) "interactive", NULL | |
26324 | }; | |
26325 | ||
26326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26327 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26328 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26329 | { | |
26330 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
26331 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26332 | } | |
d55e5bfc RD |
26333 | { |
26334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26335 | result = (bool)(arg1)->Print(arg2); | |
26336 | ||
26337 | wxPyEndAllowThreads(__tstate); | |
26338 | if (PyErr_Occurred()) SWIG_fail; | |
26339 | } | |
26340 | { | |
26341 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26342 | } | |
26343 | return resultobj; | |
26344 | fail: | |
26345 | return NULL; | |
26346 | } | |
26347 | ||
26348 | ||
c370783e | 26349 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26350 | PyObject *resultobj; |
26351 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26352 | PyObject * obj0 = 0 ; | |
26353 | char *kwnames[] = { | |
26354 | (char *) "self", NULL | |
26355 | }; | |
26356 | ||
26357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26358 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26359 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26360 | { |
26361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26362 | (arg1)->DetermineScaling(); | |
26363 | ||
26364 | wxPyEndAllowThreads(__tstate); | |
26365 | if (PyErr_Occurred()) SWIG_fail; | |
26366 | } | |
26367 | Py_INCREF(Py_None); resultobj = Py_None; | |
26368 | return resultobj; | |
26369 | fail: | |
26370 | return NULL; | |
26371 | } | |
26372 | ||
26373 | ||
c370783e | 26374 | static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
26375 | PyObject *obj; |
26376 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
26377 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
26378 | Py_INCREF(obj); | |
26379 | return Py_BuildValue((char *)""); | |
26380 | } | |
c370783e | 26381 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
26382 | PyObject *resultobj; |
26383 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
26384 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
26385 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; | |
26386 | wxPyPrintPreview *result; | |
26387 | PyObject * obj0 = 0 ; | |
26388 | PyObject * obj1 = 0 ; | |
26389 | PyObject * obj2 = 0 ; | |
26390 | ||
26391 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26392 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
26393 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26394 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
26395 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 26396 | if (obj2) { |
36ed4f51 RD |
26397 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
26398 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26399 | } |
26400 | { | |
0439c23b | 26401 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
26402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
26403 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
26404 | ||
26405 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 26406 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
26407 | } |
26408 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
26409 | return resultobj; | |
26410 | fail: | |
26411 | return NULL; | |
26412 | } | |
26413 | ||
26414 | ||
c370783e | 26415 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
26416 | PyObject *resultobj; |
26417 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
26418 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
26419 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
26420 | wxPyPrintPreview *result; | |
26421 | PyObject * obj0 = 0 ; | |
26422 | PyObject * obj1 = 0 ; | |
26423 | PyObject * obj2 = 0 ; | |
26424 | ||
26425 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26426 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
26427 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26428 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
26429 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26430 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
26431 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc | 26432 | { |
0439c23b | 26433 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
26434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
26435 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
26436 | ||
26437 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 26438 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
26439 | } |
26440 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
26441 | return resultobj; | |
26442 | fail: | |
26443 | return NULL; | |
26444 | } | |
26445 | ||
26446 | ||
26447 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
26448 | int argc; | |
26449 | PyObject *argv[4]; | |
26450 | int ii; | |
26451 | ||
26452 | argc = PyObject_Length(args); | |
26453 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
26454 | argv[ii] = PyTuple_GetItem(args,ii); | |
26455 | } | |
26456 | if ((argc >= 2) && (argc <= 3)) { | |
26457 | int _v; | |
26458 | { | |
26459 | void *ptr; | |
26460 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26461 | _v = 0; | |
26462 | PyErr_Clear(); | |
26463 | } else { | |
26464 | _v = 1; | |
26465 | } | |
26466 | } | |
26467 | if (_v) { | |
26468 | { | |
26469 | void *ptr; | |
26470 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26471 | _v = 0; | |
26472 | PyErr_Clear(); | |
26473 | } else { | |
26474 | _v = 1; | |
26475 | } | |
26476 | } | |
26477 | if (_v) { | |
26478 | if (argc <= 2) { | |
26479 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
26480 | } | |
26481 | { | |
26482 | void *ptr; | |
26483 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
26484 | _v = 0; | |
26485 | PyErr_Clear(); | |
26486 | } else { | |
26487 | _v = 1; | |
26488 | } | |
26489 | } | |
26490 | if (_v) { | |
26491 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
26492 | } | |
26493 | } | |
26494 | } | |
26495 | } | |
26496 | if (argc == 3) { | |
26497 | int _v; | |
26498 | { | |
26499 | void *ptr; | |
26500 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26501 | _v = 0; | |
26502 | PyErr_Clear(); | |
26503 | } else { | |
26504 | _v = 1; | |
26505 | } | |
26506 | } | |
26507 | if (_v) { | |
26508 | { | |
26509 | void *ptr; | |
26510 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26511 | _v = 0; | |
26512 | PyErr_Clear(); | |
26513 | } else { | |
26514 | _v = 1; | |
26515 | } | |
26516 | } | |
26517 | if (_v) { | |
26518 | { | |
26519 | void *ptr; | |
26520 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
26521 | _v = 0; | |
26522 | PyErr_Clear(); | |
26523 | } else { | |
26524 | _v = 1; | |
26525 | } | |
26526 | } | |
26527 | if (_v) { | |
26528 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); | |
26529 | } | |
26530 | } | |
26531 | } | |
26532 | } | |
26533 | ||
36ed4f51 | 26534 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'"); |
d55e5bfc RD |
26535 | return NULL; |
26536 | } | |
26537 | ||
26538 | ||
c370783e | 26539 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26540 | PyObject *resultobj; |
26541 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26542 | PyObject *arg2 = (PyObject *) 0 ; | |
26543 | PyObject *arg3 = (PyObject *) 0 ; | |
26544 | PyObject * obj0 = 0 ; | |
26545 | PyObject * obj1 = 0 ; | |
26546 | PyObject * obj2 = 0 ; | |
26547 | char *kwnames[] = { | |
26548 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
26549 | }; | |
26550 | ||
26551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26552 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26553 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26554 | arg2 = obj1; |
26555 | arg3 = obj2; | |
26556 | { | |
26557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26558 | (arg1)->_setCallbackInfo(arg2,arg3); | |
26559 | ||
26560 | wxPyEndAllowThreads(__tstate); | |
26561 | if (PyErr_Occurred()) SWIG_fail; | |
26562 | } | |
26563 | Py_INCREF(Py_None); resultobj = Py_None; | |
26564 | return resultobj; | |
26565 | fail: | |
26566 | return NULL; | |
26567 | } | |
26568 | ||
26569 | ||
c370783e | 26570 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26571 | PyObject *resultobj; |
26572 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26573 | int arg2 ; | |
26574 | bool result; | |
26575 | PyObject * obj0 = 0 ; | |
26576 | PyObject * obj1 = 0 ; | |
26577 | char *kwnames[] = { | |
26578 | (char *) "self",(char *) "pageNum", NULL | |
26579 | }; | |
26580 | ||
26581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26582 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26583 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26584 | { | |
26585 | arg2 = (int)(SWIG_As_int(obj1)); | |
26586 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26587 | } | |
d55e5bfc RD |
26588 | { |
26589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26590 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
26591 | ||
26592 | wxPyEndAllowThreads(__tstate); | |
26593 | if (PyErr_Occurred()) SWIG_fail; | |
26594 | } | |
26595 | { | |
26596 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26597 | } | |
26598 | return resultobj; | |
26599 | fail: | |
26600 | return NULL; | |
26601 | } | |
26602 | ||
26603 | ||
c370783e | 26604 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26605 | PyObject *resultobj; |
26606 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26607 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26608 | wxDC *arg3 = 0 ; | |
26609 | bool result; | |
26610 | PyObject * obj0 = 0 ; | |
26611 | PyObject * obj1 = 0 ; | |
26612 | PyObject * obj2 = 0 ; | |
26613 | char *kwnames[] = { | |
26614 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26615 | }; | |
26616 | ||
26617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26618 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26619 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26620 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26621 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26622 | { | |
26623 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26624 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26625 | if (arg3 == NULL) { | |
26626 | SWIG_null_ref("wxDC"); | |
26627 | } | |
26628 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26629 | } |
26630 | { | |
26631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26632 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
26633 | ||
26634 | wxPyEndAllowThreads(__tstate); | |
26635 | if (PyErr_Occurred()) SWIG_fail; | |
26636 | } | |
26637 | { | |
26638 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26639 | } | |
26640 | return resultobj; | |
26641 | fail: | |
26642 | return NULL; | |
26643 | } | |
26644 | ||
26645 | ||
c370783e | 26646 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26647 | PyObject *resultobj; |
26648 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26649 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26650 | wxDC *arg3 = 0 ; | |
26651 | bool result; | |
26652 | PyObject * obj0 = 0 ; | |
26653 | PyObject * obj1 = 0 ; | |
26654 | PyObject * obj2 = 0 ; | |
26655 | char *kwnames[] = { | |
26656 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26657 | }; | |
26658 | ||
26659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26660 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26661 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26662 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26663 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26664 | { | |
26665 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26666 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26667 | if (arg3 == NULL) { | |
26668 | SWIG_null_ref("wxDC"); | |
26669 | } | |
26670 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26671 | } |
26672 | { | |
26673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26674 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
26675 | ||
26676 | wxPyEndAllowThreads(__tstate); | |
26677 | if (PyErr_Occurred()) SWIG_fail; | |
26678 | } | |
26679 | { | |
26680 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26681 | } | |
26682 | return resultobj; | |
26683 | fail: | |
26684 | return NULL; | |
26685 | } | |
26686 | ||
26687 | ||
c370783e | 26688 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26689 | PyObject *resultobj; |
26690 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26691 | int arg2 ; | |
26692 | bool result; | |
26693 | PyObject * obj0 = 0 ; | |
26694 | PyObject * obj1 = 0 ; | |
26695 | char *kwnames[] = { | |
26696 | (char *) "self",(char *) "pageNum", NULL | |
26697 | }; | |
26698 | ||
26699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26700 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26701 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26702 | { | |
26703 | arg2 = (int)(SWIG_As_int(obj1)); | |
26704 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26705 | } | |
d55e5bfc RD |
26706 | { |
26707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26708 | result = (bool)(arg1)->base_RenderPage(arg2); | |
26709 | ||
26710 | wxPyEndAllowThreads(__tstate); | |
26711 | if (PyErr_Occurred()) SWIG_fail; | |
26712 | } | |
26713 | { | |
26714 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26715 | } | |
26716 | return resultobj; | |
26717 | fail: | |
26718 | return NULL; | |
26719 | } | |
26720 | ||
26721 | ||
c370783e | 26722 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26723 | PyObject *resultobj; |
26724 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26725 | int arg2 ; | |
26726 | PyObject * obj0 = 0 ; | |
26727 | PyObject * obj1 = 0 ; | |
26728 | char *kwnames[] = { | |
26729 | (char *) "self",(char *) "percent", NULL | |
26730 | }; | |
26731 | ||
26732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26733 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26734 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26735 | { | |
26736 | arg2 = (int)(SWIG_As_int(obj1)); | |
26737 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26738 | } | |
d55e5bfc RD |
26739 | { |
26740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26741 | (arg1)->base_SetZoom(arg2); | |
26742 | ||
26743 | wxPyEndAllowThreads(__tstate); | |
26744 | if (PyErr_Occurred()) SWIG_fail; | |
26745 | } | |
26746 | Py_INCREF(Py_None); resultobj = Py_None; | |
26747 | return resultobj; | |
26748 | fail: | |
26749 | return NULL; | |
26750 | } | |
26751 | ||
26752 | ||
c370783e | 26753 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26754 | PyObject *resultobj; |
26755 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26756 | bool arg2 ; | |
26757 | bool result; | |
26758 | PyObject * obj0 = 0 ; | |
26759 | PyObject * obj1 = 0 ; | |
26760 | char *kwnames[] = { | |
26761 | (char *) "self",(char *) "interactive", NULL | |
26762 | }; | |
26763 | ||
26764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26765 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26766 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26767 | { | |
26768 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
26769 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26770 | } | |
d55e5bfc RD |
26771 | { |
26772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26773 | result = (bool)(arg1)->base_Print(arg2); | |
26774 | ||
26775 | wxPyEndAllowThreads(__tstate); | |
26776 | if (PyErr_Occurred()) SWIG_fail; | |
26777 | } | |
26778 | { | |
26779 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26780 | } | |
26781 | return resultobj; | |
26782 | fail: | |
26783 | return NULL; | |
26784 | } | |
26785 | ||
26786 | ||
c370783e | 26787 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26788 | PyObject *resultobj; |
26789 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26790 | PyObject * obj0 = 0 ; | |
26791 | char *kwnames[] = { | |
26792 | (char *) "self", NULL | |
26793 | }; | |
26794 | ||
26795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26796 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26797 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26798 | { |
26799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26800 | (arg1)->base_DetermineScaling(); | |
26801 | ||
26802 | wxPyEndAllowThreads(__tstate); | |
26803 | if (PyErr_Occurred()) SWIG_fail; | |
26804 | } | |
26805 | Py_INCREF(Py_None); resultobj = Py_None; | |
26806 | return resultobj; | |
26807 | fail: | |
26808 | return NULL; | |
26809 | } | |
26810 | ||
26811 | ||
c370783e | 26812 | static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
26813 | PyObject *obj; |
26814 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
26815 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
26816 | Py_INCREF(obj); | |
26817 | return Py_BuildValue((char *)""); | |
26818 | } | |
c370783e | 26819 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26820 | PyObject *resultobj; |
26821 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26822 | wxFrame *arg2 = (wxFrame *) 0 ; | |
26823 | wxString *arg3 = 0 ; | |
26824 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
26825 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
26826 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
26827 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
26828 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
26829 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
26830 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
26831 | wxPyPreviewFrame *result; | |
b411df4a | 26832 | bool temp3 = false ; |
d55e5bfc RD |
26833 | wxPoint temp4 ; |
26834 | wxSize temp5 ; | |
b411df4a | 26835 | bool temp7 = false ; |
d55e5bfc RD |
26836 | PyObject * obj0 = 0 ; |
26837 | PyObject * obj1 = 0 ; | |
26838 | PyObject * obj2 = 0 ; | |
26839 | PyObject * obj3 = 0 ; | |
26840 | PyObject * obj4 = 0 ; | |
26841 | PyObject * obj5 = 0 ; | |
26842 | PyObject * obj6 = 0 ; | |
26843 | char *kwnames[] = { | |
26844 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
26845 | }; | |
26846 | ||
26847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
26848 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26849 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26850 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
26851 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
26852 | { |
26853 | arg3 = wxString_in_helper(obj2); | |
26854 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 26855 | temp3 = true; |
d55e5bfc RD |
26856 | } |
26857 | if (obj3) { | |
26858 | { | |
26859 | arg4 = &temp4; | |
26860 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
26861 | } | |
26862 | } | |
26863 | if (obj4) { | |
26864 | { | |
26865 | arg5 = &temp5; | |
26866 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
26867 | } | |
26868 | } | |
26869 | if (obj5) { | |
36ed4f51 RD |
26870 | { |
26871 | arg6 = (long)(SWIG_As_long(obj5)); | |
26872 | if (SWIG_arg_fail(6)) SWIG_fail; | |
26873 | } | |
d55e5bfc RD |
26874 | } |
26875 | if (obj6) { | |
26876 | { | |
26877 | arg7 = wxString_in_helper(obj6); | |
26878 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 26879 | temp7 = true; |
d55e5bfc RD |
26880 | } |
26881 | } | |
26882 | { | |
0439c23b | 26883 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
26884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
26885 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
26886 | ||
26887 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 26888 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
26889 | } |
26890 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); | |
26891 | { | |
26892 | if (temp3) | |
26893 | delete arg3; | |
26894 | } | |
26895 | { | |
26896 | if (temp7) | |
26897 | delete arg7; | |
26898 | } | |
26899 | return resultobj; | |
26900 | fail: | |
26901 | { | |
26902 | if (temp3) | |
26903 | delete arg3; | |
26904 | } | |
26905 | { | |
26906 | if (temp7) | |
26907 | delete arg7; | |
26908 | } | |
26909 | return NULL; | |
26910 | } | |
26911 | ||
26912 | ||
c370783e | 26913 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26914 | PyObject *resultobj; |
26915 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
26916 | PyObject *arg2 = (PyObject *) 0 ; | |
26917 | PyObject *arg3 = (PyObject *) 0 ; | |
26918 | PyObject * obj0 = 0 ; | |
26919 | PyObject * obj1 = 0 ; | |
26920 | PyObject * obj2 = 0 ; | |
26921 | char *kwnames[] = { | |
26922 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
26923 | }; | |
26924 | ||
26925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26926 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
26927 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26928 | arg2 = obj1; |
26929 | arg3 = obj2; | |
26930 | { | |
26931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26932 | (arg1)->_setCallbackInfo(arg2,arg3); | |
26933 | ||
26934 | wxPyEndAllowThreads(__tstate); | |
26935 | if (PyErr_Occurred()) SWIG_fail; | |
26936 | } | |
26937 | Py_INCREF(Py_None); resultobj = Py_None; | |
26938 | return resultobj; | |
26939 | fail: | |
26940 | return NULL; | |
26941 | } | |
26942 | ||
26943 | ||
c370783e | 26944 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26945 | PyObject *resultobj; |
26946 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
26947 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26948 | PyObject * obj0 = 0 ; | |
26949 | PyObject * obj1 = 0 ; | |
26950 | char *kwnames[] = { | |
26951 | (char *) "self",(char *) "canvas", NULL | |
26952 | }; | |
26953 | ||
26954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26955 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
26956 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26957 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26958 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
26959 | { |
26960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26961 | (arg1)->SetPreviewCanvas(arg2); | |
26962 | ||
26963 | wxPyEndAllowThreads(__tstate); | |
26964 | if (PyErr_Occurred()) SWIG_fail; | |
26965 | } | |
26966 | Py_INCREF(Py_None); resultobj = Py_None; | |
26967 | return resultobj; | |
26968 | fail: | |
26969 | return NULL; | |
26970 | } | |
26971 | ||
26972 | ||
c370783e | 26973 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26974 | PyObject *resultobj; |
26975 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
26976 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
26977 | PyObject * obj0 = 0 ; | |
26978 | PyObject * obj1 = 0 ; | |
26979 | char *kwnames[] = { | |
26980 | (char *) "self",(char *) "bar", NULL | |
26981 | }; | |
26982 | ||
26983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26984 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
26985 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26986 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); | |
26987 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
26988 | { |
26989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26990 | (arg1)->SetControlBar(arg2); | |
26991 | ||
26992 | wxPyEndAllowThreads(__tstate); | |
26993 | if (PyErr_Occurred()) SWIG_fail; | |
26994 | } | |
26995 | Py_INCREF(Py_None); resultobj = Py_None; | |
26996 | return resultobj; | |
26997 | fail: | |
26998 | return NULL; | |
26999 | } | |
27000 | ||
27001 | ||
c370783e | 27002 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27003 | PyObject *resultobj; |
27004 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27005 | PyObject * obj0 = 0 ; | |
27006 | char *kwnames[] = { | |
27007 | (char *) "self", NULL | |
27008 | }; | |
27009 | ||
27010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
27011 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27012 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27013 | { |
27014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27015 | (arg1)->base_Initialize(); | |
27016 | ||
27017 | wxPyEndAllowThreads(__tstate); | |
27018 | if (PyErr_Occurred()) SWIG_fail; | |
27019 | } | |
27020 | Py_INCREF(Py_None); resultobj = Py_None; | |
27021 | return resultobj; | |
27022 | fail: | |
27023 | return NULL; | |
27024 | } | |
27025 | ||
27026 | ||
c370783e | 27027 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27028 | PyObject *resultobj; |
27029 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27030 | PyObject * obj0 = 0 ; | |
27031 | char *kwnames[] = { | |
27032 | (char *) "self", NULL | |
27033 | }; | |
27034 | ||
27035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
27036 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27037 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27038 | { |
27039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27040 | (arg1)->base_CreateCanvas(); | |
27041 | ||
27042 | wxPyEndAllowThreads(__tstate); | |
27043 | if (PyErr_Occurred()) SWIG_fail; | |
27044 | } | |
27045 | Py_INCREF(Py_None); resultobj = Py_None; | |
27046 | return resultobj; | |
27047 | fail: | |
27048 | return NULL; | |
27049 | } | |
27050 | ||
27051 | ||
c370783e | 27052 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27053 | PyObject *resultobj; |
27054 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27055 | PyObject * obj0 = 0 ; | |
27056 | char *kwnames[] = { | |
27057 | (char *) "self", NULL | |
27058 | }; | |
27059 | ||
27060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
27061 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27062 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27063 | { |
27064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27065 | (arg1)->base_CreateControlBar(); | |
27066 | ||
27067 | wxPyEndAllowThreads(__tstate); | |
27068 | if (PyErr_Occurred()) SWIG_fail; | |
27069 | } | |
27070 | Py_INCREF(Py_None); resultobj = Py_None; | |
27071 | return resultobj; | |
27072 | fail: | |
27073 | return NULL; | |
27074 | } | |
27075 | ||
27076 | ||
c370783e | 27077 | static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
27078 | PyObject *obj; |
27079 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27080 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
27081 | Py_INCREF(obj); | |
27082 | return Py_BuildValue((char *)""); | |
27083 | } | |
c370783e | 27084 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27085 | PyObject *resultobj; |
27086 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
27087 | long arg2 ; | |
27088 | wxWindow *arg3 = (wxWindow *) 0 ; | |
27089 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
27090 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
27091 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
27092 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
27093 | long arg6 = (long) 0 ; | |
27094 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
27095 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
27096 | wxPyPreviewControlBar *result; | |
27097 | wxPoint temp4 ; | |
27098 | wxSize temp5 ; | |
b411df4a | 27099 | bool temp7 = false ; |
d55e5bfc RD |
27100 | PyObject * obj0 = 0 ; |
27101 | PyObject * obj1 = 0 ; | |
27102 | PyObject * obj2 = 0 ; | |
27103 | PyObject * obj3 = 0 ; | |
27104 | PyObject * obj4 = 0 ; | |
27105 | PyObject * obj5 = 0 ; | |
27106 | PyObject * obj6 = 0 ; | |
27107 | char *kwnames[] = { | |
27108 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
27109 | }; | |
27110 | ||
27111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
27112 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27113 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27114 | { | |
27115 | arg2 = (long)(SWIG_As_long(obj1)); | |
27116 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27117 | } | |
27118 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
27119 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
27120 | if (obj3) { |
27121 | { | |
27122 | arg4 = &temp4; | |
27123 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
27124 | } | |
27125 | } | |
27126 | if (obj4) { | |
27127 | { | |
27128 | arg5 = &temp5; | |
27129 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
27130 | } | |
27131 | } | |
27132 | if (obj5) { | |
36ed4f51 RD |
27133 | { |
27134 | arg6 = (long)(SWIG_As_long(obj5)); | |
27135 | if (SWIG_arg_fail(6)) SWIG_fail; | |
27136 | } | |
d55e5bfc RD |
27137 | } |
27138 | if (obj6) { | |
27139 | { | |
27140 | arg7 = wxString_in_helper(obj6); | |
27141 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 27142 | temp7 = true; |
d55e5bfc RD |
27143 | } |
27144 | } | |
27145 | { | |
0439c23b | 27146 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
27147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
27148 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
27149 | ||
27150 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 27151 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
27152 | } |
27153 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); | |
27154 | { | |
27155 | if (temp7) | |
27156 | delete arg7; | |
27157 | } | |
27158 | return resultobj; | |
27159 | fail: | |
27160 | { | |
27161 | if (temp7) | |
27162 | delete arg7; | |
27163 | } | |
27164 | return NULL; | |
27165 | } | |
27166 | ||
27167 | ||
c370783e | 27168 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27169 | PyObject *resultobj; |
27170 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
27171 | PyObject *arg2 = (PyObject *) 0 ; | |
27172 | PyObject *arg3 = (PyObject *) 0 ; | |
27173 | PyObject * obj0 = 0 ; | |
27174 | PyObject * obj1 = 0 ; | |
27175 | PyObject * obj2 = 0 ; | |
27176 | char *kwnames[] = { | |
27177 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
27178 | }; | |
27179 | ||
27180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
27181 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27182 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27183 | arg2 = obj1; |
27184 | arg3 = obj2; | |
27185 | { | |
27186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27187 | (arg1)->_setCallbackInfo(arg2,arg3); | |
27188 | ||
27189 | wxPyEndAllowThreads(__tstate); | |
27190 | if (PyErr_Occurred()) SWIG_fail; | |
27191 | } | |
27192 | Py_INCREF(Py_None); resultobj = Py_None; | |
27193 | return resultobj; | |
27194 | fail: | |
27195 | return NULL; | |
27196 | } | |
27197 | ||
27198 | ||
c370783e | 27199 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27200 | PyObject *resultobj; |
27201 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
27202 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
27203 | PyObject * obj0 = 0 ; | |
27204 | PyObject * obj1 = 0 ; | |
27205 | char *kwnames[] = { | |
27206 | (char *) "self",(char *) "preview", NULL | |
27207 | }; | |
27208 | ||
27209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
27210 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27211 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27212 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); | |
27213 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
27214 | { |
27215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27216 | (arg1)->SetPrintPreview(arg2); | |
27217 | ||
27218 | wxPyEndAllowThreads(__tstate); | |
27219 | if (PyErr_Occurred()) SWIG_fail; | |
27220 | } | |
27221 | Py_INCREF(Py_None); resultobj = Py_None; | |
27222 | return resultobj; | |
27223 | fail: | |
27224 | return NULL; | |
27225 | } | |
27226 | ||
27227 | ||
c370783e | 27228 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27229 | PyObject *resultobj; |
27230 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
27231 | PyObject * obj0 = 0 ; | |
27232 | char *kwnames[] = { | |
27233 | (char *) "self", NULL | |
27234 | }; | |
27235 | ||
27236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
27237 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27238 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27239 | { |
27240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27241 | (arg1)->base_CreateButtons(); | |
27242 | ||
27243 | wxPyEndAllowThreads(__tstate); | |
27244 | if (PyErr_Occurred()) SWIG_fail; | |
27245 | } | |
27246 | Py_INCREF(Py_None); resultobj = Py_None; | |
27247 | return resultobj; | |
27248 | fail: | |
27249 | return NULL; | |
27250 | } | |
27251 | ||
27252 | ||
c370783e | 27253 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27254 | PyObject *resultobj; |
27255 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
27256 | int arg2 ; | |
27257 | PyObject * obj0 = 0 ; | |
27258 | PyObject * obj1 = 0 ; | |
27259 | char *kwnames[] = { | |
27260 | (char *) "self",(char *) "zoom", NULL | |
27261 | }; | |
27262 | ||
27263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
27264 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27265 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27266 | { | |
27267 | arg2 = (int)(SWIG_As_int(obj1)); | |
27268 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27269 | } | |
d55e5bfc RD |
27270 | { |
27271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27272 | (arg1)->base_SetZoomControl(arg2); | |
27273 | ||
27274 | wxPyEndAllowThreads(__tstate); | |
27275 | if (PyErr_Occurred()) SWIG_fail; | |
27276 | } | |
27277 | Py_INCREF(Py_None); resultobj = Py_None; | |
27278 | return resultobj; | |
27279 | fail: | |
27280 | return NULL; | |
27281 | } | |
27282 | ||
27283 | ||
c370783e | 27284 | static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
27285 | PyObject *obj; |
27286 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27287 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
27288 | Py_INCREF(obj); | |
27289 | return Py_BuildValue((char *)""); | |
27290 | } | |
27291 | static PyMethodDef SwigMethods[] = { | |
36ed4f51 RD |
27292 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL}, |
27293 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27294 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27295 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27296 | { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27297 | { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27298 | { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27299 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL}, | |
27300 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27301 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27302 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27303 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27304 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27305 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27306 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27307 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27308 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27309 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27310 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27311 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27312 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27313 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27314 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL}, | |
27315 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL}, | |
27316 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27317 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27318 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27319 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27320 | { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27321 | { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27322 | { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27323 | { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27324 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL}, | |
27325 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27326 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27327 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27328 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27329 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27330 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27331 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27332 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27333 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27334 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27335 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27336 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27337 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27338 | { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27339 | { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27340 | { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27341 | { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27342 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL}, | |
27343 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27344 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27345 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27346 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27347 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27348 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27349 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27350 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27351 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27352 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27353 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27354 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27355 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27356 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27357 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27358 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27359 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27360 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27361 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27362 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27363 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27364 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27365 | { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27366 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL}, | |
27367 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27368 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27369 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27370 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27371 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27372 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27373 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27374 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27375 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27376 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27377 | { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27378 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL}, | |
27379 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27380 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27381 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27382 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL}, | |
27383 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27384 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27385 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27386 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL}, | |
27387 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27388 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27389 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27390 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27391 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL}, | |
27392 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27393 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27394 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27395 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27396 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27397 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27398 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27399 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27400 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27401 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27402 | { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27403 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27404 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27405 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27406 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27407 | { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27408 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL}, | |
27409 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27410 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27411 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27412 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27413 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27414 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27415 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27416 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27417 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27418 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27419 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27420 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27421 | { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27422 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27423 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27424 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27425 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27426 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27427 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27428 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27429 | { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27430 | { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27431 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27432 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27433 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27434 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27435 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27436 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27437 | { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27438 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL}, | |
27439 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27440 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27441 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27442 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27443 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27444 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27445 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL}, | |
27446 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27447 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27448 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27449 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27450 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27451 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27452 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27453 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27454 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27455 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27456 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27457 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27458 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27459 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27460 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27461 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27462 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27463 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27464 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27465 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27466 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27467 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27468 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL}, | |
27469 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27470 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27471 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27472 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27473 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27474 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27475 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27476 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL}, | |
27477 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27478 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27479 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27480 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27481 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27482 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27483 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27484 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27485 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27486 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27487 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27488 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL}, | |
27489 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27490 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27491 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27492 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27493 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27494 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL}, | |
27495 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27496 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27497 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27498 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27499 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27500 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27501 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27502 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27503 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL}, | |
27504 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27505 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27506 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27507 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27508 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27509 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL}, | |
27510 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27511 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27512 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL}, | |
27513 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27514 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27515 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL}, | |
27516 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27517 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27518 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27519 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL}, | |
27520 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27521 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27522 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27523 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27524 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27525 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27526 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27527 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27528 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27529 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27530 | { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27531 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27532 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27533 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27534 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27535 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27536 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27537 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL}, | |
27538 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27539 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27540 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27541 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27542 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27543 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27544 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27545 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27546 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27547 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27548 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27549 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27550 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27551 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27552 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27553 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27554 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27555 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27556 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27557 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27558 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27559 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27560 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27561 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27562 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27563 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL}, | |
27564 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27565 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27566 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27567 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27568 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27569 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27570 | { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27571 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL}, | |
27572 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27573 | { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27574 | { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27575 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27576 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27577 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27578 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27579 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27580 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL}, | |
27581 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27582 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL}, | |
27583 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27584 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27585 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27586 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27587 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27588 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27589 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27590 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27591 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL}, | |
27592 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27593 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27594 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL}, | |
27595 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27596 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27597 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27598 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27599 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27600 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27601 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL}, | |
27602 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27603 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27604 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27605 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27606 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27607 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27608 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27609 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27610 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27611 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27612 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27613 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27614 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27615 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27616 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27617 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27618 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27619 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL}, | |
27620 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27621 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27622 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27623 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL}, | |
27624 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27625 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27626 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27627 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27628 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL}, | |
27629 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27630 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27631 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27632 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL}, | |
27633 | { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27634 | { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL}, | |
27635 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27636 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27637 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27638 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27639 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27640 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27641 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27642 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27643 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27644 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27645 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27646 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27647 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27648 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27649 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27650 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL}, | |
27651 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27652 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27653 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL}, | |
27654 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27655 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL}, | |
27656 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27657 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27658 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27659 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL}, | |
27660 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27661 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27662 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27663 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27664 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27665 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27666 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27667 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27668 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL}, | |
27669 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27670 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27671 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27672 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27673 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27674 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27675 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27676 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27677 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL}, | |
27678 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27679 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27680 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27681 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27682 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27683 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL}, | |
27684 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27685 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27686 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27687 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27688 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27689 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27690 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27691 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27692 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27693 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27694 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27695 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL}, | |
27696 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27697 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27698 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27699 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27700 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27701 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27702 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL}, | |
27703 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27704 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27705 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27706 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL}, | |
27707 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27708 | { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27709 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27710 | { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27711 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27712 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27713 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27714 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27715 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27716 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27717 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27718 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27719 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27720 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27721 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27722 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27723 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27724 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27725 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27726 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27727 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27728 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27729 | { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27730 | { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27731 | { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27732 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL}, | |
27733 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27734 | { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27735 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27736 | { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27737 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27738 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27739 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27740 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27741 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27742 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27743 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27744 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27745 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27746 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27747 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27748 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27749 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27750 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27751 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27752 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27753 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27754 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27755 | { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27756 | { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27757 | { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27758 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL}, | |
27759 | { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27760 | { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27761 | { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27762 | { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27763 | { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27764 | { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27765 | { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27766 | { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27767 | { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27768 | { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27769 | { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27770 | { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27771 | { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27772 | { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27773 | { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27774 | { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27775 | { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27776 | { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27777 | { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27778 | { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27779 | { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27780 | { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27781 | { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27782 | { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27783 | { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27784 | { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL}, | |
27785 | { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL}, | |
27786 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27787 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27788 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27789 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27790 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27791 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27792 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27793 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27794 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27795 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27796 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27797 | { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27798 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27799 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27800 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27801 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27802 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27803 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27804 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27805 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27806 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27807 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27808 | { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27809 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27810 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27811 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27812 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27813 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27814 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27815 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27816 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27817 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27818 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27819 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27820 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27821 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27822 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27823 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27824 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27825 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27826 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27827 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27828 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27829 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27830 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL}, | |
27831 | { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL}, | |
27832 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27833 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27834 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27835 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27836 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27837 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27838 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27839 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27840 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27841 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27842 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27843 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27844 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27845 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27846 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27847 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27848 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27849 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27850 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27851 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27852 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27853 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27854 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27855 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27856 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27857 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27858 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27859 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27860 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27861 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27862 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL}, | |
27863 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27864 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27865 | { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27866 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27867 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL}, | |
27868 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL}, | |
27869 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27870 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27871 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27872 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27873 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27874 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27875 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27876 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27877 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27878 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27879 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27880 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27881 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27882 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27883 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27884 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27885 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27886 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27887 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27888 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27889 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27890 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27891 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27892 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27893 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27894 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27895 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27896 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27897 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27898 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27899 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27900 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27901 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL}, | |
27902 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27903 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27904 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27905 | { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27906 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27907 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL}, | |
27908 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27909 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27910 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27911 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27912 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27913 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27914 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27915 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27916 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27917 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27918 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL}, | |
27919 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27920 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27921 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27922 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27923 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27924 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27925 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27926 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27927 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27928 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27929 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27930 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27931 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27932 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27933 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27934 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27935 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27936 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27937 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27938 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27939 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27940 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27941 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL}, | |
27942 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27943 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL}, | |
27944 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27945 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27946 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27947 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27948 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27949 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL}, | |
27950 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27951 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27952 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27953 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27954 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27955 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27956 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27957 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27958 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27959 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL}, | |
27960 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL}, | |
27961 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27962 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27963 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27964 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27965 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27966 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27967 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27968 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27969 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27970 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27971 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27972 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27973 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27974 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27975 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27976 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27977 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27978 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27979 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27980 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27981 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27982 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27983 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL}, | |
27984 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL}, | |
27985 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27986 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27987 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27988 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27989 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27990 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27991 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27992 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27993 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL}, | |
27994 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27995 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27996 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27997 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27998 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27999 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28000 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28001 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL}, | |
28002 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28003 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28004 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28005 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28006 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28007 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL}, | |
c370783e | 28008 | { NULL, NULL, 0, NULL } |
d55e5bfc RD |
28009 | }; |
28010 | ||
28011 | ||
28012 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
28013 | ||
28014 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
28015 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28016 | } | |
28017 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
28018 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
28019 | } | |
28020 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
28021 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
28022 | } | |
28023 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
28024 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
28025 | } | |
28026 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
28027 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
28028 | } | |
28029 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
28030 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
28031 | } | |
28032 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
28033 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
28034 | } | |
28035 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
28036 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28037 | } | |
28038 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
28039 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
28040 | } | |
28041 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
28042 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
28043 | } | |
28044 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
28045 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
28046 | } | |
28047 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
28048 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
28049 | } | |
28050 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
28051 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
28052 | } | |
28053 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
28054 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
28055 | } | |
28056 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
28057 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
28058 | } | |
28059 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
28060 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
28061 | } | |
28062 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
28063 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
28064 | } | |
28065 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
28066 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
28067 | } | |
28068 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
28069 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
28070 | } | |
28071 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
28072 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
28073 | } | |
28074 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
28075 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
28076 | } | |
28077 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
28078 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
28079 | } | |
28080 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
28081 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
28082 | } | |
28083 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
28084 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
28085 | } | |
28086 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
28087 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
28088 | } | |
28089 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
28090 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
28091 | } | |
28092 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
28093 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
28094 | } | |
28095 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
28096 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
28097 | } | |
28098 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
28099 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
28100 | } | |
28101 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
28102 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
28103 | } | |
28104 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
28105 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
28106 | } | |
28107 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
28108 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
28109 | } | |
28110 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
28111 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
28112 | } | |
28113 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
28114 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
28115 | } | |
28116 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
28117 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
28118 | } | |
28119 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
28120 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
28121 | } | |
28122 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
28123 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
28124 | } | |
28125 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
28126 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
28127 | } | |
28128 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
28129 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
28130 | } | |
28131 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
28132 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
28133 | } | |
28134 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
28135 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
28136 | } | |
28137 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
28138 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
28139 | } | |
28140 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
28141 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28142 | } | |
070c48b4 RD |
28143 | static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) { |
28144 | return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28145 | } | |
d55e5bfc RD |
28146 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { |
28147 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
28148 | } | |
28149 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
28150 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
28151 | } | |
28152 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
28153 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
28154 | } | |
28155 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
28156 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
28157 | } | |
28158 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
28159 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
28160 | } | |
28161 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
28162 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
28163 | } | |
28164 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
28165 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
28166 | } | |
070c48b4 RD |
28167 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
28168 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28169 | } | |
d55e5bfc RD |
28170 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
28171 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
28172 | } | |
28173 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
28174 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
28175 | } | |
28176 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
28177 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
28178 | } | |
28179 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
28180 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
28181 | } | |
28182 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
28183 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
28184 | } | |
28185 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
28186 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
28187 | } | |
28188 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
28189 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
28190 | } | |
28191 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
28192 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
28193 | } | |
28194 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
28195 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
28196 | } | |
28197 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
28198 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
28199 | } | |
28200 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
28201 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
28202 | } | |
28203 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
28204 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
28205 | } | |
28206 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
28207 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
28208 | } | |
28209 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
28210 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
28211 | } | |
28212 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
28213 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
28214 | } | |
28215 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
28216 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
28217 | } | |
28218 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
28219 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
28220 | } | |
28221 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
28222 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
28223 | } | |
28224 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
28225 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
28226 | } | |
28227 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
28228 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
28229 | } | |
28230 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
28231 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
28232 | } | |
28233 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
28234 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
28235 | } | |
28236 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
28237 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
28238 | } | |
28239 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
28240 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
28241 | } | |
28242 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
28243 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28244 | } | |
28245 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
28246 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
28247 | } | |
28248 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
28249 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
28250 | } | |
28251 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
28252 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
28253 | } | |
28254 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
28255 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
28256 | } | |
28257 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
28258 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
28259 | } | |
28260 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
28261 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28262 | } | |
28263 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
28264 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28265 | } | |
28266 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
28267 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
28268 | } | |
28269 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
28270 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
28271 | } | |
5e483524 RD |
28272 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
28273 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d55e5bfc RD |
28274 | } |
28275 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
28276 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
28277 | } | |
d55e5bfc RD |
28278 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { |
28279 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
28280 | } | |
28281 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
28282 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
28283 | } | |
28284 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
28285 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
28286 | } | |
070c48b4 RD |
28287 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
28288 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
28289 | } | |
d55e5bfc RD |
28290 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
28291 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
28292 | } | |
28293 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
28294 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28295 | } | |
28296 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
28297 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
28298 | } | |
28299 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
28300 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
28301 | } | |
28302 | static void *_p_wxTipWindowTo_p_wxFrame(void *x) { | |
28303 | return (void *)((wxFrame *) ((wxTipWindow *) x)); | |
28304 | } | |
28305 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
28306 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
28307 | } | |
28308 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
28309 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28310 | } | |
28311 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
28312 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
28313 | } | |
28314 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
28315 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
28316 | } | |
28317 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
28318 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
28319 | } | |
28320 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
28321 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
28322 | } | |
28323 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
28324 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
28325 | } | |
28326 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
28327 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
28328 | } | |
28329 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
28330 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28331 | } | |
28332 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
28333 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
28334 | } | |
28335 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
28336 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
28337 | } | |
28338 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
28339 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
28340 | } | |
28341 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
28342 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
28343 | } | |
28344 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
28345 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
28346 | } | |
28347 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
28348 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
28349 | } | |
28350 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
28351 | return (void *)((wxObject *) ((wxSizer *) x)); | |
28352 | } | |
28353 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
28354 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
28355 | } | |
28356 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
28357 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
28358 | } | |
28359 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
28360 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
28361 | } | |
28362 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
28363 | return (void *)((wxObject *) ((wxEvent *) x)); | |
28364 | } | |
28365 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
28366 | return (void *)((wxObject *) ((wxFontData *) x)); | |
28367 | } | |
28368 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
28369 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
28370 | } | |
28371 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
28372 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
28373 | } | |
28374 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
28375 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
28376 | } | |
28377 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
28378 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
28379 | } | |
28380 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
28381 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
28382 | } | |
5e483524 RD |
28383 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
28384 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d55e5bfc RD |
28385 | } |
28386 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
28387 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
28388 | } | |
28389 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
28390 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
28391 | } | |
28392 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
28393 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
28394 | } | |
28395 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
28396 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
28397 | } | |
28398 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
28399 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
28400 | } | |
28401 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
28402 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
28403 | } | |
28404 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
28405 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
28406 | } | |
28407 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
28408 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
28409 | } | |
28410 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
28411 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
28412 | } | |
28413 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
28414 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
28415 | } | |
28416 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
28417 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28418 | } | |
28419 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
28420 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
28421 | } | |
28422 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
28423 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
28424 | } | |
28425 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
28426 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
28427 | } | |
28428 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
28429 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
28430 | } | |
28431 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
28432 | return (void *)((wxObject *) ((wxColourData *) x)); | |
28433 | } | |
28434 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
28435 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
28436 | } | |
28437 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
28438 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
28439 | } | |
28440 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
28441 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
28442 | } | |
28443 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
28444 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
28445 | } | |
28446 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
28447 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
28448 | } | |
28449 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
28450 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
28451 | } | |
28452 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
28453 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
28454 | } | |
28455 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
28456 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
28457 | } | |
070c48b4 RD |
28458 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
28459 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28460 | } | |
d55e5bfc RD |
28461 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
28462 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
28463 | } | |
28464 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
28465 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
28466 | } | |
28467 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
28468 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
28469 | } | |
28470 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
28471 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
28472 | } | |
28473 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
28474 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
28475 | } | |
28476 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
28477 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
28478 | } | |
28479 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
28480 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
28481 | } | |
28482 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
28483 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
28484 | } | |
28485 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
28486 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
28487 | } | |
28488 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
28489 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
28490 | } | |
28491 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
28492 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
28493 | } | |
28494 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
28495 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
28496 | } | |
28497 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
28498 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
28499 | } | |
28500 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
28501 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
28502 | } | |
28503 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
28504 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
28505 | } | |
28506 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
28507 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
28508 | } | |
28509 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
28510 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
28511 | } | |
28512 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
28513 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
28514 | } | |
28515 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
28516 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
28517 | } | |
28518 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
28519 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
28520 | } | |
28521 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
28522 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
28523 | } | |
28524 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
28525 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
28526 | } | |
28527 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
28528 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
28529 | } | |
28530 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
28531 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
28532 | } | |
28533 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
28534 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
28535 | } | |
28536 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
28537 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
28538 | } | |
28539 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
28540 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
28541 | } | |
28542 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
28543 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
28544 | } | |
28545 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
28546 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28547 | } | |
28548 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
28549 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28550 | } | |
28551 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
28552 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
28553 | } | |
28554 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
28555 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
28556 | } | |
28557 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
28558 | return (void *)((wxObject *) ((wxImage *) x)); | |
28559 | } | |
28560 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
28561 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
28562 | } | |
28563 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
28564 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
28565 | } | |
28566 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
28567 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
28568 | } | |
28569 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
28570 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
28571 | } | |
28572 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
28573 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
28574 | } | |
28575 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
28576 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
28577 | } | |
28578 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
28579 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
28580 | } | |
28581 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
28582 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
28583 | } | |
28584 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
28585 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
28586 | } | |
28587 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
28588 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
28589 | } | |
28590 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
28591 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
28592 | } | |
28593 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
28594 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
28595 | } | |
28596 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
28597 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
28598 | } | |
28599 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
28600 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
28601 | } | |
28602 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
28603 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
28604 | } | |
28605 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
28606 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
28607 | } | |
28608 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
28609 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
28610 | } | |
28611 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
28612 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
28613 | } | |
28614 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
28615 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
28616 | } | |
28617 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
28618 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
28619 | } | |
28620 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
28621 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
28622 | } | |
28623 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
28624 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
28625 | } | |
28626 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
28627 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
28628 | } | |
28629 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
28630 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
28631 | } | |
28632 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
28633 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
28634 | } | |
28635 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
28636 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
28637 | } | |
28638 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
28639 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
28640 | } | |
28641 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
28642 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
28643 | } | |
28644 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
28645 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
28646 | } | |
28647 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
28648 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
28649 | } | |
28650 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
28651 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
28652 | } | |
28653 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
28654 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
28655 | } | |
28656 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
6e0de3df | 28657 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); |
d55e5bfc RD |
28658 | } |
28659 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
070c48b4 | 28660 | return (void *)((wxObject *) ((wxPrintDialog *) x)); |
d55e5bfc RD |
28661 | } |
28662 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
28663 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
28664 | } | |
28665 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
28666 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
28667 | } | |
28668 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
28669 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
28670 | } | |
28671 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
28672 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
28673 | } | |
28674 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
28675 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
28676 | } | |
28677 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
28678 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
28679 | } | |
28680 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
28681 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
28682 | } | |
28683 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
28684 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
28685 | } | |
28686 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
28687 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
28688 | } | |
28689 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
28690 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
28691 | } | |
28692 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
28693 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
28694 | } | |
28695 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
28696 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
28697 | } | |
28698 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
28699 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
28700 | } | |
28701 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
28702 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
28703 | } | |
28704 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
28705 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
28706 | } | |
28707 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
28708 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
28709 | } | |
28710 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
28711 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
28712 | } | |
28713 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
28714 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
28715 | } | |
28716 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
28717 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
28718 | } | |
28719 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
28720 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28721 | } | |
28722 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
28723 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28724 | } | |
28725 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
28726 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
28727 | } | |
28728 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
28729 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
28730 | } | |
28731 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
28732 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
28733 | } | |
28734 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
28735 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
28736 | } | |
28737 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
28738 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
28739 | } | |
28740 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
28741 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
28742 | } | |
28743 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
28744 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
28745 | } | |
28746 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
28747 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
28748 | } | |
d55e5bfc RD |
28749 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { |
28750 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
28751 | } | |
28752 | static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) { | |
28753 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x)); | |
28754 | } | |
28755 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
28756 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
28757 | } | |
28758 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
28759 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
28760 | } | |
d55e5bfc RD |
28761 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { |
28762 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
28763 | } | |
070c48b4 RD |
28764 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { |
28765 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28766 | } | |
d55e5bfc RD |
28767 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { |
28768 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
28769 | } | |
28770 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
28771 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
28772 | } | |
28773 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
28774 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
28775 | } | |
28776 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
28777 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
28778 | } | |
070c48b4 RD |
28779 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { |
28780 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
28781 | } | |
d55e5bfc RD |
28782 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { |
28783 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
28784 | } | |
28785 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
28786 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
28787 | } | |
28788 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
28789 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28790 | } | |
28791 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
28792 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
28793 | } | |
28794 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
28795 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
28796 | } | |
28797 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
28798 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
28799 | } | |
28800 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
28801 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
28802 | } | |
28803 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
28804 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
28805 | } | |
28806 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
28807 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
28808 | } | |
28809 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
28810 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
28811 | } | |
070c48b4 RD |
28812 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
28813 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28814 | } | |
d55e5bfc RD |
28815 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
28816 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
28817 | } | |
28818 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
28819 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
28820 | } | |
28821 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
28822 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
28823 | } | |
28824 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
28825 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
28826 | } | |
28827 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
28828 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
28829 | } | |
28830 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
28831 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
28832 | } | |
d55e5bfc RD |
28833 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
28834 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
28835 | } | |
28836 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
28837 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
28838 | } | |
28839 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
28840 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
28841 | } | |
28842 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
28843 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
28844 | } | |
28845 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
28846 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
28847 | } | |
28848 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
28849 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
28850 | } | |
28851 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
28852 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
28853 | } | |
28854 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
28855 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
28856 | } | |
28857 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
28858 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
28859 | } | |
28860 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
28861 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
28862 | } | |
070c48b4 RD |
28863 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
28864 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
28865 | } | |
d55e5bfc RD |
28866 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
28867 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
28868 | } | |
28869 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
28870 | return (void *)((wxWindow *) ((wxControl *) x)); | |
28871 | } | |
28872 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
28873 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
28874 | } | |
28875 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
28876 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28877 | } | |
28878 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
28879 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
28880 | } | |
28881 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
28882 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
28883 | } | |
28884 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
28885 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
28886 | } | |
28887 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
28888 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
28889 | } | |
28890 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
28891 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28892 | } | |
28893 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
28894 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28895 | } | |
28896 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
28897 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
28898 | } | |
28899 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
28900 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
28901 | } | |
28902 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
28903 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
28904 | } | |
28905 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
28906 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
28907 | } | |
28908 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
28909 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
28910 | } | |
28911 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
28912 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
28913 | } | |
28914 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
28915 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
28916 | } | |
d55e5bfc RD |
28917 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
28918 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
28919 | } | |
28920 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { | |
28921 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
28922 | } | |
28923 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
28924 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
28925 | } | |
28926 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
28927 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
28928 | } | |
28929 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
28930 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
28931 | } | |
28932 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
28933 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
28934 | } | |
28935 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
28936 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
28937 | } | |
d55e5bfc RD |
28938 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { |
28939 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
28940 | } | |
28941 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
28942 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
28943 | } | |
28944 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
28945 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
28946 | } | |
28947 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
28948 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
28949 | } | |
070c48b4 RD |
28950 | static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) { |
28951 | return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28952 | } | |
d55e5bfc RD |
28953 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { |
28954 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
28955 | } | |
28956 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
28957 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
28958 | } | |
28959 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
28960 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
28961 | } | |
28962 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
28963 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
28964 | } | |
28965 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { | |
28966 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
28967 | } | |
28968 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
28969 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28970 | } | |
28971 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
28972 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28973 | } | |
28974 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
28975 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
28976 | } | |
28977 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
28978 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
28979 | } | |
28980 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
28981 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
28982 | } | |
28983 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
28984 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
28985 | } | |
28986 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
28987 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
28988 | } | |
28989 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
28990 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
28991 | } | |
28992 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
28993 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
28994 | } | |
28995 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
28996 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
28997 | } | |
28998 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
28999 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
29000 | } | |
29001 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
29002 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
29003 | } | |
29004 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
29005 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
29006 | } | |
29007 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
29008 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
29009 | } | |
29010 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
29011 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
29012 | } | |
29013 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
29014 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
29015 | } | |
29016 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
29017 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
29018 | } | |
29019 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
29020 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29021 | } | |
29022 | 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}}; | |
29023 | 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}}; | |
29024 | 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}}; | |
29025 | 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}}; | |
29026 | 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}}; | |
d55e5bfc RD |
29027 | 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}}; |
29028 | 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}}; | |
f5b96ee1 | 29029 | static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc | 29030 | 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}}; |
5e483524 | 29031 | static swig_type_info _swigt__p_wxPyTaskBarIcon[] = {{"_p_wxPyTaskBarIcon", 0, "wxPyTaskBarIcon *", 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
29032 | 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}}; |
29033 | 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}}; | |
29034 | 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}}; | |
29035 | 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}}; | |
29036 | 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}}; | |
29037 | 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}}; | |
29038 | 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}}; | |
36ed4f51 RD |
29039 | static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
29040 | static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
d55e5bfc RD |
29041 | 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}}; |
29042 | 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}}; | |
29043 | 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}}; | |
29044 | 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}}; | |
29045 | static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
f20a2e1f | 29046 | static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
29047 | 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}}; |
29048 | 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}}; | |
29049 | 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}}; | |
29050 | 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}}; | |
36ed4f51 | 29051 | static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc | 29052 | 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}}; |
070c48b4 | 29053 | static swig_type_info _swigt__p_wxPasswordEntryDialog[] = {{"_p_wxPasswordEntryDialog", 0, "wxPasswordEntryDialog *", 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
29054 | 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}}; |
29055 | 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}}; | |
29056 | 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}}; | |
070c48b4 | 29057 | static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
36ed4f51 RD |
29058 | 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}}; |
29059 | 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}}; | |
29060 | 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}}; | |
d55e5bfc RD |
29061 | 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}}; |
29062 | 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}}; | |
36ed4f51 | 29063 | static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
6e0de3df | 29064 | 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_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_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_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
29065 | 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}}; |
29066 | 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}}; | |
29067 | 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}}; | |
29068 | 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}}; | |
29069 | 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}}; | |
29070 | 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}}; | |
29071 | 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_wxTipWindow", _p_wxTipWindowTo_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}}; | |
29072 | 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}}; | |
29073 | 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}}; | |
29074 | 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}}; | |
36ed4f51 | 29075 | static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
29076 | 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}}; |
29077 | 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}}; | |
29078 | 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}}; | |
6e0de3df | 29079 | 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_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxTextEntryDialog", _p_wxTextEntryDialogTo_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_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_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_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_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_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}}; |
36ed4f51 | 29080 | static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
29081 | 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}}; |
29082 | static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
29083 | 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}}; | |
29084 | 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}}; | |
f5b96ee1 | 29085 | static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
29086 | 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}}; |
29087 | 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},{0, 0, 0, 0, 0, 0, 0}}; | |
29088 | 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}}; | |
6e0de3df RD |
29089 | 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_wxFontDialog", _p_wxFontDialogTo_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_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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}}; |
29090 | 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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxTipWindow", _p_wxTipWindowTo_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_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 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_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_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}}; | |
d55e5bfc | 29091 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc | 29092 | 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}}; |
36ed4f51 | 29093 | 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}}; |
5e483524 | 29094 | static swig_type_info _swigt__p_wxPyScrolledWindow[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
29095 | 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}}; |
29096 | 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}}; | |
29097 | 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}}; | |
29098 | 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}}; | |
d55e5bfc RD |
29099 | 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}}; |
29100 | 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}}; | |
6e0de3df | 29101 | 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_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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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}}; |
d55e5bfc | 29102 | static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
36ed4f51 | 29103 | 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}}; |
d55e5bfc RD |
29104 | 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}}; |
29105 | 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}}; | |
d6c14a4c | 29106 | static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc | 29107 | 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}}; |
36ed4f51 RD |
29108 | static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
29109 | static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
29110 | static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
d55e5bfc RD |
29111 | 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}}; |
29112 | 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}}; | |
29113 | 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}}; | |
29114 | 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}}; | |
29115 | 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}}; | |
29116 | 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}}; | |
29117 | 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}}; | |
29118 | ||
29119 | static swig_type_info *swig_types_initial[] = { | |
29120 | _swigt__p_wxQueryLayoutInfoEvent, | |
29121 | _swigt__p_wxPreviewFrame, | |
29122 | _swigt__p_wxPyPreviewFrame, | |
29123 | _swigt__p_wxPyPanel, | |
29124 | _swigt__p_wxMenu, | |
d55e5bfc RD |
29125 | _swigt__p_wxFontData, |
29126 | _swigt__p_wxEvent, | |
f5b96ee1 | 29127 | _swigt__p_wxPrintData, |
d55e5bfc | 29128 | _swigt__p_wxTaskBarIcon, |
5e483524 | 29129 | _swigt__p_wxPyTaskBarIcon, |
d55e5bfc RD |
29130 | _swigt__p_wxIconBundle, |
29131 | _swigt__p_wxLayoutAlgorithm, | |
29132 | _swigt__p_wxFindDialogEvent, | |
29133 | _swigt__p_wxPreviewCanvas, | |
29134 | _swigt__p_wxFont, | |
29135 | _swigt__p_wxSplitterEvent, | |
29136 | _swigt__p_wxRegion, | |
36ed4f51 RD |
29137 | _swigt__ptrdiff_t, |
29138 | _swigt__std__ptrdiff_t, | |
d55e5bfc RD |
29139 | _swigt__p_wxFindReplaceData, |
29140 | _swigt__p_int, | |
29141 | _swigt__p_wxSize, | |
29142 | _swigt__p_wxDC, | |
29143 | _swigt__p_wxIcon, | |
f20a2e1f | 29144 | _swigt__p_wxVisualAttributes, |
d55e5bfc RD |
29145 | _swigt__p_wxMDIChildFrame, |
29146 | _swigt__p_wxColourData, | |
29147 | _swigt__p_wxNotifyEvent, | |
29148 | _swigt__p_wxPyWindow, | |
36ed4f51 | 29149 | _swigt__p_form_ops_t, |
d55e5bfc | 29150 | _swigt__p_wxSplashScreen, |
070c48b4 | 29151 | _swigt__p_wxPasswordEntryDialog, |
d55e5bfc RD |
29152 | _swigt__p_wxSingleChoiceDialog, |
29153 | _swigt__p_wxMultiChoiceDialog, | |
29154 | _swigt__p_wxFileDialog, | |
070c48b4 | 29155 | _swigt__p_wxTextEntryDialog, |
36ed4f51 RD |
29156 | _swigt__p_wxMessageDialog, |
29157 | _swigt__p_wxProgressDialog, | |
29158 | _swigt__p_wxFindReplaceDialog, | |
d55e5bfc RD |
29159 | _swigt__p_wxPrinter, |
29160 | _swigt__p_wxArrayInt, | |
36ed4f51 | 29161 | _swigt__p_wxDuplexMode, |
d55e5bfc RD |
29162 | _swigt__p_wxEvtHandler, |
29163 | _swigt__p_wxCalculateLayoutEvent, | |
29164 | _swigt__p_wxPyHtmlListBox, | |
29165 | _swigt__p_wxPyVListBox, | |
29166 | _swigt__p_wxRect, | |
29167 | _swigt__p_char, | |
29168 | _swigt__p_wxMiniFrame, | |
29169 | _swigt__p_wxFrame, | |
29170 | _swigt__p_wxPyPrintout, | |
29171 | _swigt__p_wxTaskBarIconEvent, | |
29172 | _swigt__p_wxScrollWinEvent, | |
36ed4f51 | 29173 | _swigt__p_wxPaperSize, |
d55e5bfc RD |
29174 | _swigt__p_wxStatusBar, |
29175 | _swigt__p_wxMDIParentFrame, | |
29176 | _swigt__p_wxPoint, | |
29177 | _swigt__p_wxObject, | |
36ed4f51 | 29178 | _swigt__p_unsigned_long, |
d55e5bfc RD |
29179 | _swigt__p_wxTipWindow, |
29180 | _swigt__p_wxPyPopupTransientWindow, | |
29181 | _swigt__p_wxSashLayoutWindow, | |
29182 | _swigt__p_wxSplitterWindow, | |
f5b96ee1 | 29183 | _swigt__p_wxSplashScreenWindow, |
d55e5bfc RD |
29184 | _swigt__p_wxPyVScrolledWindow, |
29185 | _swigt__p_wxPopupWindow, | |
29186 | _swigt__p_wxSashWindow, | |
29187 | _swigt__p_wxTopLevelWindow, | |
29188 | _swigt__p_wxWindow, | |
29189 | _swigt__p_wxScrolledWindow, | |
d55e5bfc | 29190 | _swigt__p_wxMenuBar, |
36ed4f51 | 29191 | _swigt__p_wxMDIClientWindow, |
5e483524 | 29192 | _swigt__p_wxPyScrolledWindow, |
d55e5bfc RD |
29193 | _swigt__p_wxPrintPreview, |
29194 | _swigt__p_wxSashEvent, | |
29195 | _swigt__p_wxString, | |
29196 | _swigt__p_wxPyPrintPreview, | |
d55e5bfc RD |
29197 | _swigt__p_wxDirDialog, |
29198 | _swigt__p_wxColourDialog, | |
29199 | _swigt__p_wxDialog, | |
29200 | _swigt__p_wxPanel, | |
36ed4f51 | 29201 | _swigt__p_wxFontDialog, |
d55e5bfc RD |
29202 | _swigt__p_wxPageSetupDialog, |
29203 | _swigt__p_wxPrintDialog, | |
d6c14a4c | 29204 | _swigt__p_wxFileSystem, |
d55e5bfc | 29205 | _swigt__p_wxBitmap, |
36ed4f51 RD |
29206 | _swigt__unsigned_int, |
29207 | _swigt__p_unsigned_int, | |
29208 | _swigt__p_unsigned_char, | |
d55e5bfc RD |
29209 | _swigt__p_wxCommandEvent, |
29210 | _swigt__p_wxPreviewControlBar, | |
29211 | _swigt__p_wxPyPreviewControlBar, | |
29212 | _swigt__p_wxColour, | |
29213 | _swigt__p_wxToolBar, | |
29214 | _swigt__p_wxPageSetupDialogData, | |
29215 | _swigt__p_wxPrintDialogData, | |
29216 | 0 | |
29217 | }; | |
29218 | ||
29219 | ||
29220 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
29221 | ||
29222 | static swig_const_info swig_const_table[] = { | |
c370783e | 29223 | {0, 0, 0, 0.0, 0, 0}}; |
d55e5bfc RD |
29224 | |
29225 | #ifdef __cplusplus | |
29226 | } | |
29227 | #endif | |
29228 | ||
36ed4f51 RD |
29229 | |
29230 | #ifdef __cplusplus | |
29231 | extern "C" { | |
29232 | #endif | |
29233 | ||
29234 | /* Python-specific SWIG API */ | |
29235 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
29236 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
29237 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
29238 | ||
29239 | /* ----------------------------------------------------------------------------- | |
29240 | * global variable support code. | |
29241 | * ----------------------------------------------------------------------------- */ | |
29242 | ||
29243 | typedef struct swig_globalvar { | |
29244 | char *name; /* Name of global variable */ | |
29245 | PyObject *(*get_attr)(); /* Return the current value */ | |
29246 | int (*set_attr)(PyObject *); /* Set the value */ | |
29247 | struct swig_globalvar *next; | |
29248 | } swig_globalvar; | |
29249 | ||
29250 | typedef struct swig_varlinkobject { | |
29251 | PyObject_HEAD | |
29252 | swig_globalvar *vars; | |
29253 | } swig_varlinkobject; | |
29254 | ||
29255 | static PyObject * | |
29256 | swig_varlink_repr(swig_varlinkobject *v) { | |
29257 | v = v; | |
29258 | return PyString_FromString("<Swig global variables>"); | |
29259 | } | |
29260 | ||
29261 | static int | |
29262 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { | |
29263 | swig_globalvar *var; | |
29264 | flags = flags; | |
29265 | fprintf(fp,"Swig global variables { "); | |
29266 | for (var = v->vars; var; var=var->next) { | |
29267 | fprintf(fp,"%s", var->name); | |
29268 | if (var->next) fprintf(fp,", "); | |
29269 | } | |
29270 | fprintf(fp," }\n"); | |
29271 | return 0; | |
29272 | } | |
29273 | ||
29274 | static PyObject * | |
29275 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
29276 | swig_globalvar *var = v->vars; | |
29277 | while (var) { | |
29278 | if (strcmp(var->name,n) == 0) { | |
29279 | return (*var->get_attr)(); | |
29280 | } | |
29281 | var = var->next; | |
29282 | } | |
29283 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
29284 | return NULL; | |
29285 | } | |
29286 | ||
29287 | static int | |
29288 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
29289 | swig_globalvar *var = v->vars; | |
29290 | while (var) { | |
29291 | if (strcmp(var->name,n) == 0) { | |
29292 | return (*var->set_attr)(p); | |
29293 | } | |
29294 | var = var->next; | |
29295 | } | |
29296 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
29297 | return 1; | |
29298 | } | |
29299 | ||
29300 | static PyTypeObject varlinktype = { | |
29301 | PyObject_HEAD_INIT(0) | |
29302 | 0, /* Number of items in variable part (ob_size) */ | |
29303 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
29304 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
29305 | 0, /* Itemsize (tp_itemsize) */ | |
29306 | 0, /* Deallocator (tp_dealloc) */ | |
29307 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
29308 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
29309 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
29310 | 0, /* tp_compare */ | |
29311 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
29312 | 0, /* tp_as_number */ | |
29313 | 0, /* tp_as_sequence */ | |
29314 | 0, /* tp_as_mapping */ | |
29315 | 0, /* tp_hash */ | |
29316 | 0, /* tp_call */ | |
29317 | 0, /* tp_str */ | |
29318 | 0, /* tp_getattro */ | |
29319 | 0, /* tp_setattro */ | |
29320 | 0, /* tp_as_buffer */ | |
29321 | 0, /* tp_flags */ | |
29322 | 0, /* tp_doc */ | |
29323 | #if PY_VERSION_HEX >= 0x02000000 | |
29324 | 0, /* tp_traverse */ | |
29325 | 0, /* tp_clear */ | |
29326 | #endif | |
29327 | #if PY_VERSION_HEX >= 0x02010000 | |
29328 | 0, /* tp_richcompare */ | |
29329 | 0, /* tp_weaklistoffset */ | |
29330 | #endif | |
29331 | #if PY_VERSION_HEX >= 0x02020000 | |
29332 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
29333 | #endif | |
29334 | #if PY_VERSION_HEX >= 0x02030000 | |
29335 | 0, /* tp_del */ | |
29336 | #endif | |
29337 | #ifdef COUNT_ALLOCS | |
29338 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
29339 | #endif | |
29340 | }; | |
29341 | ||
29342 | /* Create a variable linking object for use later */ | |
29343 | static PyObject * | |
29344 | SWIG_Python_newvarlink(void) { | |
29345 | swig_varlinkobject *result = 0; | |
29346 | result = PyMem_NEW(swig_varlinkobject,1); | |
29347 | varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */ | |
29348 | result->ob_type = &varlinktype; | |
29349 | result->vars = 0; | |
29350 | result->ob_refcnt = 0; | |
29351 | Py_XINCREF((PyObject *) result); | |
29352 | return ((PyObject*) result); | |
29353 | } | |
29354 | ||
29355 | static void | |
29356 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
29357 | swig_varlinkobject *v; | |
29358 | swig_globalvar *gv; | |
29359 | v= (swig_varlinkobject *) p; | |
29360 | gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
29361 | gv->name = (char *) malloc(strlen(name)+1); | |
29362 | strcpy(gv->name,name); | |
29363 | gv->get_attr = get_attr; | |
29364 | gv->set_attr = set_attr; | |
29365 | gv->next = v->vars; | |
29366 | v->vars = gv; | |
29367 | } | |
29368 | ||
29369 | /* ----------------------------------------------------------------------------- | |
29370 | * constants/methods manipulation | |
29371 | * ----------------------------------------------------------------------------- */ | |
29372 | ||
29373 | /* Install Constants */ | |
29374 | static void | |
29375 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
29376 | PyObject *obj = 0; | |
29377 | size_t i; | |
29378 | for (i = 0; constants[i].type; i++) { | |
29379 | switch(constants[i].type) { | |
29380 | case SWIG_PY_INT: | |
29381 | obj = PyInt_FromLong(constants[i].lvalue); | |
29382 | break; | |
29383 | case SWIG_PY_FLOAT: | |
29384 | obj = PyFloat_FromDouble(constants[i].dvalue); | |
29385 | break; | |
29386 | case SWIG_PY_STRING: | |
29387 | if (constants[i].pvalue) { | |
29388 | obj = PyString_FromString((char *) constants[i].pvalue); | |
29389 | } else { | |
29390 | Py_INCREF(Py_None); | |
29391 | obj = Py_None; | |
29392 | } | |
29393 | break; | |
29394 | case SWIG_PY_POINTER: | |
29395 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
29396 | break; | |
29397 | case SWIG_PY_BINARY: | |
29398 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
29399 | break; | |
29400 | default: | |
29401 | obj = 0; | |
29402 | break; | |
29403 | } | |
29404 | if (obj) { | |
29405 | PyDict_SetItemString(d,constants[i].name,obj); | |
29406 | Py_DECREF(obj); | |
29407 | } | |
29408 | } | |
29409 | } | |
29410 | ||
29411 | /* -----------------------------------------------------------------------------*/ | |
29412 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
29413 | /* -----------------------------------------------------------------------------*/ | |
29414 | ||
29415 | static void | |
29416 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
29417 | swig_const_info *const_table, | |
29418 | swig_type_info **types, | |
29419 | swig_type_info **types_initial) { | |
29420 | size_t i; | |
29421 | for (i = 0; methods[i].ml_name; ++i) { | |
29422 | char *c = methods[i].ml_doc; | |
29423 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
29424 | int j; | |
29425 | swig_const_info *ci = 0; | |
29426 | char *name = c + 10; | |
29427 | for (j = 0; const_table[j].type; j++) { | |
29428 | if (strncmp(const_table[j].name, name, | |
29429 | strlen(const_table[j].name)) == 0) { | |
29430 | ci = &(const_table[j]); | |
29431 | break; | |
29432 | } | |
29433 | } | |
29434 | if (ci) { | |
29435 | size_t shift = (ci->ptype) - types; | |
29436 | swig_type_info *ty = types_initial[shift]; | |
29437 | size_t ldoc = (c - methods[i].ml_doc); | |
29438 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
29439 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
29440 | char *buff = ndoc; | |
29441 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue); | |
29442 | strncpy(buff, methods[i].ml_doc, ldoc); | |
29443 | buff += ldoc; | |
29444 | strncpy(buff, "swig_ptr: ", 10); | |
29445 | buff += 10; | |
29446 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
29447 | methods[i].ml_doc = ndoc; | |
29448 | } | |
29449 | } | |
29450 | } | |
29451 | } | |
29452 | ||
29453 | /* -----------------------------------------------------------------------------* | |
29454 | * Initialize type list | |
29455 | * -----------------------------------------------------------------------------*/ | |
29456 | ||
29457 | #if PY_MAJOR_VERSION < 2 | |
29458 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
29459 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
29460 | static int | |
29461 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
29462 | { | |
29463 | PyObject *dict; | |
29464 | if (!PyModule_Check(m)) { | |
29465 | PyErr_SetString(PyExc_TypeError, | |
29466 | "PyModule_AddObject() needs module as first arg"); | |
29467 | return -1; | |
29468 | } | |
29469 | if (!o) { | |
29470 | PyErr_SetString(PyExc_TypeError, | |
29471 | "PyModule_AddObject() needs non-NULL value"); | |
29472 | return -1; | |
29473 | } | |
29474 | ||
29475 | dict = PyModule_GetDict(m); | |
29476 | if (dict == NULL) { | |
29477 | /* Internal error -- modules must have a dict! */ | |
29478 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
29479 | PyModule_GetName(m)); | |
29480 | return -1; | |
29481 | } | |
29482 | if (PyDict_SetItemString(dict, name, o)) | |
29483 | return -1; | |
29484 | Py_DECREF(o); | |
29485 | return 0; | |
29486 | } | |
29487 | #endif | |
29488 | ||
29489 | static swig_type_info ** | |
29490 | SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) { | |
29491 | static PyMethodDef swig_empty_runtime_method_table[] = { | |
29492 | { | |
29493 | NULL, NULL, 0, NULL | |
29494 | } | |
29495 | };/* Sentinel */ | |
29496 | ||
29497 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
29498 | swig_empty_runtime_method_table); | |
29499 | PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL); | |
29500 | if (pointer && module) { | |
29501 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
29502 | } | |
29503 | return type_list_handle; | |
29504 | } | |
29505 | ||
29506 | static swig_type_info ** | |
29507 | SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) { | |
29508 | swig_type_info **type_pointer; | |
29509 | ||
29510 | /* first check if module already created */ | |
29511 | type_pointer = SWIG_Python_GetTypeListHandle(); | |
29512 | if (type_pointer) { | |
29513 | return type_pointer; | |
29514 | } else { | |
29515 | /* create a new module and variable */ | |
29516 | return SWIG_Python_SetTypeListHandle(type_list_handle); | |
29517 | } | |
29518 | } | |
29519 | ||
29520 | #ifdef __cplusplus | |
29521 | } | |
29522 | #endif | |
29523 | ||
29524 | /* -----------------------------------------------------------------------------* | |
29525 | * Partial Init method | |
29526 | * -----------------------------------------------------------------------------*/ | |
29527 | ||
29528 | #ifdef SWIG_LINK_RUNTIME | |
29529 | #ifdef __cplusplus | |
29530 | extern "C" | |
29531 | #endif | |
29532 | SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); | |
29533 | #endif | |
29534 | ||
d55e5bfc RD |
29535 | #ifdef __cplusplus |
29536 | extern "C" | |
29537 | #endif | |
29538 | SWIGEXPORT(void) SWIG_init(void) { | |
29539 | static PyObject *SWIG_globals = 0; | |
29540 | static int typeinit = 0; | |
29541 | PyObject *m, *d; | |
29542 | int i; | |
29543 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
36ed4f51 RD |
29544 | |
29545 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
29546 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial); | |
29547 | ||
d55e5bfc RD |
29548 | m = Py_InitModule((char *) SWIG_name, SwigMethods); |
29549 | d = PyModule_GetDict(m); | |
29550 | ||
29551 | if (!typeinit) { | |
36ed4f51 RD |
29552 | #ifdef SWIG_LINK_RUNTIME |
29553 | swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle); | |
29554 | #else | |
29555 | # ifndef SWIG_STATIC_RUNTIME | |
29556 | swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle); | |
29557 | # endif | |
29558 | #endif | |
d55e5bfc RD |
29559 | for (i = 0; swig_types_initial[i]; i++) { |
29560 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
29561 | } | |
29562 | typeinit = 1; | |
29563 | } | |
36ed4f51 RD |
29564 | SWIG_InstallConstants(d,swig_const_table); |
29565 | ||
29566 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
29567 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
29568 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
29569 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
29570 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
29571 | { | |
29572 | PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP))); | |
29573 | } | |
29574 | { | |
29575 | PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE))); | |
29576 | } | |
29577 | { | |
29578 | PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE))); | |
29579 | } | |
29580 | { | |
29581 | PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE))); | |
29582 | } | |
29583 | { | |
29584 | PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX))); | |
29585 | } | |
29586 | { | |
29587 | PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME))); | |
29588 | } | |
29589 | { | |
29590 | PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU))); | |
29591 | } | |
29592 | { | |
29593 | PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX))); | |
29594 | } | |
29595 | { | |
29596 | PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX))); | |
29597 | } | |
29598 | { | |
29599 | PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ))); | |
29600 | } | |
29601 | { | |
29602 | PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT))); | |
29603 | } | |
29604 | { | |
29605 | PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX))); | |
29606 | } | |
29607 | { | |
29608 | PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER))); | |
29609 | } | |
29610 | { | |
29611 | PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT))); | |
29612 | } | |
29613 | { | |
29614 | PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE))); | |
29615 | } | |
29616 | { | |
29617 | PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE))); | |
29618 | } | |
29619 | { | |
29620 | PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW))); | |
29621 | } | |
29622 | { | |
29623 | PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT))); | |
29624 | } | |
29625 | { | |
29626 | PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU))); | |
29627 | } | |
29628 | { | |
29629 | PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR))); | |
29630 | } | |
29631 | { | |
29632 | PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED))); | |
29633 | } | |
29634 | { | |
29635 | PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER))); | |
29636 | } | |
29637 | { | |
29638 | PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL))); | |
29639 | } | |
29640 | { | |
29641 | PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS))); | |
29642 | } | |
29643 | { | |
29644 | PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS))); | |
29645 | } | |
29646 | { | |
29647 | PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D))); | |
29648 | } | |
29649 | { | |
29650 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR))); | |
29651 | } | |
29652 | { | |
29653 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR))); | |
29654 | } | |
29655 | { | |
29656 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR))); | |
29657 | } | |
29658 | { | |
29659 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER))); | |
29660 | } | |
29661 | { | |
29662 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION))); | |
29663 | } | |
29664 | { | |
29665 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL))); | |
29666 | } | |
29667 | { | |
29668 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG))); | |
29669 | } | |
29670 | { | |
29671 | PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO))); | |
29672 | } | |
29673 | { | |
29674 | PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR))); | |
29675 | } | |
29676 | { | |
29677 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT))); | |
29678 | } | |
29679 | { | |
29680 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN))); | |
29681 | } | |
29682 | { | |
29683 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE))); | |
29684 | } | |
29685 | { | |
29686 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT))); | |
29687 | } | |
29688 | { | |
29689 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT))); | |
29690 | } | |
29691 | { | |
29692 | PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL))); | |
29693 | } | |
29694 | { | |
29695 | PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT))); | |
29696 | } | |
29697 | { | |
29698 | PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED))); | |
29699 | } | |
d55e5bfc | 29700 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
36ed4f51 RD |
29701 | { |
29702 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER))); | |
29703 | } | |
29704 | { | |
29705 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH))); | |
29706 | } | |
29707 | { | |
29708 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT))); | |
29709 | } | |
29710 | { | |
29711 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE))); | |
29712 | } | |
29713 | { | |
29714 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH))); | |
29715 | } | |
29716 | { | |
29717 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER))); | |
29718 | } | |
29719 | { | |
29720 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME))); | |
29721 | } | |
29722 | { | |
29723 | PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER))); | |
29724 | } | |
29725 | { | |
29726 | PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D))); | |
29727 | } | |
29728 | { | |
29729 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL))); | |
29730 | } | |
29731 | { | |
29732 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL))); | |
29733 | } | |
29734 | { | |
29735 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE))); | |
29736 | } | |
29737 | { | |
29738 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING))); | |
29739 | } | |
29740 | { | |
29741 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN))); | |
29742 | } | |
d55e5bfc RD |
29743 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
29744 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
29745 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
29746 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
29747 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); | |
29748 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
36ed4f51 RD |
29749 | { |
29750 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE))); | |
29751 | } | |
29752 | { | |
29753 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING))); | |
29754 | } | |
29755 | { | |
29756 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN))); | |
29757 | } | |
29758 | { | |
29759 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER))); | |
29760 | } | |
29761 | { | |
29762 | PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER))); | |
29763 | } | |
29764 | { | |
29765 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH))); | |
29766 | } | |
29767 | { | |
29768 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER))); | |
29769 | } | |
29770 | { | |
29771 | PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D))); | |
29772 | } | |
29773 | { | |
29774 | PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP))); | |
29775 | } | |
29776 | { | |
29777 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT))); | |
29778 | } | |
29779 | { | |
29780 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM))); | |
29781 | } | |
29782 | { | |
29783 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT))); | |
29784 | } | |
29785 | { | |
29786 | PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE))); | |
29787 | } | |
29788 | { | |
29789 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK))); | |
29790 | } | |
29791 | { | |
29792 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE))); | |
29793 | } | |
d55e5bfc | 29794 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
36ed4f51 RD |
29795 | { |
29796 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL))); | |
29797 | } | |
29798 | { | |
29799 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL))); | |
29800 | } | |
29801 | { | |
29802 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE))); | |
29803 | } | |
29804 | { | |
29805 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP))); | |
29806 | } | |
29807 | { | |
29808 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT))); | |
29809 | } | |
29810 | { | |
29811 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT))); | |
29812 | } | |
29813 | { | |
29814 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM))); | |
29815 | } | |
29816 | { | |
29817 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y))); | |
29818 | } | |
29819 | { | |
29820 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X))); | |
29821 | } | |
29822 | { | |
29823 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH))); | |
29824 | } | |
29825 | { | |
29826 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY))); | |
29827 | } | |
d55e5bfc RD |
29828 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
29829 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
29830 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); | |
29831 | ||
29832 | // Map renamed classes back to their common name for OOR | |
29833 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
29834 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
29835 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
29836 | ||
29837 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
29838 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
29839 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
29840 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
29841 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
29842 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
29843 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
29844 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); | |
29845 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
29846 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
29847 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
29848 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
29849 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
36ed4f51 RD |
29850 | { |
29851 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE))); | |
29852 | } | |
29853 | { | |
29854 | PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle))); | |
29855 | } | |
070c48b4 | 29856 | SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set); |
36ed4f51 RD |
29857 | { |
29858 | PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN))); | |
29859 | } | |
29860 | { | |
29861 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD))); | |
29862 | } | |
29863 | { | |
29864 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE))); | |
29865 | } | |
29866 | { | |
29867 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG))); | |
29868 | } | |
29869 | { | |
29870 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN))); | |
29871 | } | |
29872 | { | |
29873 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE))); | |
29874 | } | |
29875 | { | |
29876 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD))); | |
29877 | } | |
d55e5bfc RD |
29878 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
29879 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
29880 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
29881 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
29882 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
36ed4f51 RD |
29883 | { |
29884 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001))); | |
29885 | } | |
29886 | { | |
29887 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001))); | |
29888 | } | |
29889 | { | |
29890 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002))); | |
29891 | } | |
29892 | { | |
29893 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003))); | |
29894 | } | |
29895 | { | |
29896 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004))); | |
29897 | } | |
29898 | { | |
29899 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005))); | |
29900 | } | |
29901 | { | |
29902 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100))); | |
29903 | } | |
29904 | { | |
29905 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600))); | |
29906 | } | |
d55e5bfc RD |
29907 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
29908 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
36ed4f51 RD |
29909 | { |
29910 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE))); | |
29911 | } | |
29912 | { | |
29913 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW))); | |
29914 | } | |
29915 | { | |
29916 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE))); | |
29917 | } | |
29918 | { | |
29919 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER))); | |
29920 | } | |
29921 | { | |
29922 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM))); | |
29923 | } | |
29924 | { | |
29925 | PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT))); | |
29926 | } | |
29927 | { | |
29928 | PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE))); | |
29929 | } | |
29930 | { | |
29931 | PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER))); | |
29932 | } | |
29933 | { | |
29934 | PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE))); | |
29935 | } | |
29936 | { | |
29937 | PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL))); | |
29938 | } | |
29939 | { | |
29940 | PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE))); | |
29941 | } | |
29942 | { | |
29943 | PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL))); | |
29944 | } | |
29945 | { | |
29946 | PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO))); | |
29947 | } | |
29948 | { | |
29949 | PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR))); | |
29950 | } | |
29951 | { | |
29952 | PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT))); | |
29953 | } | |
29954 | { | |
29955 | PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT))); | |
29956 | } | |
29957 | { | |
29958 | PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY))); | |
29959 | } | |
29960 | { | |
29961 | PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE))); | |
29962 | } | |
29963 | { | |
29964 | PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE))); | |
29965 | } | |
29966 | { | |
29967 | PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER))); | |
29968 | } | |
29969 | { | |
29970 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR))); | |
29971 | } | |
29972 | { | |
29973 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED))); | |
29974 | } | |
29975 | { | |
29976 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR))); | |
29977 | } | |
29978 | { | |
29979 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT))); | |
29980 | } | |
29981 | { | |
29982 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS))); | |
29983 | } | |
29984 | { | |
29985 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT))); | |
29986 | } | |
29987 | { | |
29988 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM))); | |
29989 | } | |
29990 | { | |
29991 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST))); | |
29992 | } | |
29993 | { | |
29994 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST))); | |
29995 | } | |
29996 | { | |
29997 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO))); | |
29998 | } | |
29999 | { | |
30000 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT))); | |
30001 | } | |
30002 | { | |
30003 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE))); | |
30004 | } | |
30005 | { | |
30006 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT))); | |
30007 | } | |
30008 | { | |
30009 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS))); | |
30010 | } | |
30011 | { | |
30012 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT))); | |
30013 | } | |
30014 | { | |
30015 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM))); | |
30016 | } | |
30017 | { | |
30018 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST))); | |
30019 | } | |
30020 | { | |
30021 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST))); | |
30022 | } | |
30023 | { | |
30024 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO))); | |
30025 | } | |
d55e5bfc RD |
30026 | |
30027 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
30028 | ||
30029 | } | |
30030 |