]>
Commit | Line | Data |
---|---|---|
d55e5bfc RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
093d3ff1 | 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); | |
093d3ff1 | 26 | }; |
d55e5bfc RD |
27 | #endif |
28 | ||
29 | ||
093d3ff1 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 | |
093d3ff1 | 39 | #include <Python.h> |
d55e5bfc RD |
40 | |
41 | /*********************************************************************** | |
093d3ff1 | 42 | * swigrun.swg |
d55e5bfc | 43 | * |
093d3ff1 RD |
44 | * This file contains generic CAPI SWIG runtime support for pointer |
45 | * type checking. | |
d55e5bfc RD |
46 | * |
47 | ************************************************************************/ | |
48 | ||
093d3ff1 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 | |
093d3ff1 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 |
093d3ff1 | 59 | #define SWIG_TYPE_TABLE_NAME |
d55e5bfc RD |
60 | #endif |
61 | ||
093d3ff1 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 |
093d3ff1 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 | ||
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 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 | /*********************************************************************** | |
093d3ff1 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 | * |
093d3ff1 | 442 | * Author : David Beazley (beazley@cs.uchicago.edu) |
d55e5bfc | 443 | * |
093d3ff1 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 | ||
093d3ff1 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 | |
093d3ff1 | 466 | /*************************************************************************/ |
d55e5bfc | 467 | |
d55e5bfc | 468 | |
093d3ff1 | 469 | /* The static type info list */ |
d55e5bfc | 470 | |
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 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 | ||
093d3ff1 RD |
507 | /* ----------------------------------------------------------------------------- |
508 | * SWIG API. Portion that goes into the runtime | |
509 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 510 | |
093d3ff1 RD |
511 | #ifdef __cplusplus |
512 | extern "C" { | |
513 | #endif | |
c32bde28 | 514 | |
093d3ff1 RD |
515 | /* ----------------------------------------------------------------------------- |
516 | * for internal method declarations | |
517 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 518 | |
093d3ff1 RD |
519 | #ifndef SWIGINTERN |
520 | #define SWIGINTERN static | |
521 | #endif | |
d55e5bfc | 522 | |
093d3ff1 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 | ||
093d3ff1 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 | |
093d3ff1 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 | |
c32bde28 | 569 | |
093d3ff1 RD |
570 | /* ----------------------------------------------------------------------------- |
571 | * Alloc. memory flags | |
572 | * ----------------------------------------------------------------------------- */ | |
c32bde28 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 | |
093d3ff1 RD |
578 | } |
579 | #endif | |
d55e5bfc | 580 | |
d55e5bfc | 581 | |
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 RD |
615 | /* Flags for pointer conversion */ |
616 | #define SWIG_POINTER_EXCEPTION 0x1 | |
617 | #define SWIG_POINTER_DISOWN 0x2 | |
d55e5bfc | 618 | |
d55e5bfc | 619 | |
093d3ff1 RD |
620 | #ifdef __cplusplus |
621 | extern "C" { | |
622 | #endif | |
d55e5bfc | 623 | |
093d3ff1 RD |
624 | /* ----------------------------------------------------------------------------- |
625 | * Create a new pointer string | |
626 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 627 | |
093d3ff1 RD |
628 | #ifndef SWIG_BUFFER_SIZE |
629 | #define SWIG_BUFFER_SIZE 1024 | |
630 | #endif | |
d55e5bfc | 631 | |
093d3ff1 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 | |
093d3ff1 RD |
638 | typedef struct { |
639 | PyObject_HEAD | |
640 | void *ptr; | |
641 | const char *desc; | |
642 | } PySwigObject; | |
d55e5bfc | 643 | |
093d3ff1 | 644 | /* Declarations for objects of type PySwigObject */ |
d55e5bfc | 645 | |
093d3ff1 RD |
646 | SWIGRUNTIME int |
647 | PySwigObject_print(PySwigObject *v, FILE *fp, int flags) | |
d55e5bfc | 648 | { |
093d3ff1 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; | |
c32bde28 | 653 | } else { |
093d3ff1 | 654 | return 1; |
c32bde28 | 655 | } |
d55e5bfc | 656 | } |
093d3ff1 RD |
657 | |
658 | SWIGRUNTIME PyObject * | |
659 | PySwigObject_repr(PySwigObject *v) | |
c32bde28 | 660 | { |
093d3ff1 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; | |
c32bde28 | 664 | } |
d55e5bfc | 665 | |
093d3ff1 RD |
666 | SWIGRUNTIME PyObject * |
667 | PySwigObject_str(PySwigObject *v) | |
d55e5bfc | 668 | { |
093d3ff1 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 | ||
093d3ff1 RD |
674 | SWIGRUNTIME PyObject * |
675 | PySwigObject_long(PySwigObject *v) | |
d55e5bfc | 676 | { |
093d3ff1 | 677 | return PyLong_FromUnsignedLong((unsigned long) v->ptr); |
d55e5bfc RD |
678 | } |
679 | ||
093d3ff1 RD |
680 | SWIGRUNTIME PyObject * |
681 | PySwigObject_oct(PySwigObject *v) | |
c32bde28 | 682 | { |
093d3ff1 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); | |
c32bde28 | 690 | } |
d55e5bfc | 691 | |
093d3ff1 RD |
692 | SWIGRUNTIME PyObject * |
693 | PySwigObject_hex(PySwigObject *v) | |
d55e5bfc | 694 | { |
093d3ff1 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 | ||
093d3ff1 RD |
700 | SWIGRUNTIME int |
701 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
d55e5bfc | 702 | { |
093d3ff1 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; | |
c32bde28 | 710 | } |
c32bde28 RD |
711 | } |
712 | ||
093d3ff1 RD |
713 | SWIGRUNTIME void |
714 | PySwigObject_dealloc(PySwigObject *self) | |
c32bde28 | 715 | { |
093d3ff1 | 716 | PyObject_DEL(self); |
d55e5bfc RD |
717 | } |
718 | ||
093d3ff1 RD |
719 | SWIGRUNTIME PyTypeObject* |
720 | PySwigObject_GetType() { | |
721 | static char PySwigObject_Type__doc__[] = | |
722 | "Swig object carries a C/C++ instance pointer"; | |
c32bde28 | 723 | |
093d3ff1 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) | |
c32bde28 | 807 | { |
093d3ff1 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; | |
c32bde28 | 813 | } |
d55e5bfc | 814 | |
093d3ff1 RD |
815 | SWIGRUNTIMEINLINE void * |
816 | PySwigObject_AsVoidPtr(PyObject *self) | |
817 | { | |
818 | return ((PySwigObject *)self)->ptr; | |
819 | } | |
c32bde28 | 820 | |
093d3ff1 RD |
821 | SWIGRUNTIMEINLINE const char * |
822 | PySwigObject_GetDesc(PyObject *self) | |
823 | { | |
824 | return ((PySwigObject *)self)->desc; | |
825 | } | |
d55e5bfc | 826 | |
093d3ff1 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 | |
093d3ff1 RD |
833 | /* ----------------------------------------------------------------------------- |
834 | * Implements a simple Swig Packed type, and use it instead of string | |
835 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 836 | |
093d3ff1 RD |
837 | typedef struct { |
838 | PyObject_HEAD | |
839 | void *pack; | |
840 | const char *desc; | |
841 | size_t size; | |
842 | } PySwigPacked; | |
c32bde28 | 843 | |
093d3ff1 RD |
844 | SWIGRUNTIME int |
845 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) | |
d55e5bfc | 846 | { |
093d3ff1 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 | ||
093d3ff1 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 | |
093d3ff1 RD |
880 | SWIGRUNTIME int |
881 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
d55e5bfc | 882 | { |
093d3ff1 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 | } |
c32bde28 RD |
892 | } |
893 | ||
093d3ff1 RD |
894 | SWIGRUNTIME void |
895 | PySwigPacked_dealloc(PySwigPacked *self) | |
c32bde28 | 896 | { |
093d3ff1 RD |
897 | free(self->pack); |
898 | PyObject_DEL(self); | |
d55e5bfc RD |
899 | } |
900 | ||
093d3ff1 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 | |
093d3ff1 RD |
950 | PySwigPacked_Type = tmp; |
951 | type_init = 1; | |
952 | } | |
953 | ||
954 | ||
d55e5bfc | 955 | |
093d3ff1 RD |
956 | return &PySwigPacked_Type; |
957 | } | |
d55e5bfc | 958 | |
093d3ff1 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 | |
093d3ff1 RD |
975 | SWIGRUNTIMEINLINE const char * |
976 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) | |
d55e5bfc | 977 | { |
093d3ff1 RD |
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 | |
093d3ff1 RD |
984 | SWIGRUNTIMEINLINE const char * |
985 | PySwigPacked_GetDesc(PyObject *self) | |
986 | { | |
987 | return ((PySwigPacked *)self)->desc; | |
988 | } | |
d55e5bfc | 989 | |
093d3ff1 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 | |
093d3ff1 RD |
996 | #else |
997 | /* ----------------------------------------------------------------------------- | |
998 | * Use the old Python PyCObject instead of PySwigObject | |
999 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 1000 | |
093d3ff1 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 | |
093d3ff1 | 1006 | #endif |
d55e5bfc | 1007 | |
093d3ff1 | 1008 | #endif |
d55e5bfc | 1009 | |
093d3ff1 RD |
1010 | /* ----------------------------------------------------------------------------- |
1011 | * errors manipulation | |
1012 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 1013 | |
093d3ff1 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 | |
093d3ff1 RD |
1050 | SWIGRUNTIMEINLINE void |
1051 | SWIG_Python_NullRef(const char *type) | |
1052 | { | |
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 | |
093d3ff1 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 | |
093d3ff1 RD |
1085 | SWIGRUNTIME int |
1086 | SWIG_Python_ArgFail(int argnum) | |
d55e5bfc | 1087 | { |
093d3ff1 RD |
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 | |
093d3ff1 RD |
1099 | /* ----------------------------------------------------------------------------- |
1100 | * pointers/data manipulation | |
1101 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 1102 | |
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 | 1156 | type_check: |
d55e5bfc | 1157 | |
093d3ff1 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 | |
093d3ff1 RD |
1166 | if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { |
1167 | PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); | |
1168 | } | |
1169 | return 0; | |
d55e5bfc | 1170 | |
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 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] | |
62d32a5f RD |
1388 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47] |
1389 | #define SWIGTYPE_p_char swig_types[48] | |
1390 | #define SWIGTYPE_p_wxMiniFrame swig_types[49] | |
1391 | #define SWIGTYPE_p_wxFrame swig_types[50] | |
1392 | #define SWIGTYPE_p_wxPyPrintout swig_types[51] | |
1393 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52] | |
1394 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[53] | |
1395 | #define SWIGTYPE_p_wxPaperSize swig_types[54] | |
1396 | #define SWIGTYPE_p_wxStatusBar swig_types[55] | |
1397 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[56] | |
1398 | #define SWIGTYPE_p_wxPoint swig_types[57] | |
1399 | #define SWIGTYPE_p_wxObject swig_types[58] | |
1400 | #define SWIGTYPE_p_unsigned_long swig_types[59] | |
1401 | #define SWIGTYPE_p_wxTipWindow 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_wxPyPopupTransientWindow swig_types[65] | |
1407 | #define SWIGTYPE_p_wxPopupWindow swig_types[66] | |
1408 | #define SWIGTYPE_p_wxSashWindow swig_types[67] | |
1409 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[68] | |
1410 | #define SWIGTYPE_p_wxWindow swig_types[69] | |
1411 | #define SWIGTYPE_p_wxScrolledWindow swig_types[70] | |
1412 | #define SWIGTYPE_p_wxMenuBar swig_types[71] | |
1413 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[72] | |
1414 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[73] | |
1415 | #define SWIGTYPE_p_wxPrintPreview swig_types[74] | |
1416 | #define SWIGTYPE_p_wxSashEvent swig_types[75] | |
1417 | #define SWIGTYPE_p_wxString swig_types[76] | |
1418 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[77] | |
1419 | #define SWIGTYPE_p_wxDirDialog swig_types[78] | |
1420 | #define SWIGTYPE_p_wxColourDialog swig_types[79] | |
1421 | #define SWIGTYPE_p_wxDialog swig_types[80] | |
1422 | #define SWIGTYPE_p_wxPanel swig_types[81] | |
1423 | #define SWIGTYPE_p_wxFontDialog swig_types[82] | |
1424 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[83] | |
1425 | #define SWIGTYPE_p_wxPrintDialog swig_types[84] | |
1426 | #define SWIGTYPE_p_wxFileSystem swig_types[85] | |
1427 | #define SWIGTYPE_p_wxBitmap swig_types[86] | |
1428 | #define SWIGTYPE_unsigned_int swig_types[87] | |
1429 | #define SWIGTYPE_p_unsigned_int swig_types[88] | |
1430 | #define SWIGTYPE_p_unsigned_char swig_types[89] | |
1431 | #define SWIGTYPE_p_wxCommandEvent swig_types[90] | |
1432 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[91] | |
1433 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92] | |
1434 | #define SWIGTYPE_p_wxColour swig_types[93] | |
1435 | #define SWIGTYPE_p_wxToolBar swig_types[94] | |
1436 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[95] | |
1437 | #define SWIGTYPE_p_wxPrintDialogData swig_types[96] | |
1438 | static swig_type_info *swig_types[98]; | |
093d3ff1 RD |
1439 | |
1440 | /* -------- TYPES TABLE (END) -------- */ | |
1441 | ||
1442 | ||
1443 | /*----------------------------------------------- | |
1444 | @(target):= _windows_.so | |
1445 | ------------------------------------------------*/ | |
1446 | #define SWIG_init init_windows_ | |
1447 | ||
1448 | #define SWIG_name "_windows_" | |
1449 | ||
1450 | #include "wx/wxPython/wxPython.h" | |
1451 | #include "wx/wxPython/pyclasses.h" | |
1452 | ||
1453 | ||
1454 | static const wxString wxPyEmptyString(wxEmptyString); | |
1455 | static const wxString wxPyPanelNameStr(wxPanelNameStr); | |
1456 | ||
1457 | ||
1458 | ||
1459 | #include <limits.h> | |
1460 | ||
1461 | ||
1462 | SWIGINTERN int | |
1463 | SWIG_CheckLongInRange(long value, long min_value, long max_value, | |
1464 | const char *errmsg) | |
1465 | { | |
1466 | if (value < min_value) { | |
1467 | if (errmsg) { | |
1468 | PyErr_Format(PyExc_OverflowError, | |
1469 | "value %ld is less than '%s' minimum %ld", | |
1470 | value, errmsg, min_value); | |
1471 | } | |
1472 | return 0; | |
1473 | } else if (value > max_value) { | |
1474 | if (errmsg) { | |
1475 | PyErr_Format(PyExc_OverflowError, | |
1476 | "value %ld is greater than '%s' maximum %ld", | |
1477 | value, errmsg, max_value); | |
1478 | } | |
1479 | return 0; | |
1480 | } | |
1481 | return 1; | |
1482 | } | |
1483 | ||
1484 | ||
1485 | SWIGINTERN int | |
1486 | SWIG_AsVal_long(PyObject* obj, long* val) | |
1487 | { | |
1488 | if (PyNumber_Check(obj)) { | |
1489 | if (val) *val = PyInt_AsLong(obj); | |
1490 | return 1; | |
1491 | } | |
1492 | else { | |
1493 | SWIG_type_error("number", obj); | |
1494 | } | |
1495 | return 0; | |
1496 | } | |
1497 | ||
1498 | ||
1499 | #if INT_MAX != LONG_MAX | |
1500 | SWIGINTERN int | |
1501 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1502 | { | |
1503 | const char* errmsg = val ? "int" : (char*)0; | |
1504 | long v; | |
1505 | if (SWIG_AsVal_long(obj, &v)) { | |
1506 | if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { | |
1507 | if (val) *val = (int)(v); | |
1508 | return 1; | |
1509 | } else { | |
1510 | return 0; | |
1511 | } | |
1512 | } else { | |
1513 | PyErr_Clear(); | |
1514 | } | |
1515 | if (val) { | |
1516 | SWIG_type_error(errmsg, obj); | |
1517 | } | |
1518 | return 0; | |
1519 | } | |
1520 | #else | |
1521 | SWIGINTERNSHORT int | |
1522 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1523 | { | |
1524 | return SWIG_AsVal_long(obj,(long*)val); | |
1525 | } | |
1526 | #endif | |
1527 | ||
1528 | ||
1529 | SWIGINTERNSHORT int | |
1530 | SWIG_As_int(PyObject* obj) | |
1531 | { | |
1532 | int v; | |
1533 | if (!SWIG_AsVal_int(obj, &v)) { | |
1534 | /* | |
1535 | this is needed to make valgrind/purify happier. | |
1536 | */ | |
1537 | memset((void*)&v, 0, sizeof(int)); | |
1538 | } | |
1539 | return v; | |
1540 | } | |
1541 | ||
1542 | ||
1543 | SWIGINTERNSHORT long | |
1544 | SWIG_As_long(PyObject* obj) | |
1545 | { | |
1546 | long v; | |
1547 | if (!SWIG_AsVal_long(obj, &v)) { | |
1548 | /* | |
1549 | this is needed to make valgrind/purify happier. | |
1550 | */ | |
1551 | memset((void*)&v, 0, sizeof(long)); | |
1552 | } | |
1553 | return v; | |
1554 | } | |
1555 | ||
1556 | ||
1557 | SWIGINTERNSHORT int | |
1558 | SWIG_Check_int(PyObject* obj) | |
1559 | { | |
1560 | return SWIG_AsVal_int(obj, (int*)0); | |
1561 | } | |
1562 | ||
1563 | ||
1564 | SWIGINTERNSHORT int | |
1565 | SWIG_Check_long(PyObject* obj) | |
1566 | { | |
1567 | return SWIG_AsVal_long(obj, (long*)0); | |
1568 | } | |
1569 | ||
1570 | ||
1571 | SWIGINTERN int | |
1572 | SWIG_AsVal_bool(PyObject *obj, bool *val) | |
1573 | { | |
1574 | if (obj == Py_True) { | |
1575 | if (val) *val = true; | |
1576 | return 1; | |
1577 | } | |
1578 | if (obj == Py_False) { | |
1579 | if (val) *val = false; | |
1580 | return 1; | |
1581 | } | |
1582 | int res = 0; | |
1583 | if (SWIG_AsVal_int(obj, &res)) { | |
1584 | if (val) *val = res ? true : false; | |
1585 | return 1; | |
1586 | } else { | |
1587 | PyErr_Clear(); | |
1588 | } | |
1589 | if (val) { | |
1590 | SWIG_type_error("bool", obj); | |
1591 | } | |
1592 | return 0; | |
1593 | } | |
1594 | ||
1595 | ||
1596 | SWIGINTERNSHORT bool | |
1597 | SWIG_As_bool(PyObject* obj) | |
1598 | { | |
1599 | bool v; | |
1600 | if (!SWIG_AsVal_bool(obj, &v)) { | |
1601 | /* | |
1602 | this is needed to make valgrind/purify happier. | |
1603 | */ | |
1604 | memset((void*)&v, 0, sizeof(bool)); | |
1605 | } | |
1606 | return v; | |
1607 | } | |
1608 | ||
1609 | ||
1610 | SWIGINTERNSHORT int | |
1611 | SWIG_Check_bool(PyObject* obj) | |
1612 | { | |
1613 | return SWIG_AsVal_bool(obj, (bool*)0); | |
1614 | } | |
1615 | ||
1616 | ||
1617 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ | |
1618 | #define SWIG_From_int PyInt_FromLong | |
1619 | /*@@*/ | |
1620 | ||
1621 | ||
1622 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
1623 | PyObject* o2; | |
1624 | PyObject* o3; | |
1625 | ||
1626 | if (!target) { | |
1627 | target = o; | |
1628 | } else if (target == Py_None) { | |
1629 | Py_DECREF(Py_None); | |
1630 | target = o; | |
1631 | } else { | |
1632 | if (!PyTuple_Check(target)) { | |
1633 | o2 = target; | |
1634 | target = PyTuple_New(1); | |
1635 | PyTuple_SetItem(target, 0, o2); | |
1636 | } | |
1637 | o3 = PyTuple_New(1); | |
1638 | PyTuple_SetItem(o3, 0, o); | |
1639 | ||
1640 | o2 = target; | |
1641 | target = PySequence_Concat(o2, o3); | |
1642 | Py_DECREF(o2); | |
1643 | Py_DECREF(o3); | |
1644 | } | |
1645 | return target; | |
1646 | } | |
1647 | ||
1648 | ||
1649 | ||
1650 | SWIGINTERN int | |
1651 | SWIG_AsVal_double(PyObject *obj, double* val) | |
1652 | { | |
1653 | if (PyNumber_Check(obj)) { | |
1654 | if (val) *val = PyFloat_AsDouble(obj); | |
1655 | return 1; | |
1656 | } | |
1657 | else { | |
1658 | SWIG_type_error("number", obj); | |
1659 | } | |
1660 | return 0; | |
1661 | } | |
1662 | ||
1663 | ||
1664 | SWIGINTERNSHORT double | |
1665 | SWIG_As_double(PyObject* obj) | |
1666 | { | |
1667 | double v; | |
1668 | if (!SWIG_AsVal_double(obj, &v)) { | |
1669 | /* | |
1670 | this is needed to make valgrind/purify happier. | |
1671 | */ | |
1672 | memset((void*)&v, 0, sizeof(double)); | |
1673 | } | |
1674 | return v; | |
1675 | } | |
1676 | ||
1677 | ||
1678 | SWIGINTERNSHORT int | |
1679 | SWIG_Check_double(PyObject* obj) | |
1680 | { | |
1681 | return SWIG_AsVal_double(obj, (double*)0); | |
1682 | } | |
1683 | ||
1684 | ||
1685 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ | |
1686 | #define SWIG_From_double PyFloat_FromDouble | |
1687 | /*@@*/ | |
1688 | ||
1689 | static const wxString wxPyFrameNameStr(wxFrameNameStr); | |
1690 | static const wxString wxPyDialogNameStr(wxDialogNameStr); | |
1691 | static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr); | |
1692 | static const wxString wxPyToolBarNameStr(wxToolBarNameStr); | |
1693 | static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ } | |
1694 | static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; } | |
1695 | ||
1696 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ | |
1697 | #define SWIG_From_long PyInt_FromLong | |
1698 | /*@@*/ | |
1699 | ||
1700 | ||
1701 | ||
1702 | static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ | |
1703 | wxRect r; | |
1704 | self->GetFieldRect(i, r); | |
1705 | return r; | |
1706 | } | |
1707 | static const wxString wxPySplitterNameStr(wxT("splitter")); | |
1708 | static const wxString wxPySashNameStr(wxT("sashWindow")); | |
1709 | static const wxString wxPySashLayoutNameStr(wxT("layoutWindow")); | |
1710 | ||
1711 | #include <wx/popupwin.h> | |
1712 | ||
1713 | ||
1714 | class wxPyPopupTransientWindow : public wxPopupTransientWindow | |
1715 | { | |
1716 | public: | |
1717 | wxPyPopupTransientWindow() : wxPopupTransientWindow() {} | |
1718 | wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE) | |
1719 | : wxPopupTransientWindow(parent, style) {} | |
1720 | ||
1721 | DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown); | |
1722 | DEC_PYCALLBACK__(OnDismiss); | |
1723 | DEC_PYCALLBACK_BOOL_(CanDismiss); | |
1724 | PYPRIVATE; | |
1725 | }; | |
1726 | ||
1727 | ||
1728 | IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown); | |
1729 | IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss); | |
1730 | IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss); | |
1731 | ||
1732 | ||
1733 | #include <wx/tipwin.h> | |
1734 | ||
1735 | static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){ | |
1736 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
1737 | } | |
1738 | ||
1739 | #include <wx/tipwin.h> | |
1740 | ||
1741 | ||
1742 | #include <wx/vscroll.h> | |
1743 | ||
1744 | ||
1745 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
1746 | { | |
1747 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); | |
1748 | public: | |
1749 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
1750 | ||
1751 | wxPyVScrolledWindow(wxWindow *parent, | |
1752 | wxWindowID id = wxID_ANY, | |
1753 | const wxPoint& pos = wxDefaultPosition, | |
1754 | const wxSize& size = wxDefaultSize, | |
1755 | long style = 0, | |
1756 | const wxString& name = wxPyPanelNameStr) | |
1757 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
1758 | {} | |
1759 | ||
1760 | // Overridable virtuals | |
1761 | ||
1762 | // this function must be overridden in the derived class and it should | |
1763 | // return the height of the given line in pixels | |
1764 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
1765 | ||
1766 | ||
1767 | // this function doesn't have to be overridden but it may be useful to do | |
1768 | // it if calculating the lines heights is a relatively expensive operation | |
1769 | // as it gives the user code a possibility to calculate several of them at | |
1770 | // once | |
1771 | // | |
1772 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
1773 | // shouldn't rely on the latter being called for all lines in the interval | |
1774 | // specified here. It is also possible that OnGetLineHeight() will be | |
1775 | // called for the lines outside of this interval, so this is really just a | |
1776 | // hint, not a promise. | |
1777 | // | |
1778 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
1779 | // usual | |
1780 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
1781 | ||
1782 | ||
1783 | // when the number of lines changes, we try to estimate the total height | |
1784 | // of all lines which is a rather expensive operation in terms of lines | |
1785 | // access, so if the user code may estimate the average height | |
1786 | // better/faster than we do, it should override this function to implement | |
1787 | // its own logic | |
1788 | // | |
1789 | // this function should return the best guess for the total height it may | |
1790 | // make | |
1791 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
1792 | ||
1793 | ||
1794 | // Also expose some other interesting protected methods | |
1795 | ||
1796 | ||
1797 | // find the index of the line we need to show at the top of the window such | |
1798 | // that the last (fully or partially) visible line is the given one | |
1799 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false) | |
1800 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } | |
1801 | ||
1802 | // get the total height of the lines between lineMin (inclusive) and | |
1803 | // lineMax (exclusive) | |
1804 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
1805 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
d55e5bfc RD |
1806 | |
1807 | ||
1808 | PYPRIVATE; | |
1809 | }; | |
1810 | ||
1811 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
1812 | ||
1813 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
1814 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
1815 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
1816 | ||
1817 | ||
093d3ff1 | 1818 | SWIGINTERN int |
c32bde28 | 1819 | SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) |
d55e5bfc | 1820 | { |
c32bde28 RD |
1821 | long v = 0; |
1822 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
093d3ff1 | 1823 | SWIG_type_error("unsigned number", obj); |
d55e5bfc | 1824 | } |
c32bde28 RD |
1825 | else if (val) |
1826 | *val = (unsigned long)v; | |
1827 | return 1; | |
d55e5bfc RD |
1828 | } |
1829 | ||
1830 | ||
093d3ff1 | 1831 | SWIGINTERNSHORT unsigned long |
c32bde28 | 1832 | SWIG_As_unsigned_SS_long(PyObject* obj) |
d55e5bfc | 1833 | { |
c32bde28 RD |
1834 | unsigned long v; |
1835 | if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) { | |
1836 | /* | |
093d3ff1 | 1837 | this is needed to make valgrind/purify happier. |
c32bde28 RD |
1838 | */ |
1839 | memset((void*)&v, 0, sizeof(unsigned long)); | |
d55e5bfc | 1840 | } |
c32bde28 RD |
1841 | return v; |
1842 | } | |
1843 | ||
1844 | ||
093d3ff1 | 1845 | SWIGINTERNSHORT int |
c32bde28 RD |
1846 | SWIG_Check_unsigned_SS_long(PyObject* obj) |
1847 | { | |
1848 | return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); | |
d55e5bfc RD |
1849 | } |
1850 | ||
1851 | ||
093d3ff1 | 1852 | SWIGINTERNSHORT PyObject* |
c32bde28 | 1853 | SWIG_From_unsigned_SS_long(unsigned long value) |
d55e5bfc RD |
1854 | { |
1855 | return (value > LONG_MAX) ? | |
1856 | PyLong_FromUnsignedLong(value) | |
093d3ff1 | 1857 | : PyInt_FromLong((long)(value)); |
d55e5bfc RD |
1858 | } |
1859 | ||
1860 | ||
1861 | #include <wx/vlbox.h> | |
1862 | ||
1863 | static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr); | |
1864 | ||
1865 | class wxPyVListBox : public wxVListBox | |
1866 | { | |
1867 | DECLARE_ABSTRACT_CLASS(wxPyVListBox); | |
1868 | public: | |
1869 | wxPyVListBox() : wxVListBox() {} | |
1870 | ||
1871 | wxPyVListBox(wxWindow *parent, | |
1872 | wxWindowID id = wxID_ANY, | |
1873 | const wxPoint& pos = wxDefaultPosition, | |
1874 | const wxSize& size = wxDefaultSize, | |
1875 | long style = 0, | |
1876 | const wxString& name = wxPyVListBoxNameStr) | |
1877 | : wxVListBox(parent, id, pos, size, style, name) | |
1878 | {} | |
1879 | ||
1880 | // Overridable virtuals | |
1881 | ||
1882 | // the derived class must implement this function to actually draw the item | |
1883 | // with the given index on the provided DC | |
1884 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
1885 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
1886 | ||
1887 | ||
1888 | // the derived class must implement this method to return the height of the | |
1889 | // specified item | |
1890 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
1891 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
1892 | ||
1893 | ||
1894 | // this method may be used to draw separators between the lines; note that | |
1895 | // the rectangle may be modified, typically to deflate it a bit before | |
1896 | // passing to OnDrawItem() | |
1897 | // | |
1898 | // the base class version doesn't do anything | |
1899 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
1900 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
1901 | ||
1902 | ||
1903 | // this method is used to draw the items background and, maybe, a border | |
1904 | // around it | |
1905 | // | |
1906 | // the base class version implements a reasonable default behaviour which | |
1907 | // consists in drawing the selected item with the standard background | |
1908 | // colour and drawing a border around the item if it is either selected or | |
1909 | // current | |
1910 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
1911 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
1912 | ||
1913 | ||
1914 | PYPRIVATE; | |
1915 | }; | |
1916 | ||
1917 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
1918 | ||
1919 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
1920 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
1921 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
1922 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
1923 | ||
1924 | ||
093d3ff1 | 1925 | static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){ |
09c21d3b RD |
1926 | unsigned long cookie = 0; |
1927 | int selected = self->GetFirstSelected(cookie); | |
1928 | bool blocked = wxPyBeginBlockThreads(); | |
1929 | PyObject* tup = PyTuple_New(2); | |
1930 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
1931 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
1932 | wxPyEndBlockThreads(blocked); | |
1933 | return tup; | |
1934 | } | |
093d3ff1 | 1935 | static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){ |
09c21d3b RD |
1936 | int selected = self->GetNextSelected(cookie); |
1937 | bool blocked = wxPyBeginBlockThreads(); | |
1938 | PyObject* tup = PyTuple_New(2); | |
1939 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
1940 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
1941 | wxPyEndBlockThreads(blocked); | |
1942 | return tup; | |
1943 | } | |
d55e5bfc RD |
1944 | |
1945 | #include <wx/htmllbox.h> | |
1946 | ||
1947 | ||
1948 | class wxPyHtmlListBox : public wxHtmlListBox | |
1949 | { | |
1950 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); | |
1951 | public: | |
1952 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
1953 | ||
1954 | wxPyHtmlListBox(wxWindow *parent, | |
1955 | wxWindowID id = wxID_ANY, | |
1956 | const wxPoint& pos = wxDefaultPosition, | |
1957 | const wxSize& size = wxDefaultSize, | |
1958 | long style = 0, | |
1959 | const wxString& name = wxPyVListBoxNameStr) | |
1960 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
1961 | {} | |
1962 | ||
1963 | // Overridable virtuals | |
1964 | ||
1965 | // this method must be implemented in the derived class and should return | |
1966 | // the body (i.e. without <html>) of the HTML for the given item | |
1967 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
1968 | ||
1969 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
1970 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
1971 | ||
1972 | // TODO: | |
1973 | // // this method allows to customize the selection appearance: it may be used | |
1974 | // // to specify the colour of the text which normally has the given colour | |
1975 | // // colFg when it is inside the selection | |
1976 | // // | |
1977 | // // by default, the original colour is not used at all and all text has the | |
1978 | // // same (default for this system) colour inside selection | |
1979 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
1980 | ||
1981 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
1982 | // // background colour -- this is even more rarely used as you can change it | |
1983 | // // globally using SetSelectionBackground() | |
1984 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
1985 | ||
1986 | ||
1987 | PYPRIVATE; | |
1988 | }; | |
1989 | ||
1990 | ||
1991 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
1992 | ||
1993 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
1994 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
1995 | ||
1996 | ||
1997 | ||
1998 | ||
1999 | ||
ae8162c8 RD |
2000 | #ifndef wxHAS_TASK_BAR_ICON |
2001 | // implement dummy classes for platforms that don't have it | |
d55e5bfc RD |
2002 | |
2003 | class wxTaskBarIcon : public wxEvtHandler | |
2004 | { | |
2005 | public: | |
2006 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } | |
2007 | }; | |
09c21d3b | 2008 | |
d55e5bfc RD |
2009 | |
2010 | class wxTaskBarIconEvent : public wxEvent | |
2011 | { | |
2012 | public: | |
2013 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
2014 | { wxPyRaiseNotImplemented(); } | |
2015 | virtual wxEvent* Clone() const { return NULL; } | |
ae8162c8 RD |
2016 | bool IsOk() const { return false; } |
2017 | bool IsIconInstalled() const { return false; } | |
2018 | bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; } | |
2019 | bool RemoveIcon() { return false; } | |
2020 | bool PopupMenu(wxMenu *menu) { return false; } | |
d55e5bfc RD |
2021 | }; |
2022 | ||
2023 | enum { | |
2024 | wxEVT_TASKBAR_MOVE = 0, | |
2025 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
2026 | wxEVT_TASKBAR_LEFT_UP = 0, | |
2027 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
2028 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
2029 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
2030 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
2031 | }; | |
09c21d3b RD |
2032 | |
2033 | ||
2034 | #else | |
5e483524 RD |
2035 | // Otherwise make a class that can virtualize CreatePopupMenu |
2036 | class wxPyTaskBarIcon : public wxTaskBarIcon | |
2037 | { | |
2038 | DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon); | |
2039 | public: | |
2040 | wxPyTaskBarIcon() : wxTaskBarIcon() | |
2041 | {} | |
2042 | ||
2043 | wxMenu* CreatePopupMenu() { | |
2044 | wxMenu *rval = NULL; | |
2045 | bool found; | |
2046 | bool blocked = wxPyBeginBlockThreads(); | |
2047 | if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) { | |
2048 | PyObject* ro; | |
2049 | wxMenu* ptr; | |
2050 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
2051 | if (ro) { | |
2052 | if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu"))) | |
2053 | rval = ptr; | |
2054 | Py_DECREF(ro); | |
2055 | } | |
2056 | } | |
2057 | wxPyEndBlockThreads(blocked); | |
2058 | if (! found) | |
2059 | rval = wxTaskBarIcon::CreatePopupMenu(); | |
2060 | return rval; | |
2061 | } | |
2062 | ||
2063 | PYPRIVATE; | |
2064 | }; | |
2065 | ||
2066 | IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon); | |
09c21d3b | 2067 | |
d55e5bfc RD |
2068 | #endif |
2069 | ||
093d3ff1 | 2070 | static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){ |
d55e5bfc | 2071 | self->RemoveIcon(); |
5e483524 | 2072 | delete self; |
d55e5bfc RD |
2073 | } |
2074 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); | |
2075 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
2076 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
2077 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
2078 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
2079 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
093d3ff1 | 2080 | static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ |
d55e5bfc RD |
2081 | wxArrayString arr; |
2082 | self->GetFilenames(arr); | |
2083 | return wxArrayString2PyList_helper(arr); | |
2084 | } | |
093d3ff1 | 2085 | static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ |
d55e5bfc RD |
2086 | wxArrayString arr; |
2087 | self->GetPaths(arr); | |
2088 | return wxArrayString2PyList_helper(arr); | |
2089 | } | |
093d3ff1 | 2090 | static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ |
d55e5bfc RD |
2091 | return wxArrayInt2PyList_helper(self->GetSelections()); |
2092 | } | |
093d3ff1 | 2093 | 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 |
2094 | return new wxSingleChoiceDialog(parent, message, caption, |
2095 | choices, choices_array, NULL, style, pos); | |
2096 | } | |
c1cb24a4 | 2097 | static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr); |
d55e5bfc RD |
2098 | |
2099 | #include <wx/mdi.h> | |
2100 | ||
2101 | // C++ version of Python aware wxWindow | |
2102 | class wxPyWindow : public wxWindow | |
2103 | { | |
2104 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
2105 | public: | |
2106 | wxPyWindow() : wxWindow() {} | |
2107 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
2108 | const wxPoint& pos = wxDefaultPosition, | |
2109 | const wxSize& size = wxDefaultSize, | |
2110 | long style = 0, | |
2111 | const wxString& name = wxPyPanelNameStr) | |
2112 | : wxWindow(parent, id, pos, size, style, name) {} | |
2113 | ||
caef1a4d | 2114 | void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); } |
d55e5bfc RD |
2115 | |
2116 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
2117 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2118 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2119 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2120 | ||
2121 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2122 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2123 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2124 | ||
2125 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2126 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2127 | ||
2128 | DEC_PYCALLBACK__(InitDialog); | |
2129 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2130 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2131 | DEC_PYCALLBACK_BOOL_(Validate); | |
2132 | ||
2133 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2134 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2135 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2136 | ||
2137 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2138 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2139 | ||
caef1a4d | 2140 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
d55e5bfc | 2141 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
caef1a4d | 2142 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc RD |
2143 | |
2144 | PYPRIVATE; | |
2145 | }; | |
2146 | ||
2147 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
2148 | ||
2149 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
2150 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
2151 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
2152 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
2153 | ||
2154 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
2155 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
2156 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
2157 | ||
2158 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
2159 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
2160 | ||
2161 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
2162 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
2163 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
2164 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
2165 | ||
2166 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
2167 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
2168 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
2169 | ||
2170 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
2171 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
2172 | ||
caef1a4d | 2173 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours); |
d55e5bfc | 2174 | IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground); |
caef1a4d | 2175 | IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes); |
d55e5bfc RD |
2176 | |
2177 | ||
2178 | // C++ version of Python aware wxPanel | |
2179 | class wxPyPanel : public wxPanel | |
2180 | { | |
2181 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
2182 | public: | |
2183 | wxPyPanel() : wxPanel() {} | |
2184 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
2185 | const wxPoint& pos = wxDefaultPosition, | |
2186 | const wxSize& size = wxDefaultSize, | |
2187 | long style = 0, | |
2188 | const wxString& name = wxPyPanelNameStr) | |
2189 | : wxPanel(parent, id, pos, size, style, name) {} | |
2190 | ||
caef1a4d RD |
2191 | void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); } |
2192 | ||
d55e5bfc RD |
2193 | |
2194 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
2195 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2196 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2197 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2198 | ||
2199 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2200 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2201 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2202 | ||
2203 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2204 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2205 | ||
2206 | DEC_PYCALLBACK__(InitDialog); | |
2207 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2208 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2209 | DEC_PYCALLBACK_BOOL_(Validate); | |
2210 | ||
2211 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2212 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2213 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2214 | ||
2215 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2216 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2217 | ||
caef1a4d | 2218 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
d55e5bfc | 2219 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
caef1a4d | 2220 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc RD |
2221 | |
2222 | PYPRIVATE; | |
2223 | }; | |
2224 | ||
2225 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
2226 | ||
2227 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
2228 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
2229 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
2230 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
2231 | ||
2232 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
2233 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
2234 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
2235 | ||
2236 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
2237 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
2238 | ||
2239 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
2240 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
2241 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
2242 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
2243 | ||
2244 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
2245 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
2246 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
2247 | ||
2248 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
2249 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
2250 | ||
caef1a4d | 2251 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours); |
d55e5bfc | 2252 | IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground); |
caef1a4d | 2253 | IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes); |
d55e5bfc | 2254 | |
caef1a4d | 2255 | |
d55e5bfc RD |
2256 | // C++ version of Python aware wxScrolledWindow |
2257 | class wxPyScrolledWindow : public wxScrolledWindow | |
2258 | { | |
2259 | DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow) | |
2260 | public: | |
2261 | wxPyScrolledWindow() : wxScrolledWindow() {} | |
2262 | wxPyScrolledWindow(wxWindow* parent, const wxWindowID id, | |
2263 | const wxPoint& pos = wxDefaultPosition, | |
2264 | const wxSize& size = wxDefaultSize, | |
2265 | long style = 0, | |
2266 | const wxString& name = wxPyPanelNameStr) | |
2267 | : wxScrolledWindow(parent, id, pos, size, style, name) {} | |
2268 | ||
caef1a4d | 2269 | void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); } |
d55e5bfc RD |
2270 | |
2271 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
2272 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2273 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2274 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2275 | ||
2276 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2277 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2278 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2279 | ||
2280 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2281 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2282 | ||
2283 | DEC_PYCALLBACK__(InitDialog); | |
2284 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2285 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2286 | DEC_PYCALLBACK_BOOL_(Validate); | |
2287 | ||
2288 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2289 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2290 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2291 | ||
2292 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2293 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2294 | ||
caef1a4d | 2295 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
d55e5bfc | 2296 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
caef1a4d | 2297 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc RD |
2298 | |
2299 | PYPRIVATE; | |
2300 | }; | |
2301 | ||
2302 | IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow); | |
2303 | ||
2304 | IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow); | |
2305 | IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize); | |
2306 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize); | |
2307 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize); | |
2308 | ||
2309 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize); | |
2310 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize); | |
2311 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition); | |
2312 | ||
2313 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize); | |
2314 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize); | |
2315 | ||
2316 | IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog); | |
2317 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow); | |
2318 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow); | |
2319 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate); | |
2320 | ||
2321 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus); | |
2322 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard); | |
2323 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize); | |
2324 | ||
2325 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild); | |
2326 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild); | |
2327 | ||
caef1a4d | 2328 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours); |
d55e5bfc | 2329 | IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground); |
caef1a4d RD |
2330 | IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes); |
2331 | ||
d55e5bfc RD |
2332 | |
2333 | ||
2334 | #include "wx/wxPython/printfw.h" | |
2335 | ||
2336 | ||
2337 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); | |
2338 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
2339 | ||
2340 | ||
c1cb24a4 | 2341 | IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout); |
d55e5bfc RD |
2342 | |
2343 | // Since this one would be tough and ugly to do with the Macros... | |
2344 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
ae8162c8 | 2345 | bool hadErr = false; |
d55e5bfc RD |
2346 | bool found; |
2347 | ||
2348 | bool blocked = wxPyBeginBlockThreads(); | |
2349 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { | |
2350 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
2351 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
2352 | PyObject* val; | |
2353 | ||
2354 | val = PyTuple_GetItem(result, 0); | |
2355 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
ae8162c8 | 2356 | else hadErr = true; |
d55e5bfc RD |
2357 | |
2358 | val = PyTuple_GetItem(result, 1); | |
2359 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
ae8162c8 | 2360 | else hadErr = true; |
d55e5bfc RD |
2361 | |
2362 | val = PyTuple_GetItem(result, 2); | |
2363 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
ae8162c8 | 2364 | else hadErr = true; |
d55e5bfc RD |
2365 | |
2366 | val = PyTuple_GetItem(result, 3); | |
2367 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
ae8162c8 | 2368 | else hadErr = true; |
d55e5bfc RD |
2369 | } |
2370 | else | |
ae8162c8 | 2371 | hadErr = true; |
d55e5bfc RD |
2372 | |
2373 | if (hadErr) { | |
2374 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
2375 | PyErr_Print(); | |
2376 | } | |
2377 | Py_DECREF(result); | |
2378 | } | |
2379 | wxPyEndBlockThreads(blocked); | |
2380 | if (! found) | |
2381 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
2382 | } | |
2383 | ||
2384 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
2385 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
2386 | } | |
2387 | ||
2388 | ||
2389 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
2390 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
2391 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
2392 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
2393 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
2394 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
2395 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
2396 | ||
2397 | ||
2398 | ||
2399 | ||
2400 | ||
ae8162c8 RD |
2401 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ |
2402 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
d55e5bfc RD |
2403 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) |
2404 | ||
2405 | ||
ae8162c8 RD |
2406 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ |
2407 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
2408 | bool rval=false; \ | |
2409 | bool found; \ | |
2410 | bool blocked = wxPyBeginBlockThreads(); \ | |
2411 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
2412 | PyObject* win = wxPyMake_wxObject(a,false); \ | |
2413 | PyObject* dc = wxPyMake_wxObject(&b,false); \ | |
2414 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \ | |
2415 | Py_DECREF(win); \ | |
2416 | Py_DECREF(dc); \ | |
2417 | } \ | |
2418 | wxPyEndBlockThreads(blocked); \ | |
2419 | if (! found) \ | |
2420 | rval = PCLASS::CBNAME(a, b); \ | |
2421 | return rval; \ | |
2422 | } \ | |
2423 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
2424 | return PCLASS::CBNAME(a, b); \ | |
d55e5bfc RD |
2425 | } |
2426 | ||
2427 | ||
2428 | ||
2429 | ||
2430 | class wxPyPrintPreview : public wxPrintPreview | |
2431 | { | |
2432 | DECLARE_CLASS(wxPyPrintPreview) | |
2433 | public: | |
2434 | wxPyPrintPreview(wxPyPrintout* printout, | |
2435 | wxPyPrintout* printoutForPrinting, | |
2436 | wxPrintDialogData* data=NULL) | |
2437 | : wxPrintPreview(printout, printoutForPrinting, data) | |
2438 | {} | |
2439 | wxPyPrintPreview(wxPyPrintout* printout, | |
2440 | wxPyPrintout* printoutForPrinting, | |
2441 | wxPrintData* data=NULL) | |
2442 | : wxPrintPreview(printout, printoutForPrinting, data) | |
2443 | {} | |
2444 | ||
2445 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
2446 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
2447 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
2448 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
2449 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
2450 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
2451 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
2452 | ||
2453 | PYPRIVATE; | |
2454 | }; | |
2455 | ||
2456 | // Stupid renamed classes... Fix this in 2.5... | |
2457 | #if defined(__WXMSW__) | |
2458 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
2459 | #elif defined(__WXMAC__) | |
2460 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
2461 | #else | |
2462 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
2463 | #endif | |
2464 | ||
2465 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
2466 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
2467 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
2468 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
2469 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
2470 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
2471 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
2472 | ||
2473 | ||
2474 | class wxPyPreviewFrame : public wxPreviewFrame | |
2475 | { | |
2476 | DECLARE_CLASS(wxPyPreviewFrame); | |
2477 | public: | |
2478 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
2479 | const wxString& title, | |
2480 | const wxPoint& pos = wxDefaultPosition, | |
2481 | const wxSize& size = wxDefaultSize, | |
2482 | long style = wxDEFAULT_FRAME_STYLE, | |
2483 | const wxString& name = wxPyFrameNameStr) | |
2484 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
2485 | {} | |
2486 | ||
2487 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
2488 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
2489 | ||
2490 | DEC_PYCALLBACK_VOID_(Initialize); | |
2491 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
2492 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
2493 | ||
2494 | PYPRIVATE; | |
2495 | }; | |
2496 | ||
2497 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
2498 | ||
2499 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
2500 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
2501 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
2502 | ||
2503 | ||
2504 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
2505 | { | |
2506 | DECLARE_CLASS(wxPyPreviewControlBar); | |
2507 | public: | |
2508 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
2509 | long buttons, | |
2510 | wxWindow *parent, | |
2511 | const wxPoint& pos = wxDefaultPosition, | |
2512 | const wxSize& size = wxDefaultSize, | |
2513 | long style = 0, | |
2514 | const wxString& name = wxPyPanelNameStr) | |
2515 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
2516 | {} | |
2517 | ||
2518 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
2519 | ||
2520 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
2521 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
2522 | ||
2523 | PYPRIVATE; | |
2524 | }; | |
2525 | ||
2526 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
2527 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
2528 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
2529 | ||
2530 | #ifdef __cplusplus | |
2531 | extern "C" { | |
2532 | #endif | |
c32bde28 | 2533 | static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2534 | PyObject *resultobj; |
2535 | wxWindow *arg1 = (wxWindow *) 0 ; | |
2536 | int arg2 = (int) (int)-1 ; | |
2537 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
2538 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
2539 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
2540 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
2541 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
2542 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
2543 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
2544 | wxPanel *result; | |
2545 | wxPoint temp3 ; | |
2546 | wxSize temp4 ; | |
ae8162c8 | 2547 | bool temp6 = false ; |
d55e5bfc RD |
2548 | PyObject * obj0 = 0 ; |
2549 | PyObject * obj1 = 0 ; | |
2550 | PyObject * obj2 = 0 ; | |
2551 | PyObject * obj3 = 0 ; | |
2552 | PyObject * obj4 = 0 ; | |
2553 | PyObject * obj5 = 0 ; | |
2554 | char *kwnames[] = { | |
2555 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2556 | }; | |
2557 | ||
2558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
2559 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
2560 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 2561 | if (obj1) { |
093d3ff1 RD |
2562 | { |
2563 | arg2 = (int const)(SWIG_As_int(obj1)); | |
2564 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2565 | } | |
d55e5bfc RD |
2566 | } |
2567 | if (obj2) { | |
2568 | { | |
2569 | arg3 = &temp3; | |
2570 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
2571 | } | |
2572 | } | |
2573 | if (obj3) { | |
2574 | { | |
2575 | arg4 = &temp4; | |
2576 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
2577 | } | |
2578 | } | |
2579 | if (obj4) { | |
093d3ff1 RD |
2580 | { |
2581 | arg5 = (long)(SWIG_As_long(obj4)); | |
2582 | if (SWIG_arg_fail(5)) SWIG_fail; | |
2583 | } | |
d55e5bfc RD |
2584 | } |
2585 | if (obj5) { | |
2586 | { | |
2587 | arg6 = wxString_in_helper(obj5); | |
2588 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 2589 | temp6 = true; |
d55e5bfc RD |
2590 | } |
2591 | } | |
2592 | { | |
0439c23b | 2593 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
2594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2595 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
2596 | ||
2597 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2598 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 2599 | } |
b0f7404b | 2600 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d55e5bfc RD |
2601 | { |
2602 | if (temp6) | |
2603 | delete arg6; | |
2604 | } | |
2605 | return resultobj; | |
2606 | fail: | |
2607 | { | |
2608 | if (temp6) | |
2609 | delete arg6; | |
2610 | } | |
2611 | return NULL; | |
2612 | } | |
2613 | ||
2614 | ||
c32bde28 | 2615 | static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2616 | PyObject *resultobj; |
2617 | wxPanel *result; | |
2618 | char *kwnames[] = { | |
2619 | NULL | |
2620 | }; | |
2621 | ||
2622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
2623 | { | |
0439c23b | 2624 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
2625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2626 | result = (wxPanel *)new wxPanel(); | |
2627 | ||
2628 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2629 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 2630 | } |
b0f7404b | 2631 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d55e5bfc RD |
2632 | return resultobj; |
2633 | fail: | |
2634 | return NULL; | |
2635 | } | |
2636 | ||
2637 | ||
c32bde28 | 2638 | static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2639 | PyObject *resultobj; |
2640 | wxPanel *arg1 = (wxPanel *) 0 ; | |
2641 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2642 | int arg3 = (int) (int)-1 ; | |
2643 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2644 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2645 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2646 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2647 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
2648 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
2649 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2650 | bool result; | |
2651 | wxPoint temp4 ; | |
2652 | wxSize temp5 ; | |
ae8162c8 | 2653 | bool temp7 = false ; |
d55e5bfc RD |
2654 | PyObject * obj0 = 0 ; |
2655 | PyObject * obj1 = 0 ; | |
2656 | PyObject * obj2 = 0 ; | |
2657 | PyObject * obj3 = 0 ; | |
2658 | PyObject * obj4 = 0 ; | |
2659 | PyObject * obj5 = 0 ; | |
2660 | PyObject * obj6 = 0 ; | |
2661 | char *kwnames[] = { | |
2662 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2663 | }; | |
2664 | ||
2665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
093d3ff1 RD |
2666 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2667 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2668 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2669 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 2670 | if (obj2) { |
093d3ff1 RD |
2671 | { |
2672 | arg3 = (int const)(SWIG_As_int(obj2)); | |
2673 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2674 | } | |
d55e5bfc RD |
2675 | } |
2676 | if (obj3) { | |
2677 | { | |
2678 | arg4 = &temp4; | |
2679 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2680 | } | |
2681 | } | |
2682 | if (obj4) { | |
2683 | { | |
2684 | arg5 = &temp5; | |
2685 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2686 | } | |
2687 | } | |
2688 | if (obj5) { | |
093d3ff1 RD |
2689 | { |
2690 | arg6 = (long)(SWIG_As_long(obj5)); | |
2691 | if (SWIG_arg_fail(6)) SWIG_fail; | |
2692 | } | |
d55e5bfc RD |
2693 | } |
2694 | if (obj6) { | |
2695 | { | |
2696 | arg7 = wxString_in_helper(obj6); | |
2697 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 2698 | temp7 = true; |
d55e5bfc RD |
2699 | } |
2700 | } | |
2701 | { | |
2702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2703 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2704 | ||
2705 | wxPyEndAllowThreads(__tstate); | |
2706 | if (PyErr_Occurred()) SWIG_fail; | |
2707 | } | |
2708 | { | |
2709 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2710 | } | |
2711 | { | |
2712 | if (temp7) | |
2713 | delete arg7; | |
2714 | } | |
2715 | return resultobj; | |
2716 | fail: | |
2717 | { | |
2718 | if (temp7) | |
2719 | delete arg7; | |
2720 | } | |
2721 | return NULL; | |
2722 | } | |
2723 | ||
2724 | ||
c32bde28 | 2725 | static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2726 | PyObject *resultobj; |
2727 | wxPanel *arg1 = (wxPanel *) 0 ; | |
2728 | PyObject * obj0 = 0 ; | |
2729 | char *kwnames[] = { | |
2730 | (char *) "self", NULL | |
2731 | }; | |
2732 | ||
2733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2734 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2735 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
2736 | { |
2737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2738 | (arg1)->InitDialog(); | |
2739 | ||
2740 | wxPyEndAllowThreads(__tstate); | |
2741 | if (PyErr_Occurred()) SWIG_fail; | |
2742 | } | |
2743 | Py_INCREF(Py_None); resultobj = Py_None; | |
2744 | return resultobj; | |
2745 | fail: | |
2746 | return NULL; | |
2747 | } | |
2748 | ||
2749 | ||
b519803b RD |
2750 | static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
2751 | PyObject *resultobj; | |
2752 | wxPanel *arg1 = (wxPanel *) 0 ; | |
2753 | PyObject * obj0 = 0 ; | |
2754 | char *kwnames[] = { | |
2755 | (char *) "self", NULL | |
2756 | }; | |
2757 | ||
2758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2759 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2760 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b519803b RD |
2761 | { |
2762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2763 | (arg1)->SetFocus(); | |
2764 | ||
2765 | wxPyEndAllowThreads(__tstate); | |
2766 | if (PyErr_Occurred()) SWIG_fail; | |
2767 | } | |
2768 | Py_INCREF(Py_None); resultobj = Py_None; | |
2769 | return resultobj; | |
2770 | fail: | |
2771 | return NULL; | |
2772 | } | |
2773 | ||
2774 | ||
2775 | static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) { | |
2776 | PyObject *resultobj; | |
2777 | wxPanel *arg1 = (wxPanel *) 0 ; | |
2778 | PyObject * obj0 = 0 ; | |
2779 | char *kwnames[] = { | |
2780 | (char *) "self", NULL | |
2781 | }; | |
2782 | ||
2783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2784 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2785 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b519803b RD |
2786 | { |
2787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2788 | (arg1)->SetFocusIgnoringChildren(); | |
2789 | ||
2790 | wxPyEndAllowThreads(__tstate); | |
2791 | if (PyErr_Occurred()) SWIG_fail; | |
2792 | } | |
2793 | Py_INCREF(Py_None); resultobj = Py_None; | |
2794 | return resultobj; | |
2795 | fail: | |
2796 | return NULL; | |
2797 | } | |
2798 | ||
2799 | ||
c32bde28 | 2800 | static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 2801 | PyObject *resultobj; |
093d3ff1 | 2802 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
2803 | wxVisualAttributes result; |
2804 | PyObject * obj0 = 0 ; | |
2805 | char *kwnames[] = { | |
2806 | (char *) "variant", NULL | |
2807 | }; | |
2808 | ||
2809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
2810 | if (obj0) { | |
093d3ff1 RD |
2811 | { |
2812 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
2813 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2814 | } | |
f20a2e1f RD |
2815 | } |
2816 | { | |
0439c23b | 2817 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
2818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2819 | result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
2820 | ||
2821 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2822 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
2823 | } |
2824 | { | |
2825 | wxVisualAttributes * resultptr; | |
093d3ff1 | 2826 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
2827 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
2828 | } | |
2829 | return resultobj; | |
2830 | fail: | |
2831 | return NULL; | |
2832 | } | |
2833 | ||
2834 | ||
c32bde28 | 2835 | static PyObject * Panel_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
2836 | PyObject *obj; |
2837 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2838 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
2839 | Py_INCREF(obj); | |
2840 | return Py_BuildValue((char *)""); | |
2841 | } | |
c32bde28 | 2842 | static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2843 | PyObject *resultobj; |
2844 | wxWindow *arg1 = (wxWindow *) 0 ; | |
2845 | int arg2 = (int) (int)-1 ; | |
2846 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
2847 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
2848 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
2849 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
2850 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
2851 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
2852 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
2853 | wxScrolledWindow *result; | |
2854 | wxPoint temp3 ; | |
2855 | wxSize temp4 ; | |
ae8162c8 | 2856 | bool temp6 = false ; |
d55e5bfc RD |
2857 | PyObject * obj0 = 0 ; |
2858 | PyObject * obj1 = 0 ; | |
2859 | PyObject * obj2 = 0 ; | |
2860 | PyObject * obj3 = 0 ; | |
2861 | PyObject * obj4 = 0 ; | |
2862 | PyObject * obj5 = 0 ; | |
2863 | char *kwnames[] = { | |
2864 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2865 | }; | |
2866 | ||
2867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
2868 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
2869 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 2870 | if (obj1) { |
093d3ff1 RD |
2871 | { |
2872 | arg2 = (int const)(SWIG_As_int(obj1)); | |
2873 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2874 | } | |
d55e5bfc RD |
2875 | } |
2876 | if (obj2) { | |
2877 | { | |
2878 | arg3 = &temp3; | |
2879 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
2880 | } | |
2881 | } | |
2882 | if (obj3) { | |
2883 | { | |
2884 | arg4 = &temp4; | |
2885 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
2886 | } | |
2887 | } | |
2888 | if (obj4) { | |
093d3ff1 RD |
2889 | { |
2890 | arg5 = (long)(SWIG_As_long(obj4)); | |
2891 | if (SWIG_arg_fail(5)) SWIG_fail; | |
2892 | } | |
d55e5bfc RD |
2893 | } |
2894 | if (obj5) { | |
2895 | { | |
2896 | arg6 = wxString_in_helper(obj5); | |
2897 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 2898 | temp6 = true; |
d55e5bfc RD |
2899 | } |
2900 | } | |
2901 | { | |
0439c23b | 2902 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
2903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2904 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
2905 | ||
2906 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2907 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 2908 | } |
b0f7404b | 2909 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d55e5bfc RD |
2910 | { |
2911 | if (temp6) | |
2912 | delete arg6; | |
2913 | } | |
2914 | return resultobj; | |
2915 | fail: | |
2916 | { | |
2917 | if (temp6) | |
2918 | delete arg6; | |
2919 | } | |
2920 | return NULL; | |
2921 | } | |
2922 | ||
2923 | ||
c32bde28 | 2924 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2925 | PyObject *resultobj; |
2926 | wxScrolledWindow *result; | |
2927 | char *kwnames[] = { | |
2928 | NULL | |
2929 | }; | |
2930 | ||
2931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
2932 | { | |
0439c23b | 2933 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
2934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2935 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
2936 | ||
2937 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2938 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 2939 | } |
b0f7404b | 2940 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d55e5bfc RD |
2941 | return resultobj; |
2942 | fail: | |
2943 | return NULL; | |
2944 | } | |
2945 | ||
2946 | ||
c32bde28 | 2947 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2948 | PyObject *resultobj; |
2949 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2950 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2951 | int arg3 = (int) (int)-1 ; | |
2952 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2953 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2954 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2955 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2956 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
2957 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
2958 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2959 | bool result; | |
2960 | wxPoint temp4 ; | |
2961 | wxSize temp5 ; | |
ae8162c8 | 2962 | bool temp7 = false ; |
d55e5bfc RD |
2963 | PyObject * obj0 = 0 ; |
2964 | PyObject * obj1 = 0 ; | |
2965 | PyObject * obj2 = 0 ; | |
2966 | PyObject * obj3 = 0 ; | |
2967 | PyObject * obj4 = 0 ; | |
2968 | PyObject * obj5 = 0 ; | |
2969 | PyObject * obj6 = 0 ; | |
2970 | char *kwnames[] = { | |
2971 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2972 | }; | |
2973 | ||
2974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
093d3ff1 RD |
2975 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
2976 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2977 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2978 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 2979 | if (obj2) { |
093d3ff1 RD |
2980 | { |
2981 | arg3 = (int const)(SWIG_As_int(obj2)); | |
2982 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2983 | } | |
d55e5bfc RD |
2984 | } |
2985 | if (obj3) { | |
2986 | { | |
2987 | arg4 = &temp4; | |
2988 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2989 | } | |
2990 | } | |
2991 | if (obj4) { | |
2992 | { | |
2993 | arg5 = &temp5; | |
2994 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2995 | } | |
2996 | } | |
2997 | if (obj5) { | |
093d3ff1 RD |
2998 | { |
2999 | arg6 = (long)(SWIG_As_long(obj5)); | |
3000 | if (SWIG_arg_fail(6)) SWIG_fail; | |
3001 | } | |
d55e5bfc RD |
3002 | } |
3003 | if (obj6) { | |
3004 | { | |
3005 | arg7 = wxString_in_helper(obj6); | |
3006 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 3007 | temp7 = true; |
d55e5bfc RD |
3008 | } |
3009 | } | |
3010 | { | |
3011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3012 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3013 | ||
3014 | wxPyEndAllowThreads(__tstate); | |
3015 | if (PyErr_Occurred()) SWIG_fail; | |
3016 | } | |
3017 | { | |
3018 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3019 | } | |
3020 | { | |
3021 | if (temp7) | |
3022 | delete arg7; | |
3023 | } | |
3024 | return resultobj; | |
3025 | fail: | |
3026 | { | |
3027 | if (temp7) | |
3028 | delete arg7; | |
3029 | } | |
3030 | return NULL; | |
3031 | } | |
3032 | ||
3033 | ||
c32bde28 | 3034 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3035 | PyObject *resultobj; |
3036 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3037 | int arg2 ; | |
3038 | int arg3 ; | |
3039 | int arg4 ; | |
3040 | int arg5 ; | |
3041 | int arg6 = (int) 0 ; | |
3042 | int arg7 = (int) 0 ; | |
ae8162c8 | 3043 | bool arg8 = (bool) false ; |
d55e5bfc RD |
3044 | PyObject * obj0 = 0 ; |
3045 | PyObject * obj1 = 0 ; | |
3046 | PyObject * obj2 = 0 ; | |
3047 | PyObject * obj3 = 0 ; | |
3048 | PyObject * obj4 = 0 ; | |
3049 | PyObject * obj5 = 0 ; | |
3050 | PyObject * obj6 = 0 ; | |
3051 | PyObject * obj7 = 0 ; | |
3052 | char *kwnames[] = { | |
3053 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
3054 | }; | |
3055 | ||
3056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; | |
093d3ff1 RD |
3057 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3058 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3059 | { | |
3060 | arg2 = (int)(SWIG_As_int(obj1)); | |
3061 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3062 | } | |
3063 | { | |
3064 | arg3 = (int)(SWIG_As_int(obj2)); | |
3065 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3066 | } | |
3067 | { | |
3068 | arg4 = (int)(SWIG_As_int(obj3)); | |
3069 | if (SWIG_arg_fail(4)) SWIG_fail; | |
3070 | } | |
3071 | { | |
3072 | arg5 = (int)(SWIG_As_int(obj4)); | |
3073 | if (SWIG_arg_fail(5)) SWIG_fail; | |
3074 | } | |
d55e5bfc | 3075 | if (obj5) { |
093d3ff1 RD |
3076 | { |
3077 | arg6 = (int)(SWIG_As_int(obj5)); | |
3078 | if (SWIG_arg_fail(6)) SWIG_fail; | |
3079 | } | |
d55e5bfc RD |
3080 | } |
3081 | if (obj6) { | |
093d3ff1 RD |
3082 | { |
3083 | arg7 = (int)(SWIG_As_int(obj6)); | |
3084 | if (SWIG_arg_fail(7)) SWIG_fail; | |
3085 | } | |
d55e5bfc RD |
3086 | } |
3087 | if (obj7) { | |
093d3ff1 RD |
3088 | { |
3089 | arg8 = (bool)(SWIG_As_bool(obj7)); | |
3090 | if (SWIG_arg_fail(8)) SWIG_fail; | |
3091 | } | |
d55e5bfc RD |
3092 | } |
3093 | { | |
3094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3095 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
3096 | ||
3097 | wxPyEndAllowThreads(__tstate); | |
3098 | if (PyErr_Occurred()) SWIG_fail; | |
3099 | } | |
3100 | Py_INCREF(Py_None); resultobj = Py_None; | |
3101 | return resultobj; | |
3102 | fail: | |
3103 | return NULL; | |
3104 | } | |
3105 | ||
3106 | ||
c32bde28 | 3107 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3108 | PyObject *resultobj; |
3109 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3110 | int arg2 ; | |
3111 | int arg3 ; | |
3112 | PyObject * obj0 = 0 ; | |
3113 | PyObject * obj1 = 0 ; | |
3114 | PyObject * obj2 = 0 ; | |
3115 | char *kwnames[] = { | |
3116 | (char *) "self",(char *) "x",(char *) "y", NULL | |
3117 | }; | |
3118 | ||
3119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
3120 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3121 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3122 | { | |
3123 | arg2 = (int)(SWIG_As_int(obj1)); | |
3124 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3125 | } | |
3126 | { | |
3127 | arg3 = (int)(SWIG_As_int(obj2)); | |
3128 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3129 | } | |
d55e5bfc RD |
3130 | { |
3131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3132 | (arg1)->Scroll(arg2,arg3); | |
3133 | ||
3134 | wxPyEndAllowThreads(__tstate); | |
3135 | if (PyErr_Occurred()) SWIG_fail; | |
3136 | } | |
3137 | Py_INCREF(Py_None); resultobj = Py_None; | |
3138 | return resultobj; | |
3139 | fail: | |
3140 | return NULL; | |
3141 | } | |
3142 | ||
3143 | ||
c32bde28 | 3144 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3145 | PyObject *resultobj; |
3146 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3147 | int arg2 ; | |
3148 | int result; | |
3149 | PyObject * obj0 = 0 ; | |
3150 | PyObject * obj1 = 0 ; | |
3151 | char *kwnames[] = { | |
3152 | (char *) "self",(char *) "orient", NULL | |
3153 | }; | |
3154 | ||
3155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
3156 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3157 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3158 | { | |
3159 | arg2 = (int)(SWIG_As_int(obj1)); | |
3160 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3161 | } | |
d55e5bfc RD |
3162 | { |
3163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3164 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
3165 | ||
3166 | wxPyEndAllowThreads(__tstate); | |
3167 | if (PyErr_Occurred()) SWIG_fail; | |
3168 | } | |
093d3ff1 RD |
3169 | { |
3170 | resultobj = SWIG_From_int((int)(result)); | |
3171 | } | |
d55e5bfc RD |
3172 | return resultobj; |
3173 | fail: | |
3174 | return NULL; | |
3175 | } | |
3176 | ||
3177 | ||
c32bde28 | 3178 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3179 | PyObject *resultobj; |
3180 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3181 | int arg2 ; | |
3182 | int arg3 ; | |
3183 | PyObject * obj0 = 0 ; | |
3184 | PyObject * obj1 = 0 ; | |
3185 | PyObject * obj2 = 0 ; | |
3186 | char *kwnames[] = { | |
3187 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
3188 | }; | |
3189 | ||
3190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
3191 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3192 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3193 | { | |
3194 | arg2 = (int)(SWIG_As_int(obj1)); | |
3195 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3196 | } | |
3197 | { | |
3198 | arg3 = (int)(SWIG_As_int(obj2)); | |
3199 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3200 | } | |
d55e5bfc RD |
3201 | { |
3202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3203 | (arg1)->SetScrollPageSize(arg2,arg3); | |
3204 | ||
3205 | wxPyEndAllowThreads(__tstate); | |
3206 | if (PyErr_Occurred()) SWIG_fail; | |
3207 | } | |
3208 | Py_INCREF(Py_None); resultobj = Py_None; | |
3209 | return resultobj; | |
3210 | fail: | |
3211 | return NULL; | |
3212 | } | |
3213 | ||
3214 | ||
c32bde28 | 3215 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3216 | PyObject *resultobj; |
3217 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3218 | int arg2 ; | |
3219 | int arg3 ; | |
3220 | PyObject * obj0 = 0 ; | |
3221 | PyObject * obj1 = 0 ; | |
3222 | PyObject * obj2 = 0 ; | |
3223 | char *kwnames[] = { | |
3224 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
3225 | }; | |
3226 | ||
3227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
3228 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3229 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3230 | { | |
3231 | arg2 = (int)(SWIG_As_int(obj1)); | |
3232 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3233 | } | |
3234 | { | |
3235 | arg3 = (int)(SWIG_As_int(obj2)); | |
3236 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3237 | } | |
d55e5bfc RD |
3238 | { |
3239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3240 | (arg1)->SetScrollRate(arg2,arg3); | |
3241 | ||
3242 | wxPyEndAllowThreads(__tstate); | |
3243 | if (PyErr_Occurred()) SWIG_fail; | |
3244 | } | |
3245 | Py_INCREF(Py_None); resultobj = Py_None; | |
3246 | return resultobj; | |
3247 | fail: | |
3248 | return NULL; | |
3249 | } | |
3250 | ||
3251 | ||
c32bde28 | 3252 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3253 | PyObject *resultobj; |
3254 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3255 | int *arg2 = (int *) 0 ; | |
3256 | int *arg3 = (int *) 0 ; | |
3257 | int temp2 ; | |
c32bde28 | 3258 | int res2 = 0 ; |
d55e5bfc | 3259 | int temp3 ; |
c32bde28 | 3260 | int res3 = 0 ; |
d55e5bfc RD |
3261 | PyObject * obj0 = 0 ; |
3262 | char *kwnames[] = { | |
3263 | (char *) "self", NULL | |
3264 | }; | |
3265 | ||
c32bde28 RD |
3266 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
3267 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 3268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
3269 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3270 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3271 | { |
3272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3273 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
3274 | ||
3275 | wxPyEndAllowThreads(__tstate); | |
3276 | if (PyErr_Occurred()) SWIG_fail; | |
3277 | } | |
3278 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
3279 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
3280 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
3281 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
3282 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
3283 | return resultobj; |
3284 | fail: | |
3285 | return NULL; | |
3286 | } | |
3287 | ||
3288 | ||
c32bde28 | 3289 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3290 | PyObject *resultobj; |
3291 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3292 | bool arg2 ; | |
3293 | bool arg3 ; | |
3294 | PyObject * obj0 = 0 ; | |
3295 | PyObject * obj1 = 0 ; | |
3296 | PyObject * obj2 = 0 ; | |
3297 | char *kwnames[] = { | |
3298 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
3299 | }; | |
3300 | ||
3301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
3302 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3303 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3304 | { | |
3305 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
3306 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3307 | } | |
3308 | { | |
3309 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
3310 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3311 | } | |
d55e5bfc RD |
3312 | { |
3313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3314 | (arg1)->EnableScrolling(arg2,arg3); | |
3315 | ||
3316 | wxPyEndAllowThreads(__tstate); | |
3317 | if (PyErr_Occurred()) SWIG_fail; | |
3318 | } | |
3319 | Py_INCREF(Py_None); resultobj = Py_None; | |
3320 | return resultobj; | |
3321 | fail: | |
3322 | return NULL; | |
3323 | } | |
3324 | ||
3325 | ||
c32bde28 | 3326 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3327 | PyObject *resultobj; |
3328 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3329 | int *arg2 = (int *) 0 ; | |
3330 | int *arg3 = (int *) 0 ; | |
3331 | int temp2 ; | |
c32bde28 | 3332 | int res2 = 0 ; |
d55e5bfc | 3333 | int temp3 ; |
c32bde28 | 3334 | int res3 = 0 ; |
d55e5bfc RD |
3335 | PyObject * obj0 = 0 ; |
3336 | char *kwnames[] = { | |
3337 | (char *) "self", NULL | |
3338 | }; | |
3339 | ||
c32bde28 RD |
3340 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
3341 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 3342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
3343 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3344 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3345 | { |
3346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3347 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
3348 | ||
3349 | wxPyEndAllowThreads(__tstate); | |
3350 | if (PyErr_Occurred()) SWIG_fail; | |
3351 | } | |
3352 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
3353 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
3354 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
3355 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
3356 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
3357 | return resultobj; |
3358 | fail: | |
3359 | return NULL; | |
3360 | } | |
3361 | ||
3362 | ||
c32bde28 | 3363 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3364 | PyObject *resultobj; |
3365 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3366 | double arg2 ; | |
3367 | double arg3 ; | |
3368 | PyObject * obj0 = 0 ; | |
3369 | PyObject * obj1 = 0 ; | |
3370 | PyObject * obj2 = 0 ; | |
3371 | char *kwnames[] = { | |
3372 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
3373 | }; | |
3374 | ||
3375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
3376 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3377 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3378 | { | |
3379 | arg2 = (double)(SWIG_As_double(obj1)); | |
3380 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3381 | } | |
3382 | { | |
3383 | arg3 = (double)(SWIG_As_double(obj2)); | |
3384 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3385 | } | |
d55e5bfc RD |
3386 | { |
3387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3388 | (arg1)->SetScale(arg2,arg3); | |
3389 | ||
3390 | wxPyEndAllowThreads(__tstate); | |
3391 | if (PyErr_Occurred()) SWIG_fail; | |
3392 | } | |
3393 | Py_INCREF(Py_None); resultobj = Py_None; | |
3394 | return resultobj; | |
3395 | fail: | |
3396 | return NULL; | |
3397 | } | |
3398 | ||
3399 | ||
c32bde28 | 3400 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3401 | PyObject *resultobj; |
3402 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3403 | double result; | |
3404 | PyObject * obj0 = 0 ; | |
3405 | char *kwnames[] = { | |
3406 | (char *) "self", NULL | |
3407 | }; | |
3408 | ||
3409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3410 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3411 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3412 | { |
3413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3414 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
3415 | ||
3416 | wxPyEndAllowThreads(__tstate); | |
3417 | if (PyErr_Occurred()) SWIG_fail; | |
3418 | } | |
093d3ff1 RD |
3419 | { |
3420 | resultobj = SWIG_From_double((double)(result)); | |
3421 | } | |
d55e5bfc RD |
3422 | return resultobj; |
3423 | fail: | |
3424 | return NULL; | |
3425 | } | |
3426 | ||
3427 | ||
c32bde28 | 3428 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3429 | PyObject *resultobj; |
3430 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3431 | double result; | |
3432 | PyObject * obj0 = 0 ; | |
3433 | char *kwnames[] = { | |
3434 | (char *) "self", NULL | |
3435 | }; | |
3436 | ||
3437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3438 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3439 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3440 | { |
3441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3442 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
3443 | ||
3444 | wxPyEndAllowThreads(__tstate); | |
3445 | if (PyErr_Occurred()) SWIG_fail; | |
3446 | } | |
093d3ff1 RD |
3447 | { |
3448 | resultobj = SWIG_From_double((double)(result)); | |
3449 | } | |
d55e5bfc RD |
3450 | return resultobj; |
3451 | fail: | |
3452 | return NULL; | |
3453 | } | |
3454 | ||
3455 | ||
c32bde28 | 3456 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
3457 | PyObject *resultobj; |
3458 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3459 | wxPoint *arg2 = 0 ; | |
3460 | wxPoint result; | |
3461 | wxPoint temp2 ; | |
3462 | PyObject * obj0 = 0 ; | |
3463 | PyObject * obj1 = 0 ; | |
3464 | ||
3465 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
3466 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3467 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3468 | { |
3469 | arg2 = &temp2; | |
3470 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3471 | } | |
3472 | { | |
3473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3474 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); | |
3475 | ||
3476 | wxPyEndAllowThreads(__tstate); | |
3477 | if (PyErr_Occurred()) SWIG_fail; | |
3478 | } | |
3479 | { | |
3480 | wxPoint * resultptr; | |
093d3ff1 | 3481 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
3482 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
3483 | } | |
3484 | return resultobj; | |
3485 | fail: | |
3486 | return NULL; | |
3487 | } | |
3488 | ||
3489 | ||
c32bde28 | 3490 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
3491 | PyObject *resultobj; |
3492 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3493 | int arg2 ; | |
3494 | int arg3 ; | |
3495 | int *arg4 = (int *) 0 ; | |
3496 | int *arg5 = (int *) 0 ; | |
3497 | int temp4 ; | |
c32bde28 | 3498 | int res4 = 0 ; |
d55e5bfc | 3499 | int temp5 ; |
c32bde28 | 3500 | int res5 = 0 ; |
d55e5bfc RD |
3501 | PyObject * obj0 = 0 ; |
3502 | PyObject * obj1 = 0 ; | |
3503 | PyObject * obj2 = 0 ; | |
3504 | ||
c32bde28 RD |
3505 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
3506 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d55e5bfc | 3507 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
3508 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3509 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3510 | { | |
3511 | arg2 = (int)(SWIG_As_int(obj1)); | |
3512 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3513 | } | |
3514 | { | |
3515 | arg3 = (int)(SWIG_As_int(obj2)); | |
3516 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3517 | } | |
d55e5bfc RD |
3518 | { |
3519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3520 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); | |
3521 | ||
3522 | wxPyEndAllowThreads(__tstate); | |
3523 | if (PyErr_Occurred()) SWIG_fail; | |
3524 | } | |
3525 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
3526 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
3527 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
3528 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
3529 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
3530 | return resultobj; |
3531 | fail: | |
3532 | return NULL; | |
3533 | } | |
3534 | ||
3535 | ||
3536 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
3537 | int argc; | |
3538 | PyObject *argv[4]; | |
3539 | int ii; | |
3540 | ||
3541 | argc = PyObject_Length(args); | |
3542 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
3543 | argv[ii] = PyTuple_GetItem(args,ii); | |
3544 | } | |
3545 | if (argc == 2) { | |
3546 | int _v; | |
3547 | { | |
3548 | void *ptr; | |
3549 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
3550 | _v = 0; | |
3551 | PyErr_Clear(); | |
3552 | } else { | |
3553 | _v = 1; | |
3554 | } | |
3555 | } | |
3556 | if (_v) { | |
3557 | { | |
3558 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
3559 | } | |
3560 | if (_v) { | |
3561 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); | |
3562 | } | |
3563 | } | |
3564 | } | |
3565 | if (argc == 3) { | |
3566 | int _v; | |
3567 | { | |
3568 | void *ptr; | |
3569 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
3570 | _v = 0; | |
3571 | PyErr_Clear(); | |
3572 | } else { | |
3573 | _v = 1; | |
3574 | } | |
3575 | } | |
3576 | if (_v) { | |
c32bde28 | 3577 | _v = SWIG_Check_int(argv[1]); |
d55e5bfc | 3578 | if (_v) { |
c32bde28 | 3579 | _v = SWIG_Check_int(argv[2]); |
d55e5bfc RD |
3580 | if (_v) { |
3581 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); | |
3582 | } | |
3583 | } | |
3584 | } | |
3585 | } | |
3586 | ||
093d3ff1 | 3587 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); |
d55e5bfc RD |
3588 | return NULL; |
3589 | } | |
3590 | ||
3591 | ||
c32bde28 | 3592 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
3593 | PyObject *resultobj; |
3594 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3595 | wxPoint *arg2 = 0 ; | |
3596 | wxPoint result; | |
3597 | wxPoint temp2 ; | |
3598 | PyObject * obj0 = 0 ; | |
3599 | PyObject * obj1 = 0 ; | |
3600 | ||
3601 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
3602 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3603 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3604 | { |
3605 | arg2 = &temp2; | |
3606 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3607 | } | |
3608 | { | |
3609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3610 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); | |
3611 | ||
3612 | wxPyEndAllowThreads(__tstate); | |
3613 | if (PyErr_Occurred()) SWIG_fail; | |
3614 | } | |
3615 | { | |
3616 | wxPoint * resultptr; | |
093d3ff1 | 3617 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
3618 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
3619 | } | |
3620 | return resultobj; | |
3621 | fail: | |
3622 | return NULL; | |
3623 | } | |
3624 | ||
3625 | ||
c32bde28 | 3626 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
3627 | PyObject *resultobj; |
3628 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3629 | int arg2 ; | |
3630 | int arg3 ; | |
3631 | int *arg4 = (int *) 0 ; | |
3632 | int *arg5 = (int *) 0 ; | |
3633 | int temp4 ; | |
c32bde28 | 3634 | int res4 = 0 ; |
d55e5bfc | 3635 | int temp5 ; |
c32bde28 | 3636 | int res5 = 0 ; |
d55e5bfc RD |
3637 | PyObject * obj0 = 0 ; |
3638 | PyObject * obj1 = 0 ; | |
3639 | PyObject * obj2 = 0 ; | |
3640 | ||
c32bde28 RD |
3641 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
3642 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d55e5bfc | 3643 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
3644 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3645 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3646 | { | |
3647 | arg2 = (int)(SWIG_As_int(obj1)); | |
3648 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3649 | } | |
3650 | { | |
3651 | arg3 = (int)(SWIG_As_int(obj2)); | |
3652 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3653 | } | |
d55e5bfc RD |
3654 | { |
3655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3656 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); | |
3657 | ||
3658 | wxPyEndAllowThreads(__tstate); | |
3659 | if (PyErr_Occurred()) SWIG_fail; | |
3660 | } | |
3661 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
3662 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
3663 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
3664 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
3665 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
3666 | return resultobj; |
3667 | fail: | |
3668 | return NULL; | |
3669 | } | |
3670 | ||
3671 | ||
3672 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
3673 | int argc; | |
3674 | PyObject *argv[4]; | |
3675 | int ii; | |
3676 | ||
3677 | argc = PyObject_Length(args); | |
3678 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
3679 | argv[ii] = PyTuple_GetItem(args,ii); | |
3680 | } | |
3681 | if (argc == 2) { | |
3682 | int _v; | |
3683 | { | |
3684 | void *ptr; | |
3685 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
3686 | _v = 0; | |
3687 | PyErr_Clear(); | |
3688 | } else { | |
3689 | _v = 1; | |
3690 | } | |
3691 | } | |
3692 | if (_v) { | |
3693 | { | |
3694 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
3695 | } | |
3696 | if (_v) { | |
3697 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); | |
3698 | } | |
3699 | } | |
3700 | } | |
3701 | if (argc == 3) { | |
3702 | int _v; | |
3703 | { | |
3704 | void *ptr; | |
3705 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
3706 | _v = 0; | |
3707 | PyErr_Clear(); | |
3708 | } else { | |
3709 | _v = 1; | |
3710 | } | |
3711 | } | |
3712 | if (_v) { | |
c32bde28 | 3713 | _v = SWIG_Check_int(argv[1]); |
d55e5bfc | 3714 | if (_v) { |
c32bde28 | 3715 | _v = SWIG_Check_int(argv[2]); |
d55e5bfc RD |
3716 | if (_v) { |
3717 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); | |
3718 | } | |
3719 | } | |
3720 | } | |
3721 | } | |
3722 | ||
093d3ff1 | 3723 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); |
d55e5bfc RD |
3724 | return NULL; |
3725 | } | |
3726 | ||
3727 | ||
c32bde28 | 3728 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3729 | PyObject *resultobj; |
3730 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3731 | PyObject * obj0 = 0 ; | |
3732 | char *kwnames[] = { | |
3733 | (char *) "self", NULL | |
3734 | }; | |
3735 | ||
3736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3737 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3738 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3739 | { |
3740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3741 | (arg1)->AdjustScrollbars(); | |
3742 | ||
3743 | wxPyEndAllowThreads(__tstate); | |
3744 | if (PyErr_Occurred()) SWIG_fail; | |
3745 | } | |
3746 | Py_INCREF(Py_None); resultobj = Py_None; | |
3747 | return resultobj; | |
3748 | fail: | |
3749 | return NULL; | |
3750 | } | |
3751 | ||
3752 | ||
c32bde28 | 3753 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3754 | PyObject *resultobj; |
3755 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3756 | wxScrollWinEvent *arg2 = 0 ; | |
3757 | int result; | |
3758 | PyObject * obj0 = 0 ; | |
3759 | PyObject * obj1 = 0 ; | |
3760 | char *kwnames[] = { | |
3761 | (char *) "self",(char *) "event", NULL | |
3762 | }; | |
3763 | ||
3764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
3765 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3766 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3767 | { | |
3768 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0); | |
3769 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3770 | if (arg2 == NULL) { | |
3771 | SWIG_null_ref("wxScrollWinEvent"); | |
3772 | } | |
3773 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
3774 | } |
3775 | { | |
3776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3777 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
3778 | ||
3779 | wxPyEndAllowThreads(__tstate); | |
3780 | if (PyErr_Occurred()) SWIG_fail; | |
3781 | } | |
093d3ff1 RD |
3782 | { |
3783 | resultobj = SWIG_From_int((int)(result)); | |
3784 | } | |
d55e5bfc RD |
3785 | return resultobj; |
3786 | fail: | |
3787 | return NULL; | |
3788 | } | |
3789 | ||
3790 | ||
c32bde28 | 3791 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3792 | PyObject *resultobj; |
3793 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3794 | wxWindow *arg2 = (wxWindow *) 0 ; | |
3795 | PyObject * obj0 = 0 ; | |
3796 | PyObject * obj1 = 0 ; | |
3797 | char *kwnames[] = { | |
3798 | (char *) "self",(char *) "target", NULL | |
3799 | }; | |
3800 | ||
3801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
3802 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3803 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3804 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
3805 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
3806 | { |
3807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3808 | (arg1)->SetTargetWindow(arg2); | |
3809 | ||
3810 | wxPyEndAllowThreads(__tstate); | |
3811 | if (PyErr_Occurred()) SWIG_fail; | |
3812 | } | |
3813 | Py_INCREF(Py_None); resultobj = Py_None; | |
3814 | return resultobj; | |
3815 | fail: | |
3816 | return NULL; | |
3817 | } | |
3818 | ||
3819 | ||
c32bde28 | 3820 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3821 | PyObject *resultobj; |
3822 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3823 | wxWindow *result; | |
3824 | PyObject * obj0 = 0 ; | |
3825 | char *kwnames[] = { | |
3826 | (char *) "self", NULL | |
3827 | }; | |
3828 | ||
3829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3830 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3831 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3832 | { |
3833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3834 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
3835 | ||
3836 | wxPyEndAllowThreads(__tstate); | |
3837 | if (PyErr_Occurred()) SWIG_fail; | |
3838 | } | |
3839 | { | |
412d302d | 3840 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
3841 | } |
3842 | return resultobj; | |
3843 | fail: | |
3844 | return NULL; | |
3845 | } | |
3846 | ||
3847 | ||
c32bde28 | 3848 | static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3849 | PyObject *resultobj; |
3850 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3851 | wxRect *arg2 = 0 ; | |
3852 | wxRect temp2 ; | |
3853 | PyObject * obj0 = 0 ; | |
3854 | PyObject * obj1 = 0 ; | |
3855 | char *kwnames[] = { | |
3856 | (char *) "self",(char *) "rect", NULL | |
3857 | }; | |
3858 | ||
3859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
3860 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3861 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3862 | { |
3863 | arg2 = &temp2; | |
3864 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
3865 | } | |
3866 | { | |
3867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3868 | (arg1)->SetTargetRect((wxRect const &)*arg2); | |
3869 | ||
3870 | wxPyEndAllowThreads(__tstate); | |
3871 | if (PyErr_Occurred()) SWIG_fail; | |
3872 | } | |
3873 | Py_INCREF(Py_None); resultobj = Py_None; | |
3874 | return resultobj; | |
3875 | fail: | |
3876 | return NULL; | |
3877 | } | |
3878 | ||
3879 | ||
c32bde28 | 3880 | static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3881 | PyObject *resultobj; |
3882 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3883 | wxRect result; | |
3884 | PyObject * obj0 = 0 ; | |
3885 | char *kwnames[] = { | |
3886 | (char *) "self", NULL | |
3887 | }; | |
3888 | ||
3889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3890 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3891 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3892 | { |
3893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3894 | result = ((wxScrolledWindow const *)arg1)->GetTargetRect(); | |
3895 | ||
3896 | wxPyEndAllowThreads(__tstate); | |
3897 | if (PyErr_Occurred()) SWIG_fail; | |
3898 | } | |
3899 | { | |
3900 | wxRect * resultptr; | |
093d3ff1 | 3901 | resultptr = new wxRect((wxRect &)(result)); |
d55e5bfc RD |
3902 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
3903 | } | |
3904 | return resultobj; | |
3905 | fail: | |
3906 | return NULL; | |
3907 | } | |
3908 | ||
3909 | ||
c32bde28 | 3910 | static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) { |
f5b96ee1 RD |
3911 | PyObject *resultobj; |
3912 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3913 | wxDC *arg2 = 0 ; | |
3914 | PyObject * obj0 = 0 ; | |
3915 | PyObject * obj1 = 0 ; | |
3916 | char *kwnames[] = { | |
3917 | (char *) "self",(char *) "dc", NULL | |
3918 | }; | |
3919 | ||
3920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
3921 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3922 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3923 | { | |
3924 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
3925 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3926 | if (arg2 == NULL) { | |
3927 | SWIG_null_ref("wxDC"); | |
3928 | } | |
3929 | if (SWIG_arg_fail(2)) SWIG_fail; | |
f5b96ee1 RD |
3930 | } |
3931 | { | |
3932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3933 | (arg1)->DoPrepareDC(*arg2); | |
3934 | ||
3935 | wxPyEndAllowThreads(__tstate); | |
3936 | if (PyErr_Occurred()) SWIG_fail; | |
3937 | } | |
3938 | Py_INCREF(Py_None); resultobj = Py_None; | |
3939 | return resultobj; | |
3940 | fail: | |
3941 | return NULL; | |
3942 | } | |
3943 | ||
3944 | ||
c32bde28 | 3945 | static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 3946 | PyObject *resultobj; |
093d3ff1 | 3947 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
3948 | wxVisualAttributes result; |
3949 | PyObject * obj0 = 0 ; | |
3950 | char *kwnames[] = { | |
3951 | (char *) "variant", NULL | |
3952 | }; | |
3953 | ||
3954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
3955 | if (obj0) { | |
093d3ff1 RD |
3956 | { |
3957 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
3958 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3959 | } | |
f20a2e1f RD |
3960 | } |
3961 | { | |
0439c23b | 3962 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
3963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3964 | result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
3965 | ||
3966 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3967 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
3968 | } |
3969 | { | |
3970 | wxVisualAttributes * resultptr; | |
093d3ff1 | 3971 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
3972 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
3973 | } | |
3974 | return resultobj; | |
3975 | fail: | |
3976 | return NULL; | |
3977 | } | |
3978 | ||
3979 | ||
c32bde28 | 3980 | static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
3981 | PyObject *obj; |
3982 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3983 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
3984 | Py_INCREF(obj); | |
3985 | return Py_BuildValue((char *)""); | |
3986 | } | |
c32bde28 | 3987 | static int _wrap_FrameNameStr_set(PyObject *) { |
d55e5bfc RD |
3988 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); |
3989 | return 1; | |
3990 | } | |
3991 | ||
3992 | ||
093d3ff1 | 3993 | static PyObject *_wrap_FrameNameStr_get(void) { |
d55e5bfc RD |
3994 | PyObject *pyobj; |
3995 | ||
3996 | { | |
3997 | #if wxUSE_UNICODE | |
3998 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
3999 | #else | |
4000 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
4001 | #endif | |
4002 | } | |
4003 | return pyobj; | |
4004 | } | |
4005 | ||
4006 | ||
c32bde28 | 4007 | static int _wrap_DialogNameStr_set(PyObject *) { |
d55e5bfc RD |
4008 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); |
4009 | return 1; | |
4010 | } | |
4011 | ||
4012 | ||
093d3ff1 | 4013 | static PyObject *_wrap_DialogNameStr_get(void) { |
d55e5bfc RD |
4014 | PyObject *pyobj; |
4015 | ||
4016 | { | |
4017 | #if wxUSE_UNICODE | |
4018 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
4019 | #else | |
4020 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
4021 | #endif | |
4022 | } | |
4023 | return pyobj; | |
4024 | } | |
4025 | ||
4026 | ||
c32bde28 | 4027 | static int _wrap_StatusLineNameStr_set(PyObject *) { |
d55e5bfc RD |
4028 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); |
4029 | return 1; | |
4030 | } | |
4031 | ||
4032 | ||
093d3ff1 | 4033 | static PyObject *_wrap_StatusLineNameStr_get(void) { |
d55e5bfc RD |
4034 | PyObject *pyobj; |
4035 | ||
4036 | { | |
4037 | #if wxUSE_UNICODE | |
4038 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
4039 | #else | |
4040 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
4041 | #endif | |
4042 | } | |
4043 | return pyobj; | |
4044 | } | |
4045 | ||
4046 | ||
c32bde28 | 4047 | static int _wrap_ToolBarNameStr_set(PyObject *) { |
d55e5bfc RD |
4048 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); |
4049 | return 1; | |
4050 | } | |
4051 | ||
4052 | ||
093d3ff1 | 4053 | static PyObject *_wrap_ToolBarNameStr_get(void) { |
d55e5bfc RD |
4054 | PyObject *pyobj; |
4055 | ||
4056 | { | |
4057 | #if wxUSE_UNICODE | |
4058 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
4059 | #else | |
4060 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
4061 | #endif | |
4062 | } | |
4063 | return pyobj; | |
4064 | } | |
4065 | ||
4066 | ||
c32bde28 | 4067 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4068 | PyObject *resultobj; |
4069 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
ae8162c8 | 4070 | bool arg2 = (bool) true ; |
d55e5bfc RD |
4071 | PyObject * obj0 = 0 ; |
4072 | PyObject * obj1 = 0 ; | |
4073 | char *kwnames[] = { | |
4074 | (char *) "self",(char *) "maximize", NULL | |
4075 | }; | |
4076 | ||
4077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4078 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4079 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 4080 | if (obj1) { |
093d3ff1 RD |
4081 | { |
4082 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4083 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4084 | } | |
d55e5bfc RD |
4085 | } |
4086 | { | |
4087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4088 | (arg1)->Maximize(arg2); | |
4089 | ||
4090 | wxPyEndAllowThreads(__tstate); | |
4091 | if (PyErr_Occurred()) SWIG_fail; | |
4092 | } | |
4093 | Py_INCREF(Py_None); resultobj = Py_None; | |
4094 | return resultobj; | |
4095 | fail: | |
4096 | return NULL; | |
4097 | } | |
4098 | ||
4099 | ||
c32bde28 | 4100 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4101 | PyObject *resultobj; |
4102 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4103 | PyObject * obj0 = 0 ; | |
4104 | char *kwnames[] = { | |
4105 | (char *) "self", NULL | |
4106 | }; | |
4107 | ||
4108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4109 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4110 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4111 | { |
4112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4113 | (arg1)->Restore(); | |
4114 | ||
4115 | wxPyEndAllowThreads(__tstate); | |
4116 | if (PyErr_Occurred()) SWIG_fail; | |
4117 | } | |
4118 | Py_INCREF(Py_None); resultobj = Py_None; | |
4119 | return resultobj; | |
4120 | fail: | |
4121 | return NULL; | |
4122 | } | |
4123 | ||
4124 | ||
c32bde28 | 4125 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4126 | PyObject *resultobj; |
4127 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
ae8162c8 | 4128 | bool arg2 = (bool) true ; |
d55e5bfc RD |
4129 | PyObject * obj0 = 0 ; |
4130 | PyObject * obj1 = 0 ; | |
4131 | char *kwnames[] = { | |
4132 | (char *) "self",(char *) "iconize", NULL | |
4133 | }; | |
4134 | ||
4135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4136 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4137 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 4138 | if (obj1) { |
093d3ff1 RD |
4139 | { |
4140 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4141 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4142 | } | |
d55e5bfc RD |
4143 | } |
4144 | { | |
4145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4146 | (arg1)->Iconize(arg2); | |
4147 | ||
4148 | wxPyEndAllowThreads(__tstate); | |
4149 | if (PyErr_Occurred()) SWIG_fail; | |
4150 | } | |
4151 | Py_INCREF(Py_None); resultobj = Py_None; | |
4152 | return resultobj; | |
4153 | fail: | |
4154 | return NULL; | |
4155 | } | |
4156 | ||
4157 | ||
c32bde28 | 4158 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4159 | PyObject *resultobj; |
4160 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4161 | bool result; | |
4162 | PyObject * obj0 = 0 ; | |
4163 | char *kwnames[] = { | |
4164 | (char *) "self", NULL | |
4165 | }; | |
4166 | ||
4167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4168 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4169 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4170 | { |
4171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4172 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
4173 | ||
4174 | wxPyEndAllowThreads(__tstate); | |
4175 | if (PyErr_Occurred()) SWIG_fail; | |
4176 | } | |
4177 | { | |
4178 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4179 | } | |
4180 | return resultobj; | |
4181 | fail: | |
4182 | return NULL; | |
4183 | } | |
4184 | ||
4185 | ||
c32bde28 | 4186 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4187 | PyObject *resultobj; |
4188 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4189 | bool result; | |
4190 | PyObject * obj0 = 0 ; | |
4191 | char *kwnames[] = { | |
4192 | (char *) "self", NULL | |
4193 | }; | |
4194 | ||
4195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4196 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4197 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4198 | { |
4199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4200 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
4201 | ||
4202 | wxPyEndAllowThreads(__tstate); | |
4203 | if (PyErr_Occurred()) SWIG_fail; | |
4204 | } | |
4205 | { | |
4206 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4207 | } | |
4208 | return resultobj; | |
4209 | fail: | |
4210 | return NULL; | |
4211 | } | |
4212 | ||
4213 | ||
c32bde28 | 4214 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4215 | PyObject *resultobj; |
4216 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4217 | wxIcon result; | |
4218 | PyObject * obj0 = 0 ; | |
4219 | char *kwnames[] = { | |
4220 | (char *) "self", NULL | |
4221 | }; | |
4222 | ||
4223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4224 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4225 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4226 | { |
4227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4228 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
4229 | ||
4230 | wxPyEndAllowThreads(__tstate); | |
4231 | if (PyErr_Occurred()) SWIG_fail; | |
4232 | } | |
4233 | { | |
4234 | wxIcon * resultptr; | |
093d3ff1 | 4235 | resultptr = new wxIcon((wxIcon &)(result)); |
d55e5bfc RD |
4236 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); |
4237 | } | |
4238 | return resultobj; | |
4239 | fail: | |
4240 | return NULL; | |
4241 | } | |
4242 | ||
4243 | ||
c32bde28 | 4244 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4245 | PyObject *resultobj; |
4246 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4247 | wxIcon *arg2 = 0 ; | |
4248 | PyObject * obj0 = 0 ; | |
4249 | PyObject * obj1 = 0 ; | |
4250 | char *kwnames[] = { | |
4251 | (char *) "self",(char *) "icon", NULL | |
4252 | }; | |
4253 | ||
4254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4255 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4256 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4257 | { | |
4258 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); | |
4259 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4260 | if (arg2 == NULL) { | |
4261 | SWIG_null_ref("wxIcon"); | |
4262 | } | |
4263 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
4264 | } |
4265 | { | |
4266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4267 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
4268 | ||
4269 | wxPyEndAllowThreads(__tstate); | |
4270 | if (PyErr_Occurred()) SWIG_fail; | |
4271 | } | |
4272 | Py_INCREF(Py_None); resultobj = Py_None; | |
4273 | return resultobj; | |
4274 | fail: | |
4275 | return NULL; | |
4276 | } | |
4277 | ||
4278 | ||
c32bde28 | 4279 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4280 | PyObject *resultobj; |
4281 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4282 | wxIconBundle *arg2 = 0 ; | |
4283 | PyObject * obj0 = 0 ; | |
4284 | PyObject * obj1 = 0 ; | |
4285 | char *kwnames[] = { | |
4286 | (char *) "self",(char *) "icons", NULL | |
4287 | }; | |
4288 | ||
4289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4290 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4291 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4292 | { | |
4293 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0); | |
4294 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4295 | if (arg2 == NULL) { | |
4296 | SWIG_null_ref("wxIconBundle"); | |
4297 | } | |
4298 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
4299 | } |
4300 | { | |
4301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4302 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
4303 | ||
4304 | wxPyEndAllowThreads(__tstate); | |
4305 | if (PyErr_Occurred()) SWIG_fail; | |
4306 | } | |
4307 | Py_INCREF(Py_None); resultobj = Py_None; | |
4308 | return resultobj; | |
4309 | fail: | |
4310 | return NULL; | |
4311 | } | |
4312 | ||
4313 | ||
c32bde28 | 4314 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4315 | PyObject *resultobj; |
4316 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4317 | bool arg2 ; | |
4318 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
4319 | bool result; | |
4320 | PyObject * obj0 = 0 ; | |
4321 | PyObject * obj1 = 0 ; | |
4322 | PyObject * obj2 = 0 ; | |
4323 | char *kwnames[] = { | |
4324 | (char *) "self",(char *) "show",(char *) "style", NULL | |
4325 | }; | |
4326 | ||
4327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
4328 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4329 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4330 | { | |
4331 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4332 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4333 | } | |
d55e5bfc | 4334 | if (obj2) { |
093d3ff1 RD |
4335 | { |
4336 | arg3 = (long)(SWIG_As_long(obj2)); | |
4337 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4338 | } | |
d55e5bfc RD |
4339 | } |
4340 | { | |
4341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4342 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
4343 | ||
4344 | wxPyEndAllowThreads(__tstate); | |
4345 | if (PyErr_Occurred()) SWIG_fail; | |
4346 | } | |
4347 | { | |
4348 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4349 | } | |
4350 | return resultobj; | |
4351 | fail: | |
4352 | return NULL; | |
4353 | } | |
4354 | ||
4355 | ||
c32bde28 | 4356 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4357 | PyObject *resultobj; |
4358 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4359 | bool result; | |
4360 | PyObject * obj0 = 0 ; | |
4361 | char *kwnames[] = { | |
4362 | (char *) "self", NULL | |
4363 | }; | |
4364 | ||
4365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4366 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4367 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4368 | { |
4369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4370 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
4371 | ||
4372 | wxPyEndAllowThreads(__tstate); | |
4373 | if (PyErr_Occurred()) SWIG_fail; | |
4374 | } | |
4375 | { | |
4376 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4377 | } | |
4378 | return resultobj; | |
4379 | fail: | |
4380 | return NULL; | |
4381 | } | |
4382 | ||
4383 | ||
c32bde28 | 4384 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4385 | PyObject *resultobj; |
4386 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4387 | wxString *arg2 = 0 ; | |
ae8162c8 | 4388 | bool temp2 = false ; |
d55e5bfc RD |
4389 | PyObject * obj0 = 0 ; |
4390 | PyObject * obj1 = 0 ; | |
4391 | char *kwnames[] = { | |
4392 | (char *) "self",(char *) "title", NULL | |
4393 | }; | |
4394 | ||
4395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4396 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4397 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4398 | { |
4399 | arg2 = wxString_in_helper(obj1); | |
4400 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 4401 | temp2 = true; |
d55e5bfc RD |
4402 | } |
4403 | { | |
4404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4405 | (arg1)->SetTitle((wxString const &)*arg2); | |
4406 | ||
4407 | wxPyEndAllowThreads(__tstate); | |
4408 | if (PyErr_Occurred()) SWIG_fail; | |
4409 | } | |
4410 | Py_INCREF(Py_None); resultobj = Py_None; | |
4411 | { | |
4412 | if (temp2) | |
4413 | delete arg2; | |
4414 | } | |
4415 | return resultobj; | |
4416 | fail: | |
4417 | { | |
4418 | if (temp2) | |
4419 | delete arg2; | |
4420 | } | |
4421 | return NULL; | |
4422 | } | |
4423 | ||
4424 | ||
c32bde28 | 4425 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4426 | PyObject *resultobj; |
4427 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4428 | wxString result; | |
4429 | PyObject * obj0 = 0 ; | |
4430 | char *kwnames[] = { | |
4431 | (char *) "self", NULL | |
4432 | }; | |
4433 | ||
4434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4435 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4436 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4437 | { |
4438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4439 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
4440 | ||
4441 | wxPyEndAllowThreads(__tstate); | |
4442 | if (PyErr_Occurred()) SWIG_fail; | |
4443 | } | |
4444 | { | |
4445 | #if wxUSE_UNICODE | |
4446 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4447 | #else | |
4448 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4449 | #endif | |
4450 | } | |
4451 | return resultobj; | |
4452 | fail: | |
4453 | return NULL; | |
4454 | } | |
4455 | ||
4456 | ||
c32bde28 | 4457 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4458 | PyObject *resultobj; |
4459 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4460 | wxRegion *arg2 = 0 ; | |
4461 | bool result; | |
4462 | PyObject * obj0 = 0 ; | |
4463 | PyObject * obj1 = 0 ; | |
4464 | char *kwnames[] = { | |
4465 | (char *) "self",(char *) "region", NULL | |
4466 | }; | |
4467 | ||
4468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4469 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4470 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4471 | { | |
4472 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); | |
4473 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4474 | if (arg2 == NULL) { | |
4475 | SWIG_null_ref("wxRegion"); | |
4476 | } | |
4477 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
4478 | } |
4479 | { | |
4480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4481 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
4482 | ||
4483 | wxPyEndAllowThreads(__tstate); | |
4484 | if (PyErr_Occurred()) SWIG_fail; | |
4485 | } | |
4486 | { | |
4487 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4488 | } | |
4489 | return resultobj; | |
4490 | fail: | |
4491 | return NULL; | |
4492 | } | |
4493 | ||
4494 | ||
c32bde28 RD |
4495 | static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) { |
4496 | PyObject *resultobj; | |
4497 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4498 | int arg2 = (int) wxUSER_ATTENTION_INFO ; | |
4499 | PyObject * obj0 = 0 ; | |
4500 | PyObject * obj1 = 0 ; | |
4501 | char *kwnames[] = { | |
4502 | (char *) "self",(char *) "flags", NULL | |
4503 | }; | |
4504 | ||
4505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4506 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4507 | if (SWIG_arg_fail(1)) SWIG_fail; | |
c32bde28 | 4508 | if (obj1) { |
093d3ff1 RD |
4509 | { |
4510 | arg2 = (int)(SWIG_As_int(obj1)); | |
4511 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4512 | } | |
c32bde28 RD |
4513 | } |
4514 | { | |
4515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4516 | (arg1)->RequestUserAttention(arg2); | |
4517 | ||
4518 | wxPyEndAllowThreads(__tstate); | |
4519 | if (PyErr_Occurred()) SWIG_fail; | |
4520 | } | |
4521 | Py_INCREF(Py_None); resultobj = Py_None; | |
4522 | return resultobj; | |
4523 | fail: | |
4524 | return NULL; | |
4525 | } | |
4526 | ||
4527 | ||
5e483524 RD |
4528 | static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { |
4529 | PyObject *resultobj; | |
4530 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4531 | bool result; | |
4532 | PyObject * obj0 = 0 ; | |
4533 | char *kwnames[] = { | |
4534 | (char *) "self", NULL | |
4535 | }; | |
4536 | ||
4537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4538 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4539 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5e483524 RD |
4540 | { |
4541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4542 | result = (bool)(arg1)->IsActive(); | |
4543 | ||
4544 | wxPyEndAllowThreads(__tstate); | |
4545 | if (PyErr_Occurred()) SWIG_fail; | |
4546 | } | |
4547 | { | |
4548 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4549 | } | |
4550 | return resultobj; | |
4551 | fail: | |
4552 | return NULL; | |
4553 | } | |
4554 | ||
4555 | ||
84f85550 RD |
4556 | static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { |
4557 | PyObject *resultobj; | |
4558 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4559 | bool arg2 ; | |
4560 | PyObject * obj0 = 0 ; | |
4561 | PyObject * obj1 = 0 ; | |
4562 | char *kwnames[] = { | |
4563 | (char *) "self",(char *) "on", NULL | |
4564 | }; | |
4565 | ||
4566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4567 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4568 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4569 | { | |
4570 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4571 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4572 | } | |
84f85550 RD |
4573 | { |
4574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4575 | wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2); | |
4576 | ||
4577 | wxPyEndAllowThreads(__tstate); | |
4578 | if (PyErr_Occurred()) SWIG_fail; | |
4579 | } | |
4580 | Py_INCREF(Py_None); resultobj = Py_None; | |
4581 | return resultobj; | |
4582 | fail: | |
4583 | return NULL; | |
4584 | } | |
4585 | ||
4586 | ||
4587 | static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { | |
4588 | PyObject *resultobj; | |
4589 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4590 | bool result; | |
4591 | PyObject * obj0 = 0 ; | |
4592 | char *kwnames[] = { | |
4593 | (char *) "self", NULL | |
4594 | }; | |
4595 | ||
4596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4597 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4598 | if (SWIG_arg_fail(1)) SWIG_fail; | |
84f85550 RD |
4599 | { |
4600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4601 | result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1); | |
4602 | ||
4603 | wxPyEndAllowThreads(__tstate); | |
4604 | if (PyErr_Occurred()) SWIG_fail; | |
4605 | } | |
4606 | { | |
4607 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4608 | } | |
4609 | return resultobj; | |
4610 | fail: | |
4611 | return NULL; | |
4612 | } | |
4613 | ||
4614 | ||
c32bde28 | 4615 | static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
4616 | PyObject *obj; |
4617 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4618 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
4619 | Py_INCREF(obj); | |
4620 | return Py_BuildValue((char *)""); | |
4621 | } | |
c32bde28 | 4622 | static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4623 | PyObject *resultobj; |
4624 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
4625 | int arg2 = (int) (int)-1 ; |
4626 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4627 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
4628 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4629 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4630 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4631 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4632 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4633 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4634 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4635 | wxFrame *result; | |
ae8162c8 | 4636 | bool temp3 = false ; |
d55e5bfc RD |
4637 | wxPoint temp4 ; |
4638 | wxSize temp5 ; | |
ae8162c8 | 4639 | bool temp7 = false ; |
d55e5bfc RD |
4640 | PyObject * obj0 = 0 ; |
4641 | PyObject * obj1 = 0 ; | |
4642 | PyObject * obj2 = 0 ; | |
4643 | PyObject * obj3 = 0 ; | |
4644 | PyObject * obj4 = 0 ; | |
4645 | PyObject * obj5 = 0 ; | |
4646 | PyObject * obj6 = 0 ; | |
4647 | char *kwnames[] = { | |
4648 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4649 | }; | |
4650 | ||
248ed943 | 4651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
4652 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
4653 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 4654 | if (obj1) { |
093d3ff1 RD |
4655 | { |
4656 | arg2 = (int const)(SWIG_As_int(obj1)); | |
4657 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4658 | } | |
248ed943 RD |
4659 | } |
4660 | if (obj2) { | |
4661 | { | |
4662 | arg3 = wxString_in_helper(obj2); | |
4663 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 4664 | temp3 = true; |
248ed943 | 4665 | } |
d55e5bfc RD |
4666 | } |
4667 | if (obj3) { | |
4668 | { | |
4669 | arg4 = &temp4; | |
4670 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4671 | } | |
4672 | } | |
4673 | if (obj4) { | |
4674 | { | |
4675 | arg5 = &temp5; | |
4676 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4677 | } | |
4678 | } | |
4679 | if (obj5) { | |
093d3ff1 RD |
4680 | { |
4681 | arg6 = (long)(SWIG_As_long(obj5)); | |
4682 | if (SWIG_arg_fail(6)) SWIG_fail; | |
4683 | } | |
d55e5bfc RD |
4684 | } |
4685 | if (obj6) { | |
4686 | { | |
4687 | arg7 = wxString_in_helper(obj6); | |
4688 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 4689 | temp7 = true; |
d55e5bfc RD |
4690 | } |
4691 | } | |
4692 | { | |
0439c23b | 4693 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4695 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4696 | ||
4697 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4698 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 4699 | } |
b0f7404b | 4700 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d55e5bfc RD |
4701 | { |
4702 | if (temp3) | |
4703 | delete arg3; | |
4704 | } | |
4705 | { | |
4706 | if (temp7) | |
4707 | delete arg7; | |
4708 | } | |
4709 | return resultobj; | |
4710 | fail: | |
4711 | { | |
4712 | if (temp3) | |
4713 | delete arg3; | |
4714 | } | |
4715 | { | |
4716 | if (temp7) | |
4717 | delete arg7; | |
4718 | } | |
4719 | return NULL; | |
4720 | } | |
4721 | ||
4722 | ||
c32bde28 | 4723 | static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4724 | PyObject *resultobj; |
4725 | wxFrame *result; | |
4726 | char *kwnames[] = { | |
4727 | NULL | |
4728 | }; | |
4729 | ||
4730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
4731 | { | |
0439c23b | 4732 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4734 | result = (wxFrame *)new wxFrame(); | |
4735 | ||
4736 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4737 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 4738 | } |
b0f7404b | 4739 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d55e5bfc RD |
4740 | return resultobj; |
4741 | fail: | |
4742 | return NULL; | |
4743 | } | |
4744 | ||
4745 | ||
c32bde28 | 4746 | static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4747 | PyObject *resultobj; |
4748 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4749 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
4750 | int arg3 = (int) (int)-1 ; |
4751 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4752 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
4753 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
4754 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4755 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4756 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4757 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4758 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4759 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4760 | bool result; | |
ae8162c8 | 4761 | bool temp4 = false ; |
d55e5bfc RD |
4762 | wxPoint temp5 ; |
4763 | wxSize temp6 ; | |
ae8162c8 | 4764 | bool temp8 = false ; |
d55e5bfc RD |
4765 | PyObject * obj0 = 0 ; |
4766 | PyObject * obj1 = 0 ; | |
4767 | PyObject * obj2 = 0 ; | |
4768 | PyObject * obj3 = 0 ; | |
4769 | PyObject * obj4 = 0 ; | |
4770 | PyObject * obj5 = 0 ; | |
4771 | PyObject * obj6 = 0 ; | |
4772 | PyObject * obj7 = 0 ; | |
4773 | char *kwnames[] = { | |
4774 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4775 | }; | |
4776 | ||
248ed943 | 4777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
4778 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4779 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4780 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
4781 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 4782 | if (obj2) { |
093d3ff1 RD |
4783 | { |
4784 | arg3 = (int const)(SWIG_As_int(obj2)); | |
4785 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4786 | } | |
248ed943 RD |
4787 | } |
4788 | if (obj3) { | |
4789 | { | |
4790 | arg4 = wxString_in_helper(obj3); | |
4791 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 4792 | temp4 = true; |
248ed943 | 4793 | } |
d55e5bfc RD |
4794 | } |
4795 | if (obj4) { | |
4796 | { | |
4797 | arg5 = &temp5; | |
4798 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4799 | } | |
4800 | } | |
4801 | if (obj5) { | |
4802 | { | |
4803 | arg6 = &temp6; | |
4804 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4805 | } | |
4806 | } | |
4807 | if (obj6) { | |
093d3ff1 RD |
4808 | { |
4809 | arg7 = (long)(SWIG_As_long(obj6)); | |
4810 | if (SWIG_arg_fail(7)) SWIG_fail; | |
4811 | } | |
d55e5bfc RD |
4812 | } |
4813 | if (obj7) { | |
4814 | { | |
4815 | arg8 = wxString_in_helper(obj7); | |
4816 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 4817 | temp8 = true; |
d55e5bfc RD |
4818 | } |
4819 | } | |
4820 | { | |
4821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4822 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4823 | ||
4824 | wxPyEndAllowThreads(__tstate); | |
4825 | if (PyErr_Occurred()) SWIG_fail; | |
4826 | } | |
4827 | { | |
4828 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4829 | } | |
4830 | { | |
4831 | if (temp4) | |
4832 | delete arg4; | |
4833 | } | |
4834 | { | |
4835 | if (temp8) | |
4836 | delete arg8; | |
4837 | } | |
4838 | return resultobj; | |
4839 | fail: | |
4840 | { | |
4841 | if (temp4) | |
4842 | delete arg4; | |
4843 | } | |
4844 | { | |
4845 | if (temp8) | |
4846 | delete arg8; | |
4847 | } | |
4848 | return NULL; | |
4849 | } | |
4850 | ||
4851 | ||
c32bde28 | 4852 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4853 | PyObject *resultobj; |
4854 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4855 | wxPoint result; | |
4856 | PyObject * obj0 = 0 ; | |
4857 | char *kwnames[] = { | |
4858 | (char *) "self", NULL | |
4859 | }; | |
4860 | ||
4861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4862 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4863 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4864 | { |
4865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4866 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
4867 | ||
4868 | wxPyEndAllowThreads(__tstate); | |
4869 | if (PyErr_Occurred()) SWIG_fail; | |
4870 | } | |
4871 | { | |
4872 | wxPoint * resultptr; | |
093d3ff1 | 4873 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
4874 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
4875 | } | |
4876 | return resultobj; | |
4877 | fail: | |
4878 | return NULL; | |
4879 | } | |
4880 | ||
4881 | ||
c32bde28 | 4882 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4883 | PyObject *resultobj; |
4884 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4885 | PyObject * obj0 = 0 ; | |
4886 | char *kwnames[] = { | |
4887 | (char *) "self", NULL | |
4888 | }; | |
4889 | ||
4890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4891 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4892 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4893 | { |
4894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4895 | (arg1)->SendSizeEvent(); | |
4896 | ||
4897 | wxPyEndAllowThreads(__tstate); | |
4898 | if (PyErr_Occurred()) SWIG_fail; | |
4899 | } | |
4900 | Py_INCREF(Py_None); resultobj = Py_None; | |
4901 | return resultobj; | |
4902 | fail: | |
4903 | return NULL; | |
4904 | } | |
4905 | ||
4906 | ||
c32bde28 | 4907 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4908 | PyObject *resultobj; |
4909 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4910 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
4911 | PyObject * obj0 = 0 ; | |
4912 | PyObject * obj1 = 0 ; | |
4913 | char *kwnames[] = { | |
4914 | (char *) "self",(char *) "menubar", NULL | |
4915 | }; | |
4916 | ||
4917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4918 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4919 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4920 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); | |
4921 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
4922 | { |
4923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4924 | (arg1)->SetMenuBar(arg2); | |
4925 | ||
4926 | wxPyEndAllowThreads(__tstate); | |
4927 | if (PyErr_Occurred()) SWIG_fail; | |
4928 | } | |
4929 | Py_INCREF(Py_None); resultobj = Py_None; | |
4930 | return resultobj; | |
4931 | fail: | |
4932 | return NULL; | |
4933 | } | |
4934 | ||
4935 | ||
c32bde28 | 4936 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4937 | PyObject *resultobj; |
4938 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4939 | wxMenuBar *result; | |
4940 | PyObject * obj0 = 0 ; | |
4941 | char *kwnames[] = { | |
4942 | (char *) "self", NULL | |
4943 | }; | |
4944 | ||
4945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4946 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4947 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4948 | { |
4949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4950 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
4951 | ||
4952 | wxPyEndAllowThreads(__tstate); | |
4953 | if (PyErr_Occurred()) SWIG_fail; | |
4954 | } | |
4955 | { | |
412d302d | 4956 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
4957 | } |
4958 | return resultobj; | |
4959 | fail: | |
4960 | return NULL; | |
4961 | } | |
4962 | ||
4963 | ||
c32bde28 | 4964 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4965 | PyObject *resultobj; |
4966 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4967 | int arg2 ; | |
4968 | bool result; | |
4969 | PyObject * obj0 = 0 ; | |
4970 | PyObject * obj1 = 0 ; | |
4971 | char *kwnames[] = { | |
4972 | (char *) "self",(char *) "winid", NULL | |
4973 | }; | |
4974 | ||
4975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4976 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4977 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4978 | { | |
4979 | arg2 = (int)(SWIG_As_int(obj1)); | |
4980 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4981 | } | |
d55e5bfc RD |
4982 | { |
4983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4984 | result = (bool)(arg1)->ProcessCommand(arg2); | |
4985 | ||
4986 | wxPyEndAllowThreads(__tstate); | |
4987 | if (PyErr_Occurred()) SWIG_fail; | |
4988 | } | |
4989 | { | |
4990 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4991 | } | |
4992 | return resultobj; | |
4993 | fail: | |
4994 | return NULL; | |
4995 | } | |
4996 | ||
4997 | ||
c32bde28 | 4998 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4999 | PyObject *resultobj; |
5000 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5001 | int arg2 = (int) 1 ; | |
5002 | long arg3 = (long) wxST_SIZEGRIP ; | |
5003 | int arg4 = (int) 0 ; | |
5004 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
5005 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
5006 | wxStatusBar *result; | |
ae8162c8 | 5007 | bool temp5 = false ; |
d55e5bfc RD |
5008 | PyObject * obj0 = 0 ; |
5009 | PyObject * obj1 = 0 ; | |
5010 | PyObject * obj2 = 0 ; | |
5011 | PyObject * obj3 = 0 ; | |
5012 | PyObject * obj4 = 0 ; | |
5013 | char *kwnames[] = { | |
5014 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
5015 | }; | |
5016 | ||
5017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
093d3ff1 RD |
5018 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5019 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 5020 | if (obj1) { |
093d3ff1 RD |
5021 | { |
5022 | arg2 = (int)(SWIG_As_int(obj1)); | |
5023 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5024 | } | |
d55e5bfc RD |
5025 | } |
5026 | if (obj2) { | |
093d3ff1 RD |
5027 | { |
5028 | arg3 = (long)(SWIG_As_long(obj2)); | |
5029 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5030 | } | |
d55e5bfc RD |
5031 | } |
5032 | if (obj3) { | |
093d3ff1 RD |
5033 | { |
5034 | arg4 = (int)(SWIG_As_int(obj3)); | |
5035 | if (SWIG_arg_fail(4)) SWIG_fail; | |
5036 | } | |
d55e5bfc RD |
5037 | } |
5038 | if (obj4) { | |
5039 | { | |
5040 | arg5 = wxString_in_helper(obj4); | |
5041 | if (arg5 == NULL) SWIG_fail; | |
ae8162c8 | 5042 | temp5 = true; |
d55e5bfc RD |
5043 | } |
5044 | } | |
5045 | { | |
5046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5047 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
5048 | ||
5049 | wxPyEndAllowThreads(__tstate); | |
5050 | if (PyErr_Occurred()) SWIG_fail; | |
5051 | } | |
5052 | { | |
412d302d | 5053 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5054 | } |
5055 | { | |
5056 | if (temp5) | |
5057 | delete arg5; | |
5058 | } | |
5059 | return resultobj; | |
5060 | fail: | |
5061 | { | |
5062 | if (temp5) | |
5063 | delete arg5; | |
5064 | } | |
5065 | return NULL; | |
5066 | } | |
5067 | ||
5068 | ||
c32bde28 | 5069 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5070 | PyObject *resultobj; |
5071 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5072 | wxStatusBar *result; | |
5073 | PyObject * obj0 = 0 ; | |
5074 | char *kwnames[] = { | |
5075 | (char *) "self", NULL | |
5076 | }; | |
5077 | ||
5078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5079 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5080 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5081 | { |
5082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5083 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
5084 | ||
5085 | wxPyEndAllowThreads(__tstate); | |
5086 | if (PyErr_Occurred()) SWIG_fail; | |
5087 | } | |
5088 | { | |
412d302d | 5089 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5090 | } |
5091 | return resultobj; | |
5092 | fail: | |
5093 | return NULL; | |
5094 | } | |
5095 | ||
5096 | ||
c32bde28 | 5097 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5098 | PyObject *resultobj; |
5099 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5100 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
5101 | PyObject * obj0 = 0 ; | |
5102 | PyObject * obj1 = 0 ; | |
5103 | char *kwnames[] = { | |
5104 | (char *) "self",(char *) "statBar", NULL | |
5105 | }; | |
5106 | ||
5107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5108 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5109 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5110 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); | |
5111 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
5112 | { |
5113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5114 | (arg1)->SetStatusBar(arg2); | |
5115 | ||
5116 | wxPyEndAllowThreads(__tstate); | |
5117 | if (PyErr_Occurred()) SWIG_fail; | |
5118 | } | |
5119 | Py_INCREF(Py_None); resultobj = Py_None; | |
5120 | return resultobj; | |
5121 | fail: | |
5122 | return NULL; | |
5123 | } | |
5124 | ||
5125 | ||
c32bde28 | 5126 | static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5127 | PyObject *resultobj; |
5128 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5129 | wxString *arg2 = 0 ; | |
5130 | int arg3 = (int) 0 ; | |
ae8162c8 | 5131 | bool temp2 = false ; |
d55e5bfc RD |
5132 | PyObject * obj0 = 0 ; |
5133 | PyObject * obj1 = 0 ; | |
5134 | PyObject * obj2 = 0 ; | |
5135 | char *kwnames[] = { | |
5136 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5137 | }; | |
5138 | ||
5139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
5140 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5141 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5142 | { |
5143 | arg2 = wxString_in_helper(obj1); | |
5144 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 5145 | temp2 = true; |
d55e5bfc RD |
5146 | } |
5147 | if (obj2) { | |
093d3ff1 RD |
5148 | { |
5149 | arg3 = (int)(SWIG_As_int(obj2)); | |
5150 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5151 | } | |
d55e5bfc RD |
5152 | } |
5153 | { | |
5154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5155 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
5156 | ||
5157 | wxPyEndAllowThreads(__tstate); | |
5158 | if (PyErr_Occurred()) SWIG_fail; | |
5159 | } | |
5160 | Py_INCREF(Py_None); resultobj = Py_None; | |
5161 | { | |
5162 | if (temp2) | |
5163 | delete arg2; | |
5164 | } | |
5165 | return resultobj; | |
5166 | fail: | |
5167 | { | |
5168 | if (temp2) | |
5169 | delete arg2; | |
5170 | } | |
5171 | return NULL; | |
5172 | } | |
5173 | ||
5174 | ||
c32bde28 | 5175 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5176 | PyObject *resultobj; |
5177 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5178 | int arg2 ; | |
5179 | int *arg3 = (int *) 0 ; | |
5180 | PyObject * obj0 = 0 ; | |
5181 | PyObject * obj1 = 0 ; | |
5182 | char *kwnames[] = { | |
5183 | (char *) "self",(char *) "widths", NULL | |
5184 | }; | |
5185 | ||
5186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5187 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5188 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5189 | { |
5190 | arg2 = PyList_Size(obj1); | |
5191 | arg3 = int_LIST_helper(obj1); | |
5192 | if (arg3 == NULL) SWIG_fail; | |
5193 | } | |
5194 | { | |
5195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5196 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5197 | ||
5198 | wxPyEndAllowThreads(__tstate); | |
5199 | if (PyErr_Occurred()) SWIG_fail; | |
5200 | } | |
5201 | Py_INCREF(Py_None); resultobj = Py_None; | |
5202 | { | |
5203 | if (arg3) delete [] arg3; | |
5204 | } | |
5205 | return resultobj; | |
5206 | fail: | |
5207 | { | |
5208 | if (arg3) delete [] arg3; | |
5209 | } | |
5210 | return NULL; | |
5211 | } | |
5212 | ||
5213 | ||
c32bde28 | 5214 | static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5215 | PyObject *resultobj; |
5216 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5217 | wxString *arg2 = 0 ; | |
5218 | int arg3 = (int) 0 ; | |
ae8162c8 | 5219 | bool temp2 = false ; |
d55e5bfc RD |
5220 | PyObject * obj0 = 0 ; |
5221 | PyObject * obj1 = 0 ; | |
5222 | PyObject * obj2 = 0 ; | |
5223 | char *kwnames[] = { | |
5224 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5225 | }; | |
5226 | ||
5227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
5228 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5229 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5230 | { |
5231 | arg2 = wxString_in_helper(obj1); | |
5232 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 5233 | temp2 = true; |
d55e5bfc RD |
5234 | } |
5235 | if (obj2) { | |
093d3ff1 RD |
5236 | { |
5237 | arg3 = (int)(SWIG_As_int(obj2)); | |
5238 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5239 | } | |
d55e5bfc RD |
5240 | } |
5241 | { | |
5242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5243 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5244 | ||
5245 | wxPyEndAllowThreads(__tstate); | |
5246 | if (PyErr_Occurred()) SWIG_fail; | |
5247 | } | |
5248 | Py_INCREF(Py_None); resultobj = Py_None; | |
5249 | { | |
5250 | if (temp2) | |
5251 | delete arg2; | |
5252 | } | |
5253 | return resultobj; | |
5254 | fail: | |
5255 | { | |
5256 | if (temp2) | |
5257 | delete arg2; | |
5258 | } | |
5259 | return NULL; | |
5260 | } | |
5261 | ||
5262 | ||
c32bde28 | 5263 | static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5264 | PyObject *resultobj; |
5265 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5266 | int arg2 = (int) 0 ; | |
5267 | PyObject * obj0 = 0 ; | |
5268 | PyObject * obj1 = 0 ; | |
5269 | char *kwnames[] = { | |
5270 | (char *) "self",(char *) "number", NULL | |
5271 | }; | |
5272 | ||
5273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5274 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5275 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 5276 | if (obj1) { |
093d3ff1 RD |
5277 | { |
5278 | arg2 = (int)(SWIG_As_int(obj1)); | |
5279 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5280 | } | |
d55e5bfc RD |
5281 | } |
5282 | { | |
5283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5284 | (arg1)->PopStatusText(arg2); | |
5285 | ||
5286 | wxPyEndAllowThreads(__tstate); | |
5287 | if (PyErr_Occurred()) SWIG_fail; | |
5288 | } | |
5289 | Py_INCREF(Py_None); resultobj = Py_None; | |
5290 | return resultobj; | |
5291 | fail: | |
5292 | return NULL; | |
5293 | } | |
5294 | ||
5295 | ||
c32bde28 | 5296 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5297 | PyObject *resultobj; |
5298 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5299 | int arg2 ; | |
5300 | PyObject * obj0 = 0 ; | |
5301 | PyObject * obj1 = 0 ; | |
5302 | char *kwnames[] = { | |
5303 | (char *) "self",(char *) "n", NULL | |
5304 | }; | |
5305 | ||
5306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5307 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5308 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5309 | { | |
5310 | arg2 = (int)(SWIG_As_int(obj1)); | |
5311 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5312 | } | |
d55e5bfc RD |
5313 | { |
5314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5315 | (arg1)->SetStatusBarPane(arg2); | |
5316 | ||
5317 | wxPyEndAllowThreads(__tstate); | |
5318 | if (PyErr_Occurred()) SWIG_fail; | |
5319 | } | |
5320 | Py_INCREF(Py_None); resultobj = Py_None; | |
5321 | return resultobj; | |
5322 | fail: | |
5323 | return NULL; | |
5324 | } | |
5325 | ||
5326 | ||
c32bde28 | 5327 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5328 | PyObject *resultobj; |
5329 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5330 | int result; | |
5331 | PyObject * obj0 = 0 ; | |
5332 | char *kwnames[] = { | |
5333 | (char *) "self", NULL | |
5334 | }; | |
5335 | ||
5336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5337 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5338 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5339 | { |
5340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5341 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
5342 | ||
5343 | wxPyEndAllowThreads(__tstate); | |
5344 | if (PyErr_Occurred()) SWIG_fail; | |
5345 | } | |
093d3ff1 RD |
5346 | { |
5347 | resultobj = SWIG_From_int((int)(result)); | |
5348 | } | |
d55e5bfc RD |
5349 | return resultobj; |
5350 | fail: | |
5351 | return NULL; | |
5352 | } | |
5353 | ||
5354 | ||
c32bde28 | 5355 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5356 | PyObject *resultobj; |
5357 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5358 | long arg2 = (long) -1 ; | |
5359 | int arg3 = (int) -1 ; | |
5360 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; | |
5361 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
5362 | wxToolBar *result; | |
ae8162c8 | 5363 | bool temp4 = false ; |
d55e5bfc RD |
5364 | PyObject * obj0 = 0 ; |
5365 | PyObject * obj1 = 0 ; | |
5366 | PyObject * obj2 = 0 ; | |
5367 | PyObject * obj3 = 0 ; | |
5368 | char *kwnames[] = { | |
5369 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
5370 | }; | |
5371 | ||
5372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
093d3ff1 RD |
5373 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5374 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 5375 | if (obj1) { |
093d3ff1 RD |
5376 | { |
5377 | arg2 = (long)(SWIG_As_long(obj1)); | |
5378 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5379 | } | |
d55e5bfc RD |
5380 | } |
5381 | if (obj2) { | |
093d3ff1 RD |
5382 | { |
5383 | arg3 = (int)(SWIG_As_int(obj2)); | |
5384 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5385 | } | |
d55e5bfc RD |
5386 | } |
5387 | if (obj3) { | |
5388 | { | |
5389 | arg4 = wxString_in_helper(obj3); | |
5390 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 5391 | temp4 = true; |
d55e5bfc RD |
5392 | } |
5393 | } | |
5394 | { | |
5395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5396 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
5397 | ||
5398 | wxPyEndAllowThreads(__tstate); | |
5399 | if (PyErr_Occurred()) SWIG_fail; | |
5400 | } | |
5401 | { | |
412d302d | 5402 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5403 | } |
5404 | { | |
5405 | if (temp4) | |
5406 | delete arg4; | |
5407 | } | |
5408 | return resultobj; | |
5409 | fail: | |
5410 | { | |
5411 | if (temp4) | |
5412 | delete arg4; | |
5413 | } | |
5414 | return NULL; | |
5415 | } | |
5416 | ||
5417 | ||
c32bde28 | 5418 | static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5419 | PyObject *resultobj; |
5420 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5421 | wxToolBar *result; | |
5422 | PyObject * obj0 = 0 ; | |
5423 | char *kwnames[] = { | |
5424 | (char *) "self", NULL | |
5425 | }; | |
5426 | ||
5427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5428 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5429 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5430 | { |
5431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5432 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
5433 | ||
5434 | wxPyEndAllowThreads(__tstate); | |
5435 | if (PyErr_Occurred()) SWIG_fail; | |
5436 | } | |
5437 | { | |
412d302d | 5438 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5439 | } |
5440 | return resultobj; | |
5441 | fail: | |
5442 | return NULL; | |
5443 | } | |
5444 | ||
5445 | ||
c32bde28 | 5446 | static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5447 | PyObject *resultobj; |
5448 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5449 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
5450 | PyObject * obj0 = 0 ; | |
5451 | PyObject * obj1 = 0 ; | |
5452 | char *kwnames[] = { | |
5453 | (char *) "self",(char *) "toolbar", NULL | |
5454 | }; | |
5455 | ||
5456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5457 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5458 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5459 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0); | |
5460 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
5461 | { |
5462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5463 | (arg1)->SetToolBar(arg2); | |
5464 | ||
5465 | wxPyEndAllowThreads(__tstate); | |
5466 | if (PyErr_Occurred()) SWIG_fail; | |
5467 | } | |
5468 | Py_INCREF(Py_None); resultobj = Py_None; | |
5469 | return resultobj; | |
5470 | fail: | |
5471 | return NULL; | |
5472 | } | |
5473 | ||
5474 | ||
c32bde28 | 5475 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5476 | PyObject *resultobj; |
5477 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5478 | wxString *arg2 = 0 ; | |
5479 | bool arg3 ; | |
ae8162c8 | 5480 | bool temp2 = false ; |
d55e5bfc RD |
5481 | PyObject * obj0 = 0 ; |
5482 | PyObject * obj1 = 0 ; | |
5483 | PyObject * obj2 = 0 ; | |
5484 | char *kwnames[] = { | |
5485 | (char *) "self",(char *) "text",(char *) "show", NULL | |
5486 | }; | |
5487 | ||
5488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
5489 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5490 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5491 | { |
5492 | arg2 = wxString_in_helper(obj1); | |
5493 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 5494 | temp2 = true; |
d55e5bfc | 5495 | } |
093d3ff1 RD |
5496 | { |
5497 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
5498 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5499 | } | |
d55e5bfc RD |
5500 | { |
5501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5502 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
5503 | ||
5504 | wxPyEndAllowThreads(__tstate); | |
5505 | if (PyErr_Occurred()) SWIG_fail; | |
5506 | } | |
5507 | Py_INCREF(Py_None); resultobj = Py_None; | |
5508 | { | |
5509 | if (temp2) | |
5510 | delete arg2; | |
5511 | } | |
5512 | return resultobj; | |
5513 | fail: | |
5514 | { | |
5515 | if (temp2) | |
5516 | delete arg2; | |
5517 | } | |
5518 | return NULL; | |
5519 | } | |
5520 | ||
5521 | ||
c32bde28 | 5522 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5523 | PyObject *resultobj; |
5524 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5525 | wxMenu *arg2 = (wxMenu *) NULL ; | |
5526 | PyObject * obj0 = 0 ; | |
5527 | PyObject * obj1 = 0 ; | |
5528 | char *kwnames[] = { | |
5529 | (char *) "self",(char *) "menu", NULL | |
5530 | }; | |
5531 | ||
5532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5533 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5534 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 5535 | if (obj1) { |
093d3ff1 RD |
5536 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); |
5537 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
5538 | } |
5539 | { | |
5540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5541 | (arg1)->DoMenuUpdates(arg2); | |
5542 | ||
5543 | wxPyEndAllowThreads(__tstate); | |
5544 | if (PyErr_Occurred()) SWIG_fail; | |
5545 | } | |
5546 | Py_INCREF(Py_None); resultobj = Py_None; | |
5547 | return resultobj; | |
5548 | fail: | |
5549 | return NULL; | |
5550 | } | |
5551 | ||
5552 | ||
c32bde28 | 5553 | static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 5554 | PyObject *resultobj; |
093d3ff1 | 5555 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
5556 | wxVisualAttributes result; |
5557 | PyObject * obj0 = 0 ; | |
5558 | char *kwnames[] = { | |
5559 | (char *) "variant", NULL | |
5560 | }; | |
5561 | ||
5562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
5563 | if (obj0) { | |
093d3ff1 RD |
5564 | { |
5565 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
5566 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5567 | } | |
f20a2e1f RD |
5568 | } |
5569 | { | |
0439c23b | 5570 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
5571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5572 | result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
5573 | ||
5574 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5575 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
5576 | } |
5577 | { | |
5578 | wxVisualAttributes * resultptr; | |
093d3ff1 | 5579 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
5580 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
5581 | } | |
5582 | return resultobj; | |
5583 | fail: | |
5584 | return NULL; | |
5585 | } | |
5586 | ||
5587 | ||
c32bde28 | 5588 | static PyObject * Frame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
5589 | PyObject *obj; |
5590 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5591 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
5592 | Py_INCREF(obj); | |
5593 | return Py_BuildValue((char *)""); | |
5594 | } | |
c32bde28 | 5595 | static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5596 | PyObject *resultobj; |
5597 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
5598 | int arg2 = (int) (int)-1 ; |
5599 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
5600 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
5601 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5602 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5603 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5604 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5605 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
5606 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
5607 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5608 | wxDialog *result; | |
ae8162c8 | 5609 | bool temp3 = false ; |
d55e5bfc RD |
5610 | wxPoint temp4 ; |
5611 | wxSize temp5 ; | |
ae8162c8 | 5612 | bool temp7 = false ; |
d55e5bfc RD |
5613 | PyObject * obj0 = 0 ; |
5614 | PyObject * obj1 = 0 ; | |
5615 | PyObject * obj2 = 0 ; | |
5616 | PyObject * obj3 = 0 ; | |
5617 | PyObject * obj4 = 0 ; | |
5618 | PyObject * obj5 = 0 ; | |
5619 | PyObject * obj6 = 0 ; | |
5620 | char *kwnames[] = { | |
5621 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5622 | }; | |
5623 | ||
248ed943 | 5624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
5625 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
5626 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 5627 | if (obj1) { |
093d3ff1 RD |
5628 | { |
5629 | arg2 = (int const)(SWIG_As_int(obj1)); | |
5630 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5631 | } | |
248ed943 RD |
5632 | } |
5633 | if (obj2) { | |
5634 | { | |
5635 | arg3 = wxString_in_helper(obj2); | |
5636 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 5637 | temp3 = true; |
248ed943 | 5638 | } |
d55e5bfc RD |
5639 | } |
5640 | if (obj3) { | |
5641 | { | |
5642 | arg4 = &temp4; | |
5643 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5644 | } | |
5645 | } | |
5646 | if (obj4) { | |
5647 | { | |
5648 | arg5 = &temp5; | |
5649 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5650 | } | |
5651 | } | |
5652 | if (obj5) { | |
093d3ff1 RD |
5653 | { |
5654 | arg6 = (long)(SWIG_As_long(obj5)); | |
5655 | if (SWIG_arg_fail(6)) SWIG_fail; | |
5656 | } | |
d55e5bfc RD |
5657 | } |
5658 | if (obj6) { | |
5659 | { | |
5660 | arg7 = wxString_in_helper(obj6); | |
5661 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 5662 | temp7 = true; |
d55e5bfc RD |
5663 | } |
5664 | } | |
5665 | { | |
0439c23b | 5666 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5668 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5669 | ||
5670 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5671 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 5672 | } |
b0f7404b | 5673 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d55e5bfc RD |
5674 | { |
5675 | if (temp3) | |
5676 | delete arg3; | |
5677 | } | |
5678 | { | |
5679 | if (temp7) | |
5680 | delete arg7; | |
5681 | } | |
5682 | return resultobj; | |
5683 | fail: | |
5684 | { | |
5685 | if (temp3) | |
5686 | delete arg3; | |
5687 | } | |
5688 | { | |
5689 | if (temp7) | |
5690 | delete arg7; | |
5691 | } | |
5692 | return NULL; | |
5693 | } | |
5694 | ||
5695 | ||
c32bde28 | 5696 | static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5697 | PyObject *resultobj; |
5698 | wxDialog *result; | |
5699 | char *kwnames[] = { | |
5700 | NULL | |
5701 | }; | |
5702 | ||
5703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
5704 | { | |
0439c23b | 5705 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5707 | result = (wxDialog *)new wxDialog(); | |
5708 | ||
5709 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5710 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 5711 | } |
b0f7404b | 5712 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d55e5bfc RD |
5713 | return resultobj; |
5714 | fail: | |
5715 | return NULL; | |
5716 | } | |
5717 | ||
5718 | ||
c32bde28 | 5719 | static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5720 | PyObject *resultobj; |
5721 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5722 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
5723 | int arg3 = (int) (int)-1 ; |
5724 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
5725 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
5726 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
5727 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
5728 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
5729 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
5730 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
5731 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
5732 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
5733 | bool result; | |
ae8162c8 | 5734 | bool temp4 = false ; |
d55e5bfc RD |
5735 | wxPoint temp5 ; |
5736 | wxSize temp6 ; | |
ae8162c8 | 5737 | bool temp8 = false ; |
d55e5bfc RD |
5738 | PyObject * obj0 = 0 ; |
5739 | PyObject * obj1 = 0 ; | |
5740 | PyObject * obj2 = 0 ; | |
5741 | PyObject * obj3 = 0 ; | |
5742 | PyObject * obj4 = 0 ; | |
5743 | PyObject * obj5 = 0 ; | |
5744 | PyObject * obj6 = 0 ; | |
5745 | PyObject * obj7 = 0 ; | |
5746 | char *kwnames[] = { | |
5747 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5748 | }; | |
5749 | ||
248ed943 | 5750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
5751 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5752 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5753 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
5754 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 5755 | if (obj2) { |
093d3ff1 RD |
5756 | { |
5757 | arg3 = (int const)(SWIG_As_int(obj2)); | |
5758 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5759 | } | |
248ed943 RD |
5760 | } |
5761 | if (obj3) { | |
5762 | { | |
5763 | arg4 = wxString_in_helper(obj3); | |
5764 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 5765 | temp4 = true; |
248ed943 | 5766 | } |
d55e5bfc RD |
5767 | } |
5768 | if (obj4) { | |
5769 | { | |
5770 | arg5 = &temp5; | |
5771 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
5772 | } | |
5773 | } | |
5774 | if (obj5) { | |
5775 | { | |
5776 | arg6 = &temp6; | |
5777 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
5778 | } | |
5779 | } | |
5780 | if (obj6) { | |
093d3ff1 RD |
5781 | { |
5782 | arg7 = (long)(SWIG_As_long(obj6)); | |
5783 | if (SWIG_arg_fail(7)) SWIG_fail; | |
5784 | } | |
d55e5bfc RD |
5785 | } |
5786 | if (obj7) { | |
5787 | { | |
5788 | arg8 = wxString_in_helper(obj7); | |
5789 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 5790 | temp8 = true; |
d55e5bfc RD |
5791 | } |
5792 | } | |
5793 | { | |
5794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5795 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
5796 | ||
5797 | wxPyEndAllowThreads(__tstate); | |
5798 | if (PyErr_Occurred()) SWIG_fail; | |
5799 | } | |
5800 | { | |
5801 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5802 | } | |
5803 | { | |
5804 | if (temp4) | |
5805 | delete arg4; | |
5806 | } | |
5807 | { | |
5808 | if (temp8) | |
5809 | delete arg8; | |
5810 | } | |
5811 | return resultobj; | |
5812 | fail: | |
5813 | { | |
5814 | if (temp4) | |
5815 | delete arg4; | |
5816 | } | |
5817 | { | |
5818 | if (temp8) | |
5819 | delete arg8; | |
5820 | } | |
5821 | return NULL; | |
5822 | } | |
5823 | ||
5824 | ||
c32bde28 | 5825 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5826 | PyObject *resultobj; |
5827 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5828 | int arg2 ; | |
5829 | PyObject * obj0 = 0 ; | |
5830 | PyObject * obj1 = 0 ; | |
5831 | char *kwnames[] = { | |
5832 | (char *) "self",(char *) "returnCode", NULL | |
5833 | }; | |
5834 | ||
5835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5836 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5837 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5838 | { | |
5839 | arg2 = (int)(SWIG_As_int(obj1)); | |
5840 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5841 | } | |
d55e5bfc RD |
5842 | { |
5843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5844 | (arg1)->SetReturnCode(arg2); | |
5845 | ||
5846 | wxPyEndAllowThreads(__tstate); | |
5847 | if (PyErr_Occurred()) SWIG_fail; | |
5848 | } | |
5849 | Py_INCREF(Py_None); resultobj = Py_None; | |
5850 | return resultobj; | |
5851 | fail: | |
5852 | return NULL; | |
5853 | } | |
5854 | ||
5855 | ||
c32bde28 | 5856 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5857 | PyObject *resultobj; |
5858 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5859 | int result; | |
5860 | PyObject * obj0 = 0 ; | |
5861 | char *kwnames[] = { | |
5862 | (char *) "self", NULL | |
5863 | }; | |
5864 | ||
5865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5866 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5867 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5868 | { |
5869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5870 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
5871 | ||
5872 | wxPyEndAllowThreads(__tstate); | |
5873 | if (PyErr_Occurred()) SWIG_fail; | |
5874 | } | |
093d3ff1 RD |
5875 | { |
5876 | resultobj = SWIG_From_int((int)(result)); | |
5877 | } | |
d55e5bfc RD |
5878 | return resultobj; |
5879 | fail: | |
5880 | return NULL; | |
5881 | } | |
5882 | ||
5883 | ||
c32bde28 | 5884 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5885 | PyObject *resultobj; |
5886 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5887 | wxString *arg2 = 0 ; | |
5888 | wxSizer *result; | |
ae8162c8 | 5889 | bool temp2 = false ; |
d55e5bfc RD |
5890 | PyObject * obj0 = 0 ; |
5891 | PyObject * obj1 = 0 ; | |
5892 | char *kwnames[] = { | |
5893 | (char *) "self",(char *) "message", NULL | |
5894 | }; | |
5895 | ||
5896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5897 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5898 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5899 | { |
5900 | arg2 = wxString_in_helper(obj1); | |
5901 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 5902 | temp2 = true; |
d55e5bfc RD |
5903 | } |
5904 | { | |
5905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5906 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
5907 | ||
5908 | wxPyEndAllowThreads(__tstate); | |
5909 | if (PyErr_Occurred()) SWIG_fail; | |
5910 | } | |
5911 | { | |
412d302d | 5912 | resultobj = wxPyMake_wxSizer(result, 0); |
d55e5bfc RD |
5913 | } |
5914 | { | |
5915 | if (temp2) | |
5916 | delete arg2; | |
5917 | } | |
5918 | return resultobj; | |
5919 | fail: | |
5920 | { | |
5921 | if (temp2) | |
5922 | delete arg2; | |
5923 | } | |
5924 | return NULL; | |
5925 | } | |
5926 | ||
5927 | ||
c32bde28 | 5928 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5929 | PyObject *resultobj; |
5930 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5931 | long arg2 ; | |
5932 | wxSizer *result; | |
5933 | PyObject * obj0 = 0 ; | |
5934 | PyObject * obj1 = 0 ; | |
5935 | char *kwnames[] = { | |
5936 | (char *) "self",(char *) "flags", NULL | |
5937 | }; | |
5938 | ||
5939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5940 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5941 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5942 | { | |
5943 | arg2 = (long)(SWIG_As_long(obj1)); | |
5944 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5945 | } | |
d55e5bfc RD |
5946 | { |
5947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5948 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
5949 | ||
5950 | wxPyEndAllowThreads(__tstate); | |
5951 | if (PyErr_Occurred()) SWIG_fail; | |
5952 | } | |
5953 | { | |
412d302d | 5954 | resultobj = wxPyMake_wxSizer(result, 0); |
d55e5bfc RD |
5955 | } |
5956 | return resultobj; | |
5957 | fail: | |
5958 | return NULL; | |
5959 | } | |
5960 | ||
5961 | ||
62d32a5f RD |
5962 | static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
5963 | PyObject *resultobj; | |
5964 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5965 | long arg2 ; | |
5966 | wxStdDialogButtonSizer *result; | |
5967 | PyObject * obj0 = 0 ; | |
5968 | PyObject * obj1 = 0 ; | |
5969 | char *kwnames[] = { | |
5970 | (char *) "self",(char *) "flags", NULL | |
5971 | }; | |
5972 | ||
5973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail; | |
5974 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); | |
5975 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5976 | { | |
5977 | arg2 = (long)(SWIG_As_long(obj1)); | |
5978 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5979 | } | |
5980 | { | |
5981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5982 | result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2); | |
5983 | ||
5984 | wxPyEndAllowThreads(__tstate); | |
5985 | if (PyErr_Occurred()) SWIG_fail; | |
5986 | } | |
5987 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0); | |
5988 | return resultobj; | |
5989 | fail: | |
5990 | return NULL; | |
5991 | } | |
5992 | ||
5993 | ||
c32bde28 | 5994 | static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5995 | PyObject *resultobj; |
5996 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5997 | bool result; | |
5998 | PyObject * obj0 = 0 ; | |
5999 | char *kwnames[] = { | |
6000 | (char *) "self", NULL | |
6001 | }; | |
6002 | ||
6003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6004 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6005 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6006 | { |
6007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6008 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
6009 | ||
6010 | wxPyEndAllowThreads(__tstate); | |
6011 | if (PyErr_Occurred()) SWIG_fail; | |
6012 | } | |
6013 | { | |
6014 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6015 | } | |
6016 | return resultobj; | |
6017 | fail: | |
6018 | return NULL; | |
6019 | } | |
6020 | ||
6021 | ||
c32bde28 | 6022 | static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6023 | PyObject *resultobj; |
6024 | wxDialog *arg1 = (wxDialog *) 0 ; | |
6025 | int result; | |
6026 | PyObject * obj0 = 0 ; | |
6027 | char *kwnames[] = { | |
6028 | (char *) "self", NULL | |
6029 | }; | |
6030 | ||
6031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6032 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6033 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6034 | { |
6035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6036 | result = (int)(arg1)->ShowModal(); | |
6037 | ||
6038 | wxPyEndAllowThreads(__tstate); | |
6039 | if (PyErr_Occurred()) SWIG_fail; | |
6040 | } | |
093d3ff1 RD |
6041 | { |
6042 | resultobj = SWIG_From_int((int)(result)); | |
6043 | } | |
d55e5bfc RD |
6044 | return resultobj; |
6045 | fail: | |
6046 | return NULL; | |
6047 | } | |
6048 | ||
6049 | ||
c32bde28 | 6050 | static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6051 | PyObject *resultobj; |
6052 | wxDialog *arg1 = (wxDialog *) 0 ; | |
6053 | int arg2 ; | |
6054 | PyObject * obj0 = 0 ; | |
6055 | PyObject * obj1 = 0 ; | |
6056 | char *kwnames[] = { | |
6057 | (char *) "self",(char *) "retCode", NULL | |
6058 | }; | |
6059 | ||
6060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6061 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6062 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6063 | { | |
6064 | arg2 = (int)(SWIG_As_int(obj1)); | |
6065 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6066 | } | |
d55e5bfc RD |
6067 | { |
6068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6069 | (arg1)->EndModal(arg2); | |
6070 | ||
6071 | wxPyEndAllowThreads(__tstate); | |
6072 | if (PyErr_Occurred()) SWIG_fail; | |
6073 | } | |
6074 | Py_INCREF(Py_None); resultobj = Py_None; | |
6075 | return resultobj; | |
6076 | fail: | |
6077 | return NULL; | |
6078 | } | |
6079 | ||
6080 | ||
c32bde28 | 6081 | static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 6082 | PyObject *resultobj; |
093d3ff1 | 6083 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
6084 | wxVisualAttributes result; |
6085 | PyObject * obj0 = 0 ; | |
6086 | char *kwnames[] = { | |
6087 | (char *) "variant", NULL | |
6088 | }; | |
6089 | ||
6090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
6091 | if (obj0) { | |
093d3ff1 RD |
6092 | { |
6093 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
6094 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6095 | } | |
f20a2e1f RD |
6096 | } |
6097 | { | |
0439c23b | 6098 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
6099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6100 | result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
6101 | ||
6102 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6103 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
6104 | } |
6105 | { | |
6106 | wxVisualAttributes * resultptr; | |
093d3ff1 | 6107 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
6108 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
6109 | } | |
6110 | return resultobj; | |
6111 | fail: | |
6112 | return NULL; | |
6113 | } | |
6114 | ||
6115 | ||
c32bde28 | 6116 | static PyObject * Dialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6117 | PyObject *obj; |
6118 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6119 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
6120 | Py_INCREF(obj); | |
6121 | return Py_BuildValue((char *)""); | |
6122 | } | |
c32bde28 | 6123 | static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6124 | PyObject *resultobj; |
6125 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
6126 | int arg2 = (int) (int)-1 ; |
6127 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6128 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
6129 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6130 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6131 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6132 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6133 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
6134 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
6135 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6136 | wxMiniFrame *result; | |
ae8162c8 | 6137 | bool temp3 = false ; |
d55e5bfc RD |
6138 | wxPoint temp4 ; |
6139 | wxSize temp5 ; | |
ae8162c8 | 6140 | bool temp7 = false ; |
d55e5bfc RD |
6141 | PyObject * obj0 = 0 ; |
6142 | PyObject * obj1 = 0 ; | |
6143 | PyObject * obj2 = 0 ; | |
6144 | PyObject * obj3 = 0 ; | |
6145 | PyObject * obj4 = 0 ; | |
6146 | PyObject * obj5 = 0 ; | |
6147 | PyObject * obj6 = 0 ; | |
6148 | char *kwnames[] = { | |
6149 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6150 | }; | |
6151 | ||
248ed943 | 6152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
6153 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
6154 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 6155 | if (obj1) { |
093d3ff1 RD |
6156 | { |
6157 | arg2 = (int const)(SWIG_As_int(obj1)); | |
6158 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6159 | } | |
248ed943 RD |
6160 | } |
6161 | if (obj2) { | |
6162 | { | |
6163 | arg3 = wxString_in_helper(obj2); | |
6164 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 6165 | temp3 = true; |
248ed943 | 6166 | } |
d55e5bfc RD |
6167 | } |
6168 | if (obj3) { | |
6169 | { | |
6170 | arg4 = &temp4; | |
6171 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6172 | } | |
6173 | } | |
6174 | if (obj4) { | |
6175 | { | |
6176 | arg5 = &temp5; | |
6177 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6178 | } | |
6179 | } | |
6180 | if (obj5) { | |
093d3ff1 RD |
6181 | { |
6182 | arg6 = (long)(SWIG_As_long(obj5)); | |
6183 | if (SWIG_arg_fail(6)) SWIG_fail; | |
6184 | } | |
d55e5bfc RD |
6185 | } |
6186 | if (obj6) { | |
6187 | { | |
6188 | arg7 = wxString_in_helper(obj6); | |
6189 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 6190 | temp7 = true; |
d55e5bfc RD |
6191 | } |
6192 | } | |
6193 | { | |
0439c23b | 6194 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6196 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6197 | ||
6198 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6199 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6200 | } |
6201 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); | |
6202 | { | |
6203 | if (temp3) | |
6204 | delete arg3; | |
6205 | } | |
6206 | { | |
6207 | if (temp7) | |
6208 | delete arg7; | |
6209 | } | |
6210 | return resultobj; | |
6211 | fail: | |
6212 | { | |
6213 | if (temp3) | |
6214 | delete arg3; | |
6215 | } | |
6216 | { | |
6217 | if (temp7) | |
6218 | delete arg7; | |
6219 | } | |
6220 | return NULL; | |
6221 | } | |
6222 | ||
6223 | ||
c32bde28 | 6224 | static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6225 | PyObject *resultobj; |
6226 | wxMiniFrame *result; | |
6227 | char *kwnames[] = { | |
6228 | NULL | |
6229 | }; | |
6230 | ||
6231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
6232 | { | |
0439c23b | 6233 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6235 | result = (wxMiniFrame *)new wxMiniFrame(); | |
6236 | ||
6237 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6238 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6239 | } |
6240 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); | |
6241 | return resultobj; | |
6242 | fail: | |
6243 | return NULL; | |
6244 | } | |
6245 | ||
6246 | ||
c32bde28 | 6247 | static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6248 | PyObject *resultobj; |
6249 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
6250 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
6251 | int arg3 = (int) (int)-1 ; |
6252 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
6253 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
6254 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
6255 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
6256 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
6257 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
6258 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
6259 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
6260 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
6261 | bool result; | |
ae8162c8 | 6262 | bool temp4 = false ; |
d55e5bfc RD |
6263 | wxPoint temp5 ; |
6264 | wxSize temp6 ; | |
ae8162c8 | 6265 | bool temp8 = false ; |
d55e5bfc RD |
6266 | PyObject * obj0 = 0 ; |
6267 | PyObject * obj1 = 0 ; | |
6268 | PyObject * obj2 = 0 ; | |
6269 | PyObject * obj3 = 0 ; | |
6270 | PyObject * obj4 = 0 ; | |
6271 | PyObject * obj5 = 0 ; | |
6272 | PyObject * obj6 = 0 ; | |
6273 | PyObject * obj7 = 0 ; | |
6274 | char *kwnames[] = { | |
6275 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6276 | }; | |
6277 | ||
248ed943 | 6278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
6279 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0); |
6280 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6281 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6282 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 6283 | if (obj2) { |
093d3ff1 RD |
6284 | { |
6285 | arg3 = (int const)(SWIG_As_int(obj2)); | |
6286 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6287 | } | |
248ed943 RD |
6288 | } |
6289 | if (obj3) { | |
6290 | { | |
6291 | arg4 = wxString_in_helper(obj3); | |
6292 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 6293 | temp4 = true; |
248ed943 | 6294 | } |
d55e5bfc RD |
6295 | } |
6296 | if (obj4) { | |
6297 | { | |
6298 | arg5 = &temp5; | |
6299 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
6300 | } | |
6301 | } | |
6302 | if (obj5) { | |
6303 | { | |
6304 | arg6 = &temp6; | |
6305 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
6306 | } | |
6307 | } | |
6308 | if (obj6) { | |
093d3ff1 RD |
6309 | { |
6310 | arg7 = (long)(SWIG_As_long(obj6)); | |
6311 | if (SWIG_arg_fail(7)) SWIG_fail; | |
6312 | } | |
d55e5bfc RD |
6313 | } |
6314 | if (obj7) { | |
6315 | { | |
6316 | arg8 = wxString_in_helper(obj7); | |
6317 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 6318 | temp8 = true; |
d55e5bfc RD |
6319 | } |
6320 | } | |
6321 | { | |
6322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6323 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
6324 | ||
6325 | wxPyEndAllowThreads(__tstate); | |
6326 | if (PyErr_Occurred()) SWIG_fail; | |
6327 | } | |
6328 | { | |
6329 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6330 | } | |
6331 | { | |
6332 | if (temp4) | |
6333 | delete arg4; | |
6334 | } | |
6335 | { | |
6336 | if (temp8) | |
6337 | delete arg8; | |
6338 | } | |
6339 | return resultobj; | |
6340 | fail: | |
6341 | { | |
6342 | if (temp4) | |
6343 | delete arg4; | |
6344 | } | |
6345 | { | |
6346 | if (temp8) | |
6347 | delete arg8; | |
6348 | } | |
6349 | return NULL; | |
6350 | } | |
6351 | ||
6352 | ||
c32bde28 | 6353 | static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6354 | PyObject *obj; |
6355 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6356 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
6357 | Py_INCREF(obj); | |
6358 | return Py_BuildValue((char *)""); | |
6359 | } | |
c32bde28 | 6360 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6361 | PyObject *resultobj; |
6362 | wxBitmap *arg1 = 0 ; | |
6363 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6364 | int arg3 ; | |
6365 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
6366 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6367 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6368 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6369 | long arg6 = (long) wxNO_BORDER ; | |
6370 | wxSplashScreenWindow *result; | |
6371 | wxPoint temp4 ; | |
6372 | wxSize temp5 ; | |
6373 | PyObject * obj0 = 0 ; | |
6374 | PyObject * obj1 = 0 ; | |
6375 | PyObject * obj2 = 0 ; | |
6376 | PyObject * obj3 = 0 ; | |
6377 | PyObject * obj4 = 0 ; | |
6378 | PyObject * obj5 = 0 ; | |
6379 | char *kwnames[] = { | |
6380 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
6381 | }; | |
6382 | ||
6383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
6384 | { |
6385 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6386 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6387 | if (arg1 == NULL) { | |
6388 | SWIG_null_ref("wxBitmap"); | |
6389 | } | |
6390 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6391 | } | |
6392 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6393 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6394 | { | |
6395 | arg3 = (int)(SWIG_As_int(obj2)); | |
6396 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6397 | } | |
d55e5bfc RD |
6398 | if (obj3) { |
6399 | { | |
6400 | arg4 = &temp4; | |
6401 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6402 | } | |
6403 | } | |
6404 | if (obj4) { | |
6405 | { | |
6406 | arg5 = &temp5; | |
6407 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6408 | } | |
6409 | } | |
6410 | if (obj5) { | |
093d3ff1 RD |
6411 | { |
6412 | arg6 = (long)(SWIG_As_long(obj5)); | |
6413 | if (SWIG_arg_fail(6)) SWIG_fail; | |
6414 | } | |
d55e5bfc RD |
6415 | } |
6416 | { | |
0439c23b | 6417 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6419 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
6420 | ||
6421 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6422 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6423 | } |
6424 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); | |
6425 | return resultobj; | |
6426 | fail: | |
6427 | return NULL; | |
6428 | } | |
6429 | ||
6430 | ||
c32bde28 | 6431 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6432 | PyObject *resultobj; |
6433 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
6434 | wxBitmap *arg2 = 0 ; | |
6435 | PyObject * obj0 = 0 ; | |
6436 | PyObject * obj1 = 0 ; | |
6437 | char *kwnames[] = { | |
6438 | (char *) "self",(char *) "bitmap", NULL | |
6439 | }; | |
6440 | ||
6441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6442 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0); |
6443 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6444 | { | |
6445 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6446 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6447 | if (arg2 == NULL) { | |
6448 | SWIG_null_ref("wxBitmap"); | |
6449 | } | |
6450 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
6451 | } |
6452 | { | |
6453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6454 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
6455 | ||
6456 | wxPyEndAllowThreads(__tstate); | |
6457 | if (PyErr_Occurred()) SWIG_fail; | |
6458 | } | |
6459 | Py_INCREF(Py_None); resultobj = Py_None; | |
6460 | return resultobj; | |
6461 | fail: | |
6462 | return NULL; | |
6463 | } | |
6464 | ||
6465 | ||
c32bde28 | 6466 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6467 | PyObject *resultobj; |
6468 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
6469 | wxBitmap *result; | |
6470 | PyObject * obj0 = 0 ; | |
6471 | char *kwnames[] = { | |
6472 | (char *) "self", NULL | |
6473 | }; | |
6474 | ||
6475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6476 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0); |
6477 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6478 | { |
6479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6480 | { | |
6481 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
6482 | result = (wxBitmap *) &_result_ref; | |
6483 | } | |
6484 | ||
6485 | wxPyEndAllowThreads(__tstate); | |
6486 | if (PyErr_Occurred()) SWIG_fail; | |
6487 | } | |
6488 | { | |
6489 | wxBitmap* resultptr = new wxBitmap(*result); | |
6490 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
6491 | } | |
6492 | return resultobj; | |
6493 | fail: | |
6494 | return NULL; | |
6495 | } | |
6496 | ||
6497 | ||
c32bde28 | 6498 | static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6499 | PyObject *obj; |
6500 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6501 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
6502 | Py_INCREF(obj); | |
6503 | return Py_BuildValue((char *)""); | |
6504 | } | |
c32bde28 | 6505 | static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6506 | PyObject *resultobj; |
6507 | wxBitmap *arg1 = 0 ; | |
6508 | long arg2 ; | |
6509 | int arg3 ; | |
6510 | wxWindow *arg4 = (wxWindow *) 0 ; | |
248ed943 | 6511 | int arg5 = (int) -1 ; |
d55e5bfc RD |
6512 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
6513 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
6514 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
6515 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
6516 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
6517 | wxSplashScreen *result; | |
6518 | wxPoint temp6 ; | |
6519 | wxSize temp7 ; | |
6520 | PyObject * obj0 = 0 ; | |
6521 | PyObject * obj1 = 0 ; | |
6522 | PyObject * obj2 = 0 ; | |
6523 | PyObject * obj3 = 0 ; | |
6524 | PyObject * obj4 = 0 ; | |
6525 | PyObject * obj5 = 0 ; | |
6526 | PyObject * obj6 = 0 ; | |
6527 | PyObject * obj7 = 0 ; | |
6528 | char *kwnames[] = { | |
6529 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
6530 | }; | |
6531 | ||
248ed943 | 6532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
6533 | { |
6534 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6535 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6536 | if (arg1 == NULL) { | |
6537 | SWIG_null_ref("wxBitmap"); | |
6538 | } | |
6539 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6540 | } | |
6541 | { | |
6542 | arg2 = (long)(SWIG_As_long(obj1)); | |
6543 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6544 | } | |
6545 | { | |
6546 | arg3 = (int)(SWIG_As_int(obj2)); | |
6547 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6548 | } | |
6549 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6550 | if (SWIG_arg_fail(4)) SWIG_fail; | |
248ed943 | 6551 | if (obj4) { |
093d3ff1 RD |
6552 | { |
6553 | arg5 = (int)(SWIG_As_int(obj4)); | |
6554 | if (SWIG_arg_fail(5)) SWIG_fail; | |
6555 | } | |
248ed943 | 6556 | } |
d55e5bfc RD |
6557 | if (obj5) { |
6558 | { | |
6559 | arg6 = &temp6; | |
6560 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
6561 | } | |
6562 | } | |
6563 | if (obj6) { | |
6564 | { | |
6565 | arg7 = &temp7; | |
6566 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
6567 | } | |
6568 | } | |
6569 | if (obj7) { | |
093d3ff1 RD |
6570 | { |
6571 | arg8 = (long)(SWIG_As_long(obj7)); | |
6572 | if (SWIG_arg_fail(8)) SWIG_fail; | |
6573 | } | |
d55e5bfc RD |
6574 | } |
6575 | { | |
0439c23b | 6576 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6578 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
6579 | ||
6580 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6581 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6582 | } |
6583 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); | |
6584 | return resultobj; | |
6585 | fail: | |
6586 | return NULL; | |
6587 | } | |
6588 | ||
6589 | ||
c32bde28 | 6590 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6591 | PyObject *resultobj; |
6592 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
6593 | long result; | |
6594 | PyObject * obj0 = 0 ; | |
6595 | char *kwnames[] = { | |
6596 | (char *) "self", NULL | |
6597 | }; | |
6598 | ||
6599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6600 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6601 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6602 | { |
6603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6604 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
6605 | ||
6606 | wxPyEndAllowThreads(__tstate); | |
6607 | if (PyErr_Occurred()) SWIG_fail; | |
6608 | } | |
093d3ff1 RD |
6609 | { |
6610 | resultobj = SWIG_From_long((long)(result)); | |
6611 | } | |
d55e5bfc RD |
6612 | return resultobj; |
6613 | fail: | |
6614 | return NULL; | |
6615 | } | |
6616 | ||
6617 | ||
c32bde28 | 6618 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6619 | PyObject *resultobj; |
6620 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
6621 | wxSplashScreenWindow *result; | |
6622 | PyObject * obj0 = 0 ; | |
6623 | char *kwnames[] = { | |
6624 | (char *) "self", NULL | |
6625 | }; | |
6626 | ||
6627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6628 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6629 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6630 | { |
6631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6632 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
6633 | ||
6634 | wxPyEndAllowThreads(__tstate); | |
6635 | if (PyErr_Occurred()) SWIG_fail; | |
6636 | } | |
6637 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); | |
6638 | return resultobj; | |
6639 | fail: | |
6640 | return NULL; | |
6641 | } | |
6642 | ||
6643 | ||
c32bde28 | 6644 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6645 | PyObject *resultobj; |
6646 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
6647 | int result; | |
6648 | PyObject * obj0 = 0 ; | |
6649 | char *kwnames[] = { | |
6650 | (char *) "self", NULL | |
6651 | }; | |
6652 | ||
6653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6654 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6655 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6656 | { |
6657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6658 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
6659 | ||
6660 | wxPyEndAllowThreads(__tstate); | |
6661 | if (PyErr_Occurred()) SWIG_fail; | |
6662 | } | |
093d3ff1 RD |
6663 | { |
6664 | resultobj = SWIG_From_int((int)(result)); | |
6665 | } | |
d55e5bfc RD |
6666 | return resultobj; |
6667 | fail: | |
6668 | return NULL; | |
6669 | } | |
6670 | ||
6671 | ||
c32bde28 | 6672 | static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6673 | PyObject *obj; |
6674 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6675 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
6676 | Py_INCREF(obj); | |
6677 | return Py_BuildValue((char *)""); | |
6678 | } | |
c32bde28 | 6679 | static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6680 | PyObject *resultobj; |
6681 | wxWindow *arg1 = (wxWindow *) 0 ; | |
6682 | int arg2 = (int) -1 ; | |
6683 | long arg3 = (long) wxST_SIZEGRIP ; | |
6684 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; | |
6685 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
6686 | wxStatusBar *result; | |
ae8162c8 | 6687 | bool temp4 = false ; |
d55e5bfc RD |
6688 | PyObject * obj0 = 0 ; |
6689 | PyObject * obj1 = 0 ; | |
6690 | PyObject * obj2 = 0 ; | |
6691 | PyObject * obj3 = 0 ; | |
6692 | char *kwnames[] = { | |
6693 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
6694 | }; | |
6695 | ||
6696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
093d3ff1 RD |
6697 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
6698 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 6699 | if (obj1) { |
093d3ff1 RD |
6700 | { |
6701 | arg2 = (int)(SWIG_As_int(obj1)); | |
6702 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6703 | } | |
d55e5bfc RD |
6704 | } |
6705 | if (obj2) { | |
093d3ff1 RD |
6706 | { |
6707 | arg3 = (long)(SWIG_As_long(obj2)); | |
6708 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6709 | } | |
d55e5bfc RD |
6710 | } |
6711 | if (obj3) { | |
6712 | { | |
6713 | arg4 = wxString_in_helper(obj3); | |
6714 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 6715 | temp4 = true; |
d55e5bfc RD |
6716 | } |
6717 | } | |
6718 | { | |
0439c23b | 6719 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6721 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
6722 | ||
6723 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6724 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 6725 | } |
b0f7404b | 6726 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d55e5bfc RD |
6727 | { |
6728 | if (temp4) | |
6729 | delete arg4; | |
6730 | } | |
6731 | return resultobj; | |
6732 | fail: | |
6733 | { | |
6734 | if (temp4) | |
6735 | delete arg4; | |
6736 | } | |
6737 | return NULL; | |
6738 | } | |
6739 | ||
6740 | ||
c32bde28 | 6741 | static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6742 | PyObject *resultobj; |
6743 | wxStatusBar *result; | |
6744 | char *kwnames[] = { | |
6745 | NULL | |
6746 | }; | |
6747 | ||
6748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
6749 | { | |
0439c23b | 6750 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6752 | result = (wxStatusBar *)new wxStatusBar(); | |
6753 | ||
6754 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6755 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 6756 | } |
b0f7404b | 6757 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d55e5bfc RD |
6758 | return resultobj; |
6759 | fail: | |
6760 | return NULL; | |
6761 | } | |
6762 | ||
6763 | ||
c32bde28 | 6764 | static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6765 | PyObject *resultobj; |
6766 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6767 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 6768 | int arg3 = (int) -1 ; |
d55e5bfc RD |
6769 | long arg4 = (long) wxST_SIZEGRIP ; |
6770 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
6771 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
6772 | bool result; | |
ae8162c8 | 6773 | bool temp5 = false ; |
d55e5bfc RD |
6774 | PyObject * obj0 = 0 ; |
6775 | PyObject * obj1 = 0 ; | |
6776 | PyObject * obj2 = 0 ; | |
6777 | PyObject * obj3 = 0 ; | |
6778 | PyObject * obj4 = 0 ; | |
6779 | char *kwnames[] = { | |
6780 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
6781 | }; | |
6782 | ||
248ed943 | 6783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
6784 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6785 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6786 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6787 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 6788 | if (obj2) { |
093d3ff1 RD |
6789 | { |
6790 | arg3 = (int)(SWIG_As_int(obj2)); | |
6791 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6792 | } | |
248ed943 | 6793 | } |
d55e5bfc | 6794 | if (obj3) { |
093d3ff1 RD |
6795 | { |
6796 | arg4 = (long)(SWIG_As_long(obj3)); | |
6797 | if (SWIG_arg_fail(4)) SWIG_fail; | |
6798 | } | |
d55e5bfc RD |
6799 | } |
6800 | if (obj4) { | |
6801 | { | |
6802 | arg5 = wxString_in_helper(obj4); | |
6803 | if (arg5 == NULL) SWIG_fail; | |
ae8162c8 | 6804 | temp5 = true; |
d55e5bfc RD |
6805 | } |
6806 | } | |
6807 | { | |
6808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6809 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
6810 | ||
6811 | wxPyEndAllowThreads(__tstate); | |
6812 | if (PyErr_Occurred()) SWIG_fail; | |
6813 | } | |
6814 | { | |
6815 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6816 | } | |
6817 | { | |
6818 | if (temp5) | |
6819 | delete arg5; | |
6820 | } | |
6821 | return resultobj; | |
6822 | fail: | |
6823 | { | |
6824 | if (temp5) | |
6825 | delete arg5; | |
6826 | } | |
6827 | return NULL; | |
6828 | } | |
6829 | ||
6830 | ||
c32bde28 | 6831 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6832 | PyObject *resultobj; |
6833 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6834 | int arg2 = (int) 1 ; | |
6835 | PyObject * obj0 = 0 ; | |
6836 | PyObject * obj1 = 0 ; | |
6837 | char *kwnames[] = { | |
6838 | (char *) "self",(char *) "number", NULL | |
6839 | }; | |
6840 | ||
6841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6842 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6843 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 6844 | if (obj1) { |
093d3ff1 RD |
6845 | { |
6846 | arg2 = (int)(SWIG_As_int(obj1)); | |
6847 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6848 | } | |
d55e5bfc RD |
6849 | } |
6850 | { | |
6851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6852 | (arg1)->SetFieldsCount(arg2); | |
6853 | ||
6854 | wxPyEndAllowThreads(__tstate); | |
6855 | if (PyErr_Occurred()) SWIG_fail; | |
6856 | } | |
6857 | Py_INCREF(Py_None); resultobj = Py_None; | |
6858 | return resultobj; | |
6859 | fail: | |
6860 | return NULL; | |
6861 | } | |
6862 | ||
6863 | ||
c32bde28 | 6864 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6865 | PyObject *resultobj; |
6866 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6867 | int result; | |
6868 | PyObject * obj0 = 0 ; | |
6869 | char *kwnames[] = { | |
6870 | (char *) "self", NULL | |
6871 | }; | |
6872 | ||
6873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6874 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6875 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6876 | { |
6877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6878 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
6879 | ||
6880 | wxPyEndAllowThreads(__tstate); | |
6881 | if (PyErr_Occurred()) SWIG_fail; | |
6882 | } | |
093d3ff1 RD |
6883 | { |
6884 | resultobj = SWIG_From_int((int)(result)); | |
6885 | } | |
d55e5bfc RD |
6886 | return resultobj; |
6887 | fail: | |
6888 | return NULL; | |
6889 | } | |
6890 | ||
6891 | ||
c32bde28 | 6892 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6893 | PyObject *resultobj; |
6894 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6895 | wxString *arg2 = 0 ; | |
6896 | int arg3 = (int) 0 ; | |
ae8162c8 | 6897 | bool temp2 = false ; |
d55e5bfc RD |
6898 | PyObject * obj0 = 0 ; |
6899 | PyObject * obj1 = 0 ; | |
6900 | PyObject * obj2 = 0 ; | |
6901 | char *kwnames[] = { | |
6902 | (char *) "self",(char *) "text",(char *) "number", NULL | |
6903 | }; | |
6904 | ||
6905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
6906 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6907 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6908 | { |
6909 | arg2 = wxString_in_helper(obj1); | |
6910 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 6911 | temp2 = true; |
d55e5bfc RD |
6912 | } |
6913 | if (obj2) { | |
093d3ff1 RD |
6914 | { |
6915 | arg3 = (int)(SWIG_As_int(obj2)); | |
6916 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6917 | } | |
d55e5bfc RD |
6918 | } |
6919 | { | |
6920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6921 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
6922 | ||
6923 | wxPyEndAllowThreads(__tstate); | |
6924 | if (PyErr_Occurred()) SWIG_fail; | |
6925 | } | |
6926 | Py_INCREF(Py_None); resultobj = Py_None; | |
6927 | { | |
6928 | if (temp2) | |
6929 | delete arg2; | |
6930 | } | |
6931 | return resultobj; | |
6932 | fail: | |
6933 | { | |
6934 | if (temp2) | |
6935 | delete arg2; | |
6936 | } | |
6937 | return NULL; | |
6938 | } | |
6939 | ||
6940 | ||
c32bde28 | 6941 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6942 | PyObject *resultobj; |
6943 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6944 | int arg2 = (int) 0 ; | |
6945 | wxString result; | |
6946 | PyObject * obj0 = 0 ; | |
6947 | PyObject * obj1 = 0 ; | |
6948 | char *kwnames[] = { | |
6949 | (char *) "self",(char *) "number", NULL | |
6950 | }; | |
6951 | ||
6952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6953 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6954 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 6955 | if (obj1) { |
093d3ff1 RD |
6956 | { |
6957 | arg2 = (int)(SWIG_As_int(obj1)); | |
6958 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6959 | } | |
d55e5bfc RD |
6960 | } |
6961 | { | |
6962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6963 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
6964 | ||
6965 | wxPyEndAllowThreads(__tstate); | |
6966 | if (PyErr_Occurred()) SWIG_fail; | |
6967 | } | |
6968 | { | |
6969 | #if wxUSE_UNICODE | |
6970 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6971 | #else | |
6972 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6973 | #endif | |
6974 | } | |
6975 | return resultobj; | |
6976 | fail: | |
6977 | return NULL; | |
6978 | } | |
6979 | ||
6980 | ||
c32bde28 | 6981 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6982 | PyObject *resultobj; |
6983 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6984 | wxString *arg2 = 0 ; | |
6985 | int arg3 = (int) 0 ; | |
ae8162c8 | 6986 | bool temp2 = false ; |
d55e5bfc RD |
6987 | PyObject * obj0 = 0 ; |
6988 | PyObject * obj1 = 0 ; | |
6989 | PyObject * obj2 = 0 ; | |
6990 | char *kwnames[] = { | |
6991 | (char *) "self",(char *) "text",(char *) "number", NULL | |
6992 | }; | |
6993 | ||
6994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
6995 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6996 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6997 | { |
6998 | arg2 = wxString_in_helper(obj1); | |
6999 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 7000 | temp2 = true; |
d55e5bfc RD |
7001 | } |
7002 | if (obj2) { | |
093d3ff1 RD |
7003 | { |
7004 | arg3 = (int)(SWIG_As_int(obj2)); | |
7005 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7006 | } | |
d55e5bfc RD |
7007 | } |
7008 | { | |
7009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7010 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
7011 | ||
7012 | wxPyEndAllowThreads(__tstate); | |
7013 | if (PyErr_Occurred()) SWIG_fail; | |
7014 | } | |
7015 | Py_INCREF(Py_None); resultobj = Py_None; | |
7016 | { | |
7017 | if (temp2) | |
7018 | delete arg2; | |
7019 | } | |
7020 | return resultobj; | |
7021 | fail: | |
7022 | { | |
7023 | if (temp2) | |
7024 | delete arg2; | |
7025 | } | |
7026 | return NULL; | |
7027 | } | |
7028 | ||
7029 | ||
c32bde28 | 7030 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7031 | PyObject *resultobj; |
7032 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7033 | int arg2 = (int) 0 ; | |
7034 | PyObject * obj0 = 0 ; | |
7035 | PyObject * obj1 = 0 ; | |
7036 | char *kwnames[] = { | |
7037 | (char *) "self",(char *) "number", NULL | |
7038 | }; | |
7039 | ||
7040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7041 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7042 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 7043 | if (obj1) { |
093d3ff1 RD |
7044 | { |
7045 | arg2 = (int)(SWIG_As_int(obj1)); | |
7046 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7047 | } | |
d55e5bfc RD |
7048 | } |
7049 | { | |
7050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7051 | (arg1)->PopStatusText(arg2); | |
7052 | ||
7053 | wxPyEndAllowThreads(__tstate); | |
7054 | if (PyErr_Occurred()) SWIG_fail; | |
7055 | } | |
7056 | Py_INCREF(Py_None); resultobj = Py_None; | |
7057 | return resultobj; | |
7058 | fail: | |
7059 | return NULL; | |
7060 | } | |
7061 | ||
7062 | ||
c32bde28 | 7063 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7064 | PyObject *resultobj; |
7065 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7066 | int arg2 ; | |
7067 | int *arg3 = (int *) 0 ; | |
7068 | PyObject * obj0 = 0 ; | |
7069 | PyObject * obj1 = 0 ; | |
7070 | char *kwnames[] = { | |
7071 | (char *) "self",(char *) "widths", NULL | |
7072 | }; | |
7073 | ||
7074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7075 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7076 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7077 | { |
7078 | arg2 = PyList_Size(obj1); | |
7079 | arg3 = int_LIST_helper(obj1); | |
7080 | if (arg3 == NULL) SWIG_fail; | |
7081 | } | |
7082 | { | |
7083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7084 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
7085 | ||
7086 | wxPyEndAllowThreads(__tstate); | |
7087 | if (PyErr_Occurred()) SWIG_fail; | |
7088 | } | |
7089 | Py_INCREF(Py_None); resultobj = Py_None; | |
7090 | { | |
7091 | if (arg3) delete [] arg3; | |
7092 | } | |
7093 | return resultobj; | |
7094 | fail: | |
7095 | { | |
7096 | if (arg3) delete [] arg3; | |
7097 | } | |
7098 | return NULL; | |
7099 | } | |
7100 | ||
7101 | ||
c32bde28 | 7102 | static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) { |
03837c5c RD |
7103 | PyObject *resultobj; |
7104 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7105 | int arg2 ; | |
7106 | int *arg3 = (int *) 0 ; | |
7107 | PyObject * obj0 = 0 ; | |
7108 | PyObject * obj1 = 0 ; | |
7109 | char *kwnames[] = { | |
7110 | (char *) "self",(char *) "styles", NULL | |
7111 | }; | |
7112 | ||
7113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7114 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7115 | if (SWIG_arg_fail(1)) SWIG_fail; | |
03837c5c RD |
7116 | { |
7117 | arg2 = PyList_Size(obj1); | |
7118 | arg3 = int_LIST_helper(obj1); | |
7119 | if (arg3 == NULL) SWIG_fail; | |
7120 | } | |
7121 | { | |
7122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7123 | (arg1)->SetStatusStyles(arg2,(int const *)arg3); | |
7124 | ||
7125 | wxPyEndAllowThreads(__tstate); | |
7126 | if (PyErr_Occurred()) SWIG_fail; | |
7127 | } | |
7128 | Py_INCREF(Py_None); resultobj = Py_None; | |
7129 | { | |
7130 | if (arg3) delete [] arg3; | |
7131 | } | |
7132 | return resultobj; | |
7133 | fail: | |
7134 | { | |
7135 | if (arg3) delete [] arg3; | |
7136 | } | |
7137 | return NULL; | |
7138 | } | |
7139 | ||
7140 | ||
c32bde28 | 7141 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7142 | PyObject *resultobj; |
7143 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7144 | int arg2 ; | |
7145 | wxRect result; | |
7146 | PyObject * obj0 = 0 ; | |
7147 | PyObject * obj1 = 0 ; | |
7148 | char *kwnames[] = { | |
7149 | (char *) "self",(char *) "i", NULL | |
7150 | }; | |
7151 | ||
7152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7153 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7154 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7155 | { | |
7156 | arg2 = (int)(SWIG_As_int(obj1)); | |
7157 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7158 | } | |
d55e5bfc RD |
7159 | { |
7160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7161 | result = wxStatusBar_GetFieldRect(arg1,arg2); | |
7162 | ||
7163 | wxPyEndAllowThreads(__tstate); | |
7164 | if (PyErr_Occurred()) SWIG_fail; | |
7165 | } | |
7166 | { | |
7167 | wxRect * resultptr; | |
093d3ff1 | 7168 | resultptr = new wxRect((wxRect &)(result)); |
d55e5bfc RD |
7169 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
7170 | } | |
7171 | return resultobj; | |
7172 | fail: | |
7173 | return NULL; | |
7174 | } | |
7175 | ||
7176 | ||
c32bde28 | 7177 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7178 | PyObject *resultobj; |
7179 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7180 | int arg2 ; | |
7181 | PyObject * obj0 = 0 ; | |
7182 | PyObject * obj1 = 0 ; | |
7183 | char *kwnames[] = { | |
7184 | (char *) "self",(char *) "height", NULL | |
7185 | }; | |
7186 | ||
7187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7188 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7189 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7190 | { | |
7191 | arg2 = (int)(SWIG_As_int(obj1)); | |
7192 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7193 | } | |
d55e5bfc RD |
7194 | { |
7195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7196 | (arg1)->SetMinHeight(arg2); | |
7197 | ||
7198 | wxPyEndAllowThreads(__tstate); | |
7199 | if (PyErr_Occurred()) SWIG_fail; | |
7200 | } | |
7201 | Py_INCREF(Py_None); resultobj = Py_None; | |
7202 | return resultobj; | |
7203 | fail: | |
7204 | return NULL; | |
7205 | } | |
7206 | ||
7207 | ||
c32bde28 | 7208 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7209 | PyObject *resultobj; |
7210 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7211 | int result; | |
7212 | PyObject * obj0 = 0 ; | |
7213 | char *kwnames[] = { | |
7214 | (char *) "self", NULL | |
7215 | }; | |
7216 | ||
7217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7218 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7219 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7220 | { |
7221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7222 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
7223 | ||
7224 | wxPyEndAllowThreads(__tstate); | |
7225 | if (PyErr_Occurred()) SWIG_fail; | |
7226 | } | |
093d3ff1 RD |
7227 | { |
7228 | resultobj = SWIG_From_int((int)(result)); | |
7229 | } | |
d55e5bfc RD |
7230 | return resultobj; |
7231 | fail: | |
7232 | return NULL; | |
7233 | } | |
7234 | ||
7235 | ||
c32bde28 | 7236 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7237 | PyObject *resultobj; |
7238 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7239 | int result; | |
7240 | PyObject * obj0 = 0 ; | |
7241 | char *kwnames[] = { | |
7242 | (char *) "self", NULL | |
7243 | }; | |
7244 | ||
7245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7246 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7247 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7248 | { |
7249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7250 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
7251 | ||
7252 | wxPyEndAllowThreads(__tstate); | |
7253 | if (PyErr_Occurred()) SWIG_fail; | |
7254 | } | |
093d3ff1 RD |
7255 | { |
7256 | resultobj = SWIG_From_int((int)(result)); | |
7257 | } | |
d55e5bfc RD |
7258 | return resultobj; |
7259 | fail: | |
7260 | return NULL; | |
7261 | } | |
7262 | ||
7263 | ||
c32bde28 | 7264 | static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 7265 | PyObject *resultobj; |
093d3ff1 | 7266 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
7267 | wxVisualAttributes result; |
7268 | PyObject * obj0 = 0 ; | |
7269 | char *kwnames[] = { | |
7270 | (char *) "variant", NULL | |
7271 | }; | |
7272 | ||
7273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
7274 | if (obj0) { | |
093d3ff1 RD |
7275 | { |
7276 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
7277 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7278 | } | |
f20a2e1f RD |
7279 | } |
7280 | { | |
0439c23b | 7281 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
7282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7283 | result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
7284 | ||
7285 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7286 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
7287 | } |
7288 | { | |
7289 | wxVisualAttributes * resultptr; | |
093d3ff1 | 7290 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
7291 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
7292 | } | |
7293 | return resultobj; | |
7294 | fail: | |
7295 | return NULL; | |
7296 | } | |
7297 | ||
7298 | ||
c32bde28 | 7299 | static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
7300 | PyObject *obj; |
7301 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7302 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
7303 | Py_INCREF(obj); | |
7304 | return Py_BuildValue((char *)""); | |
7305 | } | |
c32bde28 | 7306 | static int _wrap_SplitterNameStr_set(PyObject *) { |
d55e5bfc RD |
7307 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); |
7308 | return 1; | |
7309 | } | |
7310 | ||
7311 | ||
093d3ff1 | 7312 | static PyObject *_wrap_SplitterNameStr_get(void) { |
d55e5bfc RD |
7313 | PyObject *pyobj; |
7314 | ||
7315 | { | |
7316 | #if wxUSE_UNICODE | |
7317 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
7318 | #else | |
7319 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
7320 | #endif | |
7321 | } | |
7322 | return pyobj; | |
7323 | } | |
7324 | ||
7325 | ||
c32bde28 | 7326 | static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7327 | PyObject *resultobj; |
7328 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7329 | int arg2 = (int) -1 ; | |
7330 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
7331 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7332 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7333 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7334 | long arg5 = (long) wxSP_3D ; | |
7335 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
7336 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7337 | wxSplitterWindow *result; | |
7338 | wxPoint temp3 ; | |
7339 | wxSize temp4 ; | |
ae8162c8 | 7340 | bool temp6 = false ; |
d55e5bfc RD |
7341 | PyObject * obj0 = 0 ; |
7342 | PyObject * obj1 = 0 ; | |
7343 | PyObject * obj2 = 0 ; | |
7344 | PyObject * obj3 = 0 ; | |
7345 | PyObject * obj4 = 0 ; | |
7346 | PyObject * obj5 = 0 ; | |
7347 | char *kwnames[] = { | |
7348 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7349 | }; | |
7350 | ||
7351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
7352 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
7353 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 7354 | if (obj1) { |
093d3ff1 RD |
7355 | { |
7356 | arg2 = (int)(SWIG_As_int(obj1)); | |
7357 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7358 | } | |
d55e5bfc RD |
7359 | } |
7360 | if (obj2) { | |
7361 | { | |
7362 | arg3 = &temp3; | |
7363 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7364 | } | |
7365 | } | |
7366 | if (obj3) { | |
7367 | { | |
7368 | arg4 = &temp4; | |
7369 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7370 | } | |
7371 | } | |
7372 | if (obj4) { | |
093d3ff1 RD |
7373 | { |
7374 | arg5 = (long)(SWIG_As_long(obj4)); | |
7375 | if (SWIG_arg_fail(5)) SWIG_fail; | |
7376 | } | |
d55e5bfc RD |
7377 | } |
7378 | if (obj5) { | |
7379 | { | |
7380 | arg6 = wxString_in_helper(obj5); | |
7381 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 7382 | temp6 = true; |
d55e5bfc RD |
7383 | } |
7384 | } | |
7385 | { | |
0439c23b | 7386 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
7387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7388 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7389 | ||
7390 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7391 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
7392 | } |
7393 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); | |
7394 | { | |
7395 | if (temp6) | |
7396 | delete arg6; | |
7397 | } | |
7398 | return resultobj; | |
7399 | fail: | |
7400 | { | |
7401 | if (temp6) | |
7402 | delete arg6; | |
7403 | } | |
7404 | return NULL; | |
7405 | } | |
7406 | ||
7407 | ||
c32bde28 | 7408 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7409 | PyObject *resultobj; |
7410 | wxSplitterWindow *result; | |
7411 | char *kwnames[] = { | |
7412 | NULL | |
7413 | }; | |
7414 | ||
7415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
7416 | { | |
0439c23b | 7417 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
7418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7419 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
7420 | ||
7421 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7422 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
7423 | } |
7424 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); | |
7425 | return resultobj; | |
7426 | fail: | |
7427 | return NULL; | |
7428 | } | |
7429 | ||
7430 | ||
c32bde28 | 7431 | static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7432 | PyObject *resultobj; |
7433 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7434 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7435 | int arg3 = (int) -1 ; | |
7436 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
7437 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7438 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7439 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7440 | long arg6 = (long) wxSP_3D ; | |
7441 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
7442 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7443 | bool result; | |
7444 | wxPoint temp4 ; | |
7445 | wxSize temp5 ; | |
ae8162c8 | 7446 | bool temp7 = false ; |
d55e5bfc RD |
7447 | PyObject * obj0 = 0 ; |
7448 | PyObject * obj1 = 0 ; | |
7449 | PyObject * obj2 = 0 ; | |
7450 | PyObject * obj3 = 0 ; | |
7451 | PyObject * obj4 = 0 ; | |
7452 | PyObject * obj5 = 0 ; | |
7453 | PyObject * obj6 = 0 ; | |
7454 | char *kwnames[] = { | |
7455 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7456 | }; | |
7457 | ||
7458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
093d3ff1 RD |
7459 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7460 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7461 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7462 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 7463 | if (obj2) { |
093d3ff1 RD |
7464 | { |
7465 | arg3 = (int)(SWIG_As_int(obj2)); | |
7466 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7467 | } | |
d55e5bfc RD |
7468 | } |
7469 | if (obj3) { | |
7470 | { | |
7471 | arg4 = &temp4; | |
7472 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7473 | } | |
7474 | } | |
7475 | if (obj4) { | |
7476 | { | |
7477 | arg5 = &temp5; | |
7478 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7479 | } | |
7480 | } | |
7481 | if (obj5) { | |
093d3ff1 RD |
7482 | { |
7483 | arg6 = (long)(SWIG_As_long(obj5)); | |
7484 | if (SWIG_arg_fail(6)) SWIG_fail; | |
7485 | } | |
d55e5bfc RD |
7486 | } |
7487 | if (obj6) { | |
7488 | { | |
7489 | arg7 = wxString_in_helper(obj6); | |
7490 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 7491 | temp7 = true; |
d55e5bfc RD |
7492 | } |
7493 | } | |
7494 | { | |
7495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7496 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7497 | ||
7498 | wxPyEndAllowThreads(__tstate); | |
7499 | if (PyErr_Occurred()) SWIG_fail; | |
7500 | } | |
7501 | { | |
7502 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7503 | } | |
7504 | { | |
7505 | if (temp7) | |
7506 | delete arg7; | |
7507 | } | |
7508 | return resultobj; | |
7509 | fail: | |
7510 | { | |
7511 | if (temp7) | |
7512 | delete arg7; | |
7513 | } | |
7514 | return NULL; | |
7515 | } | |
7516 | ||
7517 | ||
c32bde28 | 7518 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7519 | PyObject *resultobj; |
7520 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7521 | wxWindow *result; | |
7522 | PyObject * obj0 = 0 ; | |
7523 | char *kwnames[] = { | |
7524 | (char *) "self", NULL | |
7525 | }; | |
7526 | ||
7527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7528 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7529 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7530 | { |
7531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7532 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
7533 | ||
7534 | wxPyEndAllowThreads(__tstate); | |
7535 | if (PyErr_Occurred()) SWIG_fail; | |
7536 | } | |
7537 | { | |
412d302d | 7538 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
7539 | } |
7540 | return resultobj; | |
7541 | fail: | |
7542 | return NULL; | |
7543 | } | |
7544 | ||
7545 | ||
c32bde28 | 7546 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7547 | PyObject *resultobj; |
7548 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7549 | wxWindow *result; | |
7550 | PyObject * obj0 = 0 ; | |
7551 | char *kwnames[] = { | |
7552 | (char *) "self", NULL | |
7553 | }; | |
7554 | ||
7555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7556 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7557 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7558 | { |
7559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7560 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
7561 | ||
7562 | wxPyEndAllowThreads(__tstate); | |
7563 | if (PyErr_Occurred()) SWIG_fail; | |
7564 | } | |
7565 | { | |
412d302d | 7566 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
7567 | } |
7568 | return resultobj; | |
7569 | fail: | |
7570 | return NULL; | |
7571 | } | |
7572 | ||
7573 | ||
c32bde28 | 7574 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7575 | PyObject *resultobj; |
7576 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7577 | int arg2 ; | |
7578 | PyObject * obj0 = 0 ; | |
7579 | PyObject * obj1 = 0 ; | |
7580 | char *kwnames[] = { | |
7581 | (char *) "self",(char *) "mode", NULL | |
7582 | }; | |
7583 | ||
7584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7585 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7586 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7587 | { | |
7588 | arg2 = (int)(SWIG_As_int(obj1)); | |
7589 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7590 | } | |
d55e5bfc RD |
7591 | { |
7592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7593 | (arg1)->SetSplitMode(arg2); | |
7594 | ||
7595 | wxPyEndAllowThreads(__tstate); | |
7596 | if (PyErr_Occurred()) SWIG_fail; | |
7597 | } | |
7598 | Py_INCREF(Py_None); resultobj = Py_None; | |
7599 | return resultobj; | |
7600 | fail: | |
7601 | return NULL; | |
7602 | } | |
7603 | ||
7604 | ||
c32bde28 | 7605 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7606 | PyObject *resultobj; |
7607 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
093d3ff1 | 7608 | wxSplitMode result; |
d55e5bfc RD |
7609 | PyObject * obj0 = 0 ; |
7610 | char *kwnames[] = { | |
7611 | (char *) "self", NULL | |
7612 | }; | |
7613 | ||
7614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7615 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7616 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7617 | { |
7618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 7619 | result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode(); |
d55e5bfc RD |
7620 | |
7621 | wxPyEndAllowThreads(__tstate); | |
7622 | if (PyErr_Occurred()) SWIG_fail; | |
7623 | } | |
093d3ff1 | 7624 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
7625 | return resultobj; |
7626 | fail: | |
7627 | return NULL; | |
7628 | } | |
7629 | ||
7630 | ||
c32bde28 | 7631 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7632 | PyObject *resultobj; |
7633 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7634 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7635 | PyObject * obj0 = 0 ; | |
7636 | PyObject * obj1 = 0 ; | |
7637 | char *kwnames[] = { | |
7638 | (char *) "self",(char *) "window", NULL | |
7639 | }; | |
7640 | ||
7641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7642 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7643 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7644 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7645 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
7646 | { |
7647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7648 | (arg1)->Initialize(arg2); | |
7649 | ||
7650 | wxPyEndAllowThreads(__tstate); | |
7651 | if (PyErr_Occurred()) SWIG_fail; | |
7652 | } | |
7653 | Py_INCREF(Py_None); resultobj = Py_None; | |
7654 | return resultobj; | |
7655 | fail: | |
7656 | return NULL; | |
7657 | } | |
7658 | ||
7659 | ||
c32bde28 | 7660 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7661 | PyObject *resultobj; |
7662 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7663 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7664 | wxWindow *arg3 = (wxWindow *) 0 ; | |
7665 | int arg4 = (int) 0 ; | |
7666 | bool result; | |
7667 | PyObject * obj0 = 0 ; | |
7668 | PyObject * obj1 = 0 ; | |
7669 | PyObject * obj2 = 0 ; | |
7670 | PyObject * obj3 = 0 ; | |
7671 | char *kwnames[] = { | |
7672 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
7673 | }; | |
7674 | ||
7675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
093d3ff1 RD |
7676 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7677 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7678 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7679 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7680 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7681 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc | 7682 | if (obj3) { |
093d3ff1 RD |
7683 | { |
7684 | arg4 = (int)(SWIG_As_int(obj3)); | |
7685 | if (SWIG_arg_fail(4)) SWIG_fail; | |
7686 | } | |
d55e5bfc RD |
7687 | } |
7688 | { | |
7689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7690 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
7691 | ||
7692 | wxPyEndAllowThreads(__tstate); | |
7693 | if (PyErr_Occurred()) SWIG_fail; | |
7694 | } | |
7695 | { | |
7696 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7697 | } | |
7698 | return resultobj; | |
7699 | fail: | |
7700 | return NULL; | |
7701 | } | |
7702 | ||
7703 | ||
c32bde28 | 7704 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7705 | PyObject *resultobj; |
7706 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7707 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7708 | wxWindow *arg3 = (wxWindow *) 0 ; | |
7709 | int arg4 = (int) 0 ; | |
7710 | bool result; | |
7711 | PyObject * obj0 = 0 ; | |
7712 | PyObject * obj1 = 0 ; | |
7713 | PyObject * obj2 = 0 ; | |
7714 | PyObject * obj3 = 0 ; | |
7715 | char *kwnames[] = { | |
7716 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
7717 | }; | |
7718 | ||
7719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
093d3ff1 RD |
7720 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7721 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7722 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7723 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7724 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7725 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc | 7726 | if (obj3) { |
093d3ff1 RD |
7727 | { |
7728 | arg4 = (int)(SWIG_As_int(obj3)); | |
7729 | if (SWIG_arg_fail(4)) SWIG_fail; | |
7730 | } | |
d55e5bfc RD |
7731 | } |
7732 | { | |
7733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7734 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
7735 | ||
7736 | wxPyEndAllowThreads(__tstate); | |
7737 | if (PyErr_Occurred()) SWIG_fail; | |
7738 | } | |
7739 | { | |
7740 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7741 | } | |
7742 | return resultobj; | |
7743 | fail: | |
7744 | return NULL; | |
7745 | } | |
7746 | ||
7747 | ||
c32bde28 | 7748 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7749 | PyObject *resultobj; |
7750 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7751 | wxWindow *arg2 = (wxWindow *) NULL ; | |
7752 | bool result; | |
7753 | PyObject * obj0 = 0 ; | |
7754 | PyObject * obj1 = 0 ; | |
7755 | char *kwnames[] = { | |
7756 | (char *) "self",(char *) "toRemove", NULL | |
7757 | }; | |
7758 | ||
7759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7760 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7761 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 7762 | if (obj1) { |
093d3ff1 RD |
7763 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
7764 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
7765 | } |
7766 | { | |
7767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7768 | result = (bool)(arg1)->Unsplit(arg2); | |
7769 | ||
7770 | wxPyEndAllowThreads(__tstate); | |
7771 | if (PyErr_Occurred()) SWIG_fail; | |
7772 | } | |
7773 | { | |
7774 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7775 | } | |
7776 | return resultobj; | |
7777 | fail: | |
7778 | return NULL; | |
7779 | } | |
7780 | ||
7781 | ||
c32bde28 | 7782 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7783 | PyObject *resultobj; |
7784 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7785 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7786 | wxWindow *arg3 = (wxWindow *) 0 ; | |
7787 | bool result; | |
7788 | PyObject * obj0 = 0 ; | |
7789 | PyObject * obj1 = 0 ; | |
7790 | PyObject * obj2 = 0 ; | |
7791 | char *kwnames[] = { | |
7792 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
7793 | }; | |
7794 | ||
7795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
7796 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7797 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7798 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7799 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7800 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7801 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
7802 | { |
7803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7804 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
7805 | ||
7806 | wxPyEndAllowThreads(__tstate); | |
7807 | if (PyErr_Occurred()) SWIG_fail; | |
7808 | } | |
7809 | { | |
7810 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7811 | } | |
7812 | return resultobj; | |
7813 | fail: | |
7814 | return NULL; | |
7815 | } | |
7816 | ||
7817 | ||
c32bde28 | 7818 | static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7819 | PyObject *resultobj; |
7820 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7821 | PyObject * obj0 = 0 ; | |
7822 | char *kwnames[] = { | |
7823 | (char *) "self", NULL | |
7824 | }; | |
7825 | ||
7826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7827 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7828 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7829 | { |
7830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7831 | (arg1)->UpdateSize(); | |
7832 | ||
7833 | wxPyEndAllowThreads(__tstate); | |
7834 | if (PyErr_Occurred()) SWIG_fail; | |
7835 | } | |
7836 | Py_INCREF(Py_None); resultobj = Py_None; | |
7837 | return resultobj; | |
7838 | fail: | |
7839 | return NULL; | |
7840 | } | |
7841 | ||
7842 | ||
c32bde28 | 7843 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7844 | PyObject *resultobj; |
7845 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7846 | bool result; | |
7847 | PyObject * obj0 = 0 ; | |
7848 | char *kwnames[] = { | |
7849 | (char *) "self", NULL | |
7850 | }; | |
7851 | ||
7852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7853 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7854 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7855 | { |
7856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7857 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
7858 | ||
7859 | wxPyEndAllowThreads(__tstate); | |
7860 | if (PyErr_Occurred()) SWIG_fail; | |
7861 | } | |
7862 | { | |
7863 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7864 | } | |
7865 | return resultobj; | |
7866 | fail: | |
7867 | return NULL; | |
7868 | } | |
7869 | ||
7870 | ||
c32bde28 | 7871 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7872 | PyObject *resultobj; |
7873 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7874 | int arg2 ; | |
7875 | PyObject * obj0 = 0 ; | |
7876 | PyObject * obj1 = 0 ; | |
7877 | char *kwnames[] = { | |
7878 | (char *) "self",(char *) "width", NULL | |
7879 | }; | |
7880 | ||
7881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7882 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7883 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7884 | { | |
7885 | arg2 = (int)(SWIG_As_int(obj1)); | |
7886 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7887 | } | |
d55e5bfc RD |
7888 | { |
7889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7890 | (arg1)->SetSashSize(arg2); | |
7891 | ||
7892 | wxPyEndAllowThreads(__tstate); | |
7893 | if (PyErr_Occurred()) SWIG_fail; | |
7894 | } | |
7895 | Py_INCREF(Py_None); resultobj = Py_None; | |
7896 | return resultobj; | |
7897 | fail: | |
7898 | return NULL; | |
7899 | } | |
7900 | ||
7901 | ||
c32bde28 | 7902 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7903 | PyObject *resultobj; |
7904 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7905 | int arg2 ; | |
7906 | PyObject * obj0 = 0 ; | |
7907 | PyObject * obj1 = 0 ; | |
7908 | char *kwnames[] = { | |
7909 | (char *) "self",(char *) "width", NULL | |
7910 | }; | |
7911 | ||
7912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7913 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7914 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7915 | { | |
7916 | arg2 = (int)(SWIG_As_int(obj1)); | |
7917 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7918 | } | |
d55e5bfc RD |
7919 | { |
7920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7921 | (arg1)->SetBorderSize(arg2); | |
7922 | ||
7923 | wxPyEndAllowThreads(__tstate); | |
7924 | if (PyErr_Occurred()) SWIG_fail; | |
7925 | } | |
7926 | Py_INCREF(Py_None); resultobj = Py_None; | |
7927 | return resultobj; | |
7928 | fail: | |
7929 | return NULL; | |
7930 | } | |
7931 | ||
7932 | ||
c32bde28 | 7933 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7934 | PyObject *resultobj; |
7935 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7936 | int result; | |
7937 | PyObject * obj0 = 0 ; | |
7938 | char *kwnames[] = { | |
7939 | (char *) "self", NULL | |
7940 | }; | |
7941 | ||
7942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7943 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7944 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7945 | { |
7946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7947 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
7948 | ||
7949 | wxPyEndAllowThreads(__tstate); | |
7950 | if (PyErr_Occurred()) SWIG_fail; | |
7951 | } | |
093d3ff1 RD |
7952 | { |
7953 | resultobj = SWIG_From_int((int)(result)); | |
7954 | } | |
d55e5bfc RD |
7955 | return resultobj; |
7956 | fail: | |
7957 | return NULL; | |
7958 | } | |
7959 | ||
7960 | ||
c32bde28 | 7961 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7962 | PyObject *resultobj; |
7963 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7964 | int result; | |
7965 | PyObject * obj0 = 0 ; | |
7966 | char *kwnames[] = { | |
7967 | (char *) "self", NULL | |
7968 | }; | |
7969 | ||
7970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7971 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7972 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7973 | { |
7974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7975 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
7976 | ||
7977 | wxPyEndAllowThreads(__tstate); | |
7978 | if (PyErr_Occurred()) SWIG_fail; | |
7979 | } | |
093d3ff1 RD |
7980 | { |
7981 | resultobj = SWIG_From_int((int)(result)); | |
7982 | } | |
d55e5bfc RD |
7983 | return resultobj; |
7984 | fail: | |
7985 | return NULL; | |
7986 | } | |
7987 | ||
7988 | ||
c32bde28 | 7989 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7990 | PyObject *resultobj; |
7991 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7992 | int arg2 ; | |
ae8162c8 | 7993 | bool arg3 = (bool) true ; |
d55e5bfc RD |
7994 | PyObject * obj0 = 0 ; |
7995 | PyObject * obj1 = 0 ; | |
7996 | PyObject * obj2 = 0 ; | |
7997 | char *kwnames[] = { | |
7998 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
7999 | }; | |
8000 | ||
8001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
8002 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8003 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8004 | { | |
8005 | arg2 = (int)(SWIG_As_int(obj1)); | |
8006 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8007 | } | |
d55e5bfc | 8008 | if (obj2) { |
093d3ff1 RD |
8009 | { |
8010 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
8011 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8012 | } | |
d55e5bfc RD |
8013 | } |
8014 | { | |
8015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8016 | (arg1)->SetSashPosition(arg2,arg3); | |
8017 | ||
8018 | wxPyEndAllowThreads(__tstate); | |
8019 | if (PyErr_Occurred()) SWIG_fail; | |
8020 | } | |
8021 | Py_INCREF(Py_None); resultobj = Py_None; | |
8022 | return resultobj; | |
8023 | fail: | |
8024 | return NULL; | |
8025 | } | |
8026 | ||
8027 | ||
c32bde28 | 8028 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8029 | PyObject *resultobj; |
8030 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8031 | int result; | |
8032 | PyObject * obj0 = 0 ; | |
8033 | char *kwnames[] = { | |
8034 | (char *) "self", NULL | |
8035 | }; | |
8036 | ||
8037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8038 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8039 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8040 | { |
8041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8042 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
8043 | ||
8044 | wxPyEndAllowThreads(__tstate); | |
8045 | if (PyErr_Occurred()) SWIG_fail; | |
8046 | } | |
093d3ff1 RD |
8047 | { |
8048 | resultobj = SWIG_From_int((int)(result)); | |
8049 | } | |
d55e5bfc RD |
8050 | return resultobj; |
8051 | fail: | |
8052 | return NULL; | |
8053 | } | |
8054 | ||
8055 | ||
b519803b RD |
8056 | static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) { |
8057 | PyObject *resultobj; | |
8058 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8059 | double arg2 ; | |
8060 | PyObject * obj0 = 0 ; | |
8061 | PyObject * obj1 = 0 ; | |
8062 | char *kwnames[] = { | |
8063 | (char *) "self",(char *) "gravity", NULL | |
8064 | }; | |
8065 | ||
8066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8067 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8068 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8069 | { | |
8070 | arg2 = (double)(SWIG_As_double(obj1)); | |
8071 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8072 | } | |
b519803b RD |
8073 | { |
8074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8075 | (arg1)->SetSashGravity(arg2); | |
8076 | ||
8077 | wxPyEndAllowThreads(__tstate); | |
8078 | if (PyErr_Occurred()) SWIG_fail; | |
8079 | } | |
8080 | Py_INCREF(Py_None); resultobj = Py_None; | |
8081 | return resultobj; | |
8082 | fail: | |
8083 | return NULL; | |
8084 | } | |
8085 | ||
8086 | ||
8087 | static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) { | |
8088 | PyObject *resultobj; | |
8089 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8090 | double result; | |
8091 | PyObject * obj0 = 0 ; | |
8092 | char *kwnames[] = { | |
8093 | (char *) "self", NULL | |
8094 | }; | |
8095 | ||
8096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8097 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8098 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b519803b RD |
8099 | { |
8100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8101 | result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity(); | |
8102 | ||
8103 | wxPyEndAllowThreads(__tstate); | |
8104 | if (PyErr_Occurred()) SWIG_fail; | |
8105 | } | |
093d3ff1 RD |
8106 | { |
8107 | resultobj = SWIG_From_double((double)(result)); | |
8108 | } | |
b519803b RD |
8109 | return resultobj; |
8110 | fail: | |
8111 | return NULL; | |
8112 | } | |
8113 | ||
8114 | ||
c32bde28 | 8115 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8116 | PyObject *resultobj; |
8117 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8118 | int arg2 ; | |
8119 | PyObject * obj0 = 0 ; | |
8120 | PyObject * obj1 = 0 ; | |
8121 | char *kwnames[] = { | |
8122 | (char *) "self",(char *) "min", NULL | |
8123 | }; | |
8124 | ||
8125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8126 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8127 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8128 | { | |
8129 | arg2 = (int)(SWIG_As_int(obj1)); | |
8130 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8131 | } | |
d55e5bfc RD |
8132 | { |
8133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8134 | (arg1)->SetMinimumPaneSize(arg2); | |
8135 | ||
8136 | wxPyEndAllowThreads(__tstate); | |
8137 | if (PyErr_Occurred()) SWIG_fail; | |
8138 | } | |
8139 | Py_INCREF(Py_None); resultobj = Py_None; | |
8140 | return resultobj; | |
8141 | fail: | |
8142 | return NULL; | |
8143 | } | |
8144 | ||
8145 | ||
c32bde28 | 8146 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8147 | PyObject *resultobj; |
8148 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8149 | int result; | |
8150 | PyObject * obj0 = 0 ; | |
8151 | char *kwnames[] = { | |
8152 | (char *) "self", NULL | |
8153 | }; | |
8154 | ||
8155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8156 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8157 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8158 | { |
8159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8160 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
8161 | ||
8162 | wxPyEndAllowThreads(__tstate); | |
8163 | if (PyErr_Occurred()) SWIG_fail; | |
8164 | } | |
093d3ff1 RD |
8165 | { |
8166 | resultobj = SWIG_From_int((int)(result)); | |
8167 | } | |
d55e5bfc RD |
8168 | return resultobj; |
8169 | fail: | |
8170 | return NULL; | |
8171 | } | |
8172 | ||
8173 | ||
c32bde28 | 8174 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8175 | PyObject *resultobj; |
8176 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8177 | int arg2 ; | |
8178 | int arg3 ; | |
8179 | int arg4 = (int) 5 ; | |
8180 | bool result; | |
8181 | PyObject * obj0 = 0 ; | |
8182 | PyObject * obj1 = 0 ; | |
8183 | PyObject * obj2 = 0 ; | |
8184 | PyObject * obj3 = 0 ; | |
8185 | char *kwnames[] = { | |
8186 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
8187 | }; | |
8188 | ||
8189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
093d3ff1 RD |
8190 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8191 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8192 | { | |
8193 | arg2 = (int)(SWIG_As_int(obj1)); | |
8194 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8195 | } | |
8196 | { | |
8197 | arg3 = (int)(SWIG_As_int(obj2)); | |
8198 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8199 | } | |
d55e5bfc | 8200 | if (obj3) { |
093d3ff1 RD |
8201 | { |
8202 | arg4 = (int)(SWIG_As_int(obj3)); | |
8203 | if (SWIG_arg_fail(4)) SWIG_fail; | |
8204 | } | |
d55e5bfc RD |
8205 | } |
8206 | { | |
8207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8208 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
8209 | ||
8210 | wxPyEndAllowThreads(__tstate); | |
8211 | if (PyErr_Occurred()) SWIG_fail; | |
8212 | } | |
8213 | { | |
8214 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8215 | } | |
8216 | return resultobj; | |
8217 | fail: | |
8218 | return NULL; | |
8219 | } | |
8220 | ||
8221 | ||
c32bde28 | 8222 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8223 | PyObject *resultobj; |
8224 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8225 | PyObject * obj0 = 0 ; | |
8226 | char *kwnames[] = { | |
8227 | (char *) "self", NULL | |
8228 | }; | |
8229 | ||
8230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8231 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8232 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8233 | { |
8234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8235 | (arg1)->SizeWindows(); | |
8236 | ||
8237 | wxPyEndAllowThreads(__tstate); | |
8238 | if (PyErr_Occurred()) SWIG_fail; | |
8239 | } | |
8240 | Py_INCREF(Py_None); resultobj = Py_None; | |
8241 | return resultobj; | |
8242 | fail: | |
8243 | return NULL; | |
8244 | } | |
8245 | ||
8246 | ||
c32bde28 | 8247 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8248 | PyObject *resultobj; |
8249 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8250 | bool arg2 ; | |
8251 | PyObject * obj0 = 0 ; | |
8252 | PyObject * obj1 = 0 ; | |
8253 | char *kwnames[] = { | |
8254 | (char *) "self",(char *) "needUpdating", NULL | |
8255 | }; | |
8256 | ||
8257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8258 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8259 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8260 | { | |
8261 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
8262 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8263 | } | |
d55e5bfc RD |
8264 | { |
8265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8266 | (arg1)->SetNeedUpdating(arg2); | |
8267 | ||
8268 | wxPyEndAllowThreads(__tstate); | |
8269 | if (PyErr_Occurred()) SWIG_fail; | |
8270 | } | |
8271 | Py_INCREF(Py_None); resultobj = Py_None; | |
8272 | return resultobj; | |
8273 | fail: | |
8274 | return NULL; | |
8275 | } | |
8276 | ||
8277 | ||
c32bde28 | 8278 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8279 | PyObject *resultobj; |
8280 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8281 | bool result; | |
8282 | PyObject * obj0 = 0 ; | |
8283 | char *kwnames[] = { | |
8284 | (char *) "self", NULL | |
8285 | }; | |
8286 | ||
8287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8288 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8289 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8290 | { |
8291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8292 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
8293 | ||
8294 | wxPyEndAllowThreads(__tstate); | |
8295 | if (PyErr_Occurred()) SWIG_fail; | |
8296 | } | |
8297 | { | |
8298 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8299 | } | |
8300 | return resultobj; | |
8301 | fail: | |
8302 | return NULL; | |
8303 | } | |
8304 | ||
8305 | ||
c32bde28 | 8306 | static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 8307 | PyObject *resultobj; |
093d3ff1 | 8308 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
8309 | wxVisualAttributes result; |
8310 | PyObject * obj0 = 0 ; | |
8311 | char *kwnames[] = { | |
8312 | (char *) "variant", NULL | |
8313 | }; | |
8314 | ||
8315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
8316 | if (obj0) { | |
093d3ff1 RD |
8317 | { |
8318 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
8319 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8320 | } | |
f20a2e1f RD |
8321 | } |
8322 | { | |
0439c23b | 8323 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
8324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8325 | result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
8326 | ||
8327 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8328 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
8329 | } |
8330 | { | |
8331 | wxVisualAttributes * resultptr; | |
093d3ff1 | 8332 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
8333 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
8334 | } | |
8335 | return resultobj; | |
8336 | fail: | |
8337 | return NULL; | |
8338 | } | |
8339 | ||
8340 | ||
c32bde28 | 8341 | static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
8342 | PyObject *obj; |
8343 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8344 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
8345 | Py_INCREF(obj); | |
8346 | return Py_BuildValue((char *)""); | |
8347 | } | |
c32bde28 | 8348 | static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8349 | PyObject *resultobj; |
8350 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
8351 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
8352 | wxSplitterEvent *result; | |
8353 | PyObject * obj0 = 0 ; | |
8354 | PyObject * obj1 = 0 ; | |
8355 | char *kwnames[] = { | |
8356 | (char *) "type",(char *) "splitter", NULL | |
8357 | }; | |
8358 | ||
8359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; | |
8360 | if (obj0) { | |
093d3ff1 RD |
8361 | { |
8362 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
8363 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8364 | } | |
d55e5bfc RD |
8365 | } |
8366 | if (obj1) { | |
093d3ff1 RD |
8367 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8368 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
8369 | } |
8370 | { | |
8371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8372 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
8373 | ||
8374 | wxPyEndAllowThreads(__tstate); | |
8375 | if (PyErr_Occurred()) SWIG_fail; | |
8376 | } | |
8377 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); | |
8378 | return resultobj; | |
8379 | fail: | |
8380 | return NULL; | |
8381 | } | |
8382 | ||
8383 | ||
c32bde28 | 8384 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8385 | PyObject *resultobj; |
8386 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8387 | int arg2 ; | |
8388 | PyObject * obj0 = 0 ; | |
8389 | PyObject * obj1 = 0 ; | |
8390 | char *kwnames[] = { | |
8391 | (char *) "self",(char *) "pos", NULL | |
8392 | }; | |
8393 | ||
8394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8395 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8396 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8397 | { | |
8398 | arg2 = (int)(SWIG_As_int(obj1)); | |
8399 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8400 | } | |
d55e5bfc RD |
8401 | { |
8402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8403 | (arg1)->SetSashPosition(arg2); | |
8404 | ||
8405 | wxPyEndAllowThreads(__tstate); | |
8406 | if (PyErr_Occurred()) SWIG_fail; | |
8407 | } | |
8408 | Py_INCREF(Py_None); resultobj = Py_None; | |
8409 | return resultobj; | |
8410 | fail: | |
8411 | return NULL; | |
8412 | } | |
8413 | ||
8414 | ||
c32bde28 | 8415 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8416 | PyObject *resultobj; |
8417 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8418 | int result; | |
8419 | PyObject * obj0 = 0 ; | |
8420 | char *kwnames[] = { | |
8421 | (char *) "self", NULL | |
8422 | }; | |
8423 | ||
8424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8425 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8426 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8427 | { |
8428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8429 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
8430 | ||
8431 | wxPyEndAllowThreads(__tstate); | |
8432 | if (PyErr_Occurred()) SWIG_fail; | |
8433 | } | |
093d3ff1 RD |
8434 | { |
8435 | resultobj = SWIG_From_int((int)(result)); | |
8436 | } | |
d55e5bfc RD |
8437 | return resultobj; |
8438 | fail: | |
8439 | return NULL; | |
8440 | } | |
8441 | ||
8442 | ||
c32bde28 | 8443 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8444 | PyObject *resultobj; |
8445 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8446 | wxWindow *result; | |
8447 | PyObject * obj0 = 0 ; | |
8448 | char *kwnames[] = { | |
8449 | (char *) "self", NULL | |
8450 | }; | |
8451 | ||
8452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8453 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8454 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8455 | { |
8456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8457 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
8458 | ||
8459 | wxPyEndAllowThreads(__tstate); | |
8460 | if (PyErr_Occurred()) SWIG_fail; | |
8461 | } | |
8462 | { | |
412d302d | 8463 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
8464 | } |
8465 | return resultobj; | |
8466 | fail: | |
8467 | return NULL; | |
8468 | } | |
8469 | ||
8470 | ||
c32bde28 | 8471 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8472 | PyObject *resultobj; |
8473 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8474 | int result; | |
8475 | PyObject * obj0 = 0 ; | |
8476 | char *kwnames[] = { | |
8477 | (char *) "self", NULL | |
8478 | }; | |
8479 | ||
8480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8481 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8482 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8483 | { |
8484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8485 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
8486 | ||
8487 | wxPyEndAllowThreads(__tstate); | |
8488 | if (PyErr_Occurred()) SWIG_fail; | |
8489 | } | |
093d3ff1 RD |
8490 | { |
8491 | resultobj = SWIG_From_int((int)(result)); | |
8492 | } | |
d55e5bfc RD |
8493 | return resultobj; |
8494 | fail: | |
8495 | return NULL; | |
8496 | } | |
8497 | ||
8498 | ||
c32bde28 | 8499 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8500 | PyObject *resultobj; |
8501 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8502 | int result; | |
8503 | PyObject * obj0 = 0 ; | |
8504 | char *kwnames[] = { | |
8505 | (char *) "self", NULL | |
8506 | }; | |
8507 | ||
8508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8509 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8510 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8511 | { |
8512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8513 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
8514 | ||
8515 | wxPyEndAllowThreads(__tstate); | |
8516 | if (PyErr_Occurred()) SWIG_fail; | |
8517 | } | |
093d3ff1 RD |
8518 | { |
8519 | resultobj = SWIG_From_int((int)(result)); | |
8520 | } | |
d55e5bfc RD |
8521 | return resultobj; |
8522 | fail: | |
8523 | return NULL; | |
8524 | } | |
8525 | ||
8526 | ||
c32bde28 | 8527 | static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
8528 | PyObject *obj; |
8529 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8530 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
8531 | Py_INCREF(obj); | |
8532 | return Py_BuildValue((char *)""); | |
8533 | } | |
c32bde28 | 8534 | static int _wrap_SashNameStr_set(PyObject *) { |
d55e5bfc RD |
8535 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); |
8536 | return 1; | |
8537 | } | |
8538 | ||
8539 | ||
093d3ff1 | 8540 | static PyObject *_wrap_SashNameStr_get(void) { |
d55e5bfc RD |
8541 | PyObject *pyobj; |
8542 | ||
8543 | { | |
8544 | #if wxUSE_UNICODE | |
8545 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
8546 | #else | |
8547 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
8548 | #endif | |
8549 | } | |
8550 | return pyobj; | |
8551 | } | |
8552 | ||
8553 | ||
c32bde28 | 8554 | static int _wrap_SashLayoutNameStr_set(PyObject *) { |
d55e5bfc RD |
8555 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); |
8556 | return 1; | |
8557 | } | |
8558 | ||
8559 | ||
093d3ff1 | 8560 | static PyObject *_wrap_SashLayoutNameStr_get(void) { |
d55e5bfc RD |
8561 | PyObject *pyobj; |
8562 | ||
8563 | { | |
8564 | #if wxUSE_UNICODE | |
8565 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
8566 | #else | |
8567 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
8568 | #endif | |
8569 | } | |
8570 | return pyobj; | |
8571 | } | |
8572 | ||
8573 | ||
c32bde28 | 8574 | static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8575 | PyObject *resultobj; |
8576 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 8577 | int arg2 = (int) -1 ; |
d55e5bfc RD |
8578 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8579 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8580 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8581 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8582 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8583 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
8584 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8585 | wxSashWindow *result; | |
8586 | wxPoint temp3 ; | |
8587 | wxSize temp4 ; | |
ae8162c8 | 8588 | bool temp6 = false ; |
d55e5bfc RD |
8589 | PyObject * obj0 = 0 ; |
8590 | PyObject * obj1 = 0 ; | |
8591 | PyObject * obj2 = 0 ; | |
8592 | PyObject * obj3 = 0 ; | |
8593 | PyObject * obj4 = 0 ; | |
8594 | PyObject * obj5 = 0 ; | |
8595 | char *kwnames[] = { | |
8596 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8597 | }; | |
8598 | ||
248ed943 | 8599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
8600 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
8601 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 8602 | if (obj1) { |
093d3ff1 RD |
8603 | { |
8604 | arg2 = (int)(SWIG_As_int(obj1)); | |
8605 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8606 | } | |
248ed943 | 8607 | } |
d55e5bfc RD |
8608 | if (obj2) { |
8609 | { | |
8610 | arg3 = &temp3; | |
8611 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8612 | } | |
8613 | } | |
8614 | if (obj3) { | |
8615 | { | |
8616 | arg4 = &temp4; | |
8617 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8618 | } | |
8619 | } | |
8620 | if (obj4) { | |
093d3ff1 RD |
8621 | { |
8622 | arg5 = (long)(SWIG_As_long(obj4)); | |
8623 | if (SWIG_arg_fail(5)) SWIG_fail; | |
8624 | } | |
d55e5bfc RD |
8625 | } |
8626 | if (obj5) { | |
8627 | { | |
8628 | arg6 = wxString_in_helper(obj5); | |
8629 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 8630 | temp6 = true; |
d55e5bfc RD |
8631 | } |
8632 | } | |
8633 | { | |
0439c23b | 8634 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
8635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8636 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8637 | ||
8638 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8639 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
8640 | } |
8641 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); | |
8642 | { | |
8643 | if (temp6) | |
8644 | delete arg6; | |
8645 | } | |
8646 | return resultobj; | |
8647 | fail: | |
8648 | { | |
8649 | if (temp6) | |
8650 | delete arg6; | |
8651 | } | |
8652 | return NULL; | |
8653 | } | |
8654 | ||
8655 | ||
c32bde28 | 8656 | static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8657 | PyObject *resultobj; |
8658 | wxSashWindow *result; | |
8659 | char *kwnames[] = { | |
8660 | NULL | |
8661 | }; | |
8662 | ||
8663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
8664 | { | |
0439c23b | 8665 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
8666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8667 | result = (wxSashWindow *)new wxSashWindow(); | |
8668 | ||
8669 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8670 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
8671 | } |
8672 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); | |
8673 | return resultobj; | |
8674 | fail: | |
8675 | return NULL; | |
8676 | } | |
8677 | ||
8678 | ||
c32bde28 | 8679 | static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8680 | PyObject *resultobj; |
8681 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
8682 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 8683 | int arg3 = (int) -1 ; |
d55e5bfc RD |
8684 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8685 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8686 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8687 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8688 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8689 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
8690 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8691 | bool result; | |
8692 | wxPoint temp4 ; | |
8693 | wxSize temp5 ; | |
ae8162c8 | 8694 | bool temp7 = false ; |
d55e5bfc RD |
8695 | PyObject * obj0 = 0 ; |
8696 | PyObject * obj1 = 0 ; | |
8697 | PyObject * obj2 = 0 ; | |
8698 | PyObject * obj3 = 0 ; | |
8699 | PyObject * obj4 = 0 ; | |
8700 | PyObject * obj5 = 0 ; | |
8701 | PyObject * obj6 = 0 ; | |
8702 | char *kwnames[] = { | |
8703 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8704 | }; | |
8705 | ||
248ed943 | 8706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
8707 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8708 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8709 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
8710 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 8711 | if (obj2) { |
093d3ff1 RD |
8712 | { |
8713 | arg3 = (int)(SWIG_As_int(obj2)); | |
8714 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8715 | } | |
248ed943 | 8716 | } |
d55e5bfc RD |
8717 | if (obj3) { |
8718 | { | |
8719 | arg4 = &temp4; | |
8720 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8721 | } | |
8722 | } | |
8723 | if (obj4) { | |
8724 | { | |
8725 | arg5 = &temp5; | |
8726 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8727 | } | |
8728 | } | |
8729 | if (obj5) { | |
093d3ff1 RD |
8730 | { |
8731 | arg6 = (long)(SWIG_As_long(obj5)); | |
8732 | if (SWIG_arg_fail(6)) SWIG_fail; | |
8733 | } | |
d55e5bfc RD |
8734 | } |
8735 | if (obj6) { | |
8736 | { | |
8737 | arg7 = wxString_in_helper(obj6); | |
8738 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 8739 | temp7 = true; |
d55e5bfc RD |
8740 | } |
8741 | } | |
8742 | { | |
8743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8744 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8745 | ||
8746 | wxPyEndAllowThreads(__tstate); | |
8747 | if (PyErr_Occurred()) SWIG_fail; | |
8748 | } | |
8749 | { | |
8750 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8751 | } | |
8752 | { | |
8753 | if (temp7) | |
8754 | delete arg7; | |
8755 | } | |
8756 | return resultobj; | |
8757 | fail: | |
8758 | { | |
8759 | if (temp7) | |
8760 | delete arg7; | |
8761 | } | |
8762 | return NULL; | |
8763 | } | |
8764 | ||
8765 | ||
c32bde28 | 8766 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8767 | PyObject *resultobj; |
8768 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
093d3ff1 | 8769 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8770 | bool arg3 ; |
8771 | PyObject * obj0 = 0 ; | |
8772 | PyObject * obj1 = 0 ; | |
8773 | PyObject * obj2 = 0 ; | |
8774 | char *kwnames[] = { | |
8775 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
8776 | }; | |
8777 | ||
8778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
8779 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8780 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8781 | { | |
8782 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8783 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8784 | } | |
8785 | { | |
8786 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
8787 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8788 | } | |
d55e5bfc RD |
8789 | { |
8790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8791 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
8792 | ||
8793 | wxPyEndAllowThreads(__tstate); | |
8794 | if (PyErr_Occurred()) SWIG_fail; | |
8795 | } | |
8796 | Py_INCREF(Py_None); resultobj = Py_None; | |
8797 | return resultobj; | |
8798 | fail: | |
8799 | return NULL; | |
8800 | } | |
8801 | ||
8802 | ||
c32bde28 | 8803 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8804 | PyObject *resultobj; |
8805 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
093d3ff1 | 8806 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8807 | bool result; |
8808 | PyObject * obj0 = 0 ; | |
8809 | PyObject * obj1 = 0 ; | |
8810 | char *kwnames[] = { | |
8811 | (char *) "self",(char *) "edge", NULL | |
8812 | }; | |
8813 | ||
8814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8815 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8816 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8817 | { | |
8818 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8819 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8820 | } | |
d55e5bfc RD |
8821 | { |
8822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8823 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
8824 | ||
8825 | wxPyEndAllowThreads(__tstate); | |
8826 | if (PyErr_Occurred()) SWIG_fail; | |
8827 | } | |
8828 | { | |
8829 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8830 | } | |
8831 | return resultobj; | |
8832 | fail: | |
8833 | return NULL; | |
8834 | } | |
8835 | ||
8836 | ||
c32bde28 | 8837 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8838 | PyObject *resultobj; |
8839 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
093d3ff1 | 8840 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8841 | bool arg3 ; |
8842 | PyObject * obj0 = 0 ; | |
8843 | PyObject * obj1 = 0 ; | |
8844 | PyObject * obj2 = 0 ; | |
8845 | char *kwnames[] = { | |
8846 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
8847 | }; | |
8848 | ||
8849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
8850 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8851 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8852 | { | |
8853 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8854 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8855 | } | |
8856 | { | |
8857 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
8858 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8859 | } | |
d55e5bfc RD |
8860 | { |
8861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8862 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
8863 | ||
8864 | wxPyEndAllowThreads(__tstate); | |
8865 | if (PyErr_Occurred()) SWIG_fail; | |
8866 | } | |
8867 | Py_INCREF(Py_None); resultobj = Py_None; | |
8868 | return resultobj; | |
8869 | fail: | |
8870 | return NULL; | |
8871 | } | |
8872 | ||
8873 | ||
c32bde28 | 8874 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8875 | PyObject *resultobj; |
8876 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
093d3ff1 | 8877 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8878 | bool result; |
8879 | PyObject * obj0 = 0 ; | |
8880 | PyObject * obj1 = 0 ; | |
8881 | char *kwnames[] = { | |
8882 | (char *) "self",(char *) "edge", NULL | |
8883 | }; | |
8884 | ||
8885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8886 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8887 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8888 | { | |
8889 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8890 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8891 | } | |
d55e5bfc RD |
8892 | { |
8893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8894 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
8895 | ||
8896 | wxPyEndAllowThreads(__tstate); | |
8897 | if (PyErr_Occurred()) SWIG_fail; | |
8898 | } | |
8899 | { | |
8900 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8901 | } | |
8902 | return resultobj; | |
8903 | fail: | |
8904 | return NULL; | |
8905 | } | |
8906 | ||
8907 | ||
c32bde28 | 8908 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8909 | PyObject *resultobj; |
8910 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
093d3ff1 | 8911 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8912 | int result; |
8913 | PyObject * obj0 = 0 ; | |
8914 | PyObject * obj1 = 0 ; | |
8915 | char *kwnames[] = { | |
8916 | (char *) "self",(char *) "edge", NULL | |
8917 | }; | |
8918 | ||
8919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8920 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8921 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8922 | { | |
8923 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8924 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8925 | } | |
d55e5bfc RD |
8926 | { |
8927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8928 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
8929 | ||
8930 | wxPyEndAllowThreads(__tstate); | |
8931 | if (PyErr_Occurred()) SWIG_fail; | |
8932 | } | |
093d3ff1 RD |
8933 | { |
8934 | resultobj = SWIG_From_int((int)(result)); | |
8935 | } | |
d55e5bfc RD |
8936 | return resultobj; |
8937 | fail: | |
8938 | return NULL; | |
8939 | } | |
8940 | ||
8941 | ||
c32bde28 | 8942 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8943 | PyObject *resultobj; |
8944 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
8945 | int arg2 ; | |
8946 | PyObject * obj0 = 0 ; | |
8947 | PyObject * obj1 = 0 ; | |
8948 | char *kwnames[] = { | |
8949 | (char *) "self",(char *) "width", NULL | |
8950 | }; | |
8951 | ||
8952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8953 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8954 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8955 | { | |
8956 | arg2 = (int)(SWIG_As_int(obj1)); | |
8957 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8958 | } | |
d55e5bfc RD |
8959 | { |
8960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8961 | (arg1)->SetDefaultBorderSize(arg2); | |
8962 | ||
8963 | wxPyEndAllowThreads(__tstate); | |
8964 | if (PyErr_Occurred()) SWIG_fail; | |
8965 | } | |
8966 | Py_INCREF(Py_None); resultobj = Py_None; | |
8967 | return resultobj; | |
8968 | fail: | |
8969 | return NULL; | |
8970 | } | |
8971 | ||
8972 | ||
c32bde28 | 8973 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8974 | PyObject *resultobj; |
8975 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
8976 | int result; | |
8977 | PyObject * obj0 = 0 ; | |
8978 | char *kwnames[] = { | |
8979 | (char *) "self", NULL | |
8980 | }; | |
8981 | ||
8982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8983 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8984 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8985 | { |
8986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8987 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
8988 | ||
8989 | wxPyEndAllowThreads(__tstate); | |
8990 | if (PyErr_Occurred()) SWIG_fail; | |
8991 | } | |
093d3ff1 RD |
8992 | { |
8993 | resultobj = SWIG_From_int((int)(result)); | |
8994 | } | |
d55e5bfc RD |
8995 | return resultobj; |
8996 | fail: | |
8997 | return NULL; | |
8998 | } | |
8999 | ||
9000 | ||
c32bde28 | 9001 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9002 | PyObject *resultobj; |
9003 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9004 | int arg2 ; | |
9005 | PyObject * obj0 = 0 ; | |
9006 | PyObject * obj1 = 0 ; | |
9007 | char *kwnames[] = { | |
9008 | (char *) "self",(char *) "width", NULL | |
9009 | }; | |
9010 | ||
9011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9012 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9013 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9014 | { | |
9015 | arg2 = (int)(SWIG_As_int(obj1)); | |
9016 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9017 | } | |
d55e5bfc RD |
9018 | { |
9019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9020 | (arg1)->SetExtraBorderSize(arg2); | |
9021 | ||
9022 | wxPyEndAllowThreads(__tstate); | |
9023 | if (PyErr_Occurred()) SWIG_fail; | |
9024 | } | |
9025 | Py_INCREF(Py_None); resultobj = Py_None; | |
9026 | return resultobj; | |
9027 | fail: | |
9028 | return NULL; | |
9029 | } | |
9030 | ||
9031 | ||
c32bde28 | 9032 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9033 | PyObject *resultobj; |
9034 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9035 | int result; | |
9036 | PyObject * obj0 = 0 ; | |
9037 | char *kwnames[] = { | |
9038 | (char *) "self", NULL | |
9039 | }; | |
9040 | ||
9041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9042 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9043 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9044 | { |
9045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9046 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
9047 | ||
9048 | wxPyEndAllowThreads(__tstate); | |
9049 | if (PyErr_Occurred()) SWIG_fail; | |
9050 | } | |
093d3ff1 RD |
9051 | { |
9052 | resultobj = SWIG_From_int((int)(result)); | |
9053 | } | |
d55e5bfc RD |
9054 | return resultobj; |
9055 | fail: | |
9056 | return NULL; | |
9057 | } | |
9058 | ||
9059 | ||
c32bde28 | 9060 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9061 | PyObject *resultobj; |
9062 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9063 | int arg2 ; | |
9064 | PyObject * obj0 = 0 ; | |
9065 | PyObject * obj1 = 0 ; | |
9066 | char *kwnames[] = { | |
9067 | (char *) "self",(char *) "min", NULL | |
9068 | }; | |
9069 | ||
9070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9071 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9072 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9073 | { | |
9074 | arg2 = (int)(SWIG_As_int(obj1)); | |
9075 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9076 | } | |
d55e5bfc RD |
9077 | { |
9078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9079 | (arg1)->SetMinimumSizeX(arg2); | |
9080 | ||
9081 | wxPyEndAllowThreads(__tstate); | |
9082 | if (PyErr_Occurred()) SWIG_fail; | |
9083 | } | |
9084 | Py_INCREF(Py_None); resultobj = Py_None; | |
9085 | return resultobj; | |
9086 | fail: | |
9087 | return NULL; | |
9088 | } | |
9089 | ||
9090 | ||
c32bde28 | 9091 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9092 | PyObject *resultobj; |
9093 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9094 | int arg2 ; | |
9095 | PyObject * obj0 = 0 ; | |
9096 | PyObject * obj1 = 0 ; | |
9097 | char *kwnames[] = { | |
9098 | (char *) "self",(char *) "min", NULL | |
9099 | }; | |
9100 | ||
9101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9102 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9103 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9104 | { | |
9105 | arg2 = (int)(SWIG_As_int(obj1)); | |
9106 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9107 | } | |
d55e5bfc RD |
9108 | { |
9109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9110 | (arg1)->SetMinimumSizeY(arg2); | |
9111 | ||
9112 | wxPyEndAllowThreads(__tstate); | |
9113 | if (PyErr_Occurred()) SWIG_fail; | |
9114 | } | |
9115 | Py_INCREF(Py_None); resultobj = Py_None; | |
9116 | return resultobj; | |
9117 | fail: | |
9118 | return NULL; | |
9119 | } | |
9120 | ||
9121 | ||
c32bde28 | 9122 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9123 | PyObject *resultobj; |
9124 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9125 | int result; | |
9126 | PyObject * obj0 = 0 ; | |
9127 | char *kwnames[] = { | |
9128 | (char *) "self", NULL | |
9129 | }; | |
9130 | ||
9131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9132 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9133 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9134 | { |
9135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9136 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
9137 | ||
9138 | wxPyEndAllowThreads(__tstate); | |
9139 | if (PyErr_Occurred()) SWIG_fail; | |
9140 | } | |
093d3ff1 RD |
9141 | { |
9142 | resultobj = SWIG_From_int((int)(result)); | |
9143 | } | |
d55e5bfc RD |
9144 | return resultobj; |
9145 | fail: | |
9146 | return NULL; | |
9147 | } | |
9148 | ||
9149 | ||
c32bde28 | 9150 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9151 | PyObject *resultobj; |
9152 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9153 | int result; | |
9154 | PyObject * obj0 = 0 ; | |
9155 | char *kwnames[] = { | |
9156 | (char *) "self", NULL | |
9157 | }; | |
9158 | ||
9159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9160 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9161 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9162 | { |
9163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9164 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
9165 | ||
9166 | wxPyEndAllowThreads(__tstate); | |
9167 | if (PyErr_Occurred()) SWIG_fail; | |
9168 | } | |
093d3ff1 RD |
9169 | { |
9170 | resultobj = SWIG_From_int((int)(result)); | |
9171 | } | |
d55e5bfc RD |
9172 | return resultobj; |
9173 | fail: | |
9174 | return NULL; | |
9175 | } | |
9176 | ||
9177 | ||
c32bde28 | 9178 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9179 | PyObject *resultobj; |
9180 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9181 | int arg2 ; | |
9182 | PyObject * obj0 = 0 ; | |
9183 | PyObject * obj1 = 0 ; | |
9184 | char *kwnames[] = { | |
9185 | (char *) "self",(char *) "max", NULL | |
9186 | }; | |
9187 | ||
9188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9189 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9190 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9191 | { | |
9192 | arg2 = (int)(SWIG_As_int(obj1)); | |
9193 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9194 | } | |
d55e5bfc RD |
9195 | { |
9196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9197 | (arg1)->SetMaximumSizeX(arg2); | |
9198 | ||
9199 | wxPyEndAllowThreads(__tstate); | |
9200 | if (PyErr_Occurred()) SWIG_fail; | |
9201 | } | |
9202 | Py_INCREF(Py_None); resultobj = Py_None; | |
9203 | return resultobj; | |
9204 | fail: | |
9205 | return NULL; | |
9206 | } | |
9207 | ||
9208 | ||
c32bde28 | 9209 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9210 | PyObject *resultobj; |
9211 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9212 | int arg2 ; | |
9213 | PyObject * obj0 = 0 ; | |
9214 | PyObject * obj1 = 0 ; | |
9215 | char *kwnames[] = { | |
9216 | (char *) "self",(char *) "max", NULL | |
9217 | }; | |
9218 | ||
9219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9220 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9221 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9222 | { | |
9223 | arg2 = (int)(SWIG_As_int(obj1)); | |
9224 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9225 | } | |
d55e5bfc RD |
9226 | { |
9227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9228 | (arg1)->SetMaximumSizeY(arg2); | |
9229 | ||
9230 | wxPyEndAllowThreads(__tstate); | |
9231 | if (PyErr_Occurred()) SWIG_fail; | |
9232 | } | |
9233 | Py_INCREF(Py_None); resultobj = Py_None; | |
9234 | return resultobj; | |
9235 | fail: | |
9236 | return NULL; | |
9237 | } | |
9238 | ||
9239 | ||
c32bde28 | 9240 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9241 | PyObject *resultobj; |
9242 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9243 | int result; | |
9244 | PyObject * obj0 = 0 ; | |
9245 | char *kwnames[] = { | |
9246 | (char *) "self", NULL | |
9247 | }; | |
9248 | ||
9249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9250 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9251 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9252 | { |
9253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9254 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
9255 | ||
9256 | wxPyEndAllowThreads(__tstate); | |
9257 | if (PyErr_Occurred()) SWIG_fail; | |
9258 | } | |
093d3ff1 RD |
9259 | { |
9260 | resultobj = SWIG_From_int((int)(result)); | |
9261 | } | |
d55e5bfc RD |
9262 | return resultobj; |
9263 | fail: | |
9264 | return NULL; | |
9265 | } | |
9266 | ||
9267 | ||
c32bde28 | 9268 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9269 | PyObject *resultobj; |
9270 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9271 | int result; | |
9272 | PyObject * obj0 = 0 ; | |
9273 | char *kwnames[] = { | |
9274 | (char *) "self", NULL | |
9275 | }; | |
9276 | ||
9277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9278 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9279 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9280 | { |
9281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9282 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
9283 | ||
9284 | wxPyEndAllowThreads(__tstate); | |
9285 | if (PyErr_Occurred()) SWIG_fail; | |
9286 | } | |
093d3ff1 RD |
9287 | { |
9288 | resultobj = SWIG_From_int((int)(result)); | |
9289 | } | |
d55e5bfc RD |
9290 | return resultobj; |
9291 | fail: | |
9292 | return NULL; | |
9293 | } | |
9294 | ||
9295 | ||
c32bde28 | 9296 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9297 | PyObject *resultobj; |
9298 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9299 | int arg2 ; | |
9300 | int arg3 ; | |
9301 | int arg4 = (int) 2 ; | |
093d3ff1 | 9302 | wxSashEdgePosition result; |
d55e5bfc RD |
9303 | PyObject * obj0 = 0 ; |
9304 | PyObject * obj1 = 0 ; | |
9305 | PyObject * obj2 = 0 ; | |
9306 | PyObject * obj3 = 0 ; | |
9307 | char *kwnames[] = { | |
9308 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
9309 | }; | |
9310 | ||
9311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
093d3ff1 RD |
9312 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9313 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9314 | { | |
9315 | arg2 = (int)(SWIG_As_int(obj1)); | |
9316 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9317 | } | |
9318 | { | |
9319 | arg3 = (int)(SWIG_As_int(obj2)); | |
9320 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9321 | } | |
d55e5bfc | 9322 | if (obj3) { |
093d3ff1 RD |
9323 | { |
9324 | arg4 = (int)(SWIG_As_int(obj3)); | |
9325 | if (SWIG_arg_fail(4)) SWIG_fail; | |
9326 | } | |
d55e5bfc RD |
9327 | } |
9328 | { | |
9329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 9330 | result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4); |
d55e5bfc RD |
9331 | |
9332 | wxPyEndAllowThreads(__tstate); | |
9333 | if (PyErr_Occurred()) SWIG_fail; | |
9334 | } | |
093d3ff1 | 9335 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9336 | return resultobj; |
9337 | fail: | |
9338 | return NULL; | |
9339 | } | |
9340 | ||
9341 | ||
c32bde28 | 9342 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9343 | PyObject *resultobj; |
9344 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9345 | PyObject * obj0 = 0 ; | |
9346 | char *kwnames[] = { | |
9347 | (char *) "self", NULL | |
9348 | }; | |
9349 | ||
9350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9351 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9352 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9353 | { |
9354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9355 | (arg1)->SizeWindows(); | |
9356 | ||
9357 | wxPyEndAllowThreads(__tstate); | |
9358 | if (PyErr_Occurred()) SWIG_fail; | |
9359 | } | |
9360 | Py_INCREF(Py_None); resultobj = Py_None; | |
9361 | return resultobj; | |
9362 | fail: | |
9363 | return NULL; | |
9364 | } | |
9365 | ||
9366 | ||
c32bde28 | 9367 | static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9368 | PyObject *obj; |
9369 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9370 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
9371 | Py_INCREF(obj); | |
9372 | return Py_BuildValue((char *)""); | |
9373 | } | |
c32bde28 | 9374 | static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9375 | PyObject *resultobj; |
9376 | int arg1 = (int) 0 ; | |
093d3ff1 | 9377 | wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ; |
d55e5bfc RD |
9378 | wxSashEvent *result; |
9379 | PyObject * obj0 = 0 ; | |
9380 | PyObject * obj1 = 0 ; | |
9381 | char *kwnames[] = { | |
9382 | (char *) "id",(char *) "edge", NULL | |
9383 | }; | |
9384 | ||
9385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; | |
9386 | if (obj0) { | |
093d3ff1 RD |
9387 | { |
9388 | arg1 = (int)(SWIG_As_int(obj0)); | |
9389 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9390 | } | |
d55e5bfc RD |
9391 | } |
9392 | if (obj1) { | |
093d3ff1 RD |
9393 | { |
9394 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
9395 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9396 | } | |
d55e5bfc RD |
9397 | } |
9398 | { | |
9399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9400 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
9401 | ||
9402 | wxPyEndAllowThreads(__tstate); | |
9403 | if (PyErr_Occurred()) SWIG_fail; | |
9404 | } | |
9405 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); | |
9406 | return resultobj; | |
9407 | fail: | |
9408 | return NULL; | |
9409 | } | |
9410 | ||
9411 | ||
c32bde28 | 9412 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9413 | PyObject *resultobj; |
9414 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
093d3ff1 | 9415 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
9416 | PyObject * obj0 = 0 ; |
9417 | PyObject * obj1 = 0 ; | |
9418 | char *kwnames[] = { | |
9419 | (char *) "self",(char *) "edge", NULL | |
9420 | }; | |
9421 | ||
9422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9423 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9424 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9425 | { | |
9426 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
9427 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9428 | } | |
d55e5bfc RD |
9429 | { |
9430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9431 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
9432 | ||
9433 | wxPyEndAllowThreads(__tstate); | |
9434 | if (PyErr_Occurred()) SWIG_fail; | |
9435 | } | |
9436 | Py_INCREF(Py_None); resultobj = Py_None; | |
9437 | return resultobj; | |
9438 | fail: | |
9439 | return NULL; | |
9440 | } | |
9441 | ||
9442 | ||
c32bde28 | 9443 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9444 | PyObject *resultobj; |
9445 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
093d3ff1 | 9446 | wxSashEdgePosition result; |
d55e5bfc RD |
9447 | PyObject * obj0 = 0 ; |
9448 | char *kwnames[] = { | |
9449 | (char *) "self", NULL | |
9450 | }; | |
9451 | ||
9452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9453 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9454 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9455 | { |
9456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 9457 | result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge(); |
d55e5bfc RD |
9458 | |
9459 | wxPyEndAllowThreads(__tstate); | |
9460 | if (PyErr_Occurred()) SWIG_fail; | |
9461 | } | |
093d3ff1 | 9462 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9463 | return resultobj; |
9464 | fail: | |
9465 | return NULL; | |
9466 | } | |
9467 | ||
9468 | ||
c32bde28 | 9469 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9470 | PyObject *resultobj; |
9471 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
9472 | wxRect *arg2 = 0 ; | |
9473 | wxRect temp2 ; | |
9474 | PyObject * obj0 = 0 ; | |
9475 | PyObject * obj1 = 0 ; | |
9476 | char *kwnames[] = { | |
9477 | (char *) "self",(char *) "rect", NULL | |
9478 | }; | |
9479 | ||
9480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9481 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9482 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9483 | { |
9484 | arg2 = &temp2; | |
9485 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
9486 | } | |
9487 | { | |
9488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9489 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
9490 | ||
9491 | wxPyEndAllowThreads(__tstate); | |
9492 | if (PyErr_Occurred()) SWIG_fail; | |
9493 | } | |
9494 | Py_INCREF(Py_None); resultobj = Py_None; | |
9495 | return resultobj; | |
9496 | fail: | |
9497 | return NULL; | |
9498 | } | |
9499 | ||
9500 | ||
c32bde28 | 9501 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9502 | PyObject *resultobj; |
9503 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
9504 | wxRect result; | |
9505 | PyObject * obj0 = 0 ; | |
9506 | char *kwnames[] = { | |
9507 | (char *) "self", NULL | |
9508 | }; | |
9509 | ||
9510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9511 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9512 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9513 | { |
9514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9515 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
9516 | ||
9517 | wxPyEndAllowThreads(__tstate); | |
9518 | if (PyErr_Occurred()) SWIG_fail; | |
9519 | } | |
9520 | { | |
9521 | wxRect * resultptr; | |
093d3ff1 | 9522 | resultptr = new wxRect((wxRect &)(result)); |
d55e5bfc RD |
9523 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
9524 | } | |
9525 | return resultobj; | |
9526 | fail: | |
9527 | return NULL; | |
9528 | } | |
9529 | ||
9530 | ||
c32bde28 | 9531 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9532 | PyObject *resultobj; |
9533 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
093d3ff1 | 9534 | wxSashDragStatus arg2 ; |
d55e5bfc RD |
9535 | PyObject * obj0 = 0 ; |
9536 | PyObject * obj1 = 0 ; | |
9537 | char *kwnames[] = { | |
9538 | (char *) "self",(char *) "status", NULL | |
9539 | }; | |
9540 | ||
9541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9542 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9543 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9544 | { | |
9545 | arg2 = (wxSashDragStatus)(SWIG_As_int(obj1)); | |
9546 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9547 | } | |
d55e5bfc RD |
9548 | { |
9549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9550 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
9551 | ||
9552 | wxPyEndAllowThreads(__tstate); | |
9553 | if (PyErr_Occurred()) SWIG_fail; | |
9554 | } | |
9555 | Py_INCREF(Py_None); resultobj = Py_None; | |
9556 | return resultobj; | |
9557 | fail: | |
9558 | return NULL; | |
9559 | } | |
9560 | ||
9561 | ||
c32bde28 | 9562 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9563 | PyObject *resultobj; |
9564 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
093d3ff1 | 9565 | wxSashDragStatus result; |
d55e5bfc RD |
9566 | PyObject * obj0 = 0 ; |
9567 | char *kwnames[] = { | |
9568 | (char *) "self", NULL | |
9569 | }; | |
9570 | ||
9571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9572 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9573 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9574 | { |
9575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 9576 | result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus(); |
d55e5bfc RD |
9577 | |
9578 | wxPyEndAllowThreads(__tstate); | |
9579 | if (PyErr_Occurred()) SWIG_fail; | |
9580 | } | |
093d3ff1 | 9581 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9582 | return resultobj; |
9583 | fail: | |
9584 | return NULL; | |
9585 | } | |
9586 | ||
9587 | ||
c32bde28 | 9588 | static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9589 | PyObject *obj; |
9590 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9591 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
9592 | Py_INCREF(obj); | |
9593 | return Py_BuildValue((char *)""); | |
9594 | } | |
c32bde28 | 9595 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9596 | PyObject *resultobj; |
9597 | int arg1 = (int) 0 ; | |
9598 | wxQueryLayoutInfoEvent *result; | |
9599 | PyObject * obj0 = 0 ; | |
9600 | char *kwnames[] = { | |
9601 | (char *) "id", NULL | |
9602 | }; | |
9603 | ||
9604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; | |
9605 | if (obj0) { | |
093d3ff1 RD |
9606 | { |
9607 | arg1 = (int)(SWIG_As_int(obj0)); | |
9608 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9609 | } | |
d55e5bfc RD |
9610 | } |
9611 | { | |
9612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9613 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
9614 | ||
9615 | wxPyEndAllowThreads(__tstate); | |
9616 | if (PyErr_Occurred()) SWIG_fail; | |
9617 | } | |
9618 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); | |
9619 | return resultobj; | |
9620 | fail: | |
9621 | return NULL; | |
9622 | } | |
9623 | ||
9624 | ||
c32bde28 | 9625 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9626 | PyObject *resultobj; |
9627 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9628 | int arg2 ; | |
9629 | PyObject * obj0 = 0 ; | |
9630 | PyObject * obj1 = 0 ; | |
9631 | char *kwnames[] = { | |
9632 | (char *) "self",(char *) "length", NULL | |
9633 | }; | |
9634 | ||
9635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9636 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9637 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9638 | { | |
9639 | arg2 = (int)(SWIG_As_int(obj1)); | |
9640 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9641 | } | |
d55e5bfc RD |
9642 | { |
9643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9644 | (arg1)->SetRequestedLength(arg2); | |
9645 | ||
9646 | wxPyEndAllowThreads(__tstate); | |
9647 | if (PyErr_Occurred()) SWIG_fail; | |
9648 | } | |
9649 | Py_INCREF(Py_None); resultobj = Py_None; | |
9650 | return resultobj; | |
9651 | fail: | |
9652 | return NULL; | |
9653 | } | |
9654 | ||
9655 | ||
c32bde28 | 9656 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9657 | PyObject *resultobj; |
9658 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9659 | int result; | |
9660 | PyObject * obj0 = 0 ; | |
9661 | char *kwnames[] = { | |
9662 | (char *) "self", NULL | |
9663 | }; | |
9664 | ||
9665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9666 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9667 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9668 | { |
9669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9670 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
9671 | ||
9672 | wxPyEndAllowThreads(__tstate); | |
9673 | if (PyErr_Occurred()) SWIG_fail; | |
9674 | } | |
093d3ff1 RD |
9675 | { |
9676 | resultobj = SWIG_From_int((int)(result)); | |
9677 | } | |
d55e5bfc RD |
9678 | return resultobj; |
9679 | fail: | |
9680 | return NULL; | |
9681 | } | |
9682 | ||
9683 | ||
c32bde28 | 9684 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9685 | PyObject *resultobj; |
9686 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9687 | int arg2 ; | |
9688 | PyObject * obj0 = 0 ; | |
9689 | PyObject * obj1 = 0 ; | |
9690 | char *kwnames[] = { | |
9691 | (char *) "self",(char *) "flags", NULL | |
9692 | }; | |
9693 | ||
9694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9695 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9696 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9697 | { | |
9698 | arg2 = (int)(SWIG_As_int(obj1)); | |
9699 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9700 | } | |
d55e5bfc RD |
9701 | { |
9702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9703 | (arg1)->SetFlags(arg2); | |
9704 | ||
9705 | wxPyEndAllowThreads(__tstate); | |
9706 | if (PyErr_Occurred()) SWIG_fail; | |
9707 | } | |
9708 | Py_INCREF(Py_None); resultobj = Py_None; | |
9709 | return resultobj; | |
9710 | fail: | |
9711 | return NULL; | |
9712 | } | |
9713 | ||
9714 | ||
c32bde28 | 9715 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9716 | PyObject *resultobj; |
9717 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9718 | int result; | |
9719 | PyObject * obj0 = 0 ; | |
9720 | char *kwnames[] = { | |
9721 | (char *) "self", NULL | |
9722 | }; | |
9723 | ||
9724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9725 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9726 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9727 | { |
9728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9729 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
9730 | ||
9731 | wxPyEndAllowThreads(__tstate); | |
9732 | if (PyErr_Occurred()) SWIG_fail; | |
9733 | } | |
093d3ff1 RD |
9734 | { |
9735 | resultobj = SWIG_From_int((int)(result)); | |
9736 | } | |
d55e5bfc RD |
9737 | return resultobj; |
9738 | fail: | |
9739 | return NULL; | |
9740 | } | |
9741 | ||
9742 | ||
c32bde28 | 9743 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9744 | PyObject *resultobj; |
9745 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9746 | wxSize *arg2 = 0 ; | |
9747 | wxSize temp2 ; | |
9748 | PyObject * obj0 = 0 ; | |
9749 | PyObject * obj1 = 0 ; | |
9750 | char *kwnames[] = { | |
9751 | (char *) "self",(char *) "size", NULL | |
9752 | }; | |
9753 | ||
9754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9755 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9756 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9757 | { |
9758 | arg2 = &temp2; | |
9759 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
9760 | } | |
9761 | { | |
9762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9763 | (arg1)->SetSize((wxSize const &)*arg2); | |
9764 | ||
9765 | wxPyEndAllowThreads(__tstate); | |
9766 | if (PyErr_Occurred()) SWIG_fail; | |
9767 | } | |
9768 | Py_INCREF(Py_None); resultobj = Py_None; | |
9769 | return resultobj; | |
9770 | fail: | |
9771 | return NULL; | |
9772 | } | |
9773 | ||
9774 | ||
c32bde28 | 9775 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9776 | PyObject *resultobj; |
9777 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9778 | wxSize result; | |
9779 | PyObject * obj0 = 0 ; | |
9780 | char *kwnames[] = { | |
9781 | (char *) "self", NULL | |
9782 | }; | |
9783 | ||
9784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9785 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9786 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9787 | { |
9788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9789 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
9790 | ||
9791 | wxPyEndAllowThreads(__tstate); | |
9792 | if (PyErr_Occurred()) SWIG_fail; | |
9793 | } | |
9794 | { | |
9795 | wxSize * resultptr; | |
093d3ff1 | 9796 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
9797 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
9798 | } | |
9799 | return resultobj; | |
9800 | fail: | |
9801 | return NULL; | |
9802 | } | |
9803 | ||
9804 | ||
c32bde28 | 9805 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9806 | PyObject *resultobj; |
9807 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
093d3ff1 | 9808 | wxLayoutOrientation arg2 ; |
d55e5bfc RD |
9809 | PyObject * obj0 = 0 ; |
9810 | PyObject * obj1 = 0 ; | |
9811 | char *kwnames[] = { | |
9812 | (char *) "self",(char *) "orient", NULL | |
9813 | }; | |
9814 | ||
9815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9816 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9817 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9818 | { | |
9819 | arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1)); | |
9820 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9821 | } | |
d55e5bfc RD |
9822 | { |
9823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9824 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
9825 | ||
9826 | wxPyEndAllowThreads(__tstate); | |
9827 | if (PyErr_Occurred()) SWIG_fail; | |
9828 | } | |
9829 | Py_INCREF(Py_None); resultobj = Py_None; | |
9830 | return resultobj; | |
9831 | fail: | |
9832 | return NULL; | |
9833 | } | |
9834 | ||
9835 | ||
c32bde28 | 9836 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9837 | PyObject *resultobj; |
9838 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
093d3ff1 | 9839 | wxLayoutOrientation result; |
d55e5bfc RD |
9840 | PyObject * obj0 = 0 ; |
9841 | char *kwnames[] = { | |
9842 | (char *) "self", NULL | |
9843 | }; | |
9844 | ||
9845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9846 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9847 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9848 | { |
9849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 9850 | result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); |
d55e5bfc RD |
9851 | |
9852 | wxPyEndAllowThreads(__tstate); | |
9853 | if (PyErr_Occurred()) SWIG_fail; | |
9854 | } | |
093d3ff1 | 9855 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9856 | return resultobj; |
9857 | fail: | |
9858 | return NULL; | |
9859 | } | |
9860 | ||
9861 | ||
c32bde28 | 9862 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9863 | PyObject *resultobj; |
9864 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
093d3ff1 | 9865 | wxLayoutAlignment arg2 ; |
d55e5bfc RD |
9866 | PyObject * obj0 = 0 ; |
9867 | PyObject * obj1 = 0 ; | |
9868 | char *kwnames[] = { | |
9869 | (char *) "self",(char *) "align", NULL | |
9870 | }; | |
9871 | ||
9872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9873 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9874 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9875 | { | |
9876 | arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1)); | |
9877 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9878 | } | |
d55e5bfc RD |
9879 | { |
9880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9881 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
9882 | ||
9883 | wxPyEndAllowThreads(__tstate); | |
9884 | if (PyErr_Occurred()) SWIG_fail; | |
9885 | } | |
9886 | Py_INCREF(Py_None); resultobj = Py_None; | |
9887 | return resultobj; | |
9888 | fail: | |
9889 | return NULL; | |
9890 | } | |
9891 | ||
9892 | ||
c32bde28 | 9893 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9894 | PyObject *resultobj; |
9895 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
093d3ff1 | 9896 | wxLayoutAlignment result; |
d55e5bfc RD |
9897 | PyObject * obj0 = 0 ; |
9898 | char *kwnames[] = { | |
9899 | (char *) "self", NULL | |
9900 | }; | |
9901 | ||
9902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9903 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9904 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9905 | { |
9906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 9907 | result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); |
d55e5bfc RD |
9908 | |
9909 | wxPyEndAllowThreads(__tstate); | |
9910 | if (PyErr_Occurred()) SWIG_fail; | |
9911 | } | |
093d3ff1 | 9912 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9913 | return resultobj; |
9914 | fail: | |
9915 | return NULL; | |
9916 | } | |
9917 | ||
9918 | ||
c32bde28 | 9919 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9920 | PyObject *obj; |
9921 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9922 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
9923 | Py_INCREF(obj); | |
9924 | return Py_BuildValue((char *)""); | |
9925 | } | |
c32bde28 | 9926 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9927 | PyObject *resultobj; |
9928 | int arg1 = (int) 0 ; | |
9929 | wxCalculateLayoutEvent *result; | |
9930 | PyObject * obj0 = 0 ; | |
9931 | char *kwnames[] = { | |
9932 | (char *) "id", NULL | |
9933 | }; | |
9934 | ||
9935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; | |
9936 | if (obj0) { | |
093d3ff1 RD |
9937 | { |
9938 | arg1 = (int)(SWIG_As_int(obj0)); | |
9939 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9940 | } | |
d55e5bfc RD |
9941 | } |
9942 | { | |
9943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9944 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
9945 | ||
9946 | wxPyEndAllowThreads(__tstate); | |
9947 | if (PyErr_Occurred()) SWIG_fail; | |
9948 | } | |
9949 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); | |
9950 | return resultobj; | |
9951 | fail: | |
9952 | return NULL; | |
9953 | } | |
9954 | ||
9955 | ||
c32bde28 | 9956 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9957 | PyObject *resultobj; |
9958 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
9959 | int arg2 ; | |
9960 | PyObject * obj0 = 0 ; | |
9961 | PyObject * obj1 = 0 ; | |
9962 | char *kwnames[] = { | |
9963 | (char *) "self",(char *) "flags", NULL | |
9964 | }; | |
9965 | ||
9966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
9967 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
9968 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9969 | { | |
9970 | arg2 = (int)(SWIG_As_int(obj1)); | |
9971 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9972 | } | |
d55e5bfc RD |
9973 | { |
9974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9975 | (arg1)->SetFlags(arg2); | |
9976 | ||
9977 | wxPyEndAllowThreads(__tstate); | |
9978 | if (PyErr_Occurred()) SWIG_fail; | |
9979 | } | |
9980 | Py_INCREF(Py_None); resultobj = Py_None; | |
9981 | return resultobj; | |
9982 | fail: | |
9983 | return NULL; | |
9984 | } | |
9985 | ||
9986 | ||
c32bde28 | 9987 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9988 | PyObject *resultobj; |
9989 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
9990 | int result; | |
9991 | PyObject * obj0 = 0 ; | |
9992 | char *kwnames[] = { | |
9993 | (char *) "self", NULL | |
9994 | }; | |
9995 | ||
9996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
9997 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
9998 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9999 | { |
10000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10001 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
10002 | ||
10003 | wxPyEndAllowThreads(__tstate); | |
10004 | if (PyErr_Occurred()) SWIG_fail; | |
10005 | } | |
093d3ff1 RD |
10006 | { |
10007 | resultobj = SWIG_From_int((int)(result)); | |
10008 | } | |
d55e5bfc RD |
10009 | return resultobj; |
10010 | fail: | |
10011 | return NULL; | |
10012 | } | |
10013 | ||
10014 | ||
c32bde28 | 10015 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10016 | PyObject *resultobj; |
10017 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
10018 | wxRect *arg2 = 0 ; | |
10019 | wxRect temp2 ; | |
10020 | PyObject * obj0 = 0 ; | |
10021 | PyObject * obj1 = 0 ; | |
10022 | char *kwnames[] = { | |
10023 | (char *) "self",(char *) "rect", NULL | |
10024 | }; | |
10025 | ||
10026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10027 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10028 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10029 | { |
10030 | arg2 = &temp2; | |
10031 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
10032 | } | |
10033 | { | |
10034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10035 | (arg1)->SetRect((wxRect const &)*arg2); | |
10036 | ||
10037 | wxPyEndAllowThreads(__tstate); | |
10038 | if (PyErr_Occurred()) SWIG_fail; | |
10039 | } | |
10040 | Py_INCREF(Py_None); resultobj = Py_None; | |
10041 | return resultobj; | |
10042 | fail: | |
10043 | return NULL; | |
10044 | } | |
10045 | ||
10046 | ||
c32bde28 | 10047 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10048 | PyObject *resultobj; |
10049 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
10050 | wxRect result; | |
10051 | PyObject * obj0 = 0 ; | |
10052 | char *kwnames[] = { | |
10053 | (char *) "self", NULL | |
10054 | }; | |
10055 | ||
10056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10057 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10058 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10059 | { |
10060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10061 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
10062 | ||
10063 | wxPyEndAllowThreads(__tstate); | |
10064 | if (PyErr_Occurred()) SWIG_fail; | |
10065 | } | |
10066 | { | |
10067 | wxRect * resultptr; | |
093d3ff1 | 10068 | resultptr = new wxRect((wxRect &)(result)); |
d55e5bfc RD |
10069 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
10070 | } | |
10071 | return resultobj; | |
10072 | fail: | |
10073 | return NULL; | |
10074 | } | |
10075 | ||
10076 | ||
c32bde28 | 10077 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10078 | PyObject *obj; |
10079 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10080 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
10081 | Py_INCREF(obj); | |
10082 | return Py_BuildValue((char *)""); | |
10083 | } | |
c32bde28 | 10084 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10085 | PyObject *resultobj; |
10086 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 10087 | int arg2 = (int) -1 ; |
d55e5bfc RD |
10088 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10089 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10090 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10091 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10092 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
10093 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
10094 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10095 | wxSashLayoutWindow *result; | |
10096 | wxPoint temp3 ; | |
10097 | wxSize temp4 ; | |
ae8162c8 | 10098 | bool temp6 = false ; |
d55e5bfc RD |
10099 | PyObject * obj0 = 0 ; |
10100 | PyObject * obj1 = 0 ; | |
10101 | PyObject * obj2 = 0 ; | |
10102 | PyObject * obj3 = 0 ; | |
10103 | PyObject * obj4 = 0 ; | |
10104 | PyObject * obj5 = 0 ; | |
10105 | char *kwnames[] = { | |
10106 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10107 | }; | |
10108 | ||
248ed943 | 10109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
10110 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10111 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 10112 | if (obj1) { |
093d3ff1 RD |
10113 | { |
10114 | arg2 = (int)(SWIG_As_int(obj1)); | |
10115 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10116 | } | |
248ed943 | 10117 | } |
d55e5bfc RD |
10118 | if (obj2) { |
10119 | { | |
10120 | arg3 = &temp3; | |
10121 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10122 | } | |
10123 | } | |
10124 | if (obj3) { | |
10125 | { | |
10126 | arg4 = &temp4; | |
10127 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10128 | } | |
10129 | } | |
10130 | if (obj4) { | |
093d3ff1 RD |
10131 | { |
10132 | arg5 = (long)(SWIG_As_long(obj4)); | |
10133 | if (SWIG_arg_fail(5)) SWIG_fail; | |
10134 | } | |
d55e5bfc RD |
10135 | } |
10136 | if (obj5) { | |
10137 | { | |
10138 | arg6 = wxString_in_helper(obj5); | |
10139 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 10140 | temp6 = true; |
d55e5bfc RD |
10141 | } |
10142 | } | |
10143 | { | |
0439c23b | 10144 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10146 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10147 | ||
10148 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10149 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10150 | } |
10151 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); | |
10152 | { | |
10153 | if (temp6) | |
10154 | delete arg6; | |
10155 | } | |
10156 | return resultobj; | |
10157 | fail: | |
10158 | { | |
10159 | if (temp6) | |
10160 | delete arg6; | |
10161 | } | |
10162 | return NULL; | |
10163 | } | |
10164 | ||
10165 | ||
c32bde28 | 10166 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10167 | PyObject *resultobj; |
10168 | wxSashLayoutWindow *result; | |
10169 | char *kwnames[] = { | |
10170 | NULL | |
10171 | }; | |
10172 | ||
10173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
10174 | { | |
0439c23b | 10175 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10177 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
10178 | ||
10179 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10180 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10181 | } |
10182 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); | |
10183 | return resultobj; | |
10184 | fail: | |
10185 | return NULL; | |
10186 | } | |
10187 | ||
10188 | ||
c32bde28 | 10189 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10190 | PyObject *resultobj; |
10191 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
10192 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 10193 | int arg3 = (int) -1 ; |
d55e5bfc RD |
10194 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10195 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10196 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10197 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10198 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
10199 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
10200 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10201 | bool result; | |
10202 | wxPoint temp4 ; | |
10203 | wxSize temp5 ; | |
ae8162c8 | 10204 | bool temp7 = false ; |
d55e5bfc RD |
10205 | PyObject * obj0 = 0 ; |
10206 | PyObject * obj1 = 0 ; | |
10207 | PyObject * obj2 = 0 ; | |
10208 | PyObject * obj3 = 0 ; | |
10209 | PyObject * obj4 = 0 ; | |
10210 | PyObject * obj5 = 0 ; | |
10211 | PyObject * obj6 = 0 ; | |
10212 | char *kwnames[] = { | |
10213 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10214 | }; | |
10215 | ||
248ed943 | 10216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
10217 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10218 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10219 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
10220 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 10221 | if (obj2) { |
093d3ff1 RD |
10222 | { |
10223 | arg3 = (int)(SWIG_As_int(obj2)); | |
10224 | if (SWIG_arg_fail(3)) SWIG_fail; | |
10225 | } | |
248ed943 | 10226 | } |
d55e5bfc RD |
10227 | if (obj3) { |
10228 | { | |
10229 | arg4 = &temp4; | |
10230 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10231 | } | |
10232 | } | |
10233 | if (obj4) { | |
10234 | { | |
10235 | arg5 = &temp5; | |
10236 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10237 | } | |
10238 | } | |
10239 | if (obj5) { | |
093d3ff1 RD |
10240 | { |
10241 | arg6 = (long)(SWIG_As_long(obj5)); | |
10242 | if (SWIG_arg_fail(6)) SWIG_fail; | |
10243 | } | |
d55e5bfc RD |
10244 | } |
10245 | if (obj6) { | |
10246 | { | |
10247 | arg7 = wxString_in_helper(obj6); | |
10248 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 10249 | temp7 = true; |
d55e5bfc RD |
10250 | } |
10251 | } | |
10252 | { | |
10253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10254 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10255 | ||
10256 | wxPyEndAllowThreads(__tstate); | |
10257 | if (PyErr_Occurred()) SWIG_fail; | |
10258 | } | |
10259 | { | |
10260 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10261 | } | |
10262 | { | |
10263 | if (temp7) | |
10264 | delete arg7; | |
10265 | } | |
10266 | return resultobj; | |
10267 | fail: | |
10268 | { | |
10269 | if (temp7) | |
10270 | delete arg7; | |
10271 | } | |
10272 | return NULL; | |
10273 | } | |
10274 | ||
10275 | ||
c32bde28 | 10276 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10277 | PyObject *resultobj; |
10278 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
093d3ff1 | 10279 | wxLayoutAlignment result; |
d55e5bfc RD |
10280 | PyObject * obj0 = 0 ; |
10281 | char *kwnames[] = { | |
10282 | (char *) "self", NULL | |
10283 | }; | |
10284 | ||
10285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10286 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10287 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10288 | { |
10289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 10290 | result = (wxLayoutAlignment)(arg1)->GetAlignment(); |
d55e5bfc RD |
10291 | |
10292 | wxPyEndAllowThreads(__tstate); | |
10293 | if (PyErr_Occurred()) SWIG_fail; | |
10294 | } | |
093d3ff1 | 10295 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
10296 | return resultobj; |
10297 | fail: | |
10298 | return NULL; | |
10299 | } | |
10300 | ||
10301 | ||
c32bde28 | 10302 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10303 | PyObject *resultobj; |
10304 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
093d3ff1 | 10305 | wxLayoutOrientation result; |
d55e5bfc RD |
10306 | PyObject * obj0 = 0 ; |
10307 | char *kwnames[] = { | |
10308 | (char *) "self", NULL | |
10309 | }; | |
10310 | ||
10311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10312 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10313 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10314 | { |
10315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 10316 | result = (wxLayoutOrientation)(arg1)->GetOrientation(); |
d55e5bfc RD |
10317 | |
10318 | wxPyEndAllowThreads(__tstate); | |
10319 | if (PyErr_Occurred()) SWIG_fail; | |
10320 | } | |
093d3ff1 | 10321 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
10322 | return resultobj; |
10323 | fail: | |
10324 | return NULL; | |
10325 | } | |
10326 | ||
10327 | ||
c32bde28 | 10328 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10329 | PyObject *resultobj; |
10330 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
093d3ff1 | 10331 | wxLayoutAlignment arg2 ; |
d55e5bfc RD |
10332 | PyObject * obj0 = 0 ; |
10333 | PyObject * obj1 = 0 ; | |
10334 | char *kwnames[] = { | |
10335 | (char *) "self",(char *) "alignment", NULL | |
10336 | }; | |
10337 | ||
10338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10339 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10340 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10341 | { | |
10342 | arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1)); | |
10343 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10344 | } | |
d55e5bfc RD |
10345 | { |
10346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10347 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
10348 | ||
10349 | wxPyEndAllowThreads(__tstate); | |
10350 | if (PyErr_Occurred()) SWIG_fail; | |
10351 | } | |
10352 | Py_INCREF(Py_None); resultobj = Py_None; | |
10353 | return resultobj; | |
10354 | fail: | |
10355 | return NULL; | |
10356 | } | |
10357 | ||
10358 | ||
c32bde28 | 10359 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10360 | PyObject *resultobj; |
10361 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
10362 | wxSize *arg2 = 0 ; | |
10363 | wxSize temp2 ; | |
10364 | PyObject * obj0 = 0 ; | |
10365 | PyObject * obj1 = 0 ; | |
10366 | char *kwnames[] = { | |
10367 | (char *) "self",(char *) "size", NULL | |
10368 | }; | |
10369 | ||
10370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10371 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10372 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10373 | { |
10374 | arg2 = &temp2; | |
10375 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
10376 | } | |
10377 | { | |
10378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10379 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
10380 | ||
10381 | wxPyEndAllowThreads(__tstate); | |
10382 | if (PyErr_Occurred()) SWIG_fail; | |
10383 | } | |
10384 | Py_INCREF(Py_None); resultobj = Py_None; | |
10385 | return resultobj; | |
10386 | fail: | |
10387 | return NULL; | |
10388 | } | |
10389 | ||
10390 | ||
c32bde28 | 10391 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10392 | PyObject *resultobj; |
10393 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
093d3ff1 | 10394 | wxLayoutOrientation arg2 ; |
d55e5bfc RD |
10395 | PyObject * obj0 = 0 ; |
10396 | PyObject * obj1 = 0 ; | |
10397 | char *kwnames[] = { | |
10398 | (char *) "self",(char *) "orientation", NULL | |
10399 | }; | |
10400 | ||
10401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10402 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10403 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10404 | { | |
10405 | arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1)); | |
10406 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10407 | } | |
d55e5bfc RD |
10408 | { |
10409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10410 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
10411 | ||
10412 | wxPyEndAllowThreads(__tstate); | |
10413 | if (PyErr_Occurred()) SWIG_fail; | |
10414 | } | |
10415 | Py_INCREF(Py_None); resultobj = Py_None; | |
10416 | return resultobj; | |
10417 | fail: | |
10418 | return NULL; | |
10419 | } | |
10420 | ||
10421 | ||
c32bde28 | 10422 | static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10423 | PyObject *obj; |
10424 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10425 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
10426 | Py_INCREF(obj); | |
10427 | return Py_BuildValue((char *)""); | |
10428 | } | |
c32bde28 | 10429 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10430 | PyObject *resultobj; |
10431 | wxLayoutAlgorithm *result; | |
10432 | char *kwnames[] = { | |
10433 | NULL | |
10434 | }; | |
10435 | ||
10436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
10437 | { | |
10438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10439 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
10440 | ||
10441 | wxPyEndAllowThreads(__tstate); | |
10442 | if (PyErr_Occurred()) SWIG_fail; | |
10443 | } | |
10444 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); | |
10445 | return resultobj; | |
10446 | fail: | |
10447 | return NULL; | |
10448 | } | |
10449 | ||
10450 | ||
c32bde28 | 10451 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10452 | PyObject *resultobj; |
10453 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
10454 | PyObject * obj0 = 0 ; | |
10455 | char *kwnames[] = { | |
10456 | (char *) "self", NULL | |
10457 | }; | |
10458 | ||
10459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10460 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10461 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10462 | { |
10463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10464 | delete arg1; | |
10465 | ||
10466 | wxPyEndAllowThreads(__tstate); | |
10467 | if (PyErr_Occurred()) SWIG_fail; | |
10468 | } | |
10469 | Py_INCREF(Py_None); resultobj = Py_None; | |
10470 | return resultobj; | |
10471 | fail: | |
10472 | return NULL; | |
10473 | } | |
10474 | ||
10475 | ||
c32bde28 | 10476 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10477 | PyObject *resultobj; |
10478 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
10479 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
10480 | wxRect *arg3 = (wxRect *) NULL ; | |
10481 | bool result; | |
10482 | PyObject * obj0 = 0 ; | |
10483 | PyObject * obj1 = 0 ; | |
10484 | PyObject * obj2 = 0 ; | |
10485 | char *kwnames[] = { | |
10486 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
10487 | }; | |
10488 | ||
10489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
10490 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10491 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10492 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
10493 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 10494 | if (obj2) { |
093d3ff1 RD |
10495 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); |
10496 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
10497 | } |
10498 | { | |
10499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10500 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
10501 | ||
10502 | wxPyEndAllowThreads(__tstate); | |
10503 | if (PyErr_Occurred()) SWIG_fail; | |
10504 | } | |
10505 | { | |
10506 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10507 | } | |
10508 | return resultobj; | |
10509 | fail: | |
10510 | return NULL; | |
10511 | } | |
10512 | ||
10513 | ||
c32bde28 | 10514 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10515 | PyObject *resultobj; |
10516 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
10517 | wxFrame *arg2 = (wxFrame *) 0 ; | |
10518 | wxWindow *arg3 = (wxWindow *) NULL ; | |
10519 | bool result; | |
10520 | PyObject * obj0 = 0 ; | |
10521 | PyObject * obj1 = 0 ; | |
10522 | PyObject * obj2 = 0 ; | |
10523 | char *kwnames[] = { | |
10524 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
10525 | }; | |
10526 | ||
10527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
10528 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10529 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10530 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
10531 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 10532 | if (obj2) { |
093d3ff1 RD |
10533 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10534 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
10535 | } |
10536 | { | |
10537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10538 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
10539 | ||
10540 | wxPyEndAllowThreads(__tstate); | |
10541 | if (PyErr_Occurred()) SWIG_fail; | |
10542 | } | |
10543 | { | |
10544 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10545 | } | |
10546 | return resultobj; | |
10547 | fail: | |
10548 | return NULL; | |
10549 | } | |
10550 | ||
10551 | ||
c32bde28 | 10552 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10553 | PyObject *resultobj; |
10554 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
10555 | wxWindow *arg2 = (wxWindow *) 0 ; | |
10556 | wxWindow *arg3 = (wxWindow *) NULL ; | |
10557 | bool result; | |
10558 | PyObject * obj0 = 0 ; | |
10559 | PyObject * obj1 = 0 ; | |
10560 | PyObject * obj2 = 0 ; | |
10561 | char *kwnames[] = { | |
10562 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
10563 | }; | |
10564 | ||
10565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
10566 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10567 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10568 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
10569 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 10570 | if (obj2) { |
093d3ff1 RD |
10571 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10572 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
10573 | } |
10574 | { | |
10575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10576 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
10577 | ||
10578 | wxPyEndAllowThreads(__tstate); | |
10579 | if (PyErr_Occurred()) SWIG_fail; | |
10580 | } | |
10581 | { | |
10582 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10583 | } | |
10584 | return resultobj; | |
10585 | fail: | |
10586 | return NULL; | |
10587 | } | |
10588 | ||
10589 | ||
c32bde28 | 10590 | static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10591 | PyObject *obj; |
10592 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10593 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
10594 | Py_INCREF(obj); | |
10595 | return Py_BuildValue((char *)""); | |
10596 | } | |
c32bde28 | 10597 | static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10598 | PyObject *resultobj; |
10599 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10600 | int arg2 = (int) wxBORDER_NONE ; | |
10601 | wxPopupWindow *result; | |
10602 | PyObject * obj0 = 0 ; | |
10603 | PyObject * obj1 = 0 ; | |
10604 | char *kwnames[] = { | |
10605 | (char *) "parent",(char *) "flags", NULL | |
10606 | }; | |
10607 | ||
10608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10609 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10610 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 10611 | if (obj1) { |
093d3ff1 RD |
10612 | { |
10613 | arg2 = (int)(SWIG_As_int(obj1)); | |
10614 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10615 | } | |
d55e5bfc RD |
10616 | } |
10617 | { | |
0439c23b | 10618 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10620 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
10621 | ||
10622 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10623 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10624 | } |
10625 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); | |
10626 | return resultobj; | |
10627 | fail: | |
10628 | return NULL; | |
10629 | } | |
10630 | ||
10631 | ||
c32bde28 | 10632 | static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10633 | PyObject *resultobj; |
10634 | wxPopupWindow *result; | |
10635 | char *kwnames[] = { | |
10636 | NULL | |
10637 | }; | |
10638 | ||
10639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
10640 | { | |
0439c23b | 10641 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10643 | result = (wxPopupWindow *)new wxPopupWindow(); | |
10644 | ||
10645 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10646 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10647 | } |
10648 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); | |
10649 | return resultobj; | |
10650 | fail: | |
10651 | return NULL; | |
10652 | } | |
10653 | ||
10654 | ||
c32bde28 | 10655 | static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10656 | PyObject *resultobj; |
10657 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
10658 | wxWindow *arg2 = (wxWindow *) 0 ; | |
10659 | int arg3 = (int) wxBORDER_NONE ; | |
10660 | bool result; | |
10661 | PyObject * obj0 = 0 ; | |
10662 | PyObject * obj1 = 0 ; | |
10663 | PyObject * obj2 = 0 ; | |
10664 | char *kwnames[] = { | |
10665 | (char *) "self",(char *) "parent",(char *) "flags", NULL | |
10666 | }; | |
10667 | ||
10668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
10669 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0); |
10670 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10671 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
10672 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 10673 | if (obj2) { |
093d3ff1 RD |
10674 | { |
10675 | arg3 = (int)(SWIG_As_int(obj2)); | |
10676 | if (SWIG_arg_fail(3)) SWIG_fail; | |
10677 | } | |
d55e5bfc RD |
10678 | } |
10679 | { | |
10680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10681 | result = (bool)(arg1)->Create(arg2,arg3); | |
10682 | ||
10683 | wxPyEndAllowThreads(__tstate); | |
10684 | if (PyErr_Occurred()) SWIG_fail; | |
10685 | } | |
10686 | { | |
10687 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10688 | } | |
10689 | return resultobj; | |
10690 | fail: | |
10691 | return NULL; | |
10692 | } | |
10693 | ||
10694 | ||
c32bde28 | 10695 | static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10696 | PyObject *resultobj; |
10697 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
10698 | wxPoint *arg2 = 0 ; | |
10699 | wxSize *arg3 = 0 ; | |
10700 | wxPoint temp2 ; | |
10701 | wxSize temp3 ; | |
10702 | PyObject * obj0 = 0 ; | |
10703 | PyObject * obj1 = 0 ; | |
10704 | PyObject * obj2 = 0 ; | |
10705 | char *kwnames[] = { | |
10706 | (char *) "self",(char *) "ptOrigin",(char *) "size", NULL | |
10707 | }; | |
10708 | ||
10709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
10710 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0); |
10711 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10712 | { |
10713 | arg2 = &temp2; | |
10714 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10715 | } | |
10716 | { | |
10717 | arg3 = &temp3; | |
10718 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
10719 | } | |
10720 | { | |
10721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10722 | (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3); | |
10723 | ||
10724 | wxPyEndAllowThreads(__tstate); | |
10725 | if (PyErr_Occurred()) SWIG_fail; | |
10726 | } | |
10727 | Py_INCREF(Py_None); resultobj = Py_None; | |
10728 | return resultobj; | |
10729 | fail: | |
10730 | return NULL; | |
10731 | } | |
10732 | ||
10733 | ||
c32bde28 | 10734 | static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10735 | PyObject *obj; |
10736 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10737 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
10738 | Py_INCREF(obj); | |
10739 | return Py_BuildValue((char *)""); | |
10740 | } | |
c32bde28 | 10741 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10742 | PyObject *resultobj; |
10743 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10744 | int arg2 = (int) wxBORDER_NONE ; | |
10745 | wxPyPopupTransientWindow *result; | |
10746 | PyObject * obj0 = 0 ; | |
10747 | PyObject * obj1 = 0 ; | |
10748 | char *kwnames[] = { | |
10749 | (char *) "parent",(char *) "style", NULL | |
10750 | }; | |
10751 | ||
10752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10753 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10754 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 10755 | if (obj1) { |
093d3ff1 RD |
10756 | { |
10757 | arg2 = (int)(SWIG_As_int(obj1)); | |
10758 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10759 | } | |
d55e5bfc RD |
10760 | } |
10761 | { | |
0439c23b | 10762 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10764 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
10765 | ||
10766 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10767 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10768 | } |
10769 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
10770 | return resultobj; | |
10771 | fail: | |
10772 | return NULL; | |
10773 | } | |
10774 | ||
10775 | ||
c32bde28 | 10776 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10777 | PyObject *resultobj; |
10778 | wxPyPopupTransientWindow *result; | |
10779 | char *kwnames[] = { | |
10780 | NULL | |
10781 | }; | |
10782 | ||
10783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
10784 | { | |
0439c23b | 10785 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10787 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
10788 | ||
10789 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10790 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10791 | } |
10792 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
10793 | return resultobj; | |
10794 | fail: | |
10795 | return NULL; | |
10796 | } | |
10797 | ||
10798 | ||
c32bde28 | 10799 | static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10800 | PyObject *resultobj; |
10801 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
10802 | PyObject *arg2 = (PyObject *) 0 ; | |
10803 | PyObject *arg3 = (PyObject *) 0 ; | |
10804 | PyObject * obj0 = 0 ; | |
10805 | PyObject * obj1 = 0 ; | |
10806 | PyObject * obj2 = 0 ; | |
10807 | char *kwnames[] = { | |
10808 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10809 | }; | |
10810 | ||
10811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
10812 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0); |
10813 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10814 | arg2 = obj1; |
10815 | arg3 = obj2; | |
10816 | { | |
10817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10818 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10819 | ||
10820 | wxPyEndAllowThreads(__tstate); | |
10821 | if (PyErr_Occurred()) SWIG_fail; | |
10822 | } | |
10823 | Py_INCREF(Py_None); resultobj = Py_None; | |
10824 | return resultobj; | |
10825 | fail: | |
10826 | return NULL; | |
10827 | } | |
10828 | ||
10829 | ||
c32bde28 | 10830 | static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10831 | PyObject *resultobj; |
10832 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
10833 | wxWindow *arg2 = (wxWindow *) NULL ; | |
10834 | PyObject * obj0 = 0 ; | |
10835 | PyObject * obj1 = 0 ; | |
10836 | char *kwnames[] = { | |
10837 | (char *) "self",(char *) "focus", NULL | |
10838 | }; | |
10839 | ||
10840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10841 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0); |
10842 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 10843 | if (obj1) { |
093d3ff1 RD |
10844 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10845 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
10846 | } |
10847 | { | |
10848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10849 | (arg1)->Popup(arg2); | |
10850 | ||
10851 | wxPyEndAllowThreads(__tstate); | |
10852 | if (PyErr_Occurred()) SWIG_fail; | |
10853 | } | |
10854 | Py_INCREF(Py_None); resultobj = Py_None; | |
10855 | return resultobj; | |
10856 | fail: | |
10857 | return NULL; | |
10858 | } | |
10859 | ||
10860 | ||
c32bde28 | 10861 | static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10862 | PyObject *resultobj; |
10863 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
10864 | PyObject * obj0 = 0 ; | |
10865 | char *kwnames[] = { | |
10866 | (char *) "self", NULL | |
10867 | }; | |
10868 | ||
10869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10870 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0); |
10871 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10872 | { |
10873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10874 | (arg1)->Dismiss(); | |
10875 | ||
10876 | wxPyEndAllowThreads(__tstate); | |
10877 | if (PyErr_Occurred()) SWIG_fail; | |
10878 | } | |
10879 | Py_INCREF(Py_None); resultobj = Py_None; | |
10880 | return resultobj; | |
10881 | fail: | |
10882 | return NULL; | |
10883 | } | |
10884 | ||
10885 | ||
c32bde28 | 10886 | static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10887 | PyObject *obj; |
10888 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10889 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
10890 | Py_INCREF(obj); | |
10891 | return Py_BuildValue((char *)""); | |
10892 | } | |
c32bde28 | 10893 | static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10894 | PyObject *resultobj; |
10895 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10896 | wxString *arg2 = 0 ; | |
10897 | int arg3 = (int) 100 ; | |
10898 | wxRect *arg4 = (wxRect *) NULL ; | |
10899 | wxTipWindow *result; | |
ae8162c8 | 10900 | bool temp2 = false ; |
d55e5bfc RD |
10901 | PyObject * obj0 = 0 ; |
10902 | PyObject * obj1 = 0 ; | |
10903 | PyObject * obj2 = 0 ; | |
10904 | PyObject * obj3 = 0 ; | |
10905 | char *kwnames[] = { | |
10906 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
10907 | }; | |
10908 | ||
10909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
093d3ff1 RD |
10910 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10911 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10912 | { |
10913 | arg2 = wxString_in_helper(obj1); | |
10914 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 10915 | temp2 = true; |
d55e5bfc RD |
10916 | } |
10917 | if (obj2) { | |
093d3ff1 RD |
10918 | { |
10919 | arg3 = (int)(SWIG_As_int(obj2)); | |
10920 | if (SWIG_arg_fail(3)) SWIG_fail; | |
10921 | } | |
d55e5bfc RD |
10922 | } |
10923 | if (obj3) { | |
093d3ff1 RD |
10924 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); |
10925 | if (SWIG_arg_fail(4)) SWIG_fail; | |
d55e5bfc RD |
10926 | } |
10927 | { | |
0439c23b | 10928 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10930 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); | |
10931 | ||
10932 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10933 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10934 | } |
10935 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); | |
10936 | { | |
10937 | if (temp2) | |
10938 | delete arg2; | |
10939 | } | |
10940 | return resultobj; | |
10941 | fail: | |
10942 | { | |
10943 | if (temp2) | |
10944 | delete arg2; | |
10945 | } | |
10946 | return NULL; | |
10947 | } | |
10948 | ||
10949 | ||
c32bde28 | 10950 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10951 | PyObject *resultobj; |
10952 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
10953 | wxRect *arg2 = 0 ; | |
10954 | wxRect temp2 ; | |
10955 | PyObject * obj0 = 0 ; | |
10956 | PyObject * obj1 = 0 ; | |
10957 | char *kwnames[] = { | |
10958 | (char *) "self",(char *) "rectBound", NULL | |
10959 | }; | |
10960 | ||
10961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
10962 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0); |
10963 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10964 | { |
10965 | arg2 = &temp2; | |
10966 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
10967 | } | |
10968 | { | |
10969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10970 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
10971 | ||
10972 | wxPyEndAllowThreads(__tstate); | |
10973 | if (PyErr_Occurred()) SWIG_fail; | |
10974 | } | |
10975 | Py_INCREF(Py_None); resultobj = Py_None; | |
10976 | return resultobj; | |
10977 | fail: | |
10978 | return NULL; | |
10979 | } | |
10980 | ||
10981 | ||
c32bde28 | 10982 | static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10983 | PyObject *resultobj; |
10984 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
10985 | PyObject * obj0 = 0 ; | |
10986 | char *kwnames[] = { | |
10987 | (char *) "self", NULL | |
10988 | }; | |
10989 | ||
10990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
10991 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0); |
10992 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10993 | { |
10994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10995 | (arg1)->Close(); | |
10996 | ||
10997 | wxPyEndAllowThreads(__tstate); | |
10998 | if (PyErr_Occurred()) SWIG_fail; | |
10999 | } | |
11000 | Py_INCREF(Py_None); resultobj = Py_None; | |
11001 | return resultobj; | |
11002 | fail: | |
11003 | return NULL; | |
11004 | } | |
11005 | ||
11006 | ||
c32bde28 | 11007 | static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
11008 | PyObject *obj; |
11009 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11010 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
11011 | Py_INCREF(obj); | |
11012 | return Py_BuildValue((char *)""); | |
11013 | } | |
c32bde28 | 11014 | static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11015 | PyObject *resultobj; |
11016 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11017 | int arg2 = (int) wxID_ANY ; | |
11018 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
11019 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
11020 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
11021 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
11022 | long arg5 = (long) 0 ; | |
11023 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
11024 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
11025 | wxPyVScrolledWindow *result; | |
11026 | wxPoint temp3 ; | |
11027 | wxSize temp4 ; | |
ae8162c8 | 11028 | bool temp6 = false ; |
d55e5bfc RD |
11029 | PyObject * obj0 = 0 ; |
11030 | PyObject * obj1 = 0 ; | |
11031 | PyObject * obj2 = 0 ; | |
11032 | PyObject * obj3 = 0 ; | |
11033 | PyObject * obj4 = 0 ; | |
11034 | PyObject * obj5 = 0 ; | |
11035 | char *kwnames[] = { | |
11036 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11037 | }; | |
11038 | ||
11039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
11040 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
11041 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 11042 | if (obj1) { |
093d3ff1 RD |
11043 | { |
11044 | arg2 = (int)(SWIG_As_int(obj1)); | |
11045 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11046 | } | |
d55e5bfc RD |
11047 | } |
11048 | if (obj2) { | |
11049 | { | |
11050 | arg3 = &temp3; | |
11051 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
11052 | } | |
11053 | } | |
11054 | if (obj3) { | |
11055 | { | |
11056 | arg4 = &temp4; | |
11057 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
11058 | } | |
11059 | } | |
11060 | if (obj4) { | |
093d3ff1 RD |
11061 | { |
11062 | arg5 = (long)(SWIG_As_long(obj4)); | |
11063 | if (SWIG_arg_fail(5)) SWIG_fail; | |
11064 | } | |
d55e5bfc RD |
11065 | } |
11066 | if (obj5) { | |
11067 | { | |
11068 | arg6 = wxString_in_helper(obj5); | |
11069 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 11070 | temp6 = true; |
d55e5bfc RD |
11071 | } |
11072 | } | |
11073 | { | |
0439c23b | 11074 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
11075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11076 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
11077 | ||
11078 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11079 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
11080 | } |
11081 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
11082 | { | |
11083 | if (temp6) | |
11084 | delete arg6; | |
11085 | } | |
11086 | return resultobj; | |
11087 | fail: | |
11088 | { | |
11089 | if (temp6) | |
11090 | delete arg6; | |
11091 | } | |
11092 | return NULL; | |
11093 | } | |
11094 | ||
11095 | ||
c32bde28 | 11096 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11097 | PyObject *resultobj; |
11098 | wxPyVScrolledWindow *result; | |
11099 | char *kwnames[] = { | |
11100 | NULL | |
11101 | }; | |
11102 | ||
11103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
11104 | { | |
0439c23b | 11105 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
11106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11107 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
11108 | ||
11109 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11110 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
11111 | } |
11112 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
11113 | return resultobj; | |
11114 | fail: | |
11115 | return NULL; | |
11116 | } | |
11117 | ||
11118 | ||
c32bde28 | 11119 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11120 | PyObject *resultobj; |
11121 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11122 | PyObject *arg2 = (PyObject *) 0 ; | |
11123 | PyObject *arg3 = (PyObject *) 0 ; | |
11124 | PyObject * obj0 = 0 ; | |
11125 | PyObject * obj1 = 0 ; | |
11126 | PyObject * obj2 = 0 ; | |
11127 | char *kwnames[] = { | |
11128 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
11129 | }; | |
11130 | ||
11131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
11132 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11133 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11134 | arg2 = obj1; |
11135 | arg3 = obj2; | |
11136 | { | |
11137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11138 | (arg1)->_setCallbackInfo(arg2,arg3); | |
11139 | ||
11140 | wxPyEndAllowThreads(__tstate); | |
11141 | if (PyErr_Occurred()) SWIG_fail; | |
11142 | } | |
11143 | Py_INCREF(Py_None); resultobj = Py_None; | |
11144 | return resultobj; | |
11145 | fail: | |
11146 | return NULL; | |
11147 | } | |
11148 | ||
11149 | ||
c32bde28 | 11150 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11151 | PyObject *resultobj; |
11152 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11153 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11154 | int arg3 = (int) wxID_ANY ; | |
11155 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
11156 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
11157 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
11158 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
11159 | long arg6 = (long) 0 ; | |
11160 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
11161 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11162 | bool result; | |
11163 | wxPoint temp4 ; | |
11164 | wxSize temp5 ; | |
ae8162c8 | 11165 | bool temp7 = false ; |
d55e5bfc RD |
11166 | PyObject * obj0 = 0 ; |
11167 | PyObject * obj1 = 0 ; | |
11168 | PyObject * obj2 = 0 ; | |
11169 | PyObject * obj3 = 0 ; | |
11170 | PyObject * obj4 = 0 ; | |
11171 | PyObject * obj5 = 0 ; | |
11172 | PyObject * obj6 = 0 ; | |
11173 | char *kwnames[] = { | |
11174 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11175 | }; | |
11176 | ||
11177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
093d3ff1 RD |
11178 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11179 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11180 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
11181 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 11182 | if (obj2) { |
093d3ff1 RD |
11183 | { |
11184 | arg3 = (int)(SWIG_As_int(obj2)); | |
11185 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11186 | } | |
d55e5bfc RD |
11187 | } |
11188 | if (obj3) { | |
11189 | { | |
11190 | arg4 = &temp4; | |
11191 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
11192 | } | |
11193 | } | |
11194 | if (obj4) { | |
11195 | { | |
11196 | arg5 = &temp5; | |
11197 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
11198 | } | |
11199 | } | |
11200 | if (obj5) { | |
093d3ff1 RD |
11201 | { |
11202 | arg6 = (long)(SWIG_As_long(obj5)); | |
11203 | if (SWIG_arg_fail(6)) SWIG_fail; | |
11204 | } | |
d55e5bfc RD |
11205 | } |
11206 | if (obj6) { | |
11207 | { | |
11208 | arg7 = wxString_in_helper(obj6); | |
11209 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 11210 | temp7 = true; |
d55e5bfc RD |
11211 | } |
11212 | } | |
11213 | { | |
11214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11215 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
11216 | ||
11217 | wxPyEndAllowThreads(__tstate); | |
11218 | if (PyErr_Occurred()) SWIG_fail; | |
11219 | } | |
11220 | { | |
11221 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11222 | } | |
11223 | { | |
11224 | if (temp7) | |
11225 | delete arg7; | |
11226 | } | |
11227 | return resultobj; | |
11228 | fail: | |
11229 | { | |
11230 | if (temp7) | |
11231 | delete arg7; | |
11232 | } | |
11233 | return NULL; | |
11234 | } | |
11235 | ||
11236 | ||
c32bde28 | 11237 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11238 | PyObject *resultobj; |
11239 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11240 | size_t arg2 ; | |
11241 | PyObject * obj0 = 0 ; | |
11242 | PyObject * obj1 = 0 ; | |
11243 | char *kwnames[] = { | |
11244 | (char *) "self",(char *) "count", NULL | |
11245 | }; | |
11246 | ||
11247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11248 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11249 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11250 | { | |
11251 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11252 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11253 | } | |
d55e5bfc RD |
11254 | { |
11255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11256 | (arg1)->SetLineCount(arg2); | |
11257 | ||
11258 | wxPyEndAllowThreads(__tstate); | |
11259 | if (PyErr_Occurred()) SWIG_fail; | |
11260 | } | |
11261 | Py_INCREF(Py_None); resultobj = Py_None; | |
11262 | return resultobj; | |
11263 | fail: | |
11264 | return NULL; | |
11265 | } | |
11266 | ||
11267 | ||
c32bde28 | 11268 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11269 | PyObject *resultobj; |
11270 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11271 | size_t arg2 ; | |
11272 | bool result; | |
11273 | PyObject * obj0 = 0 ; | |
11274 | PyObject * obj1 = 0 ; | |
11275 | char *kwnames[] = { | |
11276 | (char *) "self",(char *) "line", NULL | |
11277 | }; | |
11278 | ||
11279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11280 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11281 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11282 | { | |
11283 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11284 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11285 | } | |
d55e5bfc RD |
11286 | { |
11287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11288 | result = (bool)(arg1)->ScrollToLine(arg2); | |
11289 | ||
11290 | wxPyEndAllowThreads(__tstate); | |
11291 | if (PyErr_Occurred()) SWIG_fail; | |
11292 | } | |
11293 | { | |
11294 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11295 | } | |
11296 | return resultobj; | |
11297 | fail: | |
11298 | return NULL; | |
11299 | } | |
11300 | ||
11301 | ||
c32bde28 | 11302 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11303 | PyObject *resultobj; |
11304 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11305 | int arg2 ; | |
11306 | bool result; | |
11307 | PyObject * obj0 = 0 ; | |
11308 | PyObject * obj1 = 0 ; | |
11309 | char *kwnames[] = { | |
11310 | (char *) "self",(char *) "lines", NULL | |
11311 | }; | |
11312 | ||
11313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11314 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11315 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11316 | { | |
11317 | arg2 = (int)(SWIG_As_int(obj1)); | |
11318 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11319 | } | |
d55e5bfc RD |
11320 | { |
11321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11322 | result = (bool)(arg1)->ScrollLines(arg2); | |
11323 | ||
11324 | wxPyEndAllowThreads(__tstate); | |
11325 | if (PyErr_Occurred()) SWIG_fail; | |
11326 | } | |
11327 | { | |
11328 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11329 | } | |
11330 | return resultobj; | |
11331 | fail: | |
11332 | return NULL; | |
11333 | } | |
11334 | ||
11335 | ||
c32bde28 | 11336 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11337 | PyObject *resultobj; |
11338 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11339 | int arg2 ; | |
11340 | bool result; | |
11341 | PyObject * obj0 = 0 ; | |
11342 | PyObject * obj1 = 0 ; | |
11343 | char *kwnames[] = { | |
11344 | (char *) "self",(char *) "pages", NULL | |
11345 | }; | |
11346 | ||
11347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11348 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11349 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11350 | { | |
11351 | arg2 = (int)(SWIG_As_int(obj1)); | |
11352 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11353 | } | |
d55e5bfc RD |
11354 | { |
11355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11356 | result = (bool)(arg1)->ScrollPages(arg2); | |
11357 | ||
11358 | wxPyEndAllowThreads(__tstate); | |
11359 | if (PyErr_Occurred()) SWIG_fail; | |
11360 | } | |
11361 | { | |
11362 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11363 | } | |
11364 | return resultobj; | |
11365 | fail: | |
11366 | return NULL; | |
11367 | } | |
11368 | ||
11369 | ||
c32bde28 | 11370 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11371 | PyObject *resultobj; |
11372 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11373 | size_t arg2 ; | |
11374 | PyObject * obj0 = 0 ; | |
11375 | PyObject * obj1 = 0 ; | |
11376 | char *kwnames[] = { | |
11377 | (char *) "self",(char *) "line", NULL | |
11378 | }; | |
11379 | ||
11380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11381 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11382 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11383 | { | |
11384 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11385 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11386 | } | |
d55e5bfc RD |
11387 | { |
11388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11389 | (arg1)->RefreshLine(arg2); | |
11390 | ||
11391 | wxPyEndAllowThreads(__tstate); | |
11392 | if (PyErr_Occurred()) SWIG_fail; | |
11393 | } | |
11394 | Py_INCREF(Py_None); resultobj = Py_None; | |
11395 | return resultobj; | |
11396 | fail: | |
11397 | return NULL; | |
11398 | } | |
11399 | ||
11400 | ||
c32bde28 | 11401 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11402 | PyObject *resultobj; |
11403 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11404 | size_t arg2 ; | |
11405 | size_t arg3 ; | |
11406 | PyObject * obj0 = 0 ; | |
11407 | PyObject * obj1 = 0 ; | |
11408 | PyObject * obj2 = 0 ; | |
11409 | char *kwnames[] = { | |
11410 | (char *) "self",(char *) "from",(char *) "to", NULL | |
11411 | }; | |
11412 | ||
11413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
11414 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11415 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11416 | { | |
11417 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11418 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11419 | } | |
11420 | { | |
11421 | arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); | |
11422 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11423 | } | |
d55e5bfc RD |
11424 | { |
11425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11426 | (arg1)->RefreshLines(arg2,arg3); | |
11427 | ||
11428 | wxPyEndAllowThreads(__tstate); | |
11429 | if (PyErr_Occurred()) SWIG_fail; | |
11430 | } | |
11431 | Py_INCREF(Py_None); resultobj = Py_None; | |
11432 | return resultobj; | |
11433 | fail: | |
11434 | return NULL; | |
11435 | } | |
11436 | ||
11437 | ||
c32bde28 | 11438 | static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11439 | PyObject *resultobj; |
11440 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11441 | int arg2 ; | |
11442 | int arg3 ; | |
11443 | int result; | |
11444 | PyObject * obj0 = 0 ; | |
11445 | PyObject * obj1 = 0 ; | |
11446 | PyObject * obj2 = 0 ; | |
11447 | char *kwnames[] = { | |
11448 | (char *) "self",(char *) "x",(char *) "y", NULL | |
11449 | }; | |
11450 | ||
354693ff | 11451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
11452 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11453 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11454 | { | |
11455 | arg2 = (int)(SWIG_As_int(obj1)); | |
11456 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11457 | } | |
11458 | { | |
11459 | arg3 = (int)(SWIG_As_int(obj2)); | |
11460 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11461 | } | |
d55e5bfc RD |
11462 | { |
11463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11464 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
11465 | ||
11466 | wxPyEndAllowThreads(__tstate); | |
11467 | if (PyErr_Occurred()) SWIG_fail; | |
11468 | } | |
093d3ff1 RD |
11469 | { |
11470 | resultobj = SWIG_From_int((int)(result)); | |
11471 | } | |
d55e5bfc RD |
11472 | return resultobj; |
11473 | fail: | |
11474 | return NULL; | |
11475 | } | |
11476 | ||
11477 | ||
c32bde28 | 11478 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11479 | PyObject *resultobj; |
11480 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11481 | wxPoint *arg2 = 0 ; | |
11482 | int result; | |
11483 | wxPoint temp2 ; | |
11484 | PyObject * obj0 = 0 ; | |
11485 | PyObject * obj1 = 0 ; | |
11486 | char *kwnames[] = { | |
11487 | (char *) "self",(char *) "pt", NULL | |
11488 | }; | |
11489 | ||
11490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11491 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11492 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11493 | { |
11494 | arg2 = &temp2; | |
11495 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
11496 | } | |
11497 | { | |
11498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11499 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
11500 | ||
11501 | wxPyEndAllowThreads(__tstate); | |
11502 | if (PyErr_Occurred()) SWIG_fail; | |
11503 | } | |
093d3ff1 RD |
11504 | { |
11505 | resultobj = SWIG_From_int((int)(result)); | |
11506 | } | |
d55e5bfc RD |
11507 | return resultobj; |
11508 | fail: | |
11509 | return NULL; | |
11510 | } | |
11511 | ||
11512 | ||
c32bde28 | 11513 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11514 | PyObject *resultobj; |
11515 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11516 | PyObject * obj0 = 0 ; | |
11517 | char *kwnames[] = { | |
11518 | (char *) "self", NULL | |
11519 | }; | |
11520 | ||
11521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
11522 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11523 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11524 | { |
11525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11526 | (arg1)->RefreshAll(); | |
11527 | ||
11528 | wxPyEndAllowThreads(__tstate); | |
11529 | if (PyErr_Occurred()) SWIG_fail; | |
11530 | } | |
11531 | Py_INCREF(Py_None); resultobj = Py_None; | |
11532 | return resultobj; | |
11533 | fail: | |
11534 | return NULL; | |
11535 | } | |
11536 | ||
11537 | ||
c32bde28 | 11538 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11539 | PyObject *resultobj; |
11540 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11541 | size_t result; | |
11542 | PyObject * obj0 = 0 ; | |
11543 | char *kwnames[] = { | |
11544 | (char *) "self", NULL | |
11545 | }; | |
11546 | ||
11547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
11548 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11549 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11550 | { |
11551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11552 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
11553 | ||
11554 | wxPyEndAllowThreads(__tstate); | |
11555 | if (PyErr_Occurred()) SWIG_fail; | |
11556 | } | |
093d3ff1 RD |
11557 | { |
11558 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11559 | } | |
d55e5bfc RD |
11560 | return resultobj; |
11561 | fail: | |
11562 | return NULL; | |
11563 | } | |
11564 | ||
11565 | ||
c32bde28 | 11566 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11567 | PyObject *resultobj; |
11568 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11569 | size_t result; | |
11570 | PyObject * obj0 = 0 ; | |
11571 | char *kwnames[] = { | |
11572 | (char *) "self", NULL | |
11573 | }; | |
11574 | ||
11575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
11576 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11577 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11578 | { |
11579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11580 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
11581 | ||
11582 | wxPyEndAllowThreads(__tstate); | |
11583 | if (PyErr_Occurred()) SWIG_fail; | |
11584 | } | |
093d3ff1 RD |
11585 | { |
11586 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11587 | } | |
d55e5bfc RD |
11588 | return resultobj; |
11589 | fail: | |
11590 | return NULL; | |
11591 | } | |
11592 | ||
11593 | ||
c32bde28 | 11594 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11595 | PyObject *resultobj; |
11596 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11597 | size_t result; | |
11598 | PyObject * obj0 = 0 ; | |
11599 | char *kwnames[] = { | |
11600 | (char *) "self", NULL | |
11601 | }; | |
11602 | ||
11603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
11604 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11605 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11606 | { |
11607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11608 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
11609 | ||
11610 | wxPyEndAllowThreads(__tstate); | |
11611 | if (PyErr_Occurred()) SWIG_fail; | |
11612 | } | |
093d3ff1 RD |
11613 | { |
11614 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11615 | } | |
d55e5bfc RD |
11616 | return resultobj; |
11617 | fail: | |
11618 | return NULL; | |
11619 | } | |
11620 | ||
11621 | ||
c32bde28 | 11622 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11623 | PyObject *resultobj; |
11624 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11625 | size_t arg2 ; | |
11626 | bool result; | |
11627 | PyObject * obj0 = 0 ; | |
11628 | PyObject * obj1 = 0 ; | |
11629 | char *kwnames[] = { | |
11630 | (char *) "self",(char *) "line", NULL | |
11631 | }; | |
11632 | ||
11633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
11634 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11635 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11636 | { | |
11637 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11638 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11639 | } | |
d55e5bfc RD |
11640 | { |
11641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11642 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
11643 | ||
11644 | wxPyEndAllowThreads(__tstate); | |
11645 | if (PyErr_Occurred()) SWIG_fail; | |
11646 | } | |
11647 | { | |
11648 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11649 | } | |
11650 | return resultobj; | |
11651 | fail: | |
11652 | return NULL; | |
11653 | } | |
11654 | ||
11655 | ||
c32bde28 | 11656 | static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
11657 | PyObject *obj; |
11658 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11659 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
11660 | Py_INCREF(obj); | |
11661 | return Py_BuildValue((char *)""); | |
11662 | } | |
c32bde28 | 11663 | static int _wrap_VListBoxNameStr_set(PyObject *) { |
d55e5bfc RD |
11664 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); |
11665 | return 1; | |
11666 | } | |
11667 | ||
11668 | ||
093d3ff1 | 11669 | static PyObject *_wrap_VListBoxNameStr_get(void) { |
d55e5bfc RD |
11670 | PyObject *pyobj; |
11671 | ||
11672 | { | |
11673 | #if wxUSE_UNICODE | |
11674 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
11675 | #else | |
11676 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
11677 | #endif | |
11678 | } | |
11679 | return pyobj; | |
11680 | } | |
11681 | ||
11682 | ||
c32bde28 | 11683 | static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11684 | PyObject *resultobj; |
11685 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11686 | int arg2 = (int) wxID_ANY ; | |
11687 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
11688 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
11689 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
11690 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
11691 | long arg5 = (long) 0 ; | |
11692 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
11693 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
11694 | wxPyVListBox *result; | |
11695 | wxPoint temp3 ; | |
11696 | wxSize temp4 ; | |
ae8162c8 | 11697 | bool temp6 = false ; |
d55e5bfc RD |
11698 | PyObject * obj0 = 0 ; |
11699 | PyObject * obj1 = 0 ; | |
11700 | PyObject * obj2 = 0 ; | |
11701 | PyObject * obj3 = 0 ; | |
11702 | PyObject * obj4 = 0 ; | |
11703 | PyObject * obj5 = 0 ; | |
11704 | char *kwnames[] = { | |
11705 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11706 | }; | |
11707 | ||
11708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
11709 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
11710 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 11711 | if (obj1) { |
093d3ff1 RD |
11712 | { |
11713 | arg2 = (int)(SWIG_As_int(obj1)); | |
11714 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11715 | } | |
d55e5bfc RD |
11716 | } |
11717 | if (obj2) { | |
11718 | { | |
11719 | arg3 = &temp3; | |
11720 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
11721 | } | |
11722 | } | |
11723 | if (obj3) { | |
11724 | { | |
11725 | arg4 = &temp4; | |
11726 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
11727 | } | |
11728 | } | |
11729 | if (obj4) { | |
093d3ff1 RD |
11730 | { |
11731 | arg5 = (long)(SWIG_As_long(obj4)); | |
11732 | if (SWIG_arg_fail(5)) SWIG_fail; | |
11733 | } | |
d55e5bfc RD |
11734 | } |
11735 | if (obj5) { | |
11736 | { | |
11737 | arg6 = wxString_in_helper(obj5); | |
11738 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 11739 | temp6 = true; |
d55e5bfc RD |
11740 | } |
11741 | } | |
11742 | { | |
0439c23b | 11743 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
11744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11745 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
11746 | ||
11747 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11748 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
11749 | } |
11750 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); | |
11751 | { | |
11752 | if (temp6) | |
11753 | delete arg6; | |
11754 | } | |
11755 | return resultobj; | |
11756 | fail: | |
11757 | { | |
11758 | if (temp6) | |
11759 | delete arg6; | |
11760 | } | |
11761 | return NULL; | |
11762 | } | |
11763 | ||
11764 | ||
c32bde28 | 11765 | static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11766 | PyObject *resultobj; |
11767 | wxPyVListBox *result; | |
11768 | char *kwnames[] = { | |
11769 | NULL | |
11770 | }; | |
11771 | ||
11772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
11773 | { | |
0439c23b | 11774 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
11775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11776 | result = (wxPyVListBox *)new wxPyVListBox(); | |
11777 | ||
11778 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11779 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
11780 | } |
11781 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); | |
11782 | return resultobj; | |
11783 | fail: | |
11784 | return NULL; | |
11785 | } | |
11786 | ||
11787 | ||
c32bde28 | 11788 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11789 | PyObject *resultobj; |
11790 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11791 | PyObject *arg2 = (PyObject *) 0 ; | |
11792 | PyObject *arg3 = (PyObject *) 0 ; | |
11793 | PyObject * obj0 = 0 ; | |
11794 | PyObject * obj1 = 0 ; | |
11795 | PyObject * obj2 = 0 ; | |
11796 | char *kwnames[] = { | |
11797 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
11798 | }; | |
11799 | ||
11800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
11801 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11802 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11803 | arg2 = obj1; |
11804 | arg3 = obj2; | |
11805 | { | |
11806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11807 | (arg1)->_setCallbackInfo(arg2,arg3); | |
11808 | ||
11809 | wxPyEndAllowThreads(__tstate); | |
11810 | if (PyErr_Occurred()) SWIG_fail; | |
11811 | } | |
11812 | Py_INCREF(Py_None); resultobj = Py_None; | |
11813 | return resultobj; | |
11814 | fail: | |
11815 | return NULL; | |
11816 | } | |
11817 | ||
11818 | ||
c32bde28 | 11819 | static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11820 | PyObject *resultobj; |
11821 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11822 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11823 | int arg3 = (int) wxID_ANY ; | |
11824 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
11825 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
11826 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
11827 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
11828 | long arg6 = (long) 0 ; | |
11829 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
11830 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11831 | bool result; | |
11832 | wxPoint temp4 ; | |
11833 | wxSize temp5 ; | |
ae8162c8 | 11834 | bool temp7 = false ; |
d55e5bfc RD |
11835 | PyObject * obj0 = 0 ; |
11836 | PyObject * obj1 = 0 ; | |
11837 | PyObject * obj2 = 0 ; | |
11838 | PyObject * obj3 = 0 ; | |
11839 | PyObject * obj4 = 0 ; | |
11840 | PyObject * obj5 = 0 ; | |
11841 | PyObject * obj6 = 0 ; | |
11842 | char *kwnames[] = { | |
11843 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11844 | }; | |
11845 | ||
11846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
093d3ff1 RD |
11847 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11848 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11849 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
11850 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 11851 | if (obj2) { |
093d3ff1 RD |
11852 | { |
11853 | arg3 = (int)(SWIG_As_int(obj2)); | |
11854 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11855 | } | |
d55e5bfc RD |
11856 | } |
11857 | if (obj3) { | |
11858 | { | |
11859 | arg4 = &temp4; | |
11860 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
11861 | } | |
11862 | } | |
11863 | if (obj4) { | |
11864 | { | |
11865 | arg5 = &temp5; | |
11866 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
11867 | } | |
11868 | } | |
11869 | if (obj5) { | |
093d3ff1 RD |
11870 | { |
11871 | arg6 = (long)(SWIG_As_long(obj5)); | |
11872 | if (SWIG_arg_fail(6)) SWIG_fail; | |
11873 | } | |
d55e5bfc RD |
11874 | } |
11875 | if (obj6) { | |
11876 | { | |
11877 | arg7 = wxString_in_helper(obj6); | |
11878 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 11879 | temp7 = true; |
d55e5bfc RD |
11880 | } |
11881 | } | |
11882 | { | |
11883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11884 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
11885 | ||
11886 | wxPyEndAllowThreads(__tstate); | |
11887 | if (PyErr_Occurred()) SWIG_fail; | |
11888 | } | |
11889 | { | |
11890 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11891 | } | |
11892 | { | |
11893 | if (temp7) | |
11894 | delete arg7; | |
11895 | } | |
11896 | return resultobj; | |
11897 | fail: | |
11898 | { | |
11899 | if (temp7) | |
11900 | delete arg7; | |
11901 | } | |
11902 | return NULL; | |
11903 | } | |
11904 | ||
11905 | ||
c32bde28 | 11906 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11907 | PyObject *resultobj; |
11908 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11909 | size_t result; | |
11910 | PyObject * obj0 = 0 ; | |
11911 | char *kwnames[] = { | |
11912 | (char *) "self", NULL | |
11913 | }; | |
11914 | ||
11915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
11916 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11917 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11918 | { |
11919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11920 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
11921 | ||
11922 | wxPyEndAllowThreads(__tstate); | |
11923 | if (PyErr_Occurred()) SWIG_fail; | |
11924 | } | |
093d3ff1 RD |
11925 | { |
11926 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11927 | } | |
d55e5bfc RD |
11928 | return resultobj; |
11929 | fail: | |
11930 | return NULL; | |
11931 | } | |
11932 | ||
11933 | ||
c32bde28 | 11934 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11935 | PyObject *resultobj; |
11936 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11937 | bool result; | |
11938 | PyObject * obj0 = 0 ; | |
11939 | char *kwnames[] = { | |
11940 | (char *) "self", NULL | |
11941 | }; | |
11942 | ||
11943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 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 = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
11949 | ||
11950 | wxPyEndAllowThreads(__tstate); | |
11951 | if (PyErr_Occurred()) SWIG_fail; | |
11952 | } | |
11953 | { | |
11954 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11955 | } | |
11956 | return resultobj; | |
11957 | fail: | |
11958 | return NULL; | |
11959 | } | |
11960 | ||
11961 | ||
c32bde28 | 11962 | static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11963 | PyObject *resultobj; |
11964 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11965 | int result; | |
11966 | PyObject * obj0 = 0 ; | |
11967 | char *kwnames[] = { | |
11968 | (char *) "self", NULL | |
11969 | }; | |
11970 | ||
11971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
11972 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11973 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11974 | { |
11975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11976 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
11977 | ||
11978 | wxPyEndAllowThreads(__tstate); | |
11979 | if (PyErr_Occurred()) SWIG_fail; | |
11980 | } | |
093d3ff1 RD |
11981 | { |
11982 | resultobj = SWIG_From_int((int)(result)); | |
11983 | } | |
d55e5bfc RD |
11984 | return resultobj; |
11985 | fail: | |
11986 | return NULL; | |
11987 | } | |
11988 | ||
11989 | ||
c32bde28 | 11990 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11991 | PyObject *resultobj; |
11992 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11993 | size_t arg2 ; | |
11994 | bool result; | |
11995 | PyObject * obj0 = 0 ; | |
11996 | PyObject * obj1 = 0 ; | |
11997 | char *kwnames[] = { | |
11998 | (char *) "self",(char *) "item", NULL | |
11999 | }; | |
12000 | ||
12001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12002 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12003 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12004 | { | |
12005 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12006 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12007 | } | |
d55e5bfc RD |
12008 | { |
12009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12010 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
12011 | ||
12012 | wxPyEndAllowThreads(__tstate); | |
12013 | if (PyErr_Occurred()) SWIG_fail; | |
12014 | } | |
12015 | { | |
12016 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12017 | } | |
12018 | return resultobj; | |
12019 | fail: | |
12020 | return NULL; | |
12021 | } | |
12022 | ||
12023 | ||
c32bde28 | 12024 | static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12025 | PyObject *resultobj; |
12026 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12027 | size_t arg2 ; | |
12028 | bool result; | |
12029 | PyObject * obj0 = 0 ; | |
12030 | PyObject * obj1 = 0 ; | |
12031 | char *kwnames[] = { | |
12032 | (char *) "self",(char *) "item", NULL | |
12033 | }; | |
12034 | ||
12035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12036 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12037 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12038 | { | |
12039 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12040 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12041 | } | |
d55e5bfc RD |
12042 | { |
12043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12044 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
12045 | ||
12046 | wxPyEndAllowThreads(__tstate); | |
12047 | if (PyErr_Occurred()) SWIG_fail; | |
12048 | } | |
12049 | { | |
12050 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12051 | } | |
12052 | return resultobj; | |
12053 | fail: | |
12054 | return NULL; | |
12055 | } | |
12056 | ||
12057 | ||
c32bde28 | 12058 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12059 | PyObject *resultobj; |
12060 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12061 | size_t result; | |
12062 | PyObject * obj0 = 0 ; | |
12063 | char *kwnames[] = { | |
12064 | (char *) "self", NULL | |
12065 | }; | |
12066 | ||
12067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12068 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12069 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12070 | { |
12071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12072 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
12073 | ||
12074 | wxPyEndAllowThreads(__tstate); | |
12075 | if (PyErr_Occurred()) SWIG_fail; | |
12076 | } | |
093d3ff1 RD |
12077 | { |
12078 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
12079 | } | |
d55e5bfc RD |
12080 | return resultobj; |
12081 | fail: | |
12082 | return NULL; | |
12083 | } | |
12084 | ||
12085 | ||
c32bde28 | 12086 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12087 | PyObject *resultobj; |
12088 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b | 12089 | PyObject *result; |
d55e5bfc | 12090 | PyObject * obj0 = 0 ; |
d55e5bfc | 12091 | char *kwnames[] = { |
09c21d3b | 12092 | (char *) "self", NULL |
d55e5bfc RD |
12093 | }; |
12094 | ||
09c21d3b | 12095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
12096 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12097 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12098 | { |
12099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 12100 | result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1); |
d55e5bfc RD |
12101 | |
12102 | wxPyEndAllowThreads(__tstate); | |
12103 | if (PyErr_Occurred()) SWIG_fail; | |
12104 | } | |
09c21d3b | 12105 | resultobj = result; |
d55e5bfc RD |
12106 | return resultobj; |
12107 | fail: | |
12108 | return NULL; | |
12109 | } | |
12110 | ||
12111 | ||
c32bde28 | 12112 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12113 | PyObject *resultobj; |
12114 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b RD |
12115 | unsigned long arg2 ; |
12116 | PyObject *result; | |
d55e5bfc RD |
12117 | PyObject * obj0 = 0 ; |
12118 | PyObject * obj1 = 0 ; | |
12119 | char *kwnames[] = { | |
12120 | (char *) "self",(char *) "cookie", NULL | |
12121 | }; | |
12122 | ||
12123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12124 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12125 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12126 | { | |
12127 | arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1)); | |
12128 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12129 | } | |
d55e5bfc RD |
12130 | { |
12131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 12132 | result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2); |
d55e5bfc RD |
12133 | |
12134 | wxPyEndAllowThreads(__tstate); | |
12135 | if (PyErr_Occurred()) SWIG_fail; | |
12136 | } | |
09c21d3b | 12137 | resultobj = result; |
d55e5bfc RD |
12138 | return resultobj; |
12139 | fail: | |
12140 | return NULL; | |
12141 | } | |
12142 | ||
12143 | ||
c32bde28 | 12144 | static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12145 | PyObject *resultobj; |
12146 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12147 | wxPoint result; | |
12148 | PyObject * obj0 = 0 ; | |
12149 | char *kwnames[] = { | |
12150 | (char *) "self", NULL | |
12151 | }; | |
12152 | ||
12153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12154 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12155 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12156 | { |
12157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12158 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
12159 | ||
12160 | wxPyEndAllowThreads(__tstate); | |
12161 | if (PyErr_Occurred()) SWIG_fail; | |
12162 | } | |
12163 | { | |
12164 | wxPoint * resultptr; | |
093d3ff1 | 12165 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
12166 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
12167 | } | |
12168 | return resultobj; | |
12169 | fail: | |
12170 | return NULL; | |
12171 | } | |
12172 | ||
12173 | ||
c32bde28 | 12174 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12175 | PyObject *resultobj; |
12176 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12177 | wxColour *result; | |
12178 | PyObject * obj0 = 0 ; | |
12179 | char *kwnames[] = { | |
12180 | (char *) "self", NULL | |
12181 | }; | |
12182 | ||
12183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12184 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12185 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12186 | { |
12187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12188 | { | |
12189 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
12190 | result = (wxColour *) &_result_ref; | |
12191 | } | |
12192 | ||
12193 | wxPyEndAllowThreads(__tstate); | |
12194 | if (PyErr_Occurred()) SWIG_fail; | |
12195 | } | |
12196 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); | |
12197 | return resultobj; | |
12198 | fail: | |
12199 | return NULL; | |
12200 | } | |
12201 | ||
12202 | ||
c32bde28 | 12203 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12204 | PyObject *resultobj; |
12205 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12206 | size_t arg2 ; | |
12207 | PyObject * obj0 = 0 ; | |
12208 | PyObject * obj1 = 0 ; | |
12209 | char *kwnames[] = { | |
12210 | (char *) "self",(char *) "count", NULL | |
12211 | }; | |
12212 | ||
12213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12214 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12215 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12216 | { | |
12217 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12218 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12219 | } | |
d55e5bfc RD |
12220 | { |
12221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12222 | (arg1)->SetItemCount(arg2); | |
12223 | ||
12224 | wxPyEndAllowThreads(__tstate); | |
12225 | if (PyErr_Occurred()) SWIG_fail; | |
12226 | } | |
12227 | Py_INCREF(Py_None); resultobj = Py_None; | |
12228 | return resultobj; | |
12229 | fail: | |
12230 | return NULL; | |
12231 | } | |
12232 | ||
12233 | ||
c32bde28 | 12234 | static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12235 | PyObject *resultobj; |
12236 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12237 | PyObject * obj0 = 0 ; | |
12238 | char *kwnames[] = { | |
12239 | (char *) "self", NULL | |
12240 | }; | |
12241 | ||
12242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12243 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12244 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12245 | { |
12246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12247 | (arg1)->Clear(); | |
12248 | ||
12249 | wxPyEndAllowThreads(__tstate); | |
12250 | if (PyErr_Occurred()) SWIG_fail; | |
12251 | } | |
12252 | Py_INCREF(Py_None); resultobj = Py_None; | |
12253 | return resultobj; | |
12254 | fail: | |
12255 | return NULL; | |
12256 | } | |
12257 | ||
12258 | ||
c32bde28 | 12259 | static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12260 | PyObject *resultobj; |
12261 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12262 | int arg2 ; | |
12263 | PyObject * obj0 = 0 ; | |
12264 | PyObject * obj1 = 0 ; | |
12265 | char *kwnames[] = { | |
12266 | (char *) "self",(char *) "selection", NULL | |
12267 | }; | |
12268 | ||
12269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12270 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12271 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12272 | { | |
12273 | arg2 = (int)(SWIG_As_int(obj1)); | |
12274 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12275 | } | |
d55e5bfc RD |
12276 | { |
12277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12278 | (arg1)->SetSelection(arg2); | |
12279 | ||
12280 | wxPyEndAllowThreads(__tstate); | |
12281 | if (PyErr_Occurred()) SWIG_fail; | |
12282 | } | |
12283 | Py_INCREF(Py_None); resultobj = Py_None; | |
12284 | return resultobj; | |
12285 | fail: | |
12286 | return NULL; | |
12287 | } | |
12288 | ||
12289 | ||
c32bde28 | 12290 | static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12291 | PyObject *resultobj; |
12292 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12293 | size_t arg2 ; | |
ae8162c8 | 12294 | bool arg3 = (bool) true ; |
d55e5bfc RD |
12295 | bool result; |
12296 | PyObject * obj0 = 0 ; | |
12297 | PyObject * obj1 = 0 ; | |
12298 | PyObject * obj2 = 0 ; | |
12299 | char *kwnames[] = { | |
12300 | (char *) "self",(char *) "item",(char *) "select", NULL | |
12301 | }; | |
12302 | ||
12303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
12304 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12305 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12306 | { | |
12307 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12308 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12309 | } | |
d55e5bfc | 12310 | if (obj2) { |
093d3ff1 RD |
12311 | { |
12312 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
12313 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12314 | } | |
d55e5bfc RD |
12315 | } |
12316 | { | |
12317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12318 | result = (bool)(arg1)->Select(arg2,arg3); | |
12319 | ||
12320 | wxPyEndAllowThreads(__tstate); | |
12321 | if (PyErr_Occurred()) SWIG_fail; | |
12322 | } | |
12323 | { | |
12324 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12325 | } | |
12326 | return resultobj; | |
12327 | fail: | |
12328 | return NULL; | |
12329 | } | |
12330 | ||
12331 | ||
c32bde28 | 12332 | static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12333 | PyObject *resultobj; |
12334 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12335 | size_t arg2 ; | |
12336 | size_t arg3 ; | |
12337 | bool result; | |
12338 | PyObject * obj0 = 0 ; | |
12339 | PyObject * obj1 = 0 ; | |
12340 | PyObject * obj2 = 0 ; | |
12341 | char *kwnames[] = { | |
12342 | (char *) "self",(char *) "from",(char *) "to", NULL | |
12343 | }; | |
12344 | ||
12345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
12346 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12347 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12348 | { | |
12349 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12350 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12351 | } | |
12352 | { | |
12353 | arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); | |
12354 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12355 | } | |
d55e5bfc RD |
12356 | { |
12357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12358 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
12359 | ||
12360 | wxPyEndAllowThreads(__tstate); | |
12361 | if (PyErr_Occurred()) SWIG_fail; | |
12362 | } | |
12363 | { | |
12364 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12365 | } | |
12366 | return resultobj; | |
12367 | fail: | |
12368 | return NULL; | |
12369 | } | |
12370 | ||
12371 | ||
c32bde28 | 12372 | static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12373 | PyObject *resultobj; |
12374 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12375 | size_t arg2 ; | |
12376 | PyObject * obj0 = 0 ; | |
12377 | PyObject * obj1 = 0 ; | |
12378 | char *kwnames[] = { | |
12379 | (char *) "self",(char *) "item", NULL | |
12380 | }; | |
12381 | ||
12382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12383 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12384 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12385 | { | |
12386 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12387 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12388 | } | |
d55e5bfc RD |
12389 | { |
12390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12391 | (arg1)->Toggle(arg2); | |
12392 | ||
12393 | wxPyEndAllowThreads(__tstate); | |
12394 | if (PyErr_Occurred()) SWIG_fail; | |
12395 | } | |
12396 | Py_INCREF(Py_None); resultobj = Py_None; | |
12397 | return resultobj; | |
12398 | fail: | |
12399 | return NULL; | |
12400 | } | |
12401 | ||
12402 | ||
c32bde28 | 12403 | static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12404 | PyObject *resultobj; |
12405 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12406 | bool result; | |
12407 | PyObject * obj0 = 0 ; | |
12408 | char *kwnames[] = { | |
12409 | (char *) "self", NULL | |
12410 | }; | |
12411 | ||
12412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12413 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12414 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12415 | { |
12416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12417 | result = (bool)(arg1)->SelectAll(); | |
12418 | ||
12419 | wxPyEndAllowThreads(__tstate); | |
12420 | if (PyErr_Occurred()) SWIG_fail; | |
12421 | } | |
12422 | { | |
12423 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12424 | } | |
12425 | return resultobj; | |
12426 | fail: | |
12427 | return NULL; | |
12428 | } | |
12429 | ||
12430 | ||
c32bde28 | 12431 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12432 | PyObject *resultobj; |
12433 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12434 | bool result; | |
12435 | PyObject * obj0 = 0 ; | |
12436 | char *kwnames[] = { | |
12437 | (char *) "self", NULL | |
12438 | }; | |
12439 | ||
12440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12441 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12442 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12443 | { |
12444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12445 | result = (bool)(arg1)->DeselectAll(); | |
12446 | ||
12447 | wxPyEndAllowThreads(__tstate); | |
12448 | if (PyErr_Occurred()) SWIG_fail; | |
12449 | } | |
12450 | { | |
12451 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12452 | } | |
12453 | return resultobj; | |
12454 | fail: | |
12455 | return NULL; | |
12456 | } | |
12457 | ||
12458 | ||
c32bde28 | 12459 | static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12460 | PyObject *resultobj; |
12461 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12462 | wxPoint *arg2 = 0 ; | |
12463 | wxPoint temp2 ; | |
12464 | PyObject * obj0 = 0 ; | |
12465 | PyObject * obj1 = 0 ; | |
12466 | char *kwnames[] = { | |
12467 | (char *) "self",(char *) "pt", NULL | |
12468 | }; | |
12469 | ||
12470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12471 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12472 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12473 | { |
12474 | arg2 = &temp2; | |
12475 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
12476 | } | |
12477 | { | |
12478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12479 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
12480 | ||
12481 | wxPyEndAllowThreads(__tstate); | |
12482 | if (PyErr_Occurred()) SWIG_fail; | |
12483 | } | |
12484 | Py_INCREF(Py_None); resultobj = Py_None; | |
12485 | return resultobj; | |
12486 | fail: | |
12487 | return NULL; | |
12488 | } | |
12489 | ||
12490 | ||
c32bde28 | 12491 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12492 | PyObject *resultobj; |
12493 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12494 | int arg2 ; | |
12495 | int arg3 ; | |
12496 | PyObject * obj0 = 0 ; | |
12497 | PyObject * obj1 = 0 ; | |
12498 | PyObject * obj2 = 0 ; | |
12499 | char *kwnames[] = { | |
12500 | (char *) "self",(char *) "x",(char *) "y", NULL | |
12501 | }; | |
12502 | ||
12503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
12504 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12505 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12506 | { | |
12507 | arg2 = (int)(SWIG_As_int(obj1)); | |
12508 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12509 | } | |
12510 | { | |
12511 | arg3 = (int)(SWIG_As_int(obj2)); | |
12512 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12513 | } | |
d55e5bfc RD |
12514 | { |
12515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12516 | (arg1)->SetMargins(arg2,arg3); | |
12517 | ||
12518 | wxPyEndAllowThreads(__tstate); | |
12519 | if (PyErr_Occurred()) SWIG_fail; | |
12520 | } | |
12521 | Py_INCREF(Py_None); resultobj = Py_None; | |
12522 | return resultobj; | |
12523 | fail: | |
12524 | return NULL; | |
12525 | } | |
12526 | ||
12527 | ||
c32bde28 | 12528 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12529 | PyObject *resultobj; |
12530 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12531 | wxColour *arg2 = 0 ; | |
12532 | wxColour temp2 ; | |
12533 | PyObject * obj0 = 0 ; | |
12534 | PyObject * obj1 = 0 ; | |
12535 | char *kwnames[] = { | |
12536 | (char *) "self",(char *) "col", NULL | |
12537 | }; | |
12538 | ||
12539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12540 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12541 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12542 | { |
12543 | arg2 = &temp2; | |
12544 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12545 | } | |
12546 | { | |
12547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12548 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
12549 | ||
12550 | wxPyEndAllowThreads(__tstate); | |
12551 | if (PyErr_Occurred()) SWIG_fail; | |
12552 | } | |
12553 | Py_INCREF(Py_None); resultobj = Py_None; | |
12554 | return resultobj; | |
12555 | fail: | |
12556 | return NULL; | |
12557 | } | |
12558 | ||
12559 | ||
c32bde28 | 12560 | static PyObject * VListBox_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
12561 | PyObject *obj; |
12562 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12563 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
12564 | Py_INCREF(obj); | |
12565 | return Py_BuildValue((char *)""); | |
12566 | } | |
c32bde28 | 12567 | static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12568 | PyObject *resultobj; |
12569 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12570 | int arg2 = (int) wxID_ANY ; | |
12571 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
12572 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
12573 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
12574 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
12575 | long arg5 = (long) 0 ; | |
12576 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
12577 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
12578 | wxPyHtmlListBox *result; | |
12579 | wxPoint temp3 ; | |
12580 | wxSize temp4 ; | |
ae8162c8 | 12581 | bool temp6 = false ; |
d55e5bfc RD |
12582 | PyObject * obj0 = 0 ; |
12583 | PyObject * obj1 = 0 ; | |
12584 | PyObject * obj2 = 0 ; | |
12585 | PyObject * obj3 = 0 ; | |
12586 | PyObject * obj4 = 0 ; | |
12587 | PyObject * obj5 = 0 ; | |
12588 | char *kwnames[] = { | |
12589 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12590 | }; | |
12591 | ||
12592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
12593 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
12594 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 12595 | if (obj1) { |
093d3ff1 RD |
12596 | { |
12597 | arg2 = (int)(SWIG_As_int(obj1)); | |
12598 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12599 | } | |
d55e5bfc RD |
12600 | } |
12601 | if (obj2) { | |
12602 | { | |
12603 | arg3 = &temp3; | |
12604 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
12605 | } | |
12606 | } | |
12607 | if (obj3) { | |
12608 | { | |
12609 | arg4 = &temp4; | |
12610 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
12611 | } | |
12612 | } | |
12613 | if (obj4) { | |
093d3ff1 RD |
12614 | { |
12615 | arg5 = (long)(SWIG_As_long(obj4)); | |
12616 | if (SWIG_arg_fail(5)) SWIG_fail; | |
12617 | } | |
d55e5bfc RD |
12618 | } |
12619 | if (obj5) { | |
12620 | { | |
12621 | arg6 = wxString_in_helper(obj5); | |
12622 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 12623 | temp6 = true; |
d55e5bfc RD |
12624 | } |
12625 | } | |
12626 | { | |
0439c23b | 12627 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
12628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12629 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
12630 | ||
12631 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12632 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
12633 | } |
12634 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); | |
12635 | { | |
12636 | if (temp6) | |
12637 | delete arg6; | |
12638 | } | |
12639 | return resultobj; | |
12640 | fail: | |
12641 | { | |
12642 | if (temp6) | |
12643 | delete arg6; | |
12644 | } | |
12645 | return NULL; | |
12646 | } | |
12647 | ||
12648 | ||
c32bde28 | 12649 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12650 | PyObject *resultobj; |
12651 | wxPyHtmlListBox *result; | |
12652 | char *kwnames[] = { | |
12653 | NULL | |
12654 | }; | |
12655 | ||
12656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
12657 | { | |
0439c23b | 12658 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
12659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12660 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
12661 | ||
12662 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12663 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
12664 | } |
12665 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); | |
12666 | return resultobj; | |
12667 | fail: | |
12668 | return NULL; | |
12669 | } | |
12670 | ||
12671 | ||
c32bde28 | 12672 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12673 | PyObject *resultobj; |
12674 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12675 | PyObject *arg2 = (PyObject *) 0 ; | |
12676 | PyObject *arg3 = (PyObject *) 0 ; | |
12677 | PyObject * obj0 = 0 ; | |
12678 | PyObject * obj1 = 0 ; | |
12679 | PyObject * obj2 = 0 ; | |
12680 | char *kwnames[] = { | |
12681 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
12682 | }; | |
12683 | ||
12684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
12685 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12686 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12687 | arg2 = obj1; |
12688 | arg3 = obj2; | |
12689 | { | |
12690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12691 | (arg1)->_setCallbackInfo(arg2,arg3); | |
12692 | ||
12693 | wxPyEndAllowThreads(__tstate); | |
12694 | if (PyErr_Occurred()) SWIG_fail; | |
12695 | } | |
12696 | Py_INCREF(Py_None); resultobj = Py_None; | |
12697 | return resultobj; | |
12698 | fail: | |
12699 | return NULL; | |
12700 | } | |
12701 | ||
12702 | ||
c32bde28 | 12703 | static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12704 | PyObject *resultobj; |
12705 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12706 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12707 | int arg3 = (int) wxID_ANY ; | |
12708 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
12709 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
12710 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
12711 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
12712 | long arg6 = (long) 0 ; | |
12713 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
12714 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
12715 | bool result; | |
12716 | wxPoint temp4 ; | |
12717 | wxSize temp5 ; | |
ae8162c8 | 12718 | bool temp7 = false ; |
d55e5bfc RD |
12719 | PyObject * obj0 = 0 ; |
12720 | PyObject * obj1 = 0 ; | |
12721 | PyObject * obj2 = 0 ; | |
12722 | PyObject * obj3 = 0 ; | |
12723 | PyObject * obj4 = 0 ; | |
12724 | PyObject * obj5 = 0 ; | |
12725 | PyObject * obj6 = 0 ; | |
12726 | char *kwnames[] = { | |
12727 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12728 | }; | |
12729 | ||
12730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
093d3ff1 RD |
12731 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12732 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12733 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
12734 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 12735 | if (obj2) { |
093d3ff1 RD |
12736 | { |
12737 | arg3 = (int)(SWIG_As_int(obj2)); | |
12738 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12739 | } | |
d55e5bfc RD |
12740 | } |
12741 | if (obj3) { | |
12742 | { | |
12743 | arg4 = &temp4; | |
12744 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
12745 | } | |
12746 | } | |
12747 | if (obj4) { | |
12748 | { | |
12749 | arg5 = &temp5; | |
12750 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
12751 | } | |
12752 | } | |
12753 | if (obj5) { | |
093d3ff1 RD |
12754 | { |
12755 | arg6 = (long)(SWIG_As_long(obj5)); | |
12756 | if (SWIG_arg_fail(6)) SWIG_fail; | |
12757 | } | |
d55e5bfc RD |
12758 | } |
12759 | if (obj6) { | |
12760 | { | |
12761 | arg7 = wxString_in_helper(obj6); | |
12762 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 12763 | temp7 = true; |
d55e5bfc RD |
12764 | } |
12765 | } | |
12766 | { | |
12767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12768 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
12769 | ||
12770 | wxPyEndAllowThreads(__tstate); | |
12771 | if (PyErr_Occurred()) SWIG_fail; | |
12772 | } | |
12773 | { | |
12774 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12775 | } | |
12776 | { | |
12777 | if (temp7) | |
12778 | delete arg7; | |
12779 | } | |
12780 | return resultobj; | |
12781 | fail: | |
12782 | { | |
12783 | if (temp7) | |
12784 | delete arg7; | |
12785 | } | |
12786 | return NULL; | |
12787 | } | |
12788 | ||
12789 | ||
c32bde28 | 12790 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12791 | PyObject *resultobj; |
12792 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12793 | PyObject * obj0 = 0 ; | |
12794 | char *kwnames[] = { | |
12795 | (char *) "self", NULL | |
12796 | }; | |
12797 | ||
12798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12799 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12800 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12801 | { |
12802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12803 | (arg1)->RefreshAll(); | |
12804 | ||
12805 | wxPyEndAllowThreads(__tstate); | |
12806 | if (PyErr_Occurred()) SWIG_fail; | |
12807 | } | |
12808 | Py_INCREF(Py_None); resultobj = Py_None; | |
12809 | return resultobj; | |
12810 | fail: | |
12811 | return NULL; | |
12812 | } | |
12813 | ||
12814 | ||
c32bde28 | 12815 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12816 | PyObject *resultobj; |
12817 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12818 | size_t arg2 ; | |
12819 | PyObject * obj0 = 0 ; | |
12820 | PyObject * obj1 = 0 ; | |
12821 | char *kwnames[] = { | |
12822 | (char *) "self",(char *) "count", NULL | |
12823 | }; | |
12824 | ||
12825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
12826 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12827 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12828 | { | |
12829 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12830 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12831 | } | |
d55e5bfc RD |
12832 | { |
12833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12834 | (arg1)->SetItemCount(arg2); | |
12835 | ||
12836 | wxPyEndAllowThreads(__tstate); | |
12837 | if (PyErr_Occurred()) SWIG_fail; | |
12838 | } | |
12839 | Py_INCREF(Py_None); resultobj = Py_None; | |
12840 | return resultobj; | |
12841 | fail: | |
12842 | return NULL; | |
12843 | } | |
12844 | ||
12845 | ||
c32bde28 | 12846 | static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) { |
c24da6d6 RD |
12847 | PyObject *resultobj; |
12848 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12849 | wxFileSystem *result; | |
12850 | PyObject * obj0 = 0 ; | |
12851 | char *kwnames[] = { | |
12852 | (char *) "self", NULL | |
12853 | }; | |
12854 | ||
12855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12856 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12857 | if (SWIG_arg_fail(1)) SWIG_fail; | |
c24da6d6 RD |
12858 | { |
12859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12860 | { | |
12861 | wxFileSystem &_result_ref = (arg1)->GetFileSystem(); | |
12862 | result = (wxFileSystem *) &_result_ref; | |
12863 | } | |
12864 | ||
12865 | wxPyEndAllowThreads(__tstate); | |
12866 | if (PyErr_Occurred()) SWIG_fail; | |
12867 | } | |
12868 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0); | |
12869 | return resultobj; | |
12870 | fail: | |
12871 | return NULL; | |
12872 | } | |
12873 | ||
12874 | ||
c32bde28 | 12875 | static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
12876 | PyObject *obj; |
12877 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12878 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
12879 | Py_INCREF(obj); | |
12880 | return Py_BuildValue((char *)""); | |
12881 | } | |
c32bde28 | 12882 | static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 12883 | PyObject *resultobj; |
5e483524 | 12884 | wxPyTaskBarIcon *result; |
d55e5bfc RD |
12885 | char *kwnames[] = { |
12886 | NULL | |
12887 | }; | |
12888 | ||
12889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
12890 | { | |
0439c23b | 12891 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc | 12892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5e483524 | 12893 | result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon(); |
d55e5bfc RD |
12894 | |
12895 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12896 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 12897 | } |
5e483524 | 12898 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1); |
d55e5bfc RD |
12899 | return resultobj; |
12900 | fail: | |
12901 | return NULL; | |
12902 | } | |
12903 | ||
12904 | ||
5e483524 | 12905 | static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 12906 | PyObject *resultobj; |
5e483524 RD |
12907 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
12908 | PyObject *arg2 = (PyObject *) 0 ; | |
12909 | PyObject *arg3 = (PyObject *) 0 ; | |
12910 | int arg4 ; | |
d55e5bfc | 12911 | PyObject * obj0 = 0 ; |
5e483524 RD |
12912 | PyObject * obj1 = 0 ; |
12913 | PyObject * obj2 = 0 ; | |
12914 | PyObject * obj3 = 0 ; | |
d55e5bfc | 12915 | char *kwnames[] = { |
5e483524 | 12916 | (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL |
d55e5bfc RD |
12917 | }; |
12918 | ||
5e483524 | 12919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
12920 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12921 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5e483524 RD |
12922 | arg2 = obj1; |
12923 | arg3 = obj2; | |
093d3ff1 RD |
12924 | { |
12925 | arg4 = (int)(SWIG_As_int(obj3)); | |
12926 | if (SWIG_arg_fail(4)) SWIG_fail; | |
12927 | } | |
d55e5bfc RD |
12928 | { |
12929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 12930 | (arg1)->_setCallbackInfo(arg2,arg3,arg4); |
d55e5bfc RD |
12931 | |
12932 | wxPyEndAllowThreads(__tstate); | |
12933 | if (PyErr_Occurred()) SWIG_fail; | |
12934 | } | |
12935 | Py_INCREF(Py_None); resultobj = Py_None; | |
12936 | return resultobj; | |
12937 | fail: | |
12938 | return NULL; | |
12939 | } | |
12940 | ||
12941 | ||
c32bde28 | 12942 | static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 12943 | PyObject *resultobj; |
5e483524 | 12944 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d55e5bfc RD |
12945 | PyObject * obj0 = 0 ; |
12946 | char *kwnames[] = { | |
12947 | (char *) "self", NULL | |
12948 | }; | |
12949 | ||
12950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12951 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12952 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12953 | { |
12954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 12955 | wxPyTaskBarIcon_Destroy(arg1); |
d55e5bfc RD |
12956 | |
12957 | wxPyEndAllowThreads(__tstate); | |
12958 | if (PyErr_Occurred()) SWIG_fail; | |
12959 | } | |
12960 | Py_INCREF(Py_None); resultobj = Py_None; | |
12961 | return resultobj; | |
12962 | fail: | |
12963 | return NULL; | |
12964 | } | |
12965 | ||
12966 | ||
c32bde28 | 12967 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 12968 | PyObject *resultobj; |
5e483524 | 12969 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d55e5bfc RD |
12970 | bool result; |
12971 | PyObject * obj0 = 0 ; | |
12972 | char *kwnames[] = { | |
12973 | (char *) "self", NULL | |
12974 | }; | |
12975 | ||
12976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
12977 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12978 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12979 | { |
12980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 12981 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk(); |
d55e5bfc RD |
12982 | |
12983 | wxPyEndAllowThreads(__tstate); | |
12984 | if (PyErr_Occurred()) SWIG_fail; | |
12985 | } | |
12986 | { | |
12987 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12988 | } | |
12989 | return resultobj; | |
12990 | fail: | |
12991 | return NULL; | |
12992 | } | |
12993 | ||
12994 | ||
c32bde28 | 12995 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 12996 | PyObject *resultobj; |
5e483524 | 12997 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d55e5bfc RD |
12998 | bool result; |
12999 | PyObject * obj0 = 0 ; | |
13000 | char *kwnames[] = { | |
13001 | (char *) "self", NULL | |
13002 | }; | |
13003 | ||
13004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13005 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13006 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13007 | { |
13008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 13009 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled(); |
d55e5bfc RD |
13010 | |
13011 | wxPyEndAllowThreads(__tstate); | |
13012 | if (PyErr_Occurred()) SWIG_fail; | |
13013 | } | |
13014 | { | |
13015 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13016 | } | |
13017 | return resultobj; | |
13018 | fail: | |
13019 | return NULL; | |
13020 | } | |
13021 | ||
13022 | ||
c32bde28 | 13023 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 13024 | PyObject *resultobj; |
5e483524 | 13025 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d55e5bfc RD |
13026 | wxIcon *arg2 = 0 ; |
13027 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13028 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13029 | bool result; | |
ae8162c8 | 13030 | bool temp3 = false ; |
d55e5bfc RD |
13031 | PyObject * obj0 = 0 ; |
13032 | PyObject * obj1 = 0 ; | |
13033 | PyObject * obj2 = 0 ; | |
13034 | char *kwnames[] = { | |
13035 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
13036 | }; | |
13037 | ||
13038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
13039 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13040 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13041 | { | |
13042 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); | |
13043 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13044 | if (arg2 == NULL) { | |
13045 | SWIG_null_ref("wxIcon"); | |
13046 | } | |
13047 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
13048 | } |
13049 | if (obj2) { | |
13050 | { | |
13051 | arg3 = wxString_in_helper(obj2); | |
13052 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 13053 | temp3 = true; |
d55e5bfc RD |
13054 | } |
13055 | } | |
13056 | { | |
13057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13058 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
13059 | ||
13060 | wxPyEndAllowThreads(__tstate); | |
13061 | if (PyErr_Occurred()) SWIG_fail; | |
13062 | } | |
13063 | { | |
13064 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13065 | } | |
13066 | { | |
13067 | if (temp3) | |
13068 | delete arg3; | |
13069 | } | |
13070 | return resultobj; | |
13071 | fail: | |
13072 | { | |
13073 | if (temp3) | |
13074 | delete arg3; | |
13075 | } | |
13076 | return NULL; | |
13077 | } | |
13078 | ||
13079 | ||
c32bde28 | 13080 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 13081 | PyObject *resultobj; |
5e483524 | 13082 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d55e5bfc RD |
13083 | bool result; |
13084 | PyObject * obj0 = 0 ; | |
13085 | char *kwnames[] = { | |
13086 | (char *) "self", NULL | |
13087 | }; | |
13088 | ||
13089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13090 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13091 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13092 | { |
13093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13094 | result = (bool)(arg1)->RemoveIcon(); | |
13095 | ||
13096 | wxPyEndAllowThreads(__tstate); | |
13097 | if (PyErr_Occurred()) SWIG_fail; | |
13098 | } | |
13099 | { | |
13100 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13101 | } | |
13102 | return resultobj; | |
13103 | fail: | |
13104 | return NULL; | |
13105 | } | |
13106 | ||
13107 | ||
c32bde28 | 13108 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 13109 | PyObject *resultobj; |
5e483524 | 13110 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d55e5bfc RD |
13111 | wxMenu *arg2 = (wxMenu *) 0 ; |
13112 | bool result; | |
13113 | PyObject * obj0 = 0 ; | |
13114 | PyObject * obj1 = 0 ; | |
13115 | char *kwnames[] = { | |
13116 | (char *) "self",(char *) "menu", NULL | |
13117 | }; | |
13118 | ||
13119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
13120 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13121 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13122 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); | |
13123 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
13124 | { |
13125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13126 | result = (bool)(arg1)->PopupMenu(arg2); | |
13127 | ||
13128 | wxPyEndAllowThreads(__tstate); | |
13129 | if (PyErr_Occurred()) SWIG_fail; | |
13130 | } | |
13131 | { | |
13132 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13133 | } | |
13134 | return resultobj; | |
13135 | fail: | |
13136 | return NULL; | |
13137 | } | |
13138 | ||
13139 | ||
c32bde28 | 13140 | static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13141 | PyObject *obj; |
13142 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5e483524 | 13143 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj); |
d55e5bfc RD |
13144 | Py_INCREF(obj); |
13145 | return Py_BuildValue((char *)""); | |
13146 | } | |
c32bde28 | 13147 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13148 | PyObject *resultobj; |
13149 | wxEventType arg1 ; | |
13150 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
13151 | wxTaskBarIconEvent *result; | |
13152 | PyObject * obj0 = 0 ; | |
13153 | PyObject * obj1 = 0 ; | |
13154 | char *kwnames[] = { | |
13155 | (char *) "evtType",(char *) "tbIcon", NULL | |
13156 | }; | |
13157 | ||
13158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
13159 | { |
13160 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
13161 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13162 | } | |
13163 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); | |
13164 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
13165 | { |
13166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13167 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
13168 | ||
13169 | wxPyEndAllowThreads(__tstate); | |
13170 | if (PyErr_Occurred()) SWIG_fail; | |
13171 | } | |
13172 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); | |
13173 | return resultobj; | |
13174 | fail: | |
13175 | return NULL; | |
13176 | } | |
13177 | ||
13178 | ||
c32bde28 | 13179 | static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13180 | PyObject *obj; |
13181 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13182 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
13183 | Py_INCREF(obj); | |
13184 | return Py_BuildValue((char *)""); | |
13185 | } | |
c32bde28 | 13186 | static int _wrap_FileSelectorPromptStr_set(PyObject *) { |
d55e5bfc RD |
13187 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); |
13188 | return 1; | |
13189 | } | |
13190 | ||
13191 | ||
093d3ff1 | 13192 | static PyObject *_wrap_FileSelectorPromptStr_get(void) { |
d55e5bfc RD |
13193 | PyObject *pyobj; |
13194 | ||
13195 | { | |
13196 | #if wxUSE_UNICODE | |
13197 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
13198 | #else | |
13199 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
13200 | #endif | |
13201 | } | |
13202 | return pyobj; | |
13203 | } | |
13204 | ||
13205 | ||
c32bde28 | 13206 | static int _wrap_DirSelectorPromptStr_set(PyObject *) { |
d55e5bfc RD |
13207 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); |
13208 | return 1; | |
13209 | } | |
13210 | ||
13211 | ||
093d3ff1 | 13212 | static PyObject *_wrap_DirSelectorPromptStr_get(void) { |
d55e5bfc RD |
13213 | PyObject *pyobj; |
13214 | ||
13215 | { | |
13216 | #if wxUSE_UNICODE | |
13217 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
13218 | #else | |
13219 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
13220 | #endif | |
13221 | } | |
13222 | return pyobj; | |
13223 | } | |
13224 | ||
13225 | ||
c32bde28 | 13226 | static int _wrap_DirDialogNameStr_set(PyObject *) { |
d55e5bfc RD |
13227 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); |
13228 | return 1; | |
13229 | } | |
13230 | ||
13231 | ||
093d3ff1 | 13232 | static PyObject *_wrap_DirDialogNameStr_get(void) { |
d55e5bfc RD |
13233 | PyObject *pyobj; |
13234 | ||
13235 | { | |
13236 | #if wxUSE_UNICODE | |
13237 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
13238 | #else | |
13239 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
13240 | #endif | |
13241 | } | |
13242 | return pyobj; | |
13243 | } | |
13244 | ||
13245 | ||
c32bde28 | 13246 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { |
d55e5bfc RD |
13247 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); |
13248 | return 1; | |
13249 | } | |
13250 | ||
13251 | ||
093d3ff1 | 13252 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) { |
d55e5bfc RD |
13253 | PyObject *pyobj; |
13254 | ||
13255 | { | |
13256 | #if wxUSE_UNICODE | |
13257 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
13258 | #else | |
13259 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
13260 | #endif | |
13261 | } | |
13262 | return pyobj; | |
13263 | } | |
13264 | ||
13265 | ||
c32bde28 | 13266 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *) { |
d55e5bfc RD |
13267 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); |
13268 | return 1; | |
13269 | } | |
13270 | ||
13271 | ||
093d3ff1 | 13272 | static PyObject *_wrap_GetTextFromUserPromptStr_get(void) { |
d55e5bfc RD |
13273 | PyObject *pyobj; |
13274 | ||
13275 | { | |
13276 | #if wxUSE_UNICODE | |
13277 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
13278 | #else | |
13279 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
13280 | #endif | |
13281 | } | |
13282 | return pyobj; | |
13283 | } | |
13284 | ||
13285 | ||
c32bde28 | 13286 | static int _wrap_MessageBoxCaptionStr_set(PyObject *) { |
d55e5bfc RD |
13287 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); |
13288 | return 1; | |
13289 | } | |
13290 | ||
13291 | ||
093d3ff1 | 13292 | static PyObject *_wrap_MessageBoxCaptionStr_get(void) { |
d55e5bfc RD |
13293 | PyObject *pyobj; |
13294 | ||
13295 | { | |
13296 | #if wxUSE_UNICODE | |
13297 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
13298 | #else | |
13299 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
13300 | #endif | |
13301 | } | |
13302 | return pyobj; | |
13303 | } | |
13304 | ||
13305 | ||
c32bde28 | 13306 | static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13307 | PyObject *resultobj; |
13308 | wxColourData *result; | |
13309 | char *kwnames[] = { | |
13310 | NULL | |
13311 | }; | |
13312 | ||
13313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
13314 | { | |
13315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13316 | result = (wxColourData *)new wxColourData(); | |
13317 | ||
13318 | wxPyEndAllowThreads(__tstate); | |
13319 | if (PyErr_Occurred()) SWIG_fail; | |
13320 | } | |
13321 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); | |
13322 | return resultobj; | |
13323 | fail: | |
13324 | return NULL; | |
13325 | } | |
13326 | ||
13327 | ||
c32bde28 | 13328 | static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13329 | PyObject *resultobj; |
13330 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13331 | PyObject * obj0 = 0 ; | |
13332 | char *kwnames[] = { | |
13333 | (char *) "self", NULL | |
13334 | }; | |
13335 | ||
13336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13337 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13338 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13339 | { |
13340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13341 | delete arg1; | |
13342 | ||
13343 | wxPyEndAllowThreads(__tstate); | |
13344 | if (PyErr_Occurred()) SWIG_fail; | |
13345 | } | |
13346 | Py_INCREF(Py_None); resultobj = Py_None; | |
13347 | return resultobj; | |
13348 | fail: | |
13349 | return NULL; | |
13350 | } | |
13351 | ||
13352 | ||
c32bde28 | 13353 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13354 | PyObject *resultobj; |
13355 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13356 | bool result; | |
13357 | PyObject * obj0 = 0 ; | |
13358 | char *kwnames[] = { | |
13359 | (char *) "self", NULL | |
13360 | }; | |
13361 | ||
13362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13363 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13364 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13365 | { |
13366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13367 | result = (bool)(arg1)->GetChooseFull(); | |
13368 | ||
13369 | wxPyEndAllowThreads(__tstate); | |
13370 | if (PyErr_Occurred()) SWIG_fail; | |
13371 | } | |
13372 | { | |
13373 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13374 | } | |
13375 | return resultobj; | |
13376 | fail: | |
13377 | return NULL; | |
13378 | } | |
13379 | ||
13380 | ||
c32bde28 | 13381 | static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13382 | PyObject *resultobj; |
13383 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13384 | wxColour result; | |
13385 | PyObject * obj0 = 0 ; | |
13386 | char *kwnames[] = { | |
13387 | (char *) "self", NULL | |
13388 | }; | |
13389 | ||
13390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13391 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13392 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13393 | { |
13394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13395 | result = (arg1)->GetColour(); | |
13396 | ||
13397 | wxPyEndAllowThreads(__tstate); | |
13398 | if (PyErr_Occurred()) SWIG_fail; | |
13399 | } | |
13400 | { | |
13401 | wxColour * resultptr; | |
093d3ff1 | 13402 | resultptr = new wxColour((wxColour &)(result)); |
d55e5bfc RD |
13403 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
13404 | } | |
13405 | return resultobj; | |
13406 | fail: | |
13407 | return NULL; | |
13408 | } | |
13409 | ||
13410 | ||
c32bde28 | 13411 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13412 | PyObject *resultobj; |
13413 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13414 | int arg2 ; | |
13415 | wxColour result; | |
13416 | PyObject * obj0 = 0 ; | |
13417 | PyObject * obj1 = 0 ; | |
13418 | char *kwnames[] = { | |
13419 | (char *) "self",(char *) "i", NULL | |
13420 | }; | |
13421 | ||
13422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
13423 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13424 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13425 | { | |
13426 | arg2 = (int)(SWIG_As_int(obj1)); | |
13427 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13428 | } | |
d55e5bfc RD |
13429 | { |
13430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13431 | result = (arg1)->GetCustomColour(arg2); | |
13432 | ||
13433 | wxPyEndAllowThreads(__tstate); | |
13434 | if (PyErr_Occurred()) SWIG_fail; | |
13435 | } | |
13436 | { | |
13437 | wxColour * resultptr; | |
093d3ff1 | 13438 | resultptr = new wxColour((wxColour &)(result)); |
d55e5bfc RD |
13439 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
13440 | } | |
13441 | return resultobj; | |
13442 | fail: | |
13443 | return NULL; | |
13444 | } | |
13445 | ||
13446 | ||
c32bde28 | 13447 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13448 | PyObject *resultobj; |
13449 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13450 | int arg2 ; | |
13451 | PyObject * obj0 = 0 ; | |
13452 | PyObject * obj1 = 0 ; | |
13453 | char *kwnames[] = { | |
13454 | (char *) "self",(char *) "flag", NULL | |
13455 | }; | |
13456 | ||
13457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
13458 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13459 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13460 | { | |
13461 | arg2 = (int)(SWIG_As_int(obj1)); | |
13462 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13463 | } | |
d55e5bfc RD |
13464 | { |
13465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13466 | (arg1)->SetChooseFull(arg2); | |
13467 | ||
13468 | wxPyEndAllowThreads(__tstate); | |
13469 | if (PyErr_Occurred()) SWIG_fail; | |
13470 | } | |
13471 | Py_INCREF(Py_None); resultobj = Py_None; | |
13472 | return resultobj; | |
13473 | fail: | |
13474 | return NULL; | |
13475 | } | |
13476 | ||
13477 | ||
c32bde28 | 13478 | static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13479 | PyObject *resultobj; |
13480 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13481 | wxColour *arg2 = 0 ; | |
13482 | wxColour temp2 ; | |
13483 | PyObject * obj0 = 0 ; | |
13484 | PyObject * obj1 = 0 ; | |
13485 | char *kwnames[] = { | |
13486 | (char *) "self",(char *) "colour", NULL | |
13487 | }; | |
13488 | ||
13489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
13490 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13491 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13492 | { |
13493 | arg2 = &temp2; | |
13494 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
13495 | } | |
13496 | { | |
13497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13498 | (arg1)->SetColour((wxColour const &)*arg2); | |
13499 | ||
13500 | wxPyEndAllowThreads(__tstate); | |
13501 | if (PyErr_Occurred()) SWIG_fail; | |
13502 | } | |
13503 | Py_INCREF(Py_None); resultobj = Py_None; | |
13504 | return resultobj; | |
13505 | fail: | |
13506 | return NULL; | |
13507 | } | |
13508 | ||
13509 | ||
c32bde28 | 13510 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13511 | PyObject *resultobj; |
13512 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13513 | int arg2 ; | |
13514 | wxColour *arg3 = 0 ; | |
13515 | wxColour temp3 ; | |
13516 | PyObject * obj0 = 0 ; | |
13517 | PyObject * obj1 = 0 ; | |
13518 | PyObject * obj2 = 0 ; | |
13519 | char *kwnames[] = { | |
13520 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
13521 | }; | |
13522 | ||
13523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
13524 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13525 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13526 | { | |
13527 | arg2 = (int)(SWIG_As_int(obj1)); | |
13528 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13529 | } | |
d55e5bfc RD |
13530 | { |
13531 | arg3 = &temp3; | |
13532 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
13533 | } | |
13534 | { | |
13535 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13536 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
13537 | ||
13538 | wxPyEndAllowThreads(__tstate); | |
13539 | if (PyErr_Occurred()) SWIG_fail; | |
13540 | } | |
13541 | Py_INCREF(Py_None); resultobj = Py_None; | |
13542 | return resultobj; | |
13543 | fail: | |
13544 | return NULL; | |
13545 | } | |
13546 | ||
13547 | ||
c32bde28 | 13548 | static PyObject * ColourData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13549 | PyObject *obj; |
13550 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13551 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
13552 | Py_INCREF(obj); | |
13553 | return Py_BuildValue((char *)""); | |
13554 | } | |
c32bde28 | 13555 | static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13556 | PyObject *resultobj; |
13557 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13558 | wxColourData *arg2 = (wxColourData *) NULL ; | |
13559 | wxColourDialog *result; | |
13560 | PyObject * obj0 = 0 ; | |
13561 | PyObject * obj1 = 0 ; | |
13562 | char *kwnames[] = { | |
13563 | (char *) "parent",(char *) "data", NULL | |
13564 | }; | |
13565 | ||
13566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
13567 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
13568 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 13569 | if (obj1) { |
093d3ff1 RD |
13570 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13571 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
13572 | } |
13573 | { | |
0439c23b | 13574 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13576 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
13577 | ||
13578 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13579 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13580 | } |
13581 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); | |
13582 | return resultobj; | |
13583 | fail: | |
13584 | return NULL; | |
13585 | } | |
13586 | ||
13587 | ||
c32bde28 | 13588 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13589 | PyObject *resultobj; |
13590 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
13591 | wxColourData *result; | |
13592 | PyObject * obj0 = 0 ; | |
13593 | char *kwnames[] = { | |
13594 | (char *) "self", NULL | |
13595 | }; | |
13596 | ||
13597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13598 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0); |
13599 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13600 | { |
13601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13602 | { | |
13603 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
13604 | result = (wxColourData *) &_result_ref; | |
13605 | } | |
13606 | ||
13607 | wxPyEndAllowThreads(__tstate); | |
13608 | if (PyErr_Occurred()) SWIG_fail; | |
13609 | } | |
13610 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); | |
13611 | return resultobj; | |
13612 | fail: | |
13613 | return NULL; | |
13614 | } | |
13615 | ||
13616 | ||
c32bde28 | 13617 | static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13618 | PyObject *obj; |
13619 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13620 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
13621 | Py_INCREF(obj); | |
13622 | return Py_BuildValue((char *)""); | |
13623 | } | |
c32bde28 | 13624 | static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13625 | PyObject *resultobj; |
13626 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13627 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
13628 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
13629 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13630 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13631 | long arg4 = (long) 0 ; | |
13632 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13633 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13634 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
13635 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
13636 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
13637 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
13638 | wxDirDialog *result; | |
ae8162c8 RD |
13639 | bool temp2 = false ; |
13640 | bool temp3 = false ; | |
d55e5bfc RD |
13641 | wxPoint temp5 ; |
13642 | wxSize temp6 ; | |
ae8162c8 | 13643 | bool temp7 = false ; |
d55e5bfc RD |
13644 | PyObject * obj0 = 0 ; |
13645 | PyObject * obj1 = 0 ; | |
13646 | PyObject * obj2 = 0 ; | |
13647 | PyObject * obj3 = 0 ; | |
13648 | PyObject * obj4 = 0 ; | |
13649 | PyObject * obj5 = 0 ; | |
13650 | PyObject * obj6 = 0 ; | |
13651 | char *kwnames[] = { | |
13652 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
13653 | }; | |
13654 | ||
13655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
093d3ff1 RD |
13656 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
13657 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13658 | if (obj1) { |
13659 | { | |
13660 | arg2 = wxString_in_helper(obj1); | |
13661 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 13662 | temp2 = true; |
d55e5bfc RD |
13663 | } |
13664 | } | |
13665 | if (obj2) { | |
13666 | { | |
13667 | arg3 = wxString_in_helper(obj2); | |
13668 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 13669 | temp3 = true; |
d55e5bfc RD |
13670 | } |
13671 | } | |
13672 | if (obj3) { | |
093d3ff1 RD |
13673 | { |
13674 | arg4 = (long)(SWIG_As_long(obj3)); | |
13675 | if (SWIG_arg_fail(4)) SWIG_fail; | |
13676 | } | |
d55e5bfc RD |
13677 | } |
13678 | if (obj4) { | |
13679 | { | |
13680 | arg5 = &temp5; | |
13681 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13682 | } | |
13683 | } | |
13684 | if (obj5) { | |
13685 | { | |
13686 | arg6 = &temp6; | |
13687 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
13688 | } | |
13689 | } | |
13690 | if (obj6) { | |
13691 | { | |
13692 | arg7 = wxString_in_helper(obj6); | |
13693 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 13694 | temp7 = true; |
d55e5bfc RD |
13695 | } |
13696 | } | |
13697 | { | |
0439c23b | 13698 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13700 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
13701 | ||
13702 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13703 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13704 | } |
13705 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); | |
13706 | { | |
13707 | if (temp2) | |
13708 | delete arg2; | |
13709 | } | |
13710 | { | |
13711 | if (temp3) | |
13712 | delete arg3; | |
13713 | } | |
13714 | { | |
13715 | if (temp7) | |
13716 | delete arg7; | |
13717 | } | |
13718 | return resultobj; | |
13719 | fail: | |
13720 | { | |
13721 | if (temp2) | |
13722 | delete arg2; | |
13723 | } | |
13724 | { | |
13725 | if (temp3) | |
13726 | delete arg3; | |
13727 | } | |
13728 | { | |
13729 | if (temp7) | |
13730 | delete arg7; | |
13731 | } | |
13732 | return NULL; | |
13733 | } | |
13734 | ||
13735 | ||
c32bde28 | 13736 | static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13737 | PyObject *resultobj; |
13738 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13739 | wxString result; | |
13740 | PyObject * obj0 = 0 ; | |
13741 | char *kwnames[] = { | |
13742 | (char *) "self", NULL | |
13743 | }; | |
13744 | ||
13745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13746 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13747 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13748 | { |
13749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13750 | result = (arg1)->GetPath(); | |
13751 | ||
13752 | wxPyEndAllowThreads(__tstate); | |
13753 | if (PyErr_Occurred()) SWIG_fail; | |
13754 | } | |
13755 | { | |
13756 | #if wxUSE_UNICODE | |
13757 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13758 | #else | |
13759 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13760 | #endif | |
13761 | } | |
13762 | return resultobj; | |
13763 | fail: | |
13764 | return NULL; | |
13765 | } | |
13766 | ||
13767 | ||
c32bde28 | 13768 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13769 | PyObject *resultobj; |
13770 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13771 | wxString result; | |
13772 | PyObject * obj0 = 0 ; | |
13773 | char *kwnames[] = { | |
13774 | (char *) "self", NULL | |
13775 | }; | |
13776 | ||
13777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13778 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13779 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13780 | { |
13781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13782 | result = (arg1)->GetMessage(); | |
13783 | ||
13784 | wxPyEndAllowThreads(__tstate); | |
13785 | if (PyErr_Occurred()) SWIG_fail; | |
13786 | } | |
13787 | { | |
13788 | #if wxUSE_UNICODE | |
13789 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13790 | #else | |
13791 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13792 | #endif | |
13793 | } | |
13794 | return resultobj; | |
13795 | fail: | |
13796 | return NULL; | |
13797 | } | |
13798 | ||
13799 | ||
c32bde28 | 13800 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13801 | PyObject *resultobj; |
13802 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13803 | long result; | |
13804 | PyObject * obj0 = 0 ; | |
13805 | char *kwnames[] = { | |
13806 | (char *) "self", NULL | |
13807 | }; | |
13808 | ||
13809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
13810 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13811 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13812 | { |
13813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13814 | result = (long)(arg1)->GetStyle(); | |
13815 | ||
13816 | wxPyEndAllowThreads(__tstate); | |
13817 | if (PyErr_Occurred()) SWIG_fail; | |
13818 | } | |
093d3ff1 RD |
13819 | { |
13820 | resultobj = SWIG_From_long((long)(result)); | |
13821 | } | |
d55e5bfc RD |
13822 | return resultobj; |
13823 | fail: | |
13824 | return NULL; | |
13825 | } | |
13826 | ||
13827 | ||
c32bde28 | 13828 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13829 | PyObject *resultobj; |
13830 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13831 | wxString *arg2 = 0 ; | |
ae8162c8 | 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:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
13840 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, 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; | |
ae8162c8 | 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 | ||
c32bde28 | 13869 | static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13870 | PyObject *resultobj; |
13871 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13872 | wxString *arg2 = 0 ; | |
ae8162c8 | 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:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
13881 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, 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; | |
ae8162c8 | 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 | ||
c32bde28 | 13910 | static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13911 | PyObject *obj; |
13912 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13913 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
13914 | Py_INCREF(obj); | |
13915 | return Py_BuildValue((char *)""); | |
13916 | } | |
c32bde28 | 13917 | static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13918 | PyObject *resultobj; |
13919 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13920 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
13921 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
13922 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13923 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13924 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
13925 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
13926 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
13927 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
13928 | long arg6 = (long) 0 ; | |
13929 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
13930 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
13931 | wxFileDialog *result; | |
ae8162c8 RD |
13932 | bool temp2 = false ; |
13933 | bool temp3 = false ; | |
13934 | bool temp4 = false ; | |
13935 | bool temp5 = false ; | |
d55e5bfc RD |
13936 | wxPoint temp7 ; |
13937 | PyObject * obj0 = 0 ; | |
13938 | PyObject * obj1 = 0 ; | |
13939 | PyObject * obj2 = 0 ; | |
13940 | PyObject * obj3 = 0 ; | |
13941 | PyObject * obj4 = 0 ; | |
13942 | PyObject * obj5 = 0 ; | |
13943 | PyObject * obj6 = 0 ; | |
13944 | char *kwnames[] = { | |
13945 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
13946 | }; | |
13947 | ||
13948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
093d3ff1 RD |
13949 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
13950 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13951 | if (obj1) { |
13952 | { | |
13953 | arg2 = wxString_in_helper(obj1); | |
13954 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 13955 | temp2 = true; |
d55e5bfc RD |
13956 | } |
13957 | } | |
13958 | if (obj2) { | |
13959 | { | |
13960 | arg3 = wxString_in_helper(obj2); | |
13961 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 13962 | temp3 = true; |
d55e5bfc RD |
13963 | } |
13964 | } | |
13965 | if (obj3) { | |
13966 | { | |
13967 | arg4 = wxString_in_helper(obj3); | |
13968 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 13969 | temp4 = true; |
d55e5bfc RD |
13970 | } |
13971 | } | |
13972 | if (obj4) { | |
13973 | { | |
13974 | arg5 = wxString_in_helper(obj4); | |
13975 | if (arg5 == NULL) SWIG_fail; | |
ae8162c8 | 13976 | temp5 = true; |
d55e5bfc RD |
13977 | } |
13978 | } | |
13979 | if (obj5) { | |
093d3ff1 RD |
13980 | { |
13981 | arg6 = (long)(SWIG_As_long(obj5)); | |
13982 | if (SWIG_arg_fail(6)) SWIG_fail; | |
13983 | } | |
d55e5bfc RD |
13984 | } |
13985 | if (obj6) { | |
13986 | { | |
13987 | arg7 = &temp7; | |
13988 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
13989 | } | |
13990 | } | |
13991 | { | |
0439c23b | 13992 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13994 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
13995 | ||
13996 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13997 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13998 | } |
13999 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); | |
14000 | { | |
14001 | if (temp2) | |
14002 | delete arg2; | |
14003 | } | |
14004 | { | |
14005 | if (temp3) | |
14006 | delete arg3; | |
14007 | } | |
14008 | { | |
14009 | if (temp4) | |
14010 | delete arg4; | |
14011 | } | |
14012 | { | |
14013 | if (temp5) | |
14014 | delete arg5; | |
14015 | } | |
14016 | return resultobj; | |
14017 | fail: | |
14018 | { | |
14019 | if (temp2) | |
14020 | delete arg2; | |
14021 | } | |
14022 | { | |
14023 | if (temp3) | |
14024 | delete arg3; | |
14025 | } | |
14026 | { | |
14027 | if (temp4) | |
14028 | delete arg4; | |
14029 | } | |
14030 | { | |
14031 | if (temp5) | |
14032 | delete arg5; | |
14033 | } | |
14034 | return NULL; | |
14035 | } | |
14036 | ||
14037 | ||
c32bde28 | 14038 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14039 | PyObject *resultobj; |
14040 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14041 | wxString *arg2 = 0 ; | |
ae8162c8 | 14042 | bool temp2 = false ; |
d55e5bfc RD |
14043 | PyObject * obj0 = 0 ; |
14044 | PyObject * obj1 = 0 ; | |
14045 | char *kwnames[] = { | |
14046 | (char *) "self",(char *) "message", NULL | |
14047 | }; | |
14048 | ||
14049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14050 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14051 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14052 | { |
14053 | arg2 = wxString_in_helper(obj1); | |
14054 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14055 | temp2 = true; |
d55e5bfc RD |
14056 | } |
14057 | { | |
14058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14059 | (arg1)->SetMessage((wxString const &)*arg2); | |
14060 | ||
14061 | wxPyEndAllowThreads(__tstate); | |
14062 | if (PyErr_Occurred()) SWIG_fail; | |
14063 | } | |
14064 | Py_INCREF(Py_None); resultobj = Py_None; | |
14065 | { | |
14066 | if (temp2) | |
14067 | delete arg2; | |
14068 | } | |
14069 | return resultobj; | |
14070 | fail: | |
14071 | { | |
14072 | if (temp2) | |
14073 | delete arg2; | |
14074 | } | |
14075 | return NULL; | |
14076 | } | |
14077 | ||
14078 | ||
c32bde28 | 14079 | static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14080 | PyObject *resultobj; |
14081 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14082 | wxString *arg2 = 0 ; | |
ae8162c8 | 14083 | bool temp2 = false ; |
d55e5bfc RD |
14084 | PyObject * obj0 = 0 ; |
14085 | PyObject * obj1 = 0 ; | |
14086 | char *kwnames[] = { | |
14087 | (char *) "self",(char *) "path", NULL | |
14088 | }; | |
14089 | ||
14090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14091 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14092 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14093 | { |
14094 | arg2 = wxString_in_helper(obj1); | |
14095 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14096 | temp2 = true; |
d55e5bfc RD |
14097 | } |
14098 | { | |
14099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14100 | (arg1)->SetPath((wxString const &)*arg2); | |
14101 | ||
14102 | wxPyEndAllowThreads(__tstate); | |
14103 | if (PyErr_Occurred()) SWIG_fail; | |
14104 | } | |
14105 | Py_INCREF(Py_None); resultobj = Py_None; | |
14106 | { | |
14107 | if (temp2) | |
14108 | delete arg2; | |
14109 | } | |
14110 | return resultobj; | |
14111 | fail: | |
14112 | { | |
14113 | if (temp2) | |
14114 | delete arg2; | |
14115 | } | |
14116 | return NULL; | |
14117 | } | |
14118 | ||
14119 | ||
c32bde28 | 14120 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14121 | PyObject *resultobj; |
14122 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14123 | wxString *arg2 = 0 ; | |
ae8162c8 | 14124 | bool temp2 = false ; |
d55e5bfc RD |
14125 | PyObject * obj0 = 0 ; |
14126 | PyObject * obj1 = 0 ; | |
14127 | char *kwnames[] = { | |
14128 | (char *) "self",(char *) "dir", NULL | |
14129 | }; | |
14130 | ||
14131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14132 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14133 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14134 | { |
14135 | arg2 = wxString_in_helper(obj1); | |
14136 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14137 | temp2 = true; |
d55e5bfc RD |
14138 | } |
14139 | { | |
14140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14141 | (arg1)->SetDirectory((wxString const &)*arg2); | |
14142 | ||
14143 | wxPyEndAllowThreads(__tstate); | |
14144 | if (PyErr_Occurred()) SWIG_fail; | |
14145 | } | |
14146 | Py_INCREF(Py_None); resultobj = Py_None; | |
14147 | { | |
14148 | if (temp2) | |
14149 | delete arg2; | |
14150 | } | |
14151 | return resultobj; | |
14152 | fail: | |
14153 | { | |
14154 | if (temp2) | |
14155 | delete arg2; | |
14156 | } | |
14157 | return NULL; | |
14158 | } | |
14159 | ||
14160 | ||
c32bde28 | 14161 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14162 | PyObject *resultobj; |
14163 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14164 | wxString *arg2 = 0 ; | |
ae8162c8 | 14165 | bool temp2 = false ; |
d55e5bfc RD |
14166 | PyObject * obj0 = 0 ; |
14167 | PyObject * obj1 = 0 ; | |
14168 | char *kwnames[] = { | |
14169 | (char *) "self",(char *) "name", NULL | |
14170 | }; | |
14171 | ||
14172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14173 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14174 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14175 | { |
14176 | arg2 = wxString_in_helper(obj1); | |
14177 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14178 | temp2 = true; |
d55e5bfc RD |
14179 | } |
14180 | { | |
14181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14182 | (arg1)->SetFilename((wxString const &)*arg2); | |
14183 | ||
14184 | wxPyEndAllowThreads(__tstate); | |
14185 | if (PyErr_Occurred()) SWIG_fail; | |
14186 | } | |
14187 | Py_INCREF(Py_None); resultobj = Py_None; | |
14188 | { | |
14189 | if (temp2) | |
14190 | delete arg2; | |
14191 | } | |
14192 | return resultobj; | |
14193 | fail: | |
14194 | { | |
14195 | if (temp2) | |
14196 | delete arg2; | |
14197 | } | |
14198 | return NULL; | |
14199 | } | |
14200 | ||
14201 | ||
c32bde28 | 14202 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14203 | PyObject *resultobj; |
14204 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14205 | wxString *arg2 = 0 ; | |
ae8162c8 | 14206 | bool temp2 = false ; |
d55e5bfc RD |
14207 | PyObject * obj0 = 0 ; |
14208 | PyObject * obj1 = 0 ; | |
14209 | char *kwnames[] = { | |
14210 | (char *) "self",(char *) "wildCard", NULL | |
14211 | }; | |
14212 | ||
14213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14214 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14215 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14216 | { |
14217 | arg2 = wxString_in_helper(obj1); | |
14218 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14219 | temp2 = true; |
d55e5bfc RD |
14220 | } |
14221 | { | |
14222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14223 | (arg1)->SetWildcard((wxString const &)*arg2); | |
14224 | ||
14225 | wxPyEndAllowThreads(__tstate); | |
14226 | if (PyErr_Occurred()) SWIG_fail; | |
14227 | } | |
14228 | Py_INCREF(Py_None); resultobj = Py_None; | |
14229 | { | |
14230 | if (temp2) | |
14231 | delete arg2; | |
14232 | } | |
14233 | return resultobj; | |
14234 | fail: | |
14235 | { | |
14236 | if (temp2) | |
14237 | delete arg2; | |
14238 | } | |
14239 | return NULL; | |
14240 | } | |
14241 | ||
14242 | ||
c32bde28 | 14243 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14244 | PyObject *resultobj; |
14245 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14246 | long arg2 ; | |
14247 | PyObject * obj0 = 0 ; | |
14248 | PyObject * obj1 = 0 ; | |
14249 | char *kwnames[] = { | |
14250 | (char *) "self",(char *) "style", NULL | |
14251 | }; | |
14252 | ||
14253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14254 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14255 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14256 | { | |
14257 | arg2 = (long)(SWIG_As_long(obj1)); | |
14258 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14259 | } | |
d55e5bfc RD |
14260 | { |
14261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14262 | (arg1)->SetStyle(arg2); | |
14263 | ||
14264 | wxPyEndAllowThreads(__tstate); | |
14265 | if (PyErr_Occurred()) SWIG_fail; | |
14266 | } | |
14267 | Py_INCREF(Py_None); resultobj = Py_None; | |
14268 | return resultobj; | |
14269 | fail: | |
14270 | return NULL; | |
14271 | } | |
14272 | ||
14273 | ||
c32bde28 | 14274 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14275 | PyObject *resultobj; |
14276 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14277 | int arg2 ; | |
14278 | PyObject * obj0 = 0 ; | |
14279 | PyObject * obj1 = 0 ; | |
14280 | char *kwnames[] = { | |
14281 | (char *) "self",(char *) "filterIndex", NULL | |
14282 | }; | |
14283 | ||
14284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14285 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14286 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14287 | { | |
14288 | arg2 = (int)(SWIG_As_int(obj1)); | |
14289 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14290 | } | |
d55e5bfc RD |
14291 | { |
14292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14293 | (arg1)->SetFilterIndex(arg2); | |
14294 | ||
14295 | wxPyEndAllowThreads(__tstate); | |
14296 | if (PyErr_Occurred()) SWIG_fail; | |
14297 | } | |
14298 | Py_INCREF(Py_None); resultobj = Py_None; | |
14299 | return resultobj; | |
14300 | fail: | |
14301 | return NULL; | |
14302 | } | |
14303 | ||
14304 | ||
c32bde28 | 14305 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14306 | PyObject *resultobj; |
14307 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14308 | wxString result; | |
14309 | PyObject * obj0 = 0 ; | |
14310 | char *kwnames[] = { | |
14311 | (char *) "self", NULL | |
14312 | }; | |
14313 | ||
14314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14315 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14316 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14317 | { |
14318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14319 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
14320 | ||
14321 | wxPyEndAllowThreads(__tstate); | |
14322 | if (PyErr_Occurred()) SWIG_fail; | |
14323 | } | |
14324 | { | |
14325 | #if wxUSE_UNICODE | |
14326 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14327 | #else | |
14328 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14329 | #endif | |
14330 | } | |
14331 | return resultobj; | |
14332 | fail: | |
14333 | return NULL; | |
14334 | } | |
14335 | ||
14336 | ||
c32bde28 | 14337 | static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14338 | PyObject *resultobj; |
14339 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14340 | wxString result; | |
14341 | PyObject * obj0 = 0 ; | |
14342 | char *kwnames[] = { | |
14343 | (char *) "self", NULL | |
14344 | }; | |
14345 | ||
14346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
093d3ff1 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 = ((wxFileDialog const *)arg1)->GetPath(); | |
14352 | ||
14353 | wxPyEndAllowThreads(__tstate); | |
14354 | if (PyErr_Occurred()) SWIG_fail; | |
14355 | } | |
14356 | { | |
14357 | #if wxUSE_UNICODE | |
14358 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14359 | #else | |
14360 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14361 | #endif | |
14362 | } | |
14363 | return resultobj; | |
14364 | fail: | |
14365 | return NULL; | |
14366 | } | |
14367 | ||
14368 | ||
c32bde28 | 14369 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14370 | PyObject *resultobj; |
14371 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14372 | wxString result; | |
14373 | PyObject * obj0 = 0 ; | |
14374 | char *kwnames[] = { | |
14375 | (char *) "self", NULL | |
14376 | }; | |
14377 | ||
14378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14379 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14380 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14381 | { |
14382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14383 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
14384 | ||
14385 | wxPyEndAllowThreads(__tstate); | |
14386 | if (PyErr_Occurred()) SWIG_fail; | |
14387 | } | |
14388 | { | |
14389 | #if wxUSE_UNICODE | |
14390 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14391 | #else | |
14392 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14393 | #endif | |
14394 | } | |
14395 | return resultobj; | |
14396 | fail: | |
14397 | return NULL; | |
14398 | } | |
14399 | ||
14400 | ||
c32bde28 | 14401 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14402 | PyObject *resultobj; |
14403 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14404 | wxString result; | |
14405 | PyObject * obj0 = 0 ; | |
14406 | char *kwnames[] = { | |
14407 | (char *) "self", NULL | |
14408 | }; | |
14409 | ||
14410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14411 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14412 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14413 | { |
14414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14415 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
14416 | ||
14417 | wxPyEndAllowThreads(__tstate); | |
14418 | if (PyErr_Occurred()) SWIG_fail; | |
14419 | } | |
14420 | { | |
14421 | #if wxUSE_UNICODE | |
14422 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14423 | #else | |
14424 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14425 | #endif | |
14426 | } | |
14427 | return resultobj; | |
14428 | fail: | |
14429 | return NULL; | |
14430 | } | |
14431 | ||
14432 | ||
c32bde28 | 14433 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14434 | PyObject *resultobj; |
14435 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14436 | wxString result; | |
14437 | PyObject * obj0 = 0 ; | |
14438 | char *kwnames[] = { | |
14439 | (char *) "self", NULL | |
14440 | }; | |
14441 | ||
14442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14443 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14444 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14445 | { |
14446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14447 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
14448 | ||
14449 | wxPyEndAllowThreads(__tstate); | |
14450 | if (PyErr_Occurred()) SWIG_fail; | |
14451 | } | |
14452 | { | |
14453 | #if wxUSE_UNICODE | |
14454 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14455 | #else | |
14456 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14457 | #endif | |
14458 | } | |
14459 | return resultobj; | |
14460 | fail: | |
14461 | return NULL; | |
14462 | } | |
14463 | ||
14464 | ||
c32bde28 | 14465 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14466 | PyObject *resultobj; |
14467 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14468 | long result; | |
14469 | PyObject * obj0 = 0 ; | |
14470 | char *kwnames[] = { | |
14471 | (char *) "self", NULL | |
14472 | }; | |
14473 | ||
14474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14475 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14476 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14477 | { |
14478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14479 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
14480 | ||
14481 | wxPyEndAllowThreads(__tstate); | |
14482 | if (PyErr_Occurred()) SWIG_fail; | |
14483 | } | |
093d3ff1 RD |
14484 | { |
14485 | resultobj = SWIG_From_long((long)(result)); | |
14486 | } | |
d55e5bfc RD |
14487 | return resultobj; |
14488 | fail: | |
14489 | return NULL; | |
14490 | } | |
14491 | ||
14492 | ||
c32bde28 | 14493 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14494 | PyObject *resultobj; |
14495 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14496 | int result; | |
14497 | PyObject * obj0 = 0 ; | |
14498 | char *kwnames[] = { | |
14499 | (char *) "self", NULL | |
14500 | }; | |
14501 | ||
14502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14503 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14504 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14505 | { |
14506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14507 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
14508 | ||
14509 | wxPyEndAllowThreads(__tstate); | |
14510 | if (PyErr_Occurred()) SWIG_fail; | |
14511 | } | |
093d3ff1 RD |
14512 | { |
14513 | resultobj = SWIG_From_int((int)(result)); | |
14514 | } | |
d55e5bfc RD |
14515 | return resultobj; |
14516 | fail: | |
14517 | return NULL; | |
14518 | } | |
14519 | ||
14520 | ||
c32bde28 | 14521 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14522 | PyObject *resultobj; |
14523 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14524 | PyObject *result; | |
14525 | PyObject * obj0 = 0 ; | |
14526 | char *kwnames[] = { | |
14527 | (char *) "self", NULL | |
14528 | }; | |
14529 | ||
14530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14531 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14532 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14533 | { |
14534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14535 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
14536 | ||
14537 | wxPyEndAllowThreads(__tstate); | |
14538 | if (PyErr_Occurred()) SWIG_fail; | |
14539 | } | |
14540 | resultobj = result; | |
14541 | return resultobj; | |
14542 | fail: | |
14543 | return NULL; | |
14544 | } | |
14545 | ||
14546 | ||
c32bde28 | 14547 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14548 | PyObject *resultobj; |
14549 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14550 | PyObject *result; | |
14551 | PyObject * obj0 = 0 ; | |
14552 | char *kwnames[] = { | |
14553 | (char *) "self", NULL | |
14554 | }; | |
14555 | ||
14556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14557 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14558 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14559 | { |
14560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14561 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
14562 | ||
14563 | wxPyEndAllowThreads(__tstate); | |
14564 | if (PyErr_Occurred()) SWIG_fail; | |
14565 | } | |
14566 | resultobj = result; | |
14567 | return resultobj; | |
14568 | fail: | |
14569 | return NULL; | |
14570 | } | |
14571 | ||
14572 | ||
c32bde28 | 14573 | static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14574 | PyObject *obj; |
14575 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14576 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
14577 | Py_INCREF(obj); | |
14578 | return Py_BuildValue((char *)""); | |
14579 | } | |
c32bde28 | 14580 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14581 | PyObject *resultobj; |
14582 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14583 | wxString *arg2 = 0 ; | |
14584 | wxString *arg3 = 0 ; | |
14585 | int arg4 = (int) 0 ; | |
248ed943 | 14586 | wxString *arg5 = (wxString *) NULL ; |
d55e5bfc RD |
14587 | long arg6 = (long) wxCHOICEDLG_STYLE ; |
14588 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
14589 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
14590 | wxMultiChoiceDialog *result; | |
ae8162c8 RD |
14591 | bool temp2 = false ; |
14592 | bool temp3 = false ; | |
093d3ff1 | 14593 | wxPoint temp7 ; |
d55e5bfc RD |
14594 | PyObject * obj0 = 0 ; |
14595 | PyObject * obj1 = 0 ; | |
14596 | PyObject * obj2 = 0 ; | |
14597 | PyObject * obj3 = 0 ; | |
14598 | PyObject * obj4 = 0 ; | |
14599 | PyObject * obj5 = 0 ; | |
14600 | char *kwnames[] = { | |
14601 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
14602 | }; | |
14603 | ||
14604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
14605 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14606 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14607 | { |
14608 | arg2 = wxString_in_helper(obj1); | |
14609 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14610 | temp2 = true; |
d55e5bfc RD |
14611 | } |
14612 | { | |
14613 | arg3 = wxString_in_helper(obj2); | |
14614 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 14615 | temp3 = true; |
d55e5bfc RD |
14616 | } |
14617 | if (obj3) { | |
14618 | { | |
14619 | arg4 = PyList_Size(obj3); | |
14620 | arg5 = wxString_LIST_helper(obj3); | |
14621 | if (arg5 == NULL) SWIG_fail; | |
14622 | } | |
14623 | } | |
14624 | if (obj4) { | |
093d3ff1 RD |
14625 | { |
14626 | arg6 = (long)(SWIG_As_long(obj4)); | |
14627 | if (SWIG_arg_fail(6)) SWIG_fail; | |
14628 | } | |
d55e5bfc RD |
14629 | } |
14630 | if (obj5) { | |
14631 | { | |
093d3ff1 | 14632 | arg7 = &temp7; |
d55e5bfc RD |
14633 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; |
14634 | } | |
14635 | } | |
14636 | { | |
0439c23b | 14637 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14639 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
14640 | ||
14641 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14642 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14643 | } |
14644 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); | |
14645 | { | |
14646 | if (temp2) | |
14647 | delete arg2; | |
14648 | } | |
14649 | { | |
14650 | if (temp3) | |
14651 | delete arg3; | |
14652 | } | |
14653 | { | |
14654 | if (arg5) delete [] arg5; | |
14655 | } | |
14656 | return resultobj; | |
14657 | fail: | |
14658 | { | |
14659 | if (temp2) | |
14660 | delete arg2; | |
14661 | } | |
14662 | { | |
14663 | if (temp3) | |
14664 | delete arg3; | |
14665 | } | |
14666 | { | |
14667 | if (arg5) delete [] arg5; | |
14668 | } | |
14669 | return NULL; | |
14670 | } | |
14671 | ||
14672 | ||
c32bde28 | 14673 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14674 | PyObject *resultobj; |
14675 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
14676 | wxArrayInt *arg2 = 0 ; | |
ae8162c8 | 14677 | bool temp2 = false ; |
d55e5bfc RD |
14678 | PyObject * obj0 = 0 ; |
14679 | PyObject * obj1 = 0 ; | |
14680 | char *kwnames[] = { | |
14681 | (char *) "self",(char *) "selections", NULL | |
14682 | }; | |
14683 | ||
14684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14685 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14686 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14687 | { |
14688 | if (! PySequence_Check(obj1)) { | |
14689 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
14690 | SWIG_fail; | |
14691 | } | |
14692 | arg2 = new wxArrayInt; | |
ae8162c8 | 14693 | temp2 = true; |
d55e5bfc RD |
14694 | int i, len=PySequence_Length(obj1); |
14695 | for (i=0; i<len; i++) { | |
14696 | PyObject* item = PySequence_GetItem(obj1, i); | |
14697 | PyObject* number = PyNumber_Int(item); | |
14698 | arg2->Add(PyInt_AS_LONG(number)); | |
14699 | Py_DECREF(item); | |
14700 | Py_DECREF(number); | |
14701 | } | |
14702 | } | |
14703 | { | |
14704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14705 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
14706 | ||
14707 | wxPyEndAllowThreads(__tstate); | |
14708 | if (PyErr_Occurred()) SWIG_fail; | |
14709 | } | |
14710 | Py_INCREF(Py_None); resultobj = Py_None; | |
14711 | { | |
14712 | if (temp2) delete arg2; | |
14713 | } | |
14714 | return resultobj; | |
14715 | fail: | |
14716 | { | |
14717 | if (temp2) delete arg2; | |
14718 | } | |
14719 | return NULL; | |
14720 | } | |
14721 | ||
14722 | ||
c32bde28 | 14723 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14724 | PyObject *resultobj; |
14725 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
14726 | PyObject *result; | |
14727 | PyObject * obj0 = 0 ; | |
14728 | char *kwnames[] = { | |
14729 | (char *) "self", NULL | |
14730 | }; | |
14731 | ||
14732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14733 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14734 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14735 | { |
14736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14737 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
14738 | ||
14739 | wxPyEndAllowThreads(__tstate); | |
14740 | if (PyErr_Occurred()) SWIG_fail; | |
14741 | } | |
14742 | resultobj = result; | |
14743 | return resultobj; | |
14744 | fail: | |
14745 | return NULL; | |
14746 | } | |
14747 | ||
14748 | ||
c32bde28 | 14749 | static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14750 | PyObject *obj; |
14751 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14752 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
14753 | Py_INCREF(obj); | |
14754 | return Py_BuildValue((char *)""); | |
14755 | } | |
c32bde28 | 14756 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14757 | PyObject *resultobj; |
14758 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14759 | wxString *arg2 = 0 ; | |
14760 | wxString *arg3 = 0 ; | |
14761 | int arg4 ; | |
14762 | wxString *arg5 = (wxString *) 0 ; | |
14763 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
14764 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
14765 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
14766 | wxSingleChoiceDialog *result; | |
ae8162c8 RD |
14767 | bool temp2 = false ; |
14768 | bool temp3 = false ; | |
093d3ff1 | 14769 | wxPoint temp7 ; |
d55e5bfc RD |
14770 | PyObject * obj0 = 0 ; |
14771 | PyObject * obj1 = 0 ; | |
14772 | PyObject * obj2 = 0 ; | |
14773 | PyObject * obj3 = 0 ; | |
14774 | PyObject * obj4 = 0 ; | |
14775 | PyObject * obj5 = 0 ; | |
14776 | char *kwnames[] = { | |
14777 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
14778 | }; | |
14779 | ||
14780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
14781 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14782 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14783 | { |
14784 | arg2 = wxString_in_helper(obj1); | |
14785 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14786 | temp2 = true; |
d55e5bfc RD |
14787 | } |
14788 | { | |
14789 | arg3 = wxString_in_helper(obj2); | |
14790 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 14791 | temp3 = true; |
d55e5bfc RD |
14792 | } |
14793 | { | |
14794 | arg4 = PyList_Size(obj3); | |
14795 | arg5 = wxString_LIST_helper(obj3); | |
14796 | if (arg5 == NULL) SWIG_fail; | |
14797 | } | |
14798 | if (obj4) { | |
093d3ff1 RD |
14799 | { |
14800 | arg6 = (long)(SWIG_As_long(obj4)); | |
14801 | if (SWIG_arg_fail(6)) SWIG_fail; | |
14802 | } | |
d55e5bfc RD |
14803 | } |
14804 | if (obj5) { | |
14805 | { | |
093d3ff1 | 14806 | arg7 = &temp7; |
d55e5bfc RD |
14807 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; |
14808 | } | |
14809 | } | |
14810 | { | |
0439c23b | 14811 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14813 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
14814 | ||
14815 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14816 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14817 | } |
14818 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); | |
14819 | { | |
14820 | if (temp2) | |
14821 | delete arg2; | |
14822 | } | |
14823 | { | |
14824 | if (temp3) | |
14825 | delete arg3; | |
14826 | } | |
14827 | { | |
14828 | if (arg5) delete [] arg5; | |
14829 | } | |
14830 | return resultobj; | |
14831 | fail: | |
14832 | { | |
14833 | if (temp2) | |
14834 | delete arg2; | |
14835 | } | |
14836 | { | |
14837 | if (temp3) | |
14838 | delete arg3; | |
14839 | } | |
14840 | { | |
14841 | if (arg5) delete [] arg5; | |
14842 | } | |
14843 | return NULL; | |
14844 | } | |
14845 | ||
14846 | ||
c32bde28 | 14847 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14848 | PyObject *resultobj; |
14849 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
14850 | int result; | |
14851 | PyObject * obj0 = 0 ; | |
14852 | char *kwnames[] = { | |
14853 | (char *) "self", NULL | |
14854 | }; | |
14855 | ||
14856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14857 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14858 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14859 | { |
14860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14861 | result = (int)(arg1)->GetSelection(); | |
14862 | ||
14863 | wxPyEndAllowThreads(__tstate); | |
14864 | if (PyErr_Occurred()) SWIG_fail; | |
14865 | } | |
093d3ff1 RD |
14866 | { |
14867 | resultobj = SWIG_From_int((int)(result)); | |
14868 | } | |
d55e5bfc RD |
14869 | return resultobj; |
14870 | fail: | |
14871 | return NULL; | |
14872 | } | |
14873 | ||
14874 | ||
c32bde28 | 14875 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14876 | PyObject *resultobj; |
14877 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
14878 | wxString result; | |
14879 | PyObject * obj0 = 0 ; | |
14880 | char *kwnames[] = { | |
14881 | (char *) "self", NULL | |
14882 | }; | |
14883 | ||
14884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
14885 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14886 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14887 | { |
14888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14889 | result = (arg1)->GetStringSelection(); | |
14890 | ||
14891 | wxPyEndAllowThreads(__tstate); | |
14892 | if (PyErr_Occurred()) SWIG_fail; | |
14893 | } | |
14894 | { | |
14895 | #if wxUSE_UNICODE | |
14896 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14897 | #else | |
14898 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14899 | #endif | |
14900 | } | |
14901 | return resultobj; | |
14902 | fail: | |
14903 | return NULL; | |
14904 | } | |
14905 | ||
14906 | ||
c32bde28 | 14907 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14908 | PyObject *resultobj; |
14909 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
14910 | int arg2 ; | |
14911 | PyObject * obj0 = 0 ; | |
14912 | PyObject * obj1 = 0 ; | |
14913 | char *kwnames[] = { | |
14914 | (char *) "self",(char *) "sel", NULL | |
14915 | }; | |
14916 | ||
14917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
14918 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14919 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14920 | { | |
14921 | arg2 = (int)(SWIG_As_int(obj1)); | |
14922 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14923 | } | |
d55e5bfc RD |
14924 | { |
14925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14926 | (arg1)->SetSelection(arg2); | |
14927 | ||
14928 | wxPyEndAllowThreads(__tstate); | |
14929 | if (PyErr_Occurred()) SWIG_fail; | |
14930 | } | |
14931 | Py_INCREF(Py_None); resultobj = Py_None; | |
14932 | return resultobj; | |
14933 | fail: | |
14934 | return NULL; | |
14935 | } | |
14936 | ||
14937 | ||
c32bde28 | 14938 | static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14939 | PyObject *obj; |
14940 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14941 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
14942 | Py_INCREF(obj); | |
14943 | return Py_BuildValue((char *)""); | |
14944 | } | |
c32bde28 | 14945 | static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14946 | PyObject *resultobj; |
14947 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14948 | wxString *arg2 = 0 ; | |
14949 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
14950 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14951 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
14952 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
c1cb24a4 | 14953 | long arg5 = (long) wxTextEntryDialogStyle ; |
d55e5bfc RD |
14954 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
14955 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
14956 | wxTextEntryDialog *result; | |
ae8162c8 RD |
14957 | bool temp2 = false ; |
14958 | bool temp3 = false ; | |
14959 | bool temp4 = false ; | |
d55e5bfc RD |
14960 | wxPoint temp6 ; |
14961 | PyObject * obj0 = 0 ; | |
14962 | PyObject * obj1 = 0 ; | |
14963 | PyObject * obj2 = 0 ; | |
14964 | PyObject * obj3 = 0 ; | |
14965 | PyObject * obj4 = 0 ; | |
14966 | PyObject * obj5 = 0 ; | |
14967 | char *kwnames[] = { | |
14968 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
14969 | }; | |
14970 | ||
14971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
14972 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14973 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14974 | { |
14975 | arg2 = wxString_in_helper(obj1); | |
14976 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14977 | temp2 = true; |
d55e5bfc RD |
14978 | } |
14979 | if (obj2) { | |
14980 | { | |
14981 | arg3 = wxString_in_helper(obj2); | |
14982 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 14983 | temp3 = true; |
d55e5bfc RD |
14984 | } |
14985 | } | |
14986 | if (obj3) { | |
14987 | { | |
14988 | arg4 = wxString_in_helper(obj3); | |
14989 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 14990 | temp4 = true; |
d55e5bfc RD |
14991 | } |
14992 | } | |
14993 | if (obj4) { | |
093d3ff1 RD |
14994 | { |
14995 | arg5 = (long)(SWIG_As_long(obj4)); | |
14996 | if (SWIG_arg_fail(5)) SWIG_fail; | |
14997 | } | |
d55e5bfc RD |
14998 | } |
14999 | if (obj5) { | |
15000 | { | |
15001 | arg6 = &temp6; | |
15002 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
15003 | } | |
15004 | } | |
15005 | { | |
0439c23b | 15006 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15008 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
15009 | ||
15010 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15011 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15012 | } |
15013 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); | |
15014 | { | |
15015 | if (temp2) | |
15016 | delete arg2; | |
15017 | } | |
15018 | { | |
15019 | if (temp3) | |
15020 | delete arg3; | |
15021 | } | |
15022 | { | |
15023 | if (temp4) | |
15024 | delete arg4; | |
15025 | } | |
15026 | return resultobj; | |
15027 | fail: | |
15028 | { | |
15029 | if (temp2) | |
15030 | delete arg2; | |
15031 | } | |
15032 | { | |
15033 | if (temp3) | |
15034 | delete arg3; | |
15035 | } | |
15036 | { | |
15037 | if (temp4) | |
15038 | delete arg4; | |
15039 | } | |
15040 | return NULL; | |
15041 | } | |
15042 | ||
15043 | ||
c32bde28 | 15044 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15045 | PyObject *resultobj; |
15046 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
15047 | wxString result; | |
15048 | PyObject * obj0 = 0 ; | |
15049 | char *kwnames[] = { | |
15050 | (char *) "self", NULL | |
15051 | }; | |
15052 | ||
15053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15054 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0); |
15055 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15056 | { |
15057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15058 | result = (arg1)->GetValue(); | |
15059 | ||
15060 | wxPyEndAllowThreads(__tstate); | |
15061 | if (PyErr_Occurred()) SWIG_fail; | |
15062 | } | |
15063 | { | |
15064 | #if wxUSE_UNICODE | |
15065 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
15066 | #else | |
15067 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
15068 | #endif | |
15069 | } | |
15070 | return resultobj; | |
15071 | fail: | |
15072 | return NULL; | |
15073 | } | |
15074 | ||
15075 | ||
c32bde28 | 15076 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15077 | PyObject *resultobj; |
15078 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
15079 | wxString *arg2 = 0 ; | |
ae8162c8 | 15080 | bool temp2 = false ; |
d55e5bfc RD |
15081 | PyObject * obj0 = 0 ; |
15082 | PyObject * obj1 = 0 ; | |
15083 | char *kwnames[] = { | |
15084 | (char *) "self",(char *) "value", NULL | |
15085 | }; | |
15086 | ||
15087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15088 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0); |
15089 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15090 | { |
15091 | arg2 = wxString_in_helper(obj1); | |
15092 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 15093 | temp2 = true; |
d55e5bfc RD |
15094 | } |
15095 | { | |
15096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15097 | (arg1)->SetValue((wxString const &)*arg2); | |
15098 | ||
15099 | wxPyEndAllowThreads(__tstate); | |
15100 | if (PyErr_Occurred()) SWIG_fail; | |
15101 | } | |
15102 | Py_INCREF(Py_None); resultobj = Py_None; | |
15103 | { | |
15104 | if (temp2) | |
15105 | delete arg2; | |
15106 | } | |
15107 | return resultobj; | |
15108 | fail: | |
15109 | { | |
15110 | if (temp2) | |
15111 | delete arg2; | |
15112 | } | |
15113 | return NULL; | |
15114 | } | |
15115 | ||
15116 | ||
c32bde28 | 15117 | static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15118 | PyObject *obj; |
15119 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15120 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
15121 | Py_INCREF(obj); | |
15122 | return Py_BuildValue((char *)""); | |
15123 | } | |
c1cb24a4 RD |
15124 | static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) { |
15125 | PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only."); | |
15126 | return 1; | |
15127 | } | |
15128 | ||
15129 | ||
093d3ff1 | 15130 | static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) { |
c1cb24a4 RD |
15131 | PyObject *pyobj; |
15132 | ||
15133 | { | |
15134 | #if wxUSE_UNICODE | |
15135 | pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len()); | |
15136 | #else | |
15137 | pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len()); | |
15138 | #endif | |
15139 | } | |
15140 | return pyobj; | |
15141 | } | |
15142 | ||
15143 | ||
15144 | static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { | |
15145 | PyObject *resultobj; | |
15146 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15147 | wxString *arg2 = 0 ; | |
15148 | wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ; | |
15149 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15150 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15151 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
15152 | long arg5 = (long) wxTextEntryDialogStyle ; | |
15153 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
15154 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
15155 | wxPasswordEntryDialog *result; | |
15156 | bool temp2 = false ; | |
15157 | bool temp3 = false ; | |
15158 | bool temp4 = false ; | |
15159 | wxPoint temp6 ; | |
15160 | PyObject * obj0 = 0 ; | |
15161 | PyObject * obj1 = 0 ; | |
15162 | PyObject * obj2 = 0 ; | |
15163 | PyObject * obj3 = 0 ; | |
15164 | PyObject * obj4 = 0 ; | |
15165 | PyObject * obj5 = 0 ; | |
15166 | char *kwnames[] = { | |
15167 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL | |
15168 | }; | |
15169 | ||
15170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
15171 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15172 | if (SWIG_arg_fail(1)) SWIG_fail; | |
c1cb24a4 RD |
15173 | { |
15174 | arg2 = wxString_in_helper(obj1); | |
15175 | if (arg2 == NULL) SWIG_fail; | |
15176 | temp2 = true; | |
15177 | } | |
15178 | if (obj2) { | |
15179 | { | |
15180 | arg3 = wxString_in_helper(obj2); | |
15181 | if (arg3 == NULL) SWIG_fail; | |
15182 | temp3 = true; | |
15183 | } | |
15184 | } | |
15185 | if (obj3) { | |
15186 | { | |
15187 | arg4 = wxString_in_helper(obj3); | |
15188 | if (arg4 == NULL) SWIG_fail; | |
15189 | temp4 = true; | |
15190 | } | |
15191 | } | |
15192 | if (obj4) { | |
093d3ff1 RD |
15193 | { |
15194 | arg5 = (long)(SWIG_As_long(obj4)); | |
15195 | if (SWIG_arg_fail(5)) SWIG_fail; | |
15196 | } | |
c1cb24a4 RD |
15197 | } |
15198 | if (obj5) { | |
15199 | { | |
15200 | arg6 = &temp6; | |
15201 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
15202 | } | |
15203 | } | |
15204 | { | |
15205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15206 | result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
15207 | ||
15208 | wxPyEndAllowThreads(__tstate); | |
15209 | if (PyErr_Occurred()) SWIG_fail; | |
15210 | } | |
15211 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1); | |
15212 | { | |
15213 | if (temp2) | |
15214 | delete arg2; | |
15215 | } | |
15216 | { | |
15217 | if (temp3) | |
15218 | delete arg3; | |
15219 | } | |
15220 | { | |
15221 | if (temp4) | |
15222 | delete arg4; | |
15223 | } | |
15224 | return resultobj; | |
15225 | fail: | |
15226 | { | |
15227 | if (temp2) | |
15228 | delete arg2; | |
15229 | } | |
15230 | { | |
15231 | if (temp3) | |
15232 | delete arg3; | |
15233 | } | |
15234 | { | |
15235 | if (temp4) | |
15236 | delete arg4; | |
15237 | } | |
15238 | return NULL; | |
15239 | } | |
15240 | ||
15241 | ||
15242 | static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) { | |
15243 | PyObject *obj; | |
15244 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15245 | SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj); | |
15246 | Py_INCREF(obj); | |
15247 | return Py_BuildValue((char *)""); | |
15248 | } | |
c32bde28 | 15249 | static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15250 | PyObject *resultobj; |
15251 | wxFontData *result; | |
15252 | char *kwnames[] = { | |
15253 | NULL | |
15254 | }; | |
15255 | ||
15256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
15257 | { | |
15258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15259 | result = (wxFontData *)new wxFontData(); | |
15260 | ||
15261 | wxPyEndAllowThreads(__tstate); | |
15262 | if (PyErr_Occurred()) SWIG_fail; | |
15263 | } | |
15264 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); | |
15265 | return resultobj; | |
15266 | fail: | |
15267 | return NULL; | |
15268 | } | |
15269 | ||
15270 | ||
c32bde28 | 15271 | static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15272 | PyObject *resultobj; |
15273 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15274 | PyObject * obj0 = 0 ; | |
15275 | char *kwnames[] = { | |
15276 | (char *) "self", NULL | |
15277 | }; | |
15278 | ||
15279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15280 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15281 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15282 | { |
15283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15284 | delete arg1; | |
15285 | ||
15286 | wxPyEndAllowThreads(__tstate); | |
15287 | if (PyErr_Occurred()) SWIG_fail; | |
15288 | } | |
15289 | Py_INCREF(Py_None); resultobj = Py_None; | |
15290 | return resultobj; | |
15291 | fail: | |
15292 | return NULL; | |
15293 | } | |
15294 | ||
15295 | ||
c32bde28 | 15296 | static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15297 | PyObject *resultobj; |
15298 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15299 | bool arg2 ; | |
15300 | PyObject * obj0 = 0 ; | |
15301 | PyObject * obj1 = 0 ; | |
15302 | char *kwnames[] = { | |
15303 | (char *) "self",(char *) "enable", NULL | |
15304 | }; | |
15305 | ||
15306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15307 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15308 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15309 | { | |
15310 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15311 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15312 | } | |
d55e5bfc RD |
15313 | { |
15314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15315 | (arg1)->EnableEffects(arg2); | |
15316 | ||
15317 | wxPyEndAllowThreads(__tstate); | |
15318 | if (PyErr_Occurred()) SWIG_fail; | |
15319 | } | |
15320 | Py_INCREF(Py_None); resultobj = Py_None; | |
15321 | return resultobj; | |
15322 | fail: | |
15323 | return NULL; | |
15324 | } | |
15325 | ||
15326 | ||
c32bde28 | 15327 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15328 | PyObject *resultobj; |
15329 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15330 | bool result; | |
15331 | PyObject * obj0 = 0 ; | |
15332 | char *kwnames[] = { | |
15333 | (char *) "self", NULL | |
15334 | }; | |
15335 | ||
15336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15337 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15338 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15339 | { |
15340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15341 | result = (bool)(arg1)->GetAllowSymbols(); | |
15342 | ||
15343 | wxPyEndAllowThreads(__tstate); | |
15344 | if (PyErr_Occurred()) SWIG_fail; | |
15345 | } | |
15346 | { | |
15347 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15348 | } | |
15349 | return resultobj; | |
15350 | fail: | |
15351 | return NULL; | |
15352 | } | |
15353 | ||
15354 | ||
c32bde28 | 15355 | static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15356 | PyObject *resultobj; |
15357 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15358 | wxColour result; | |
15359 | PyObject * obj0 = 0 ; | |
15360 | char *kwnames[] = { | |
15361 | (char *) "self", NULL | |
15362 | }; | |
15363 | ||
15364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15365 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15366 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15367 | { |
15368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15369 | result = (arg1)->GetColour(); | |
15370 | ||
15371 | wxPyEndAllowThreads(__tstate); | |
15372 | if (PyErr_Occurred()) SWIG_fail; | |
15373 | } | |
15374 | { | |
15375 | wxColour * resultptr; | |
093d3ff1 | 15376 | resultptr = new wxColour((wxColour &)(result)); |
d55e5bfc RD |
15377 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
15378 | } | |
15379 | return resultobj; | |
15380 | fail: | |
15381 | return NULL; | |
15382 | } | |
15383 | ||
15384 | ||
c32bde28 | 15385 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15386 | PyObject *resultobj; |
15387 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15388 | wxFont result; | |
15389 | PyObject * obj0 = 0 ; | |
15390 | char *kwnames[] = { | |
15391 | (char *) "self", NULL | |
15392 | }; | |
15393 | ||
15394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15395 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15396 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15397 | { |
15398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15399 | result = (arg1)->GetChosenFont(); | |
15400 | ||
15401 | wxPyEndAllowThreads(__tstate); | |
15402 | if (PyErr_Occurred()) SWIG_fail; | |
15403 | } | |
15404 | { | |
15405 | wxFont * resultptr; | |
093d3ff1 | 15406 | resultptr = new wxFont((wxFont &)(result)); |
d55e5bfc RD |
15407 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
15408 | } | |
15409 | return resultobj; | |
15410 | fail: | |
15411 | return NULL; | |
15412 | } | |
15413 | ||
15414 | ||
c32bde28 | 15415 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15416 | PyObject *resultobj; |
15417 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15418 | bool result; | |
15419 | PyObject * obj0 = 0 ; | |
15420 | char *kwnames[] = { | |
15421 | (char *) "self", NULL | |
15422 | }; | |
15423 | ||
15424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15425 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15426 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15427 | { |
15428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15429 | result = (bool)(arg1)->GetEnableEffects(); | |
15430 | ||
15431 | wxPyEndAllowThreads(__tstate); | |
15432 | if (PyErr_Occurred()) SWIG_fail; | |
15433 | } | |
15434 | { | |
15435 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15436 | } | |
15437 | return resultobj; | |
15438 | fail: | |
15439 | return NULL; | |
15440 | } | |
15441 | ||
15442 | ||
c32bde28 | 15443 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15444 | PyObject *resultobj; |
15445 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15446 | wxFont result; | |
15447 | PyObject * obj0 = 0 ; | |
15448 | char *kwnames[] = { | |
15449 | (char *) "self", NULL | |
15450 | }; | |
15451 | ||
15452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15453 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15454 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15455 | { |
15456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15457 | result = (arg1)->GetInitialFont(); | |
15458 | ||
15459 | wxPyEndAllowThreads(__tstate); | |
15460 | if (PyErr_Occurred()) SWIG_fail; | |
15461 | } | |
15462 | { | |
15463 | wxFont * resultptr; | |
093d3ff1 | 15464 | resultptr = new wxFont((wxFont &)(result)); |
d55e5bfc RD |
15465 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
15466 | } | |
15467 | return resultobj; | |
15468 | fail: | |
15469 | return NULL; | |
15470 | } | |
15471 | ||
15472 | ||
c32bde28 | 15473 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15474 | PyObject *resultobj; |
15475 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15476 | bool result; | |
15477 | PyObject * obj0 = 0 ; | |
15478 | char *kwnames[] = { | |
15479 | (char *) "self", NULL | |
15480 | }; | |
15481 | ||
15482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15483 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15484 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15485 | { |
15486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15487 | result = (bool)(arg1)->GetShowHelp(); | |
15488 | ||
15489 | wxPyEndAllowThreads(__tstate); | |
15490 | if (PyErr_Occurred()) SWIG_fail; | |
15491 | } | |
15492 | { | |
15493 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15494 | } | |
15495 | return resultobj; | |
15496 | fail: | |
15497 | return NULL; | |
15498 | } | |
15499 | ||
15500 | ||
c32bde28 | 15501 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15502 | PyObject *resultobj; |
15503 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15504 | bool arg2 ; | |
15505 | PyObject * obj0 = 0 ; | |
15506 | PyObject * obj1 = 0 ; | |
15507 | char *kwnames[] = { | |
15508 | (char *) "self",(char *) "allowSymbols", NULL | |
15509 | }; | |
15510 | ||
15511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15512 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15513 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15514 | { | |
15515 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15516 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15517 | } | |
d55e5bfc RD |
15518 | { |
15519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15520 | (arg1)->SetAllowSymbols(arg2); | |
15521 | ||
15522 | wxPyEndAllowThreads(__tstate); | |
15523 | if (PyErr_Occurred()) SWIG_fail; | |
15524 | } | |
15525 | Py_INCREF(Py_None); resultobj = Py_None; | |
15526 | return resultobj; | |
15527 | fail: | |
15528 | return NULL; | |
15529 | } | |
15530 | ||
15531 | ||
c32bde28 | 15532 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15533 | PyObject *resultobj; |
15534 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15535 | wxFont *arg2 = 0 ; | |
15536 | PyObject * obj0 = 0 ; | |
15537 | PyObject * obj1 = 0 ; | |
15538 | char *kwnames[] = { | |
15539 | (char *) "self",(char *) "font", NULL | |
15540 | }; | |
15541 | ||
15542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15543 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15544 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15545 | { | |
15546 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
15547 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15548 | if (arg2 == NULL) { | |
15549 | SWIG_null_ref("wxFont"); | |
15550 | } | |
15551 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
15552 | } |
15553 | { | |
15554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15555 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
15556 | ||
15557 | wxPyEndAllowThreads(__tstate); | |
15558 | if (PyErr_Occurred()) SWIG_fail; | |
15559 | } | |
15560 | Py_INCREF(Py_None); resultobj = Py_None; | |
15561 | return resultobj; | |
15562 | fail: | |
15563 | return NULL; | |
15564 | } | |
15565 | ||
15566 | ||
c32bde28 | 15567 | static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15568 | PyObject *resultobj; |
15569 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15570 | wxColour *arg2 = 0 ; | |
15571 | wxColour temp2 ; | |
15572 | PyObject * obj0 = 0 ; | |
15573 | PyObject * obj1 = 0 ; | |
15574 | char *kwnames[] = { | |
15575 | (char *) "self",(char *) "colour", NULL | |
15576 | }; | |
15577 | ||
15578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15579 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15580 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15581 | { |
15582 | arg2 = &temp2; | |
15583 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
15584 | } | |
15585 | { | |
15586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15587 | (arg1)->SetColour((wxColour const &)*arg2); | |
15588 | ||
15589 | wxPyEndAllowThreads(__tstate); | |
15590 | if (PyErr_Occurred()) SWIG_fail; | |
15591 | } | |
15592 | Py_INCREF(Py_None); resultobj = Py_None; | |
15593 | return resultobj; | |
15594 | fail: | |
15595 | return NULL; | |
15596 | } | |
15597 | ||
15598 | ||
c32bde28 | 15599 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15600 | PyObject *resultobj; |
15601 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15602 | wxFont *arg2 = 0 ; | |
15603 | PyObject * obj0 = 0 ; | |
15604 | PyObject * obj1 = 0 ; | |
15605 | char *kwnames[] = { | |
15606 | (char *) "self",(char *) "font", NULL | |
15607 | }; | |
15608 | ||
15609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15610 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15611 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15612 | { | |
15613 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
15614 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15615 | if (arg2 == NULL) { | |
15616 | SWIG_null_ref("wxFont"); | |
15617 | } | |
15618 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
15619 | } |
15620 | { | |
15621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15622 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
15623 | ||
15624 | wxPyEndAllowThreads(__tstate); | |
15625 | if (PyErr_Occurred()) SWIG_fail; | |
15626 | } | |
15627 | Py_INCREF(Py_None); resultobj = Py_None; | |
15628 | return resultobj; | |
15629 | fail: | |
15630 | return NULL; | |
15631 | } | |
15632 | ||
15633 | ||
c32bde28 | 15634 | static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15635 | PyObject *resultobj; |
15636 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15637 | int arg2 ; | |
15638 | int arg3 ; | |
15639 | PyObject * obj0 = 0 ; | |
15640 | PyObject * obj1 = 0 ; | |
15641 | PyObject * obj2 = 0 ; | |
15642 | char *kwnames[] = { | |
15643 | (char *) "self",(char *) "min",(char *) "max", NULL | |
15644 | }; | |
15645 | ||
15646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
15647 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15648 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15649 | { | |
15650 | arg2 = (int)(SWIG_As_int(obj1)); | |
15651 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15652 | } | |
15653 | { | |
15654 | arg3 = (int)(SWIG_As_int(obj2)); | |
15655 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15656 | } | |
d55e5bfc RD |
15657 | { |
15658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15659 | (arg1)->SetRange(arg2,arg3); | |
15660 | ||
15661 | wxPyEndAllowThreads(__tstate); | |
15662 | if (PyErr_Occurred()) SWIG_fail; | |
15663 | } | |
15664 | Py_INCREF(Py_None); resultobj = Py_None; | |
15665 | return resultobj; | |
15666 | fail: | |
15667 | return NULL; | |
15668 | } | |
15669 | ||
15670 | ||
c32bde28 | 15671 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15672 | PyObject *resultobj; |
15673 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15674 | bool arg2 ; | |
15675 | PyObject * obj0 = 0 ; | |
15676 | PyObject * obj1 = 0 ; | |
15677 | char *kwnames[] = { | |
15678 | (char *) "self",(char *) "showHelp", NULL | |
15679 | }; | |
15680 | ||
15681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15682 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15683 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15684 | { | |
15685 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15686 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15687 | } | |
d55e5bfc RD |
15688 | { |
15689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15690 | (arg1)->SetShowHelp(arg2); | |
15691 | ||
15692 | wxPyEndAllowThreads(__tstate); | |
15693 | if (PyErr_Occurred()) SWIG_fail; | |
15694 | } | |
15695 | Py_INCREF(Py_None); resultobj = Py_None; | |
15696 | return resultobj; | |
15697 | fail: | |
15698 | return NULL; | |
15699 | } | |
15700 | ||
15701 | ||
c32bde28 | 15702 | static PyObject * FontData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15703 | PyObject *obj; |
15704 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15705 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
15706 | Py_INCREF(obj); | |
15707 | return Py_BuildValue((char *)""); | |
15708 | } | |
c32bde28 | 15709 | static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15710 | PyObject *resultobj; |
15711 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15712 | wxFontData *arg2 = 0 ; | |
15713 | wxFontDialog *result; | |
15714 | PyObject * obj0 = 0 ; | |
15715 | PyObject * obj1 = 0 ; | |
15716 | char *kwnames[] = { | |
15717 | (char *) "parent",(char *) "data", NULL | |
15718 | }; | |
15719 | ||
15720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
15721 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15722 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15723 | { | |
15724 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); | |
15725 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15726 | if (arg2 == NULL) { | |
15727 | SWIG_null_ref("wxFontData"); | |
15728 | } | |
15729 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
15730 | } |
15731 | { | |
0439c23b | 15732 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15734 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); | |
15735 | ||
15736 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15737 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15738 | } |
15739 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); | |
15740 | return resultobj; | |
15741 | fail: | |
15742 | return NULL; | |
15743 | } | |
15744 | ||
15745 | ||
c32bde28 | 15746 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15747 | PyObject *resultobj; |
15748 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
15749 | wxFontData *result; | |
15750 | PyObject * obj0 = 0 ; | |
15751 | char *kwnames[] = { | |
15752 | (char *) "self", NULL | |
15753 | }; | |
15754 | ||
15755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
15756 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0); |
15757 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15758 | { |
15759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15760 | { | |
15761 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
15762 | result = (wxFontData *) &_result_ref; | |
15763 | } | |
15764 | ||
15765 | wxPyEndAllowThreads(__tstate); | |
15766 | if (PyErr_Occurred()) SWIG_fail; | |
15767 | } | |
15768 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); | |
15769 | return resultobj; | |
15770 | fail: | |
15771 | return NULL; | |
15772 | } | |
15773 | ||
15774 | ||
c32bde28 | 15775 | static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15776 | PyObject *obj; |
15777 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15778 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
15779 | Py_INCREF(obj); | |
15780 | return Py_BuildValue((char *)""); | |
15781 | } | |
c32bde28 | 15782 | static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15783 | PyObject *resultobj; |
15784 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15785 | wxString *arg2 = 0 ; | |
15786 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
15787 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15788 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
15789 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
15790 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
15791 | wxMessageDialog *result; | |
ae8162c8 RD |
15792 | bool temp2 = false ; |
15793 | bool temp3 = false ; | |
d55e5bfc RD |
15794 | wxPoint temp5 ; |
15795 | PyObject * obj0 = 0 ; | |
15796 | PyObject * obj1 = 0 ; | |
15797 | PyObject * obj2 = 0 ; | |
15798 | PyObject * obj3 = 0 ; | |
15799 | PyObject * obj4 = 0 ; | |
15800 | char *kwnames[] = { | |
15801 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
15802 | }; | |
15803 | ||
15804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
093d3ff1 RD |
15805 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15806 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15807 | { |
15808 | arg2 = wxString_in_helper(obj1); | |
15809 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 15810 | temp2 = true; |
d55e5bfc RD |
15811 | } |
15812 | if (obj2) { | |
15813 | { | |
15814 | arg3 = wxString_in_helper(obj2); | |
15815 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 15816 | temp3 = true; |
d55e5bfc RD |
15817 | } |
15818 | } | |
15819 | if (obj3) { | |
093d3ff1 RD |
15820 | { |
15821 | arg4 = (long)(SWIG_As_long(obj3)); | |
15822 | if (SWIG_arg_fail(4)) SWIG_fail; | |
15823 | } | |
d55e5bfc RD |
15824 | } |
15825 | if (obj4) { | |
15826 | { | |
15827 | arg5 = &temp5; | |
15828 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
15829 | } | |
15830 | } | |
15831 | { | |
0439c23b | 15832 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15834 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
15835 | ||
15836 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15837 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15838 | } |
15839 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); | |
15840 | { | |
15841 | if (temp2) | |
15842 | delete arg2; | |
15843 | } | |
15844 | { | |
15845 | if (temp3) | |
15846 | delete arg3; | |
15847 | } | |
15848 | return resultobj; | |
15849 | fail: | |
15850 | { | |
15851 | if (temp2) | |
15852 | delete arg2; | |
15853 | } | |
15854 | { | |
15855 | if (temp3) | |
15856 | delete arg3; | |
15857 | } | |
15858 | return NULL; | |
15859 | } | |
15860 | ||
15861 | ||
c32bde28 | 15862 | static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15863 | PyObject *obj; |
15864 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15865 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
15866 | Py_INCREF(obj); | |
15867 | return Py_BuildValue((char *)""); | |
15868 | } | |
c32bde28 | 15869 | static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15870 | PyObject *resultobj; |
15871 | wxString *arg1 = 0 ; | |
15872 | wxString *arg2 = 0 ; | |
15873 | int arg3 = (int) 100 ; | |
15874 | wxWindow *arg4 = (wxWindow *) NULL ; | |
15875 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
15876 | wxProgressDialog *result; | |
ae8162c8 RD |
15877 | bool temp1 = false ; |
15878 | bool temp2 = false ; | |
d55e5bfc RD |
15879 | PyObject * obj0 = 0 ; |
15880 | PyObject * obj1 = 0 ; | |
15881 | PyObject * obj2 = 0 ; | |
15882 | PyObject * obj3 = 0 ; | |
15883 | PyObject * obj4 = 0 ; | |
15884 | char *kwnames[] = { | |
15885 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
15886 | }; | |
15887 | ||
15888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
15889 | { | |
15890 | arg1 = wxString_in_helper(obj0); | |
15891 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 15892 | temp1 = true; |
d55e5bfc RD |
15893 | } |
15894 | { | |
15895 | arg2 = wxString_in_helper(obj1); | |
15896 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 15897 | temp2 = true; |
d55e5bfc RD |
15898 | } |
15899 | if (obj2) { | |
093d3ff1 RD |
15900 | { |
15901 | arg3 = (int)(SWIG_As_int(obj2)); | |
15902 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15903 | } | |
d55e5bfc RD |
15904 | } |
15905 | if (obj3) { | |
093d3ff1 RD |
15906 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15907 | if (SWIG_arg_fail(4)) SWIG_fail; | |
d55e5bfc RD |
15908 | } |
15909 | if (obj4) { | |
093d3ff1 RD |
15910 | { |
15911 | arg5 = (int)(SWIG_As_int(obj4)); | |
15912 | if (SWIG_arg_fail(5)) SWIG_fail; | |
15913 | } | |
d55e5bfc RD |
15914 | } |
15915 | { | |
0439c23b | 15916 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15918 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
15919 | ||
15920 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15921 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15922 | } |
15923 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); | |
15924 | { | |
15925 | if (temp1) | |
15926 | delete arg1; | |
15927 | } | |
15928 | { | |
15929 | if (temp2) | |
15930 | delete arg2; | |
15931 | } | |
15932 | return resultobj; | |
15933 | fail: | |
15934 | { | |
15935 | if (temp1) | |
15936 | delete arg1; | |
15937 | } | |
15938 | { | |
15939 | if (temp2) | |
15940 | delete arg2; | |
15941 | } | |
15942 | return NULL; | |
15943 | } | |
15944 | ||
15945 | ||
c32bde28 | 15946 | static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15947 | PyObject *resultobj; |
15948 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
15949 | int arg2 ; | |
15950 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15951 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15952 | bool result; | |
ae8162c8 | 15953 | bool temp3 = false ; |
d55e5bfc RD |
15954 | PyObject * obj0 = 0 ; |
15955 | PyObject * obj1 = 0 ; | |
15956 | PyObject * obj2 = 0 ; | |
15957 | char *kwnames[] = { | |
15958 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
15959 | }; | |
15960 | ||
15961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
15962 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0); |
15963 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15964 | { | |
15965 | arg2 = (int)(SWIG_As_int(obj1)); | |
15966 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15967 | } | |
d55e5bfc RD |
15968 | if (obj2) { |
15969 | { | |
15970 | arg3 = wxString_in_helper(obj2); | |
15971 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 15972 | temp3 = true; |
d55e5bfc RD |
15973 | } |
15974 | } | |
15975 | { | |
15976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15977 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
15978 | ||
15979 | wxPyEndAllowThreads(__tstate); | |
15980 | if (PyErr_Occurred()) SWIG_fail; | |
15981 | } | |
15982 | { | |
15983 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15984 | } | |
15985 | { | |
15986 | if (temp3) | |
15987 | delete arg3; | |
15988 | } | |
15989 | return resultobj; | |
15990 | fail: | |
15991 | { | |
15992 | if (temp3) | |
15993 | delete arg3; | |
15994 | } | |
15995 | return NULL; | |
15996 | } | |
15997 | ||
15998 | ||
c32bde28 | 15999 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16000 | PyObject *resultobj; |
16001 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
16002 | PyObject * obj0 = 0 ; | |
16003 | char *kwnames[] = { | |
16004 | (char *) "self", NULL | |
16005 | }; | |
16006 | ||
16007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16008 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0); |
16009 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16010 | { |
16011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16012 | (arg1)->Resume(); | |
16013 | ||
16014 | wxPyEndAllowThreads(__tstate); | |
16015 | if (PyErr_Occurred()) SWIG_fail; | |
16016 | } | |
16017 | Py_INCREF(Py_None); resultobj = Py_None; | |
16018 | return resultobj; | |
16019 | fail: | |
16020 | return NULL; | |
16021 | } | |
16022 | ||
16023 | ||
c32bde28 | 16024 | static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
16025 | PyObject *obj; |
16026 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16027 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
16028 | Py_INCREF(obj); | |
16029 | return Py_BuildValue((char *)""); | |
16030 | } | |
c32bde28 | 16031 | static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16032 | PyObject *resultobj; |
16033 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
16034 | int arg2 = (int) 0 ; | |
16035 | wxFindDialogEvent *result; | |
16036 | PyObject * obj0 = 0 ; | |
16037 | PyObject * obj1 = 0 ; | |
16038 | char *kwnames[] = { | |
16039 | (char *) "commandType",(char *) "id", NULL | |
16040 | }; | |
16041 | ||
16042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; | |
16043 | if (obj0) { | |
093d3ff1 RD |
16044 | { |
16045 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
16046 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16047 | } | |
d55e5bfc RD |
16048 | } |
16049 | if (obj1) { | |
093d3ff1 RD |
16050 | { |
16051 | arg2 = (int)(SWIG_As_int(obj1)); | |
16052 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16053 | } | |
d55e5bfc RD |
16054 | } |
16055 | { | |
16056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16057 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
16058 | ||
16059 | wxPyEndAllowThreads(__tstate); | |
16060 | if (PyErr_Occurred()) SWIG_fail; | |
16061 | } | |
16062 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); | |
16063 | return resultobj; | |
16064 | fail: | |
16065 | return NULL; | |
16066 | } | |
16067 | ||
16068 | ||
c32bde28 | 16069 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16070 | PyObject *resultobj; |
16071 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16072 | int result; | |
16073 | PyObject * obj0 = 0 ; | |
16074 | char *kwnames[] = { | |
16075 | (char *) "self", NULL | |
16076 | }; | |
16077 | ||
16078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16079 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16080 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16081 | { |
16082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16083 | result = (int)(arg1)->GetFlags(); | |
16084 | ||
16085 | wxPyEndAllowThreads(__tstate); | |
16086 | if (PyErr_Occurred()) SWIG_fail; | |
16087 | } | |
093d3ff1 RD |
16088 | { |
16089 | resultobj = SWIG_From_int((int)(result)); | |
16090 | } | |
d55e5bfc RD |
16091 | return resultobj; |
16092 | fail: | |
16093 | return NULL; | |
16094 | } | |
16095 | ||
16096 | ||
c32bde28 | 16097 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16098 | PyObject *resultobj; |
16099 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16100 | wxString *result; | |
16101 | PyObject * obj0 = 0 ; | |
16102 | char *kwnames[] = { | |
16103 | (char *) "self", NULL | |
16104 | }; | |
16105 | ||
16106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16107 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16108 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16109 | { |
16110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16111 | { | |
16112 | wxString const &_result_ref = (arg1)->GetFindString(); | |
16113 | result = (wxString *) &_result_ref; | |
16114 | } | |
16115 | ||
16116 | wxPyEndAllowThreads(__tstate); | |
16117 | if (PyErr_Occurred()) SWIG_fail; | |
16118 | } | |
16119 | { | |
16120 | #if wxUSE_UNICODE | |
16121 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16122 | #else | |
16123 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16124 | #endif | |
16125 | } | |
16126 | return resultobj; | |
16127 | fail: | |
16128 | return NULL; | |
16129 | } | |
16130 | ||
16131 | ||
c32bde28 | 16132 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16133 | PyObject *resultobj; |
16134 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16135 | wxString *result; | |
16136 | PyObject * obj0 = 0 ; | |
16137 | char *kwnames[] = { | |
16138 | (char *) "self", NULL | |
16139 | }; | |
16140 | ||
16141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16142 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16143 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16144 | { |
16145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16146 | { | |
16147 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
16148 | result = (wxString *) &_result_ref; | |
16149 | } | |
16150 | ||
16151 | wxPyEndAllowThreads(__tstate); | |
16152 | if (PyErr_Occurred()) SWIG_fail; | |
16153 | } | |
16154 | { | |
16155 | #if wxUSE_UNICODE | |
16156 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16157 | #else | |
16158 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16159 | #endif | |
16160 | } | |
16161 | return resultobj; | |
16162 | fail: | |
16163 | return NULL; | |
16164 | } | |
16165 | ||
16166 | ||
c32bde28 | 16167 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16168 | PyObject *resultobj; |
16169 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16170 | wxFindReplaceDialog *result; | |
16171 | PyObject * obj0 = 0 ; | |
16172 | char *kwnames[] = { | |
16173 | (char *) "self", NULL | |
16174 | }; | |
16175 | ||
16176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16177 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16178 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16179 | { |
16180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16181 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
16182 | ||
16183 | wxPyEndAllowThreads(__tstate); | |
16184 | if (PyErr_Occurred()) SWIG_fail; | |
16185 | } | |
16186 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); | |
16187 | return resultobj; | |
16188 | fail: | |
16189 | return NULL; | |
16190 | } | |
16191 | ||
16192 | ||
c32bde28 | 16193 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16194 | PyObject *resultobj; |
16195 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16196 | int arg2 ; | |
16197 | PyObject * obj0 = 0 ; | |
16198 | PyObject * obj1 = 0 ; | |
16199 | char *kwnames[] = { | |
16200 | (char *) "self",(char *) "flags", NULL | |
16201 | }; | |
16202 | ||
16203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16204 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16205 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16206 | { | |
16207 | arg2 = (int)(SWIG_As_int(obj1)); | |
16208 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16209 | } | |
d55e5bfc RD |
16210 | { |
16211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16212 | (arg1)->SetFlags(arg2); | |
16213 | ||
16214 | wxPyEndAllowThreads(__tstate); | |
16215 | if (PyErr_Occurred()) SWIG_fail; | |
16216 | } | |
16217 | Py_INCREF(Py_None); resultobj = Py_None; | |
16218 | return resultobj; | |
16219 | fail: | |
16220 | return NULL; | |
16221 | } | |
16222 | ||
16223 | ||
c32bde28 | 16224 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16225 | PyObject *resultobj; |
16226 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16227 | wxString *arg2 = 0 ; | |
ae8162c8 | 16228 | bool temp2 = false ; |
d55e5bfc RD |
16229 | PyObject * obj0 = 0 ; |
16230 | PyObject * obj1 = 0 ; | |
16231 | char *kwnames[] = { | |
16232 | (char *) "self",(char *) "str", NULL | |
16233 | }; | |
16234 | ||
16235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16236 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16237 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16238 | { |
16239 | arg2 = wxString_in_helper(obj1); | |
16240 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 16241 | temp2 = true; |
d55e5bfc RD |
16242 | } |
16243 | { | |
16244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16245 | (arg1)->SetFindString((wxString const &)*arg2); | |
16246 | ||
16247 | wxPyEndAllowThreads(__tstate); | |
16248 | if (PyErr_Occurred()) SWIG_fail; | |
16249 | } | |
16250 | Py_INCREF(Py_None); resultobj = Py_None; | |
16251 | { | |
16252 | if (temp2) | |
16253 | delete arg2; | |
16254 | } | |
16255 | return resultobj; | |
16256 | fail: | |
16257 | { | |
16258 | if (temp2) | |
16259 | delete arg2; | |
16260 | } | |
16261 | return NULL; | |
16262 | } | |
16263 | ||
16264 | ||
c32bde28 | 16265 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16266 | PyObject *resultobj; |
16267 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16268 | wxString *arg2 = 0 ; | |
ae8162c8 | 16269 | bool temp2 = false ; |
d55e5bfc RD |
16270 | PyObject * obj0 = 0 ; |
16271 | PyObject * obj1 = 0 ; | |
16272 | char *kwnames[] = { | |
16273 | (char *) "self",(char *) "str", NULL | |
16274 | }; | |
16275 | ||
16276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16277 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16278 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16279 | { |
16280 | arg2 = wxString_in_helper(obj1); | |
16281 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 16282 | temp2 = true; |
d55e5bfc RD |
16283 | } |
16284 | { | |
16285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16286 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
16287 | ||
16288 | wxPyEndAllowThreads(__tstate); | |
16289 | if (PyErr_Occurred()) SWIG_fail; | |
16290 | } | |
16291 | Py_INCREF(Py_None); resultobj = Py_None; | |
16292 | { | |
16293 | if (temp2) | |
16294 | delete arg2; | |
16295 | } | |
16296 | return resultobj; | |
16297 | fail: | |
16298 | { | |
16299 | if (temp2) | |
16300 | delete arg2; | |
16301 | } | |
16302 | return NULL; | |
16303 | } | |
16304 | ||
16305 | ||
c32bde28 | 16306 | static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
16307 | PyObject *obj; |
16308 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16309 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
16310 | Py_INCREF(obj); | |
16311 | return Py_BuildValue((char *)""); | |
16312 | } | |
c32bde28 | 16313 | static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16314 | PyObject *resultobj; |
16315 | int arg1 = (int) 0 ; | |
16316 | wxFindReplaceData *result; | |
16317 | PyObject * obj0 = 0 ; | |
16318 | char *kwnames[] = { | |
16319 | (char *) "flags", NULL | |
16320 | }; | |
16321 | ||
16322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; | |
16323 | if (obj0) { | |
093d3ff1 RD |
16324 | { |
16325 | arg1 = (int)(SWIG_As_int(obj0)); | |
16326 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16327 | } | |
d55e5bfc RD |
16328 | } |
16329 | { | |
16330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16331 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
16332 | ||
16333 | wxPyEndAllowThreads(__tstate); | |
16334 | if (PyErr_Occurred()) SWIG_fail; | |
16335 | } | |
16336 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); | |
16337 | return resultobj; | |
16338 | fail: | |
16339 | return NULL; | |
16340 | } | |
16341 | ||
16342 | ||
c32bde28 | 16343 | static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16344 | PyObject *resultobj; |
16345 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16346 | PyObject * obj0 = 0 ; | |
16347 | char *kwnames[] = { | |
16348 | (char *) "self", NULL | |
16349 | }; | |
16350 | ||
16351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16352 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16353 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16354 | { |
16355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16356 | delete arg1; | |
16357 | ||
16358 | wxPyEndAllowThreads(__tstate); | |
16359 | if (PyErr_Occurred()) SWIG_fail; | |
16360 | } | |
16361 | Py_INCREF(Py_None); resultobj = Py_None; | |
16362 | return resultobj; | |
16363 | fail: | |
16364 | return NULL; | |
16365 | } | |
16366 | ||
16367 | ||
c32bde28 | 16368 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16369 | PyObject *resultobj; |
16370 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16371 | wxString *result; | |
16372 | PyObject * obj0 = 0 ; | |
16373 | char *kwnames[] = { | |
16374 | (char *) "self", NULL | |
16375 | }; | |
16376 | ||
16377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16378 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16379 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16380 | { |
16381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16382 | { | |
16383 | wxString const &_result_ref = (arg1)->GetFindString(); | |
16384 | result = (wxString *) &_result_ref; | |
16385 | } | |
16386 | ||
16387 | wxPyEndAllowThreads(__tstate); | |
16388 | if (PyErr_Occurred()) SWIG_fail; | |
16389 | } | |
16390 | { | |
16391 | #if wxUSE_UNICODE | |
16392 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16393 | #else | |
16394 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16395 | #endif | |
16396 | } | |
16397 | return resultobj; | |
16398 | fail: | |
16399 | return NULL; | |
16400 | } | |
16401 | ||
16402 | ||
c32bde28 | 16403 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16404 | PyObject *resultobj; |
16405 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16406 | wxString *result; | |
16407 | PyObject * obj0 = 0 ; | |
16408 | char *kwnames[] = { | |
16409 | (char *) "self", NULL | |
16410 | }; | |
16411 | ||
16412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16413 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16414 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16415 | { |
16416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16417 | { | |
16418 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
16419 | result = (wxString *) &_result_ref; | |
16420 | } | |
16421 | ||
16422 | wxPyEndAllowThreads(__tstate); | |
16423 | if (PyErr_Occurred()) SWIG_fail; | |
16424 | } | |
16425 | { | |
16426 | #if wxUSE_UNICODE | |
16427 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16428 | #else | |
16429 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16430 | #endif | |
16431 | } | |
16432 | return resultobj; | |
16433 | fail: | |
16434 | return NULL; | |
16435 | } | |
16436 | ||
16437 | ||
c32bde28 | 16438 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16439 | PyObject *resultobj; |
16440 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16441 | int result; | |
16442 | PyObject * obj0 = 0 ; | |
16443 | char *kwnames[] = { | |
16444 | (char *) "self", NULL | |
16445 | }; | |
16446 | ||
16447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16448 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16449 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16450 | { |
16451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16452 | result = (int)(arg1)->GetFlags(); | |
16453 | ||
16454 | wxPyEndAllowThreads(__tstate); | |
16455 | if (PyErr_Occurred()) SWIG_fail; | |
16456 | } | |
093d3ff1 RD |
16457 | { |
16458 | resultobj = SWIG_From_int((int)(result)); | |
16459 | } | |
d55e5bfc RD |
16460 | return resultobj; |
16461 | fail: | |
16462 | return NULL; | |
16463 | } | |
16464 | ||
16465 | ||
c32bde28 | 16466 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16467 | PyObject *resultobj; |
16468 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16469 | int arg2 ; | |
16470 | PyObject * obj0 = 0 ; | |
16471 | PyObject * obj1 = 0 ; | |
16472 | char *kwnames[] = { | |
16473 | (char *) "self",(char *) "flags", NULL | |
16474 | }; | |
16475 | ||
16476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16477 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16478 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16479 | { | |
16480 | arg2 = (int)(SWIG_As_int(obj1)); | |
16481 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16482 | } | |
d55e5bfc RD |
16483 | { |
16484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16485 | (arg1)->SetFlags(arg2); | |
16486 | ||
16487 | wxPyEndAllowThreads(__tstate); | |
16488 | if (PyErr_Occurred()) SWIG_fail; | |
16489 | } | |
16490 | Py_INCREF(Py_None); resultobj = Py_None; | |
16491 | return resultobj; | |
16492 | fail: | |
16493 | return NULL; | |
16494 | } | |
16495 | ||
16496 | ||
c32bde28 | 16497 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16498 | PyObject *resultobj; |
16499 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16500 | wxString *arg2 = 0 ; | |
ae8162c8 | 16501 | bool temp2 = false ; |
d55e5bfc RD |
16502 | PyObject * obj0 = 0 ; |
16503 | PyObject * obj1 = 0 ; | |
16504 | char *kwnames[] = { | |
16505 | (char *) "self",(char *) "str", NULL | |
16506 | }; | |
16507 | ||
16508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16509 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16510 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16511 | { |
16512 | arg2 = wxString_in_helper(obj1); | |
16513 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 16514 | temp2 = true; |
d55e5bfc RD |
16515 | } |
16516 | { | |
16517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16518 | (arg1)->SetFindString((wxString const &)*arg2); | |
16519 | ||
16520 | wxPyEndAllowThreads(__tstate); | |
16521 | if (PyErr_Occurred()) SWIG_fail; | |
16522 | } | |
16523 | Py_INCREF(Py_None); resultobj = Py_None; | |
16524 | { | |
16525 | if (temp2) | |
16526 | delete arg2; | |
16527 | } | |
16528 | return resultobj; | |
16529 | fail: | |
16530 | { | |
16531 | if (temp2) | |
16532 | delete arg2; | |
16533 | } | |
16534 | return NULL; | |
16535 | } | |
16536 | ||
16537 | ||
c32bde28 | 16538 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16539 | PyObject *resultobj; |
16540 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16541 | wxString *arg2 = 0 ; | |
ae8162c8 | 16542 | bool temp2 = false ; |
d55e5bfc RD |
16543 | PyObject * obj0 = 0 ; |
16544 | PyObject * obj1 = 0 ; | |
16545 | char *kwnames[] = { | |
16546 | (char *) "self",(char *) "str", NULL | |
16547 | }; | |
16548 | ||
16549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16550 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16551 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16552 | { |
16553 | arg2 = wxString_in_helper(obj1); | |
16554 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 16555 | temp2 = true; |
d55e5bfc RD |
16556 | } |
16557 | { | |
16558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16559 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
16560 | ||
16561 | wxPyEndAllowThreads(__tstate); | |
16562 | if (PyErr_Occurred()) SWIG_fail; | |
16563 | } | |
16564 | Py_INCREF(Py_None); resultobj = Py_None; | |
16565 | { | |
16566 | if (temp2) | |
16567 | delete arg2; | |
16568 | } | |
16569 | return resultobj; | |
16570 | fail: | |
16571 | { | |
16572 | if (temp2) | |
16573 | delete arg2; | |
16574 | } | |
16575 | return NULL; | |
16576 | } | |
16577 | ||
16578 | ||
c32bde28 | 16579 | static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
16580 | PyObject *obj; |
16581 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16582 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
16583 | Py_INCREF(obj); | |
16584 | return Py_BuildValue((char *)""); | |
16585 | } | |
c32bde28 | 16586 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16587 | PyObject *resultobj; |
16588 | wxWindow *arg1 = (wxWindow *) 0 ; | |
16589 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
16590 | wxString *arg3 = 0 ; | |
16591 | int arg4 = (int) 0 ; | |
16592 | wxFindReplaceDialog *result; | |
ae8162c8 | 16593 | bool temp3 = false ; |
d55e5bfc RD |
16594 | PyObject * obj0 = 0 ; |
16595 | PyObject * obj1 = 0 ; | |
16596 | PyObject * obj2 = 0 ; | |
16597 | PyObject * obj3 = 0 ; | |
16598 | char *kwnames[] = { | |
16599 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
16600 | }; | |
16601 | ||
16602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
093d3ff1 RD |
16603 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
16604 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16605 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
16606 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
16607 | { |
16608 | arg3 = wxString_in_helper(obj2); | |
16609 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 16610 | temp3 = true; |
d55e5bfc RD |
16611 | } |
16612 | if (obj3) { | |
093d3ff1 RD |
16613 | { |
16614 | arg4 = (int)(SWIG_As_int(obj3)); | |
16615 | if (SWIG_arg_fail(4)) SWIG_fail; | |
16616 | } | |
d55e5bfc RD |
16617 | } |
16618 | { | |
0439c23b | 16619 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16621 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
16622 | ||
16623 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16624 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16625 | } |
16626 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); | |
16627 | { | |
16628 | if (temp3) | |
16629 | delete arg3; | |
16630 | } | |
16631 | return resultobj; | |
16632 | fail: | |
16633 | { | |
16634 | if (temp3) | |
16635 | delete arg3; | |
16636 | } | |
16637 | return NULL; | |
16638 | } | |
16639 | ||
16640 | ||
c32bde28 | 16641 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16642 | PyObject *resultobj; |
16643 | wxFindReplaceDialog *result; | |
16644 | char *kwnames[] = { | |
16645 | NULL | |
16646 | }; | |
16647 | ||
16648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
16649 | { | |
0439c23b | 16650 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16652 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
16653 | ||
16654 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16655 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16656 | } |
16657 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); | |
16658 | return resultobj; | |
16659 | fail: | |
16660 | return NULL; | |
16661 | } | |
16662 | ||
16663 | ||
c32bde28 | 16664 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16665 | PyObject *resultobj; |
16666 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
16667 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16668 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
16669 | wxString *arg4 = 0 ; | |
16670 | int arg5 = (int) 0 ; | |
16671 | bool result; | |
ae8162c8 | 16672 | bool temp4 = false ; |
d55e5bfc RD |
16673 | PyObject * obj0 = 0 ; |
16674 | PyObject * obj1 = 0 ; | |
16675 | PyObject * obj2 = 0 ; | |
16676 | PyObject * obj3 = 0 ; | |
16677 | PyObject * obj4 = 0 ; | |
16678 | char *kwnames[] = { | |
16679 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
16680 | }; | |
16681 | ||
16682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
093d3ff1 RD |
16683 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
16684 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16685 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
16686 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16687 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
16688 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
16689 | { |
16690 | arg4 = wxString_in_helper(obj3); | |
16691 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 16692 | temp4 = true; |
d55e5bfc RD |
16693 | } |
16694 | if (obj4) { | |
093d3ff1 RD |
16695 | { |
16696 | arg5 = (int)(SWIG_As_int(obj4)); | |
16697 | if (SWIG_arg_fail(5)) SWIG_fail; | |
16698 | } | |
d55e5bfc RD |
16699 | } |
16700 | { | |
16701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16702 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
16703 | ||
16704 | wxPyEndAllowThreads(__tstate); | |
16705 | if (PyErr_Occurred()) SWIG_fail; | |
16706 | } | |
16707 | { | |
16708 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16709 | } | |
16710 | { | |
16711 | if (temp4) | |
16712 | delete arg4; | |
16713 | } | |
16714 | return resultobj; | |
16715 | fail: | |
16716 | { | |
16717 | if (temp4) | |
16718 | delete arg4; | |
16719 | } | |
16720 | return NULL; | |
16721 | } | |
16722 | ||
16723 | ||
c32bde28 | 16724 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16725 | PyObject *resultobj; |
16726 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
16727 | wxFindReplaceData *result; | |
16728 | PyObject * obj0 = 0 ; | |
16729 | char *kwnames[] = { | |
16730 | (char *) "self", NULL | |
16731 | }; | |
16732 | ||
16733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
16734 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
16735 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16736 | { |
16737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16738 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
16739 | ||
16740 | wxPyEndAllowThreads(__tstate); | |
16741 | if (PyErr_Occurred()) SWIG_fail; | |
16742 | } | |
16743 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); | |
16744 | return resultobj; | |
16745 | fail: | |
16746 | return NULL; | |
16747 | } | |
16748 | ||
16749 | ||
c32bde28 | 16750 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16751 | PyObject *resultobj; |
16752 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
16753 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
16754 | PyObject * obj0 = 0 ; | |
16755 | PyObject * obj1 = 0 ; | |
16756 | char *kwnames[] = { | |
16757 | (char *) "self",(char *) "data", NULL | |
16758 | }; | |
16759 | ||
16760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
16761 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
16762 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16763 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
16764 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
16765 | { |
16766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16767 | (arg1)->SetData(arg2); | |
16768 | ||
16769 | wxPyEndAllowThreads(__tstate); | |
16770 | if (PyErr_Occurred()) SWIG_fail; | |
16771 | } | |
16772 | Py_INCREF(Py_None); resultobj = Py_None; | |
16773 | return resultobj; | |
16774 | fail: | |
16775 | return NULL; | |
16776 | } | |
16777 | ||
16778 | ||
c32bde28 | 16779 | static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
16780 | PyObject *obj; |
16781 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16782 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
16783 | Py_INCREF(obj); | |
16784 | return Py_BuildValue((char *)""); | |
16785 | } | |
c32bde28 | 16786 | static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16787 | PyObject *resultobj; |
16788 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
16789 | int arg2 = (int) (int)-1 ; |
16790 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
16791 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
16792 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
16793 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
16794 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
16795 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
16796 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
16797 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
16798 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
16799 | wxMDIParentFrame *result; | |
ae8162c8 | 16800 | bool temp3 = false ; |
d55e5bfc RD |
16801 | wxPoint temp4 ; |
16802 | wxSize temp5 ; | |
ae8162c8 | 16803 | bool temp7 = false ; |
d55e5bfc RD |
16804 | PyObject * obj0 = 0 ; |
16805 | PyObject * obj1 = 0 ; | |
16806 | PyObject * obj2 = 0 ; | |
16807 | PyObject * obj3 = 0 ; | |
16808 | PyObject * obj4 = 0 ; | |
16809 | PyObject * obj5 = 0 ; | |
16810 | PyObject * obj6 = 0 ; | |
16811 | char *kwnames[] = { | |
16812 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16813 | }; | |
16814 | ||
248ed943 | 16815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
16816 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
16817 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 16818 | if (obj1) { |
093d3ff1 RD |
16819 | { |
16820 | arg2 = (int const)(SWIG_As_int(obj1)); | |
16821 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16822 | } | |
248ed943 RD |
16823 | } |
16824 | if (obj2) { | |
16825 | { | |
16826 | arg3 = wxString_in_helper(obj2); | |
16827 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 16828 | temp3 = true; |
248ed943 | 16829 | } |
d55e5bfc RD |
16830 | } |
16831 | if (obj3) { | |
16832 | { | |
16833 | arg4 = &temp4; | |
16834 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
16835 | } | |
16836 | } | |
16837 | if (obj4) { | |
16838 | { | |
16839 | arg5 = &temp5; | |
16840 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
16841 | } | |
16842 | } | |
16843 | if (obj5) { | |
093d3ff1 RD |
16844 | { |
16845 | arg6 = (long)(SWIG_As_long(obj5)); | |
16846 | if (SWIG_arg_fail(6)) SWIG_fail; | |
16847 | } | |
d55e5bfc RD |
16848 | } |
16849 | if (obj6) { | |
16850 | { | |
16851 | arg7 = wxString_in_helper(obj6); | |
16852 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 16853 | temp7 = true; |
d55e5bfc RD |
16854 | } |
16855 | } | |
16856 | { | |
0439c23b | 16857 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16859 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
16860 | ||
16861 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16862 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16863 | } |
16864 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); | |
16865 | { | |
16866 | if (temp3) | |
16867 | delete arg3; | |
16868 | } | |
16869 | { | |
16870 | if (temp7) | |
16871 | delete arg7; | |
16872 | } | |
16873 | return resultobj; | |
16874 | fail: | |
16875 | { | |
16876 | if (temp3) | |
16877 | delete arg3; | |
16878 | } | |
16879 | { | |
16880 | if (temp7) | |
16881 | delete arg7; | |
16882 | } | |
16883 | return NULL; | |
16884 | } | |
16885 | ||
16886 | ||
c32bde28 | 16887 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16888 | PyObject *resultobj; |
16889 | wxMDIParentFrame *result; | |
16890 | char *kwnames[] = { | |
16891 | NULL | |
16892 | }; | |
16893 | ||
16894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
16895 | { | |
0439c23b | 16896 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16898 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
16899 | ||
16900 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16901 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16902 | } |
16903 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); | |
16904 | return resultobj; | |
16905 | fail: | |
16906 | return NULL; | |
16907 | } | |
16908 | ||
16909 | ||
c32bde28 | 16910 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16911 | PyObject *resultobj; |
16912 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16913 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
16914 | int arg3 = (int) (int)-1 ; |
16915 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
16916 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
16917 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
16918 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
16919 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
16920 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
16921 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
16922 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
16923 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
16924 | bool result; | |
ae8162c8 | 16925 | bool temp4 = false ; |
d55e5bfc RD |
16926 | wxPoint temp5 ; |
16927 | wxSize temp6 ; | |
ae8162c8 | 16928 | bool temp8 = false ; |
d55e5bfc RD |
16929 | PyObject * obj0 = 0 ; |
16930 | PyObject * obj1 = 0 ; | |
16931 | PyObject * obj2 = 0 ; | |
16932 | PyObject * obj3 = 0 ; | |
16933 | PyObject * obj4 = 0 ; | |
16934 | PyObject * obj5 = 0 ; | |
16935 | PyObject * obj6 = 0 ; | |
16936 | PyObject * obj7 = 0 ; | |
16937 | char *kwnames[] = { | |
16938 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16939 | }; | |
16940 | ||
248ed943 | 16941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
16942 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
16943 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16944 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
16945 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 16946 | if (obj2) { |
093d3ff1 RD |
16947 | { |
16948 | arg3 = (int const)(SWIG_As_int(obj2)); | |
16949 | if (SWIG_arg_fail(3)) SWIG_fail; | |
16950 | } | |
248ed943 RD |
16951 | } |
16952 | if (obj3) { | |
16953 | { | |
16954 | arg4 = wxString_in_helper(obj3); | |
16955 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 16956 | temp4 = true; |
248ed943 | 16957 | } |
d55e5bfc RD |
16958 | } |
16959 | if (obj4) { | |
16960 | { | |
16961 | arg5 = &temp5; | |
16962 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
16963 | } | |
16964 | } | |
16965 | if (obj5) { | |
16966 | { | |
16967 | arg6 = &temp6; | |
16968 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
16969 | } | |
16970 | } | |
16971 | if (obj6) { | |
093d3ff1 RD |
16972 | { |
16973 | arg7 = (long)(SWIG_As_long(obj6)); | |
16974 | if (SWIG_arg_fail(7)) SWIG_fail; | |
16975 | } | |
d55e5bfc RD |
16976 | } |
16977 | if (obj7) { | |
16978 | { | |
16979 | arg8 = wxString_in_helper(obj7); | |
16980 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 16981 | temp8 = true; |
d55e5bfc RD |
16982 | } |
16983 | } | |
16984 | { | |
16985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16986 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
16987 | ||
16988 | wxPyEndAllowThreads(__tstate); | |
16989 | if (PyErr_Occurred()) SWIG_fail; | |
16990 | } | |
16991 | { | |
16992 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16993 | } | |
16994 | { | |
16995 | if (temp4) | |
16996 | delete arg4; | |
16997 | } | |
16998 | { | |
16999 | if (temp8) | |
17000 | delete arg8; | |
17001 | } | |
17002 | return resultobj; | |
17003 | fail: | |
17004 | { | |
17005 | if (temp4) | |
17006 | delete arg4; | |
17007 | } | |
17008 | { | |
17009 | if (temp8) | |
17010 | delete arg8; | |
17011 | } | |
17012 | return NULL; | |
17013 | } | |
17014 | ||
17015 | ||
c32bde28 | 17016 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17017 | PyObject *resultobj; |
17018 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17019 | PyObject * obj0 = 0 ; | |
17020 | char *kwnames[] = { | |
17021 | (char *) "self", NULL | |
17022 | }; | |
17023 | ||
17024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17025 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17026 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17027 | { |
17028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17029 | (arg1)->ActivateNext(); | |
17030 | ||
17031 | wxPyEndAllowThreads(__tstate); | |
17032 | if (PyErr_Occurred()) SWIG_fail; | |
17033 | } | |
17034 | Py_INCREF(Py_None); resultobj = Py_None; | |
17035 | return resultobj; | |
17036 | fail: | |
17037 | return NULL; | |
17038 | } | |
17039 | ||
17040 | ||
c32bde28 | 17041 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17042 | PyObject *resultobj; |
17043 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17044 | PyObject * obj0 = 0 ; | |
17045 | char *kwnames[] = { | |
17046 | (char *) "self", NULL | |
17047 | }; | |
17048 | ||
17049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17050 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17051 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17052 | { |
17053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17054 | (arg1)->ActivatePrevious(); | |
17055 | ||
17056 | wxPyEndAllowThreads(__tstate); | |
17057 | if (PyErr_Occurred()) SWIG_fail; | |
17058 | } | |
17059 | Py_INCREF(Py_None); resultobj = Py_None; | |
17060 | return resultobj; | |
17061 | fail: | |
17062 | return NULL; | |
17063 | } | |
17064 | ||
17065 | ||
c32bde28 | 17066 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17067 | PyObject *resultobj; |
17068 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17069 | PyObject * obj0 = 0 ; | |
17070 | char *kwnames[] = { | |
17071 | (char *) "self", NULL | |
17072 | }; | |
17073 | ||
17074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17075 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17076 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17077 | { |
17078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17079 | (arg1)->ArrangeIcons(); | |
17080 | ||
17081 | wxPyEndAllowThreads(__tstate); | |
17082 | if (PyErr_Occurred()) SWIG_fail; | |
17083 | } | |
17084 | Py_INCREF(Py_None); resultobj = Py_None; | |
17085 | return resultobj; | |
17086 | fail: | |
17087 | return NULL; | |
17088 | } | |
17089 | ||
17090 | ||
c32bde28 | 17091 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17092 | PyObject *resultobj; |
17093 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17094 | PyObject * obj0 = 0 ; | |
17095 | char *kwnames[] = { | |
17096 | (char *) "self", NULL | |
17097 | }; | |
17098 | ||
17099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17100 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17101 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17102 | { |
17103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17104 | (arg1)->Cascade(); | |
17105 | ||
17106 | wxPyEndAllowThreads(__tstate); | |
17107 | if (PyErr_Occurred()) SWIG_fail; | |
17108 | } | |
17109 | Py_INCREF(Py_None); resultobj = Py_None; | |
17110 | return resultobj; | |
17111 | fail: | |
17112 | return NULL; | |
17113 | } | |
17114 | ||
17115 | ||
c32bde28 | 17116 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17117 | PyObject *resultobj; |
17118 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17119 | wxMDIChildFrame *result; | |
17120 | PyObject * obj0 = 0 ; | |
17121 | char *kwnames[] = { | |
17122 | (char *) "self", NULL | |
17123 | }; | |
17124 | ||
17125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17126 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17127 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17128 | { |
17129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17130 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
17131 | ||
17132 | wxPyEndAllowThreads(__tstate); | |
17133 | if (PyErr_Occurred()) SWIG_fail; | |
17134 | } | |
17135 | { | |
412d302d | 17136 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
17137 | } |
17138 | return resultobj; | |
17139 | fail: | |
17140 | return NULL; | |
17141 | } | |
17142 | ||
17143 | ||
c32bde28 | 17144 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17145 | PyObject *resultobj; |
17146 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17147 | wxMDIClientWindow *result; | |
17148 | PyObject * obj0 = 0 ; | |
17149 | char *kwnames[] = { | |
17150 | (char *) "self", NULL | |
17151 | }; | |
17152 | ||
17153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17154 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17155 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17156 | { |
17157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17158 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
17159 | ||
17160 | wxPyEndAllowThreads(__tstate); | |
17161 | if (PyErr_Occurred()) SWIG_fail; | |
17162 | } | |
17163 | { | |
412d302d | 17164 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
17165 | } |
17166 | return resultobj; | |
17167 | fail: | |
17168 | return NULL; | |
17169 | } | |
17170 | ||
17171 | ||
c32bde28 | 17172 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17173 | PyObject *resultobj; |
17174 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17175 | wxWindow *result; | |
17176 | PyObject * obj0 = 0 ; | |
17177 | char *kwnames[] = { | |
17178 | (char *) "self", NULL | |
17179 | }; | |
17180 | ||
17181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17182 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17183 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17184 | { |
17185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17186 | result = (wxWindow *)(arg1)->GetToolBar(); | |
17187 | ||
17188 | wxPyEndAllowThreads(__tstate); | |
17189 | if (PyErr_Occurred()) SWIG_fail; | |
17190 | } | |
17191 | { | |
412d302d | 17192 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
17193 | } |
17194 | return resultobj; | |
17195 | fail: | |
17196 | return NULL; | |
17197 | } | |
17198 | ||
17199 | ||
c32bde28 | 17200 | static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17201 | PyObject *resultobj; |
17202 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17203 | wxMenu *result; | |
17204 | PyObject * obj0 = 0 ; | |
17205 | char *kwnames[] = { | |
17206 | (char *) "self", NULL | |
17207 | }; | |
17208 | ||
17209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17210 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17211 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17212 | { |
17213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17214 | result = (wxMenu *)(arg1)->GetWindowMenu(); | |
17215 | ||
17216 | wxPyEndAllowThreads(__tstate); | |
17217 | if (PyErr_Occurred()) SWIG_fail; | |
17218 | } | |
17219 | { | |
412d302d | 17220 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
17221 | } |
17222 | return resultobj; | |
17223 | fail: | |
17224 | return NULL; | |
17225 | } | |
17226 | ||
17227 | ||
c32bde28 | 17228 | static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17229 | PyObject *resultobj; |
17230 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17231 | wxMenu *arg2 = (wxMenu *) 0 ; | |
17232 | PyObject * obj0 = 0 ; | |
17233 | PyObject * obj1 = 0 ; | |
17234 | char *kwnames[] = { | |
17235 | (char *) "self",(char *) "menu", NULL | |
17236 | }; | |
17237 | ||
17238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
17239 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17240 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17241 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); | |
17242 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
17243 | { |
17244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17245 | (arg1)->SetWindowMenu(arg2); | |
17246 | ||
17247 | wxPyEndAllowThreads(__tstate); | |
17248 | if (PyErr_Occurred()) SWIG_fail; | |
17249 | } | |
17250 | Py_INCREF(Py_None); resultobj = Py_None; | |
17251 | return resultobj; | |
17252 | fail: | |
17253 | return NULL; | |
17254 | } | |
17255 | ||
17256 | ||
c32bde28 | 17257 | static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17258 | PyObject *resultobj; |
17259 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17260 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
17261 | PyObject * obj0 = 0 ; | |
17262 | PyObject * obj1 = 0 ; | |
17263 | char *kwnames[] = { | |
17264 | (char *) "self",(char *) "toolbar", NULL | |
17265 | }; | |
17266 | ||
17267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
17268 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17269 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17270 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0); | |
17271 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
17272 | { |
17273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17274 | (arg1)->SetToolBar(arg2); | |
17275 | ||
17276 | wxPyEndAllowThreads(__tstate); | |
17277 | if (PyErr_Occurred()) SWIG_fail; | |
17278 | } | |
17279 | Py_INCREF(Py_None); resultobj = Py_None; | |
17280 | return resultobj; | |
17281 | fail: | |
17282 | return NULL; | |
17283 | } | |
17284 | ||
17285 | ||
c32bde28 | 17286 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17287 | PyObject *resultobj; |
17288 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17289 | PyObject * obj0 = 0 ; | |
17290 | char *kwnames[] = { | |
17291 | (char *) "self", NULL | |
17292 | }; | |
17293 | ||
17294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17295 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17296 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17297 | { |
17298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17299 | (arg1)->Tile(); | |
17300 | ||
17301 | wxPyEndAllowThreads(__tstate); | |
17302 | if (PyErr_Occurred()) SWIG_fail; | |
17303 | } | |
17304 | Py_INCREF(Py_None); resultobj = Py_None; | |
17305 | return resultobj; | |
17306 | fail: | |
17307 | return NULL; | |
17308 | } | |
17309 | ||
17310 | ||
c32bde28 | 17311 | static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
17312 | PyObject *obj; |
17313 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17314 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
17315 | Py_INCREF(obj); | |
17316 | return Py_BuildValue((char *)""); | |
17317 | } | |
c32bde28 | 17318 | static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17319 | PyObject *resultobj; |
17320 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
248ed943 RD |
17321 | int arg2 = (int) (int)-1 ; |
17322 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
17323 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
17324 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
17325 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
17326 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
17327 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
17328 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
17329 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
17330 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
17331 | wxMDIChildFrame *result; | |
ae8162c8 | 17332 | bool temp3 = false ; |
d55e5bfc RD |
17333 | wxPoint temp4 ; |
17334 | wxSize temp5 ; | |
ae8162c8 | 17335 | bool temp7 = false ; |
d55e5bfc RD |
17336 | PyObject * obj0 = 0 ; |
17337 | PyObject * obj1 = 0 ; | |
17338 | PyObject * obj2 = 0 ; | |
17339 | PyObject * obj3 = 0 ; | |
17340 | PyObject * obj4 = 0 ; | |
17341 | PyObject * obj5 = 0 ; | |
17342 | PyObject * obj6 = 0 ; | |
17343 | char *kwnames[] = { | |
17344 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17345 | }; | |
17346 | ||
248ed943 | 17347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
17348 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17349 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 17350 | if (obj1) { |
093d3ff1 RD |
17351 | { |
17352 | arg2 = (int const)(SWIG_As_int(obj1)); | |
17353 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17354 | } | |
248ed943 RD |
17355 | } |
17356 | if (obj2) { | |
17357 | { | |
17358 | arg3 = wxString_in_helper(obj2); | |
17359 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 17360 | temp3 = true; |
248ed943 | 17361 | } |
d55e5bfc RD |
17362 | } |
17363 | if (obj3) { | |
17364 | { | |
17365 | arg4 = &temp4; | |
17366 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
17367 | } | |
17368 | } | |
17369 | if (obj4) { | |
17370 | { | |
17371 | arg5 = &temp5; | |
17372 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
17373 | } | |
17374 | } | |
17375 | if (obj5) { | |
093d3ff1 RD |
17376 | { |
17377 | arg6 = (long)(SWIG_As_long(obj5)); | |
17378 | if (SWIG_arg_fail(6)) SWIG_fail; | |
17379 | } | |
d55e5bfc RD |
17380 | } |
17381 | if (obj6) { | |
17382 | { | |
17383 | arg7 = wxString_in_helper(obj6); | |
17384 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 17385 | temp7 = true; |
d55e5bfc RD |
17386 | } |
17387 | } | |
17388 | { | |
0439c23b | 17389 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17391 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
17392 | ||
17393 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17394 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 17395 | } |
b0f7404b | 17396 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d55e5bfc RD |
17397 | { |
17398 | if (temp3) | |
17399 | delete arg3; | |
17400 | } | |
17401 | { | |
17402 | if (temp7) | |
17403 | delete arg7; | |
17404 | } | |
17405 | return resultobj; | |
17406 | fail: | |
17407 | { | |
17408 | if (temp3) | |
17409 | delete arg3; | |
17410 | } | |
17411 | { | |
17412 | if (temp7) | |
17413 | delete arg7; | |
17414 | } | |
17415 | return NULL; | |
17416 | } | |
17417 | ||
17418 | ||
c32bde28 | 17419 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17420 | PyObject *resultobj; |
17421 | wxMDIChildFrame *result; | |
17422 | char *kwnames[] = { | |
17423 | NULL | |
17424 | }; | |
17425 | ||
17426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
17427 | { | |
0439c23b | 17428 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17430 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
17431 | ||
17432 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17433 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 17434 | } |
b0f7404b | 17435 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d55e5bfc RD |
17436 | return resultobj; |
17437 | fail: | |
17438 | return NULL; | |
17439 | } | |
17440 | ||
17441 | ||
c32bde28 | 17442 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17443 | PyObject *resultobj; |
17444 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
17445 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
248ed943 RD |
17446 | int arg3 = (int) (int)-1 ; |
17447 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
17448 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
17449 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
17450 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
17451 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
17452 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
17453 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
17454 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
17455 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
17456 | bool result; | |
ae8162c8 | 17457 | bool temp4 = false ; |
d55e5bfc RD |
17458 | wxPoint temp5 ; |
17459 | wxSize temp6 ; | |
ae8162c8 | 17460 | bool temp8 = false ; |
d55e5bfc RD |
17461 | PyObject * obj0 = 0 ; |
17462 | PyObject * obj1 = 0 ; | |
17463 | PyObject * obj2 = 0 ; | |
17464 | PyObject * obj3 = 0 ; | |
17465 | PyObject * obj4 = 0 ; | |
17466 | PyObject * obj5 = 0 ; | |
17467 | PyObject * obj6 = 0 ; | |
17468 | PyObject * obj7 = 0 ; | |
17469 | char *kwnames[] = { | |
17470 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17471 | }; | |
17472 | ||
248ed943 | 17473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
17474 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17475 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17476 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
17477 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 17478 | if (obj2) { |
093d3ff1 RD |
17479 | { |
17480 | arg3 = (int const)(SWIG_As_int(obj2)); | |
17481 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17482 | } | |
248ed943 RD |
17483 | } |
17484 | if (obj3) { | |
17485 | { | |
17486 | arg4 = wxString_in_helper(obj3); | |
17487 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 17488 | temp4 = true; |
248ed943 | 17489 | } |
d55e5bfc RD |
17490 | } |
17491 | if (obj4) { | |
17492 | { | |
17493 | arg5 = &temp5; | |
17494 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
17495 | } | |
17496 | } | |
17497 | if (obj5) { | |
17498 | { | |
17499 | arg6 = &temp6; | |
17500 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
17501 | } | |
17502 | } | |
17503 | if (obj6) { | |
093d3ff1 RD |
17504 | { |
17505 | arg7 = (long)(SWIG_As_long(obj6)); | |
17506 | if (SWIG_arg_fail(7)) SWIG_fail; | |
17507 | } | |
d55e5bfc RD |
17508 | } |
17509 | if (obj7) { | |
17510 | { | |
17511 | arg8 = wxString_in_helper(obj7); | |
17512 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 17513 | temp8 = true; |
d55e5bfc RD |
17514 | } |
17515 | } | |
17516 | { | |
17517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17518 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
17519 | ||
17520 | wxPyEndAllowThreads(__tstate); | |
17521 | if (PyErr_Occurred()) SWIG_fail; | |
17522 | } | |
17523 | { | |
17524 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17525 | } | |
17526 | { | |
17527 | if (temp4) | |
17528 | delete arg4; | |
17529 | } | |
17530 | { | |
17531 | if (temp8) | |
17532 | delete arg8; | |
17533 | } | |
17534 | return resultobj; | |
17535 | fail: | |
17536 | { | |
17537 | if (temp4) | |
17538 | delete arg4; | |
17539 | } | |
17540 | { | |
17541 | if (temp8) | |
17542 | delete arg8; | |
17543 | } | |
17544 | return NULL; | |
17545 | } | |
17546 | ||
17547 | ||
c32bde28 | 17548 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17549 | PyObject *resultobj; |
17550 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
17551 | PyObject * obj0 = 0 ; | |
17552 | char *kwnames[] = { | |
17553 | (char *) "self", NULL | |
17554 | }; | |
17555 | ||
17556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17557 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17558 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17559 | { |
17560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17561 | (arg1)->Activate(); | |
17562 | ||
17563 | wxPyEndAllowThreads(__tstate); | |
17564 | if (PyErr_Occurred()) SWIG_fail; | |
17565 | } | |
17566 | Py_INCREF(Py_None); resultobj = Py_None; | |
17567 | return resultobj; | |
17568 | fail: | |
17569 | return NULL; | |
17570 | } | |
17571 | ||
17572 | ||
c32bde28 | 17573 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17574 | PyObject *resultobj; |
17575 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
b519803b | 17576 | bool arg2 = (bool) true ; |
d55e5bfc RD |
17577 | PyObject * obj0 = 0 ; |
17578 | PyObject * obj1 = 0 ; | |
17579 | char *kwnames[] = { | |
17580 | (char *) "self",(char *) "maximize", NULL | |
17581 | }; | |
17582 | ||
b519803b | 17583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
17584 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17585 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b519803b | 17586 | if (obj1) { |
093d3ff1 RD |
17587 | { |
17588 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
17589 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17590 | } | |
b519803b | 17591 | } |
d55e5bfc RD |
17592 | { |
17593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17594 | (arg1)->Maximize(arg2); | |
17595 | ||
17596 | wxPyEndAllowThreads(__tstate); | |
17597 | if (PyErr_Occurred()) SWIG_fail; | |
17598 | } | |
17599 | Py_INCREF(Py_None); resultobj = Py_None; | |
17600 | return resultobj; | |
17601 | fail: | |
17602 | return NULL; | |
17603 | } | |
17604 | ||
17605 | ||
c32bde28 | 17606 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17607 | PyObject *resultobj; |
17608 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
17609 | PyObject * obj0 = 0 ; | |
17610 | char *kwnames[] = { | |
17611 | (char *) "self", NULL | |
17612 | }; | |
17613 | ||
17614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
17615 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17616 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17617 | { |
17618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17619 | (arg1)->Restore(); | |
17620 | ||
17621 | wxPyEndAllowThreads(__tstate); | |
17622 | if (PyErr_Occurred()) SWIG_fail; | |
17623 | } | |
17624 | Py_INCREF(Py_None); resultobj = Py_None; | |
17625 | return resultobj; | |
17626 | fail: | |
17627 | return NULL; | |
17628 | } | |
17629 | ||
17630 | ||
c32bde28 | 17631 | static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
17632 | PyObject *obj; |
17633 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17634 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
17635 | Py_INCREF(obj); | |
17636 | return Py_BuildValue((char *)""); | |
17637 | } | |
c32bde28 | 17638 | static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17639 | PyObject *resultobj; |
17640 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17641 | long arg2 = (long) 0 ; | |
17642 | wxMDIClientWindow *result; | |
17643 | PyObject * obj0 = 0 ; | |
17644 | PyObject * obj1 = 0 ; | |
17645 | char *kwnames[] = { | |
17646 | (char *) "parent",(char *) "style", NULL | |
17647 | }; | |
17648 | ||
17649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
17650 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17651 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 17652 | if (obj1) { |
093d3ff1 RD |
17653 | { |
17654 | arg2 = (long)(SWIG_As_long(obj1)); | |
17655 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17656 | } | |
d55e5bfc RD |
17657 | } |
17658 | { | |
0439c23b | 17659 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17661 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
17662 | ||
17663 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17664 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 17665 | } |
b0f7404b | 17666 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d55e5bfc RD |
17667 | return resultobj; |
17668 | fail: | |
17669 | return NULL; | |
17670 | } | |
17671 | ||
17672 | ||
c32bde28 | 17673 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17674 | PyObject *resultobj; |
17675 | wxMDIClientWindow *result; | |
17676 | char *kwnames[] = { | |
17677 | NULL | |
17678 | }; | |
17679 | ||
17680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
17681 | { | |
0439c23b | 17682 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17684 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
17685 | ||
17686 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17687 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 17688 | } |
b0f7404b | 17689 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d55e5bfc RD |
17690 | return resultobj; |
17691 | fail: | |
17692 | return NULL; | |
17693 | } | |
17694 | ||
17695 | ||
c32bde28 | 17696 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17697 | PyObject *resultobj; |
17698 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
17699 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
17700 | long arg3 = (long) 0 ; | |
17701 | bool result; | |
17702 | PyObject * obj0 = 0 ; | |
17703 | PyObject * obj1 = 0 ; | |
17704 | PyObject * obj2 = 0 ; | |
17705 | char *kwnames[] = { | |
17706 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
17707 | }; | |
17708 | ||
17709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
17710 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0); |
17711 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17712 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
17713 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 17714 | if (obj2) { |
093d3ff1 RD |
17715 | { |
17716 | arg3 = (long)(SWIG_As_long(obj2)); | |
17717 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17718 | } | |
d55e5bfc RD |
17719 | } |
17720 | { | |
17721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17722 | result = (bool)(arg1)->Create(arg2,arg3); | |
17723 | ||
17724 | wxPyEndAllowThreads(__tstate); | |
17725 | if (PyErr_Occurred()) SWIG_fail; | |
17726 | } | |
17727 | { | |
17728 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17729 | } | |
17730 | return resultobj; | |
17731 | fail: | |
17732 | return NULL; | |
17733 | } | |
17734 | ||
17735 | ||
c32bde28 | 17736 | static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
17737 | PyObject *obj; |
17738 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17739 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
17740 | Py_INCREF(obj); | |
17741 | return Py_BuildValue((char *)""); | |
17742 | } | |
c32bde28 | 17743 | static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17744 | PyObject *resultobj; |
17745 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 17746 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
17747 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
17748 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
17749 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
17750 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
17751 | long arg5 = (long) 0 ; | |
17752 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
17753 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
17754 | wxPyWindow *result; | |
17755 | wxPoint temp3 ; | |
17756 | wxSize temp4 ; | |
ae8162c8 | 17757 | bool temp6 = false ; |
d55e5bfc RD |
17758 | PyObject * obj0 = 0 ; |
17759 | PyObject * obj1 = 0 ; | |
17760 | PyObject * obj2 = 0 ; | |
17761 | PyObject * obj3 = 0 ; | |
17762 | PyObject * obj4 = 0 ; | |
17763 | PyObject * obj5 = 0 ; | |
17764 | char *kwnames[] = { | |
17765 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17766 | }; | |
17767 | ||
248ed943 | 17768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
17769 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
17770 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 17771 | if (obj1) { |
093d3ff1 RD |
17772 | { |
17773 | arg2 = (int const)(SWIG_As_int(obj1)); | |
17774 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17775 | } | |
248ed943 | 17776 | } |
d55e5bfc RD |
17777 | if (obj2) { |
17778 | { | |
17779 | arg3 = &temp3; | |
17780 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
17781 | } | |
17782 | } | |
17783 | if (obj3) { | |
17784 | { | |
17785 | arg4 = &temp4; | |
17786 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
17787 | } | |
17788 | } | |
17789 | if (obj4) { | |
093d3ff1 RD |
17790 | { |
17791 | arg5 = (long)(SWIG_As_long(obj4)); | |
17792 | if (SWIG_arg_fail(5)) SWIG_fail; | |
17793 | } | |
d55e5bfc RD |
17794 | } |
17795 | if (obj5) { | |
17796 | { | |
17797 | arg6 = wxString_in_helper(obj5); | |
17798 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 17799 | temp6 = true; |
d55e5bfc RD |
17800 | } |
17801 | } | |
17802 | { | |
0439c23b | 17803 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17805 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
17806 | ||
17807 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17808 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
17809 | } |
17810 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
17811 | { | |
17812 | if (temp6) | |
17813 | delete arg6; | |
17814 | } | |
17815 | return resultobj; | |
17816 | fail: | |
17817 | { | |
17818 | if (temp6) | |
17819 | delete arg6; | |
17820 | } | |
17821 | return NULL; | |
17822 | } | |
17823 | ||
17824 | ||
c32bde28 | 17825 | static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17826 | PyObject *resultobj; |
17827 | wxPyWindow *result; | |
17828 | char *kwnames[] = { | |
17829 | NULL | |
17830 | }; | |
17831 | ||
17832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail; | |
17833 | { | |
0439c23b | 17834 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17836 | result = (wxPyWindow *)new wxPyWindow(); | |
17837 | ||
17838 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17839 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
17840 | } |
17841 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
17842 | return resultobj; | |
17843 | fail: | |
17844 | return NULL; | |
17845 | } | |
17846 | ||
17847 | ||
c32bde28 | 17848 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17849 | PyObject *resultobj; |
17850 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17851 | PyObject *arg2 = (PyObject *) 0 ; | |
17852 | PyObject *arg3 = (PyObject *) 0 ; | |
17853 | PyObject * obj0 = 0 ; | |
17854 | PyObject * obj1 = 0 ; | |
17855 | PyObject * obj2 = 0 ; | |
17856 | char *kwnames[] = { | |
17857 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
17858 | }; | |
17859 | ||
17860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
17861 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17862 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17863 | arg2 = obj1; |
17864 | arg3 = obj2; | |
17865 | { | |
17866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17867 | (arg1)->_setCallbackInfo(arg2,arg3); | |
17868 | ||
17869 | wxPyEndAllowThreads(__tstate); | |
17870 | if (PyErr_Occurred()) SWIG_fail; | |
17871 | } | |
17872 | Py_INCREF(Py_None); resultobj = Py_None; | |
17873 | return resultobj; | |
17874 | fail: | |
17875 | return NULL; | |
17876 | } | |
17877 | ||
17878 | ||
c32bde28 | 17879 | static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
caef1a4d RD |
17880 | PyObject *resultobj; |
17881 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17882 | wxSize *arg2 = 0 ; | |
17883 | wxSize temp2 ; | |
17884 | PyObject * obj0 = 0 ; | |
17885 | PyObject * obj1 = 0 ; | |
17886 | char *kwnames[] = { | |
17887 | (char *) "self",(char *) "size", NULL | |
17888 | }; | |
17889 | ||
17890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
17891 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17892 | if (SWIG_arg_fail(1)) SWIG_fail; | |
caef1a4d RD |
17893 | { |
17894 | arg2 = &temp2; | |
17895 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
17896 | } | |
17897 | { | |
17898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17899 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
17900 | ||
17901 | wxPyEndAllowThreads(__tstate); | |
17902 | if (PyErr_Occurred()) SWIG_fail; | |
17903 | } | |
17904 | Py_INCREF(Py_None); resultobj = Py_None; | |
17905 | return resultobj; | |
17906 | fail: | |
17907 | return NULL; | |
17908 | } | |
17909 | ||
17910 | ||
c32bde28 | 17911 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17912 | PyObject *resultobj; |
17913 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17914 | int arg2 ; | |
17915 | int arg3 ; | |
17916 | int arg4 ; | |
17917 | int arg5 ; | |
17918 | PyObject * obj0 = 0 ; | |
17919 | PyObject * obj1 = 0 ; | |
17920 | PyObject * obj2 = 0 ; | |
17921 | PyObject * obj3 = 0 ; | |
17922 | PyObject * obj4 = 0 ; | |
17923 | char *kwnames[] = { | |
17924 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
17925 | }; | |
17926 | ||
17927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
093d3ff1 RD |
17928 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17929 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17930 | { | |
17931 | arg2 = (int)(SWIG_As_int(obj1)); | |
17932 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17933 | } | |
17934 | { | |
17935 | arg3 = (int)(SWIG_As_int(obj2)); | |
17936 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17937 | } | |
17938 | { | |
17939 | arg4 = (int)(SWIG_As_int(obj3)); | |
17940 | if (SWIG_arg_fail(4)) SWIG_fail; | |
17941 | } | |
17942 | { | |
17943 | arg5 = (int)(SWIG_As_int(obj4)); | |
17944 | if (SWIG_arg_fail(5)) SWIG_fail; | |
17945 | } | |
d55e5bfc RD |
17946 | { |
17947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17948 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
17949 | ||
17950 | wxPyEndAllowThreads(__tstate); | |
17951 | if (PyErr_Occurred()) SWIG_fail; | |
17952 | } | |
17953 | Py_INCREF(Py_None); resultobj = Py_None; | |
17954 | return resultobj; | |
17955 | fail: | |
17956 | return NULL; | |
17957 | } | |
17958 | ||
17959 | ||
c32bde28 | 17960 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17961 | PyObject *resultobj; |
17962 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17963 | int arg2 ; | |
17964 | int arg3 ; | |
17965 | int arg4 ; | |
17966 | int arg5 ; | |
17967 | int arg6 = (int) wxSIZE_AUTO ; | |
17968 | PyObject * obj0 = 0 ; | |
17969 | PyObject * obj1 = 0 ; | |
17970 | PyObject * obj2 = 0 ; | |
17971 | PyObject * obj3 = 0 ; | |
17972 | PyObject * obj4 = 0 ; | |
17973 | PyObject * obj5 = 0 ; | |
17974 | char *kwnames[] = { | |
17975 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
17976 | }; | |
17977 | ||
17978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
17979 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17980 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17981 | { | |
17982 | arg2 = (int)(SWIG_As_int(obj1)); | |
17983 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17984 | } | |
17985 | { | |
17986 | arg3 = (int)(SWIG_As_int(obj2)); | |
17987 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17988 | } | |
17989 | { | |
17990 | arg4 = (int)(SWIG_As_int(obj3)); | |
17991 | if (SWIG_arg_fail(4)) SWIG_fail; | |
17992 | } | |
17993 | { | |
17994 | arg5 = (int)(SWIG_As_int(obj4)); | |
17995 | if (SWIG_arg_fail(5)) SWIG_fail; | |
17996 | } | |
d55e5bfc | 17997 | if (obj5) { |
093d3ff1 RD |
17998 | { |
17999 | arg6 = (int)(SWIG_As_int(obj5)); | |
18000 | if (SWIG_arg_fail(6)) SWIG_fail; | |
18001 | } | |
d55e5bfc RD |
18002 | } |
18003 | { | |
18004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18005 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
18006 | ||
18007 | wxPyEndAllowThreads(__tstate); | |
18008 | if (PyErr_Occurred()) SWIG_fail; | |
18009 | } | |
18010 | Py_INCREF(Py_None); resultobj = Py_None; | |
18011 | return resultobj; | |
18012 | fail: | |
18013 | return NULL; | |
18014 | } | |
18015 | ||
18016 | ||
c32bde28 | 18017 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18018 | PyObject *resultobj; |
18019 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18020 | int arg2 ; | |
18021 | int arg3 ; | |
18022 | PyObject * obj0 = 0 ; | |
18023 | PyObject * obj1 = 0 ; | |
18024 | PyObject * obj2 = 0 ; | |
18025 | char *kwnames[] = { | |
18026 | (char *) "self",(char *) "width",(char *) "height", NULL | |
18027 | }; | |
18028 | ||
18029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
18030 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18031 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18032 | { | |
18033 | arg2 = (int)(SWIG_As_int(obj1)); | |
18034 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18035 | } | |
18036 | { | |
18037 | arg3 = (int)(SWIG_As_int(obj2)); | |
18038 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18039 | } | |
d55e5bfc RD |
18040 | { |
18041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18042 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
18043 | ||
18044 | wxPyEndAllowThreads(__tstate); | |
18045 | if (PyErr_Occurred()) SWIG_fail; | |
18046 | } | |
18047 | Py_INCREF(Py_None); resultobj = Py_None; | |
18048 | return resultobj; | |
18049 | fail: | |
18050 | return NULL; | |
18051 | } | |
18052 | ||
18053 | ||
c32bde28 | 18054 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18055 | PyObject *resultobj; |
18056 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18057 | int arg2 ; | |
18058 | int arg3 ; | |
18059 | PyObject * obj0 = 0 ; | |
18060 | PyObject * obj1 = 0 ; | |
18061 | PyObject * obj2 = 0 ; | |
18062 | char *kwnames[] = { | |
18063 | (char *) "self",(char *) "x",(char *) "y", NULL | |
18064 | }; | |
18065 | ||
18066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
18067 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18068 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18069 | { | |
18070 | arg2 = (int)(SWIG_As_int(obj1)); | |
18071 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18072 | } | |
18073 | { | |
18074 | arg3 = (int)(SWIG_As_int(obj2)); | |
18075 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18076 | } | |
d55e5bfc RD |
18077 | { |
18078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18079 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
18080 | ||
18081 | wxPyEndAllowThreads(__tstate); | |
18082 | if (PyErr_Occurred()) SWIG_fail; | |
18083 | } | |
18084 | Py_INCREF(Py_None); resultobj = Py_None; | |
18085 | return resultobj; | |
18086 | fail: | |
18087 | return NULL; | |
18088 | } | |
18089 | ||
18090 | ||
c32bde28 | 18091 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18092 | PyObject *resultobj; |
18093 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18094 | int *arg2 = (int *) 0 ; | |
18095 | int *arg3 = (int *) 0 ; | |
18096 | int temp2 ; | |
c32bde28 | 18097 | int res2 = 0 ; |
d55e5bfc | 18098 | int temp3 ; |
c32bde28 | 18099 | int res3 = 0 ; |
d55e5bfc RD |
18100 | PyObject * obj0 = 0 ; |
18101 | char *kwnames[] = { | |
18102 | (char *) "self", NULL | |
18103 | }; | |
18104 | ||
c32bde28 RD |
18105 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18106 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18108 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18109 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18110 | { |
18111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18112 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
18113 | ||
18114 | wxPyEndAllowThreads(__tstate); | |
18115 | if (PyErr_Occurred()) SWIG_fail; | |
18116 | } | |
18117 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
18118 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18119 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18120 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18121 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18122 | return resultobj; |
18123 | fail: | |
18124 | return NULL; | |
18125 | } | |
18126 | ||
18127 | ||
c32bde28 | 18128 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18129 | PyObject *resultobj; |
18130 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18131 | int *arg2 = (int *) 0 ; | |
18132 | int *arg3 = (int *) 0 ; | |
18133 | int temp2 ; | |
c32bde28 | 18134 | int res2 = 0 ; |
d55e5bfc | 18135 | int temp3 ; |
c32bde28 | 18136 | int res3 = 0 ; |
d55e5bfc RD |
18137 | PyObject * obj0 = 0 ; |
18138 | char *kwnames[] = { | |
18139 | (char *) "self", NULL | |
18140 | }; | |
18141 | ||
c32bde28 RD |
18142 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18143 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18145 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18146 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18147 | { |
18148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18149 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
18150 | ||
18151 | wxPyEndAllowThreads(__tstate); | |
18152 | if (PyErr_Occurred()) SWIG_fail; | |
18153 | } | |
18154 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
18155 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18156 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18157 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18158 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18159 | return resultobj; |
18160 | fail: | |
18161 | return NULL; | |
18162 | } | |
18163 | ||
18164 | ||
c32bde28 | 18165 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18166 | PyObject *resultobj; |
18167 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18168 | int *arg2 = (int *) 0 ; | |
18169 | int *arg3 = (int *) 0 ; | |
18170 | int temp2 ; | |
c32bde28 | 18171 | int res2 = 0 ; |
d55e5bfc | 18172 | int temp3 ; |
c32bde28 | 18173 | int res3 = 0 ; |
d55e5bfc RD |
18174 | PyObject * obj0 = 0 ; |
18175 | char *kwnames[] = { | |
18176 | (char *) "self", NULL | |
18177 | }; | |
18178 | ||
c32bde28 RD |
18179 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18180 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18182 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18183 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18184 | { |
18185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18186 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
18187 | ||
18188 | wxPyEndAllowThreads(__tstate); | |
18189 | if (PyErr_Occurred()) SWIG_fail; | |
18190 | } | |
18191 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
18192 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18193 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18194 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18195 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18196 | return resultobj; |
18197 | fail: | |
18198 | return NULL; | |
18199 | } | |
18200 | ||
18201 | ||
c32bde28 | 18202 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18203 | PyObject *resultobj; |
18204 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18205 | wxSize result; | |
18206 | PyObject * obj0 = 0 ; | |
18207 | char *kwnames[] = { | |
18208 | (char *) "self", NULL | |
18209 | }; | |
18210 | ||
18211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
18212 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18213 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18214 | { |
18215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18216 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
18217 | ||
18218 | wxPyEndAllowThreads(__tstate); | |
18219 | if (PyErr_Occurred()) SWIG_fail; | |
18220 | } | |
18221 | { | |
18222 | wxSize * resultptr; | |
093d3ff1 | 18223 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
18224 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
18225 | } | |
18226 | return resultobj; | |
18227 | fail: | |
18228 | return NULL; | |
18229 | } | |
18230 | ||
18231 | ||
c32bde28 | 18232 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18233 | PyObject *resultobj; |
18234 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18235 | wxSize result; | |
18236 | PyObject * obj0 = 0 ; | |
18237 | char *kwnames[] = { | |
18238 | (char *) "self", NULL | |
18239 | }; | |
18240 | ||
18241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
18242 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18243 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18244 | { |
18245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18246 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
18247 | ||
18248 | wxPyEndAllowThreads(__tstate); | |
18249 | if (PyErr_Occurred()) SWIG_fail; | |
18250 | } | |
18251 | { | |
18252 | wxSize * resultptr; | |
093d3ff1 | 18253 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
18254 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
18255 | } | |
18256 | return resultobj; | |
18257 | fail: | |
18258 | return NULL; | |
18259 | } | |
18260 | ||
18261 | ||
c32bde28 | 18262 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18263 | PyObject *resultobj; |
18264 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18265 | PyObject * obj0 = 0 ; | |
18266 | char *kwnames[] = { | |
18267 | (char *) "self", NULL | |
18268 | }; | |
18269 | ||
18270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
18271 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18272 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18273 | { |
18274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18275 | (arg1)->base_InitDialog(); | |
18276 | ||
18277 | wxPyEndAllowThreads(__tstate); | |
18278 | if (PyErr_Occurred()) SWIG_fail; | |
18279 | } | |
18280 | Py_INCREF(Py_None); resultobj = Py_None; | |
18281 | return resultobj; | |
18282 | fail: | |
18283 | return NULL; | |
18284 | } | |
18285 | ||
18286 | ||
c32bde28 | 18287 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18288 | PyObject *resultobj; |
18289 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18290 | bool result; | |
18291 | PyObject * obj0 = 0 ; | |
18292 | char *kwnames[] = { | |
18293 | (char *) "self", NULL | |
18294 | }; | |
18295 | ||
18296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
18297 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18298 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18299 | { |
18300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18301 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
18302 | ||
18303 | wxPyEndAllowThreads(__tstate); | |
18304 | if (PyErr_Occurred()) SWIG_fail; | |
18305 | } | |
18306 | { | |
18307 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18308 | } | |
18309 | return resultobj; | |
18310 | fail: | |
18311 | return NULL; | |
18312 | } | |
18313 | ||
18314 | ||
c32bde28 | 18315 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18316 | PyObject *resultobj; |
18317 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18318 | bool result; | |
18319 | PyObject * obj0 = 0 ; | |
18320 | char *kwnames[] = { | |
18321 | (char *) "self", NULL | |
18322 | }; | |
18323 | ||
18324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
18325 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18326 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18327 | { |
18328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18329 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
18330 | ||
18331 | wxPyEndAllowThreads(__tstate); | |
18332 | if (PyErr_Occurred()) SWIG_fail; | |
18333 | } | |
18334 | { | |
18335 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18336 | } | |
18337 | return resultobj; | |
18338 | fail: | |
18339 | return NULL; | |
18340 | } | |
18341 | ||
18342 | ||
c32bde28 | 18343 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18344 | PyObject *resultobj; |
18345 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18346 | bool result; | |
18347 | PyObject * obj0 = 0 ; | |
18348 | char *kwnames[] = { | |
18349 | (char *) "self", NULL | |
18350 | }; | |
18351 | ||
18352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
18353 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18354 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18355 | { |
18356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18357 | result = (bool)(arg1)->base_Validate(); | |
18358 | ||
18359 | wxPyEndAllowThreads(__tstate); | |
18360 | if (PyErr_Occurred()) SWIG_fail; | |
18361 | } | |
18362 | { | |
18363 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18364 | } | |
18365 | return resultobj; | |
18366 | fail: | |
18367 | return NULL; | |
18368 | } | |
18369 | ||
18370 | ||
c32bde28 | 18371 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18372 | PyObject *resultobj; |
18373 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18374 | bool result; | |
18375 | PyObject * obj0 = 0 ; | |
18376 | char *kwnames[] = { | |
18377 | (char *) "self", NULL | |
18378 | }; | |
18379 | ||
18380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
18381 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18382 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18383 | { |
18384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18385 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
18386 | ||
18387 | wxPyEndAllowThreads(__tstate); | |
18388 | if (PyErr_Occurred()) SWIG_fail; | |
18389 | } | |
18390 | { | |
18391 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18392 | } | |
18393 | return resultobj; | |
18394 | fail: | |
18395 | return NULL; | |
18396 | } | |
18397 | ||
18398 | ||
c32bde28 | 18399 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18400 | PyObject *resultobj; |
18401 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18402 | bool result; | |
18403 | PyObject * obj0 = 0 ; | |
18404 | char *kwnames[] = { | |
18405 | (char *) "self", NULL | |
18406 | }; | |
18407 | ||
18408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
18409 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18410 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18411 | { |
18412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18413 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
18414 | ||
18415 | wxPyEndAllowThreads(__tstate); | |
18416 | if (PyErr_Occurred()) SWIG_fail; | |
18417 | } | |
18418 | { | |
18419 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18420 | } | |
18421 | return resultobj; | |
18422 | fail: | |
18423 | return NULL; | |
18424 | } | |
18425 | ||
18426 | ||
c32bde28 | 18427 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18428 | PyObject *resultobj; |
18429 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18430 | wxSize result; | |
18431 | PyObject * obj0 = 0 ; | |
18432 | char *kwnames[] = { | |
18433 | (char *) "self", NULL | |
18434 | }; | |
18435 | ||
18436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
18437 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18438 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18439 | { |
18440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18441 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
18442 | ||
18443 | wxPyEndAllowThreads(__tstate); | |
18444 | if (PyErr_Occurred()) SWIG_fail; | |
18445 | } | |
18446 | { | |
18447 | wxSize * resultptr; | |
093d3ff1 | 18448 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
18449 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
18450 | } | |
18451 | return resultobj; | |
18452 | fail: | |
18453 | return NULL; | |
18454 | } | |
18455 | ||
18456 | ||
c32bde28 | 18457 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18458 | PyObject *resultobj; |
18459 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18460 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18461 | PyObject * obj0 = 0 ; | |
18462 | PyObject * obj1 = 0 ; | |
18463 | char *kwnames[] = { | |
18464 | (char *) "self",(char *) "child", NULL | |
18465 | }; | |
18466 | ||
18467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
18468 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18469 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18470 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
18471 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
18472 | { |
18473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18474 | (arg1)->base_AddChild(arg2); | |
18475 | ||
18476 | wxPyEndAllowThreads(__tstate); | |
18477 | if (PyErr_Occurred()) SWIG_fail; | |
18478 | } | |
18479 | Py_INCREF(Py_None); resultobj = Py_None; | |
18480 | return resultobj; | |
18481 | fail: | |
18482 | return NULL; | |
18483 | } | |
18484 | ||
18485 | ||
c32bde28 | 18486 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18487 | PyObject *resultobj; |
18488 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18489 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18490 | PyObject * obj0 = 0 ; | |
18491 | PyObject * obj1 = 0 ; | |
18492 | char *kwnames[] = { | |
18493 | (char *) "self",(char *) "child", NULL | |
18494 | }; | |
18495 | ||
18496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
18497 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18498 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18499 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
18500 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
18501 | { |
18502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18503 | (arg1)->base_RemoveChild(arg2); | |
18504 | ||
18505 | wxPyEndAllowThreads(__tstate); | |
18506 | if (PyErr_Occurred()) SWIG_fail; | |
18507 | } | |
18508 | Py_INCREF(Py_None); resultobj = Py_None; | |
18509 | return resultobj; | |
18510 | fail: | |
18511 | return NULL; | |
18512 | } | |
18513 | ||
18514 | ||
c32bde28 | 18515 | static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18516 | PyObject *resultobj; |
18517 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18518 | bool result; | |
18519 | PyObject * obj0 = 0 ; | |
18520 | char *kwnames[] = { | |
18521 | (char *) "self", NULL | |
18522 | }; | |
18523 | ||
18524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
18525 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18526 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18527 | { |
18528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
caef1a4d | 18529 | result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
18530 | |
18531 | wxPyEndAllowThreads(__tstate); | |
18532 | if (PyErr_Occurred()) SWIG_fail; | |
18533 | } | |
18534 | { | |
18535 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18536 | } | |
18537 | return resultobj; | |
18538 | fail: | |
18539 | return NULL; | |
18540 | } | |
18541 | ||
18542 | ||
c32bde28 | 18543 | static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18544 | PyObject *resultobj; |
18545 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18546 | wxColour *arg2 = 0 ; | |
18547 | wxColour temp2 ; | |
18548 | PyObject * obj0 = 0 ; | |
18549 | PyObject * obj1 = 0 ; | |
18550 | char *kwnames[] = { | |
18551 | (char *) "self",(char *) "c", NULL | |
18552 | }; | |
18553 | ||
18554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
18555 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18556 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18557 | { |
18558 | arg2 = &temp2; | |
18559 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
18560 | } | |
18561 | { | |
18562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18563 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
18564 | ||
18565 | wxPyEndAllowThreads(__tstate); | |
18566 | if (PyErr_Occurred()) SWIG_fail; | |
18567 | } | |
18568 | Py_INCREF(Py_None); resultobj = Py_None; | |
18569 | return resultobj; | |
18570 | fail: | |
18571 | return NULL; | |
18572 | } | |
18573 | ||
18574 | ||
c32bde28 | 18575 | static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
caef1a4d RD |
18576 | PyObject *resultobj; |
18577 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18578 | wxVisualAttributes result; | |
18579 | PyObject * obj0 = 0 ; | |
18580 | char *kwnames[] = { | |
18581 | (char *) "self", NULL | |
18582 | }; | |
18583 | ||
18584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
18585 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18586 | if (SWIG_arg_fail(1)) SWIG_fail; | |
caef1a4d RD |
18587 | { |
18588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18589 | result = (arg1)->base_GetDefaultAttributes(); | |
18590 | ||
18591 | wxPyEndAllowThreads(__tstate); | |
18592 | if (PyErr_Occurred()) SWIG_fail; | |
18593 | } | |
18594 | { | |
18595 | wxVisualAttributes * resultptr; | |
093d3ff1 | 18596 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
caef1a4d RD |
18597 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
18598 | } | |
18599 | return resultobj; | |
18600 | fail: | |
18601 | return NULL; | |
18602 | } | |
18603 | ||
18604 | ||
c32bde28 | 18605 | static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
18606 | PyObject *obj; |
18607 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18608 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
18609 | Py_INCREF(obj); | |
18610 | return Py_BuildValue((char *)""); | |
18611 | } | |
c32bde28 | 18612 | static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18613 | PyObject *resultobj; |
18614 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 18615 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
18616 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
18617 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
18618 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
18619 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
18620 | long arg5 = (long) 0 ; | |
18621 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
18622 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
18623 | wxPyPanel *result; | |
18624 | wxPoint temp3 ; | |
18625 | wxSize temp4 ; | |
ae8162c8 | 18626 | bool temp6 = false ; |
d55e5bfc RD |
18627 | PyObject * obj0 = 0 ; |
18628 | PyObject * obj1 = 0 ; | |
18629 | PyObject * obj2 = 0 ; | |
18630 | PyObject * obj3 = 0 ; | |
18631 | PyObject * obj4 = 0 ; | |
18632 | PyObject * obj5 = 0 ; | |
18633 | char *kwnames[] = { | |
18634 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
18635 | }; | |
18636 | ||
248ed943 | 18637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
18638 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
18639 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 18640 | if (obj1) { |
093d3ff1 RD |
18641 | { |
18642 | arg2 = (int const)(SWIG_As_int(obj1)); | |
18643 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18644 | } | |
248ed943 | 18645 | } |
d55e5bfc RD |
18646 | if (obj2) { |
18647 | { | |
18648 | arg3 = &temp3; | |
18649 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
18650 | } | |
18651 | } | |
18652 | if (obj3) { | |
18653 | { | |
18654 | arg4 = &temp4; | |
18655 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
18656 | } | |
18657 | } | |
18658 | if (obj4) { | |
093d3ff1 RD |
18659 | { |
18660 | arg5 = (long)(SWIG_As_long(obj4)); | |
18661 | if (SWIG_arg_fail(5)) SWIG_fail; | |
18662 | } | |
d55e5bfc RD |
18663 | } |
18664 | if (obj5) { | |
18665 | { | |
18666 | arg6 = wxString_in_helper(obj5); | |
18667 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 18668 | temp6 = true; |
d55e5bfc RD |
18669 | } |
18670 | } | |
18671 | { | |
0439c23b | 18672 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
18673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
18674 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
18675 | ||
18676 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 18677 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
18678 | } |
18679 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
18680 | { | |
18681 | if (temp6) | |
18682 | delete arg6; | |
18683 | } | |
18684 | return resultobj; | |
18685 | fail: | |
18686 | { | |
18687 | if (temp6) | |
18688 | delete arg6; | |
18689 | } | |
18690 | return NULL; | |
18691 | } | |
18692 | ||
18693 | ||
c32bde28 | 18694 | static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18695 | PyObject *resultobj; |
18696 | wxPyPanel *result; | |
18697 | char *kwnames[] = { | |
18698 | NULL | |
18699 | }; | |
18700 | ||
18701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail; | |
18702 | { | |
0439c23b | 18703 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
18704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
18705 | result = (wxPyPanel *)new wxPyPanel(); | |
18706 | ||
18707 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 18708 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
18709 | } |
18710 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
18711 | return resultobj; | |
18712 | fail: | |
18713 | return NULL; | |
18714 | } | |
18715 | ||
18716 | ||
c32bde28 | 18717 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18718 | PyObject *resultobj; |
18719 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18720 | PyObject *arg2 = (PyObject *) 0 ; | |
18721 | PyObject *arg3 = (PyObject *) 0 ; | |
18722 | PyObject * obj0 = 0 ; | |
18723 | PyObject * obj1 = 0 ; | |
18724 | PyObject * obj2 = 0 ; | |
18725 | char *kwnames[] = { | |
18726 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
18727 | }; | |
18728 | ||
18729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
18730 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18731 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18732 | arg2 = obj1; |
18733 | arg3 = obj2; | |
18734 | { | |
18735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18736 | (arg1)->_setCallbackInfo(arg2,arg3); | |
18737 | ||
18738 | wxPyEndAllowThreads(__tstate); | |
18739 | if (PyErr_Occurred()) SWIG_fail; | |
18740 | } | |
18741 | Py_INCREF(Py_None); resultobj = Py_None; | |
18742 | return resultobj; | |
18743 | fail: | |
18744 | return NULL; | |
18745 | } | |
18746 | ||
18747 | ||
c32bde28 | 18748 | static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
caef1a4d RD |
18749 | PyObject *resultobj; |
18750 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18751 | wxSize *arg2 = 0 ; | |
18752 | wxSize temp2 ; | |
18753 | PyObject * obj0 = 0 ; | |
18754 | PyObject * obj1 = 0 ; | |
18755 | char *kwnames[] = { | |
18756 | (char *) "self",(char *) "size", NULL | |
18757 | }; | |
18758 | ||
18759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
18760 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18761 | if (SWIG_arg_fail(1)) SWIG_fail; | |
caef1a4d RD |
18762 | { |
18763 | arg2 = &temp2; | |
18764 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
18765 | } | |
18766 | { | |
18767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18768 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
18769 | ||
18770 | wxPyEndAllowThreads(__tstate); | |
18771 | if (PyErr_Occurred()) SWIG_fail; | |
18772 | } | |
18773 | Py_INCREF(Py_None); resultobj = Py_None; | |
18774 | return resultobj; | |
18775 | fail: | |
18776 | return NULL; | |
18777 | } | |
18778 | ||
18779 | ||
c32bde28 | 18780 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18781 | PyObject *resultobj; |
18782 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18783 | int arg2 ; | |
18784 | int arg3 ; | |
18785 | int arg4 ; | |
18786 | int arg5 ; | |
18787 | PyObject * obj0 = 0 ; | |
18788 | PyObject * obj1 = 0 ; | |
18789 | PyObject * obj2 = 0 ; | |
18790 | PyObject * obj3 = 0 ; | |
18791 | PyObject * obj4 = 0 ; | |
18792 | char *kwnames[] = { | |
18793 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
18794 | }; | |
18795 | ||
18796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
093d3ff1 RD |
18797 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18798 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18799 | { | |
18800 | arg2 = (int)(SWIG_As_int(obj1)); | |
18801 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18802 | } | |
18803 | { | |
18804 | arg3 = (int)(SWIG_As_int(obj2)); | |
18805 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18806 | } | |
18807 | { | |
18808 | arg4 = (int)(SWIG_As_int(obj3)); | |
18809 | if (SWIG_arg_fail(4)) SWIG_fail; | |
18810 | } | |
18811 | { | |
18812 | arg5 = (int)(SWIG_As_int(obj4)); | |
18813 | if (SWIG_arg_fail(5)) SWIG_fail; | |
18814 | } | |
d55e5bfc RD |
18815 | { |
18816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18817 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
18818 | ||
18819 | wxPyEndAllowThreads(__tstate); | |
18820 | if (PyErr_Occurred()) SWIG_fail; | |
18821 | } | |
18822 | Py_INCREF(Py_None); resultobj = Py_None; | |
18823 | return resultobj; | |
18824 | fail: | |
18825 | return NULL; | |
18826 | } | |
18827 | ||
18828 | ||
c32bde28 | 18829 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18830 | PyObject *resultobj; |
18831 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18832 | int arg2 ; | |
18833 | int arg3 ; | |
18834 | int arg4 ; | |
18835 | int arg5 ; | |
18836 | int arg6 = (int) wxSIZE_AUTO ; | |
18837 | PyObject * obj0 = 0 ; | |
18838 | PyObject * obj1 = 0 ; | |
18839 | PyObject * obj2 = 0 ; | |
18840 | PyObject * obj3 = 0 ; | |
18841 | PyObject * obj4 = 0 ; | |
18842 | PyObject * obj5 = 0 ; | |
18843 | char *kwnames[] = { | |
18844 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
18845 | }; | |
18846 | ||
18847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
18848 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18849 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18850 | { | |
18851 | arg2 = (int)(SWIG_As_int(obj1)); | |
18852 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18853 | } | |
18854 | { | |
18855 | arg3 = (int)(SWIG_As_int(obj2)); | |
18856 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18857 | } | |
18858 | { | |
18859 | arg4 = (int)(SWIG_As_int(obj3)); | |
18860 | if (SWIG_arg_fail(4)) SWIG_fail; | |
18861 | } | |
18862 | { | |
18863 | arg5 = (int)(SWIG_As_int(obj4)); | |
18864 | if (SWIG_arg_fail(5)) SWIG_fail; | |
18865 | } | |
d55e5bfc | 18866 | if (obj5) { |
093d3ff1 RD |
18867 | { |
18868 | arg6 = (int)(SWIG_As_int(obj5)); | |
18869 | if (SWIG_arg_fail(6)) SWIG_fail; | |
18870 | } | |
d55e5bfc RD |
18871 | } |
18872 | { | |
18873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18874 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
18875 | ||
18876 | wxPyEndAllowThreads(__tstate); | |
18877 | if (PyErr_Occurred()) SWIG_fail; | |
18878 | } | |
18879 | Py_INCREF(Py_None); resultobj = Py_None; | |
18880 | return resultobj; | |
18881 | fail: | |
18882 | return NULL; | |
18883 | } | |
18884 | ||
18885 | ||
c32bde28 | 18886 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18887 | PyObject *resultobj; |
18888 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18889 | int arg2 ; | |
18890 | int arg3 ; | |
18891 | PyObject * obj0 = 0 ; | |
18892 | PyObject * obj1 = 0 ; | |
18893 | PyObject * obj2 = 0 ; | |
18894 | char *kwnames[] = { | |
18895 | (char *) "self",(char *) "width",(char *) "height", NULL | |
18896 | }; | |
18897 | ||
18898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
18899 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18900 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18901 | { | |
18902 | arg2 = (int)(SWIG_As_int(obj1)); | |
18903 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18904 | } | |
18905 | { | |
18906 | arg3 = (int)(SWIG_As_int(obj2)); | |
18907 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18908 | } | |
d55e5bfc RD |
18909 | { |
18910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18911 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
18912 | ||
18913 | wxPyEndAllowThreads(__tstate); | |
18914 | if (PyErr_Occurred()) SWIG_fail; | |
18915 | } | |
18916 | Py_INCREF(Py_None); resultobj = Py_None; | |
18917 | return resultobj; | |
18918 | fail: | |
18919 | return NULL; | |
18920 | } | |
18921 | ||
18922 | ||
c32bde28 | 18923 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18924 | PyObject *resultobj; |
18925 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18926 | int arg2 ; | |
18927 | int arg3 ; | |
18928 | PyObject * obj0 = 0 ; | |
18929 | PyObject * obj1 = 0 ; | |
18930 | PyObject * obj2 = 0 ; | |
18931 | char *kwnames[] = { | |
18932 | (char *) "self",(char *) "x",(char *) "y", NULL | |
18933 | }; | |
18934 | ||
18935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
18936 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18937 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18938 | { | |
18939 | arg2 = (int)(SWIG_As_int(obj1)); | |
18940 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18941 | } | |
18942 | { | |
18943 | arg3 = (int)(SWIG_As_int(obj2)); | |
18944 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18945 | } | |
d55e5bfc RD |
18946 | { |
18947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18948 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
18949 | ||
18950 | wxPyEndAllowThreads(__tstate); | |
18951 | if (PyErr_Occurred()) SWIG_fail; | |
18952 | } | |
18953 | Py_INCREF(Py_None); resultobj = Py_None; | |
18954 | return resultobj; | |
18955 | fail: | |
18956 | return NULL; | |
18957 | } | |
18958 | ||
18959 | ||
c32bde28 | 18960 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18961 | PyObject *resultobj; |
18962 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18963 | int *arg2 = (int *) 0 ; | |
18964 | int *arg3 = (int *) 0 ; | |
18965 | int temp2 ; | |
c32bde28 | 18966 | int res2 = 0 ; |
d55e5bfc | 18967 | int temp3 ; |
c32bde28 | 18968 | int res3 = 0 ; |
d55e5bfc RD |
18969 | PyObject * obj0 = 0 ; |
18970 | char *kwnames[] = { | |
18971 | (char *) "self", NULL | |
18972 | }; | |
18973 | ||
c32bde28 RD |
18974 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18975 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
18977 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18978 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18979 | { |
18980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18981 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
18982 | ||
18983 | wxPyEndAllowThreads(__tstate); | |
18984 | if (PyErr_Occurred()) SWIG_fail; | |
18985 | } | |
18986 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
18987 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18988 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18989 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18990 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18991 | return resultobj; |
18992 | fail: | |
18993 | return NULL; | |
18994 | } | |
18995 | ||
18996 | ||
c32bde28 | 18997 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18998 | PyObject *resultobj; |
18999 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19000 | int *arg2 = (int *) 0 ; | |
19001 | int *arg3 = (int *) 0 ; | |
19002 | int temp2 ; | |
c32bde28 | 19003 | int res2 = 0 ; |
d55e5bfc | 19004 | int temp3 ; |
c32bde28 | 19005 | int res3 = 0 ; |
d55e5bfc RD |
19006 | PyObject * obj0 = 0 ; |
19007 | char *kwnames[] = { | |
19008 | (char *) "self", NULL | |
19009 | }; | |
19010 | ||
c32bde28 RD |
19011 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19012 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 19013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19014 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19015 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19016 | { |
19017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19018 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
19019 | ||
19020 | wxPyEndAllowThreads(__tstate); | |
19021 | if (PyErr_Occurred()) SWIG_fail; | |
19022 | } | |
19023 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
19024 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19025 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19026 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19027 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
19028 | return resultobj; |
19029 | fail: | |
19030 | return NULL; | |
19031 | } | |
19032 | ||
19033 | ||
c32bde28 | 19034 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19035 | PyObject *resultobj; |
19036 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19037 | int *arg2 = (int *) 0 ; | |
19038 | int *arg3 = (int *) 0 ; | |
19039 | int temp2 ; | |
c32bde28 | 19040 | int res2 = 0 ; |
d55e5bfc | 19041 | int temp3 ; |
c32bde28 | 19042 | int res3 = 0 ; |
d55e5bfc RD |
19043 | PyObject * obj0 = 0 ; |
19044 | char *kwnames[] = { | |
19045 | (char *) "self", NULL | |
19046 | }; | |
19047 | ||
c32bde28 RD |
19048 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19049 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 19050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19051 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19052 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19053 | { |
19054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19055 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
19056 | ||
19057 | wxPyEndAllowThreads(__tstate); | |
19058 | if (PyErr_Occurred()) SWIG_fail; | |
19059 | } | |
19060 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
19061 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19062 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19063 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19064 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
19065 | return resultobj; |
19066 | fail: | |
19067 | return NULL; | |
19068 | } | |
19069 | ||
19070 | ||
c32bde28 | 19071 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19072 | PyObject *resultobj; |
19073 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19074 | wxSize result; | |
19075 | PyObject * obj0 = 0 ; | |
19076 | char *kwnames[] = { | |
19077 | (char *) "self", NULL | |
19078 | }; | |
19079 | ||
19080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
19081 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19082 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19083 | { |
19084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19085 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
19086 | ||
19087 | wxPyEndAllowThreads(__tstate); | |
19088 | if (PyErr_Occurred()) SWIG_fail; | |
19089 | } | |
19090 | { | |
19091 | wxSize * resultptr; | |
093d3ff1 | 19092 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19093 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19094 | } | |
19095 | return resultobj; | |
19096 | fail: | |
19097 | return NULL; | |
19098 | } | |
19099 | ||
19100 | ||
c32bde28 | 19101 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19102 | PyObject *resultobj; |
19103 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19104 | wxSize result; | |
19105 | PyObject * obj0 = 0 ; | |
19106 | char *kwnames[] = { | |
19107 | (char *) "self", NULL | |
19108 | }; | |
19109 | ||
19110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
19111 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19112 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19113 | { |
19114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19115 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
19116 | ||
19117 | wxPyEndAllowThreads(__tstate); | |
19118 | if (PyErr_Occurred()) SWIG_fail; | |
19119 | } | |
19120 | { | |
19121 | wxSize * resultptr; | |
093d3ff1 | 19122 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19123 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19124 | } | |
19125 | return resultobj; | |
19126 | fail: | |
19127 | return NULL; | |
19128 | } | |
19129 | ||
19130 | ||
c32bde28 | 19131 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19132 | PyObject *resultobj; |
19133 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19134 | PyObject * obj0 = 0 ; | |
19135 | char *kwnames[] = { | |
19136 | (char *) "self", NULL | |
19137 | }; | |
19138 | ||
19139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
19140 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19141 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19142 | { |
19143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19144 | (arg1)->base_InitDialog(); | |
19145 | ||
19146 | wxPyEndAllowThreads(__tstate); | |
19147 | if (PyErr_Occurred()) SWIG_fail; | |
19148 | } | |
19149 | Py_INCREF(Py_None); resultobj = Py_None; | |
19150 | return resultobj; | |
19151 | fail: | |
19152 | return NULL; | |
19153 | } | |
19154 | ||
19155 | ||
c32bde28 | 19156 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19157 | PyObject *resultobj; |
19158 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19159 | bool result; | |
19160 | PyObject * obj0 = 0 ; | |
19161 | char *kwnames[] = { | |
19162 | (char *) "self", NULL | |
19163 | }; | |
19164 | ||
19165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
19166 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19167 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19168 | { |
19169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19170 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
19171 | ||
19172 | wxPyEndAllowThreads(__tstate); | |
19173 | if (PyErr_Occurred()) SWIG_fail; | |
19174 | } | |
19175 | { | |
19176 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19177 | } | |
19178 | return resultobj; | |
19179 | fail: | |
19180 | return NULL; | |
19181 | } | |
19182 | ||
19183 | ||
c32bde28 | 19184 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19185 | PyObject *resultobj; |
19186 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19187 | bool result; | |
19188 | PyObject * obj0 = 0 ; | |
19189 | char *kwnames[] = { | |
19190 | (char *) "self", NULL | |
19191 | }; | |
19192 | ||
19193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
19194 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19195 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19196 | { |
19197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19198 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
19199 | ||
19200 | wxPyEndAllowThreads(__tstate); | |
19201 | if (PyErr_Occurred()) SWIG_fail; | |
19202 | } | |
19203 | { | |
19204 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19205 | } | |
19206 | return resultobj; | |
19207 | fail: | |
19208 | return NULL; | |
19209 | } | |
19210 | ||
19211 | ||
c32bde28 | 19212 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19213 | PyObject *resultobj; |
19214 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19215 | bool result; | |
19216 | PyObject * obj0 = 0 ; | |
19217 | char *kwnames[] = { | |
19218 | (char *) "self", NULL | |
19219 | }; | |
19220 | ||
19221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
19222 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19223 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19224 | { |
19225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19226 | result = (bool)(arg1)->base_Validate(); | |
19227 | ||
19228 | wxPyEndAllowThreads(__tstate); | |
19229 | if (PyErr_Occurred()) SWIG_fail; | |
19230 | } | |
19231 | { | |
19232 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19233 | } | |
19234 | return resultobj; | |
19235 | fail: | |
19236 | return NULL; | |
19237 | } | |
19238 | ||
19239 | ||
c32bde28 | 19240 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19241 | PyObject *resultobj; |
19242 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19243 | bool result; | |
19244 | PyObject * obj0 = 0 ; | |
19245 | char *kwnames[] = { | |
19246 | (char *) "self", NULL | |
19247 | }; | |
19248 | ||
19249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
19250 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19251 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19252 | { |
19253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19254 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
19255 | ||
19256 | wxPyEndAllowThreads(__tstate); | |
19257 | if (PyErr_Occurred()) SWIG_fail; | |
19258 | } | |
19259 | { | |
19260 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19261 | } | |
19262 | return resultobj; | |
19263 | fail: | |
19264 | return NULL; | |
19265 | } | |
19266 | ||
19267 | ||
c32bde28 | 19268 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19269 | PyObject *resultobj; |
19270 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19271 | bool result; | |
19272 | PyObject * obj0 = 0 ; | |
19273 | char *kwnames[] = { | |
19274 | (char *) "self", NULL | |
19275 | }; | |
19276 | ||
19277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
19278 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19279 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19280 | { |
19281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19282 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
19283 | ||
19284 | wxPyEndAllowThreads(__tstate); | |
19285 | if (PyErr_Occurred()) SWIG_fail; | |
19286 | } | |
19287 | { | |
19288 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19289 | } | |
19290 | return resultobj; | |
19291 | fail: | |
19292 | return NULL; | |
19293 | } | |
19294 | ||
19295 | ||
c32bde28 | 19296 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19297 | PyObject *resultobj; |
19298 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19299 | wxSize result; | |
19300 | PyObject * obj0 = 0 ; | |
19301 | char *kwnames[] = { | |
19302 | (char *) "self", NULL | |
19303 | }; | |
19304 | ||
19305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
19306 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19307 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19308 | { |
19309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19310 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
19311 | ||
19312 | wxPyEndAllowThreads(__tstate); | |
19313 | if (PyErr_Occurred()) SWIG_fail; | |
19314 | } | |
19315 | { | |
19316 | wxSize * resultptr; | |
093d3ff1 | 19317 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19318 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19319 | } | |
19320 | return resultobj; | |
19321 | fail: | |
19322 | return NULL; | |
19323 | } | |
19324 | ||
19325 | ||
c32bde28 | 19326 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19327 | PyObject *resultobj; |
19328 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19329 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19330 | PyObject * obj0 = 0 ; | |
19331 | PyObject * obj1 = 0 ; | |
19332 | char *kwnames[] = { | |
19333 | (char *) "self",(char *) "child", NULL | |
19334 | }; | |
19335 | ||
19336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
19337 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19338 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19339 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
19340 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
19341 | { |
19342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19343 | (arg1)->base_AddChild(arg2); | |
19344 | ||
19345 | wxPyEndAllowThreads(__tstate); | |
19346 | if (PyErr_Occurred()) SWIG_fail; | |
19347 | } | |
19348 | Py_INCREF(Py_None); resultobj = Py_None; | |
19349 | return resultobj; | |
19350 | fail: | |
19351 | return NULL; | |
19352 | } | |
19353 | ||
19354 | ||
c32bde28 | 19355 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19356 | PyObject *resultobj; |
19357 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19358 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19359 | PyObject * obj0 = 0 ; | |
19360 | PyObject * obj1 = 0 ; | |
19361 | char *kwnames[] = { | |
19362 | (char *) "self",(char *) "child", NULL | |
19363 | }; | |
19364 | ||
19365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
19366 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19367 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19368 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
19369 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
19370 | { |
19371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19372 | (arg1)->base_RemoveChild(arg2); | |
19373 | ||
19374 | wxPyEndAllowThreads(__tstate); | |
19375 | if (PyErr_Occurred()) SWIG_fail; | |
19376 | } | |
19377 | Py_INCREF(Py_None); resultobj = Py_None; | |
19378 | return resultobj; | |
19379 | fail: | |
19380 | return NULL; | |
19381 | } | |
19382 | ||
19383 | ||
c32bde28 | 19384 | static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19385 | PyObject *resultobj; |
19386 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19387 | bool result; | |
19388 | PyObject * obj0 = 0 ; | |
19389 | char *kwnames[] = { | |
19390 | (char *) "self", NULL | |
19391 | }; | |
19392 | ||
19393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
19394 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19395 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19396 | { |
19397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
caef1a4d | 19398 | result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
19399 | |
19400 | wxPyEndAllowThreads(__tstate); | |
19401 | if (PyErr_Occurred()) SWIG_fail; | |
19402 | } | |
19403 | { | |
19404 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19405 | } | |
19406 | return resultobj; | |
19407 | fail: | |
19408 | return NULL; | |
19409 | } | |
19410 | ||
19411 | ||
c32bde28 | 19412 | static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19413 | PyObject *resultobj; |
19414 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19415 | wxColour *arg2 = 0 ; | |
19416 | wxColour temp2 ; | |
19417 | PyObject * obj0 = 0 ; | |
19418 | PyObject * obj1 = 0 ; | |
19419 | char *kwnames[] = { | |
19420 | (char *) "self",(char *) "c", NULL | |
19421 | }; | |
19422 | ||
19423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
19424 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19425 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19426 | { |
19427 | arg2 = &temp2; | |
19428 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
19429 | } | |
19430 | { | |
19431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19432 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
19433 | ||
19434 | wxPyEndAllowThreads(__tstate); | |
19435 | if (PyErr_Occurred()) SWIG_fail; | |
19436 | } | |
19437 | Py_INCREF(Py_None); resultobj = Py_None; | |
19438 | return resultobj; | |
19439 | fail: | |
19440 | return NULL; | |
19441 | } | |
19442 | ||
19443 | ||
c32bde28 | 19444 | static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
caef1a4d RD |
19445 | PyObject *resultobj; |
19446 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19447 | wxVisualAttributes result; | |
19448 | PyObject * obj0 = 0 ; | |
19449 | char *kwnames[] = { | |
19450 | (char *) "self", NULL | |
19451 | }; | |
19452 | ||
19453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
19454 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19455 | if (SWIG_arg_fail(1)) SWIG_fail; | |
caef1a4d RD |
19456 | { |
19457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19458 | result = (arg1)->base_GetDefaultAttributes(); | |
19459 | ||
19460 | wxPyEndAllowThreads(__tstate); | |
19461 | if (PyErr_Occurred()) SWIG_fail; | |
19462 | } | |
19463 | { | |
19464 | wxVisualAttributes * resultptr; | |
093d3ff1 | 19465 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
caef1a4d RD |
19466 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
19467 | } | |
19468 | return resultobj; | |
19469 | fail: | |
19470 | return NULL; | |
19471 | } | |
19472 | ||
19473 | ||
c32bde28 | 19474 | static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
19475 | PyObject *obj; |
19476 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19477 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
19478 | Py_INCREF(obj); | |
19479 | return Py_BuildValue((char *)""); | |
19480 | } | |
c32bde28 | 19481 | static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19482 | PyObject *resultobj; |
19483 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 19484 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
19485 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
19486 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
19487 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
19488 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
19489 | long arg5 = (long) 0 ; | |
19490 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
19491 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
19492 | wxPyScrolledWindow *result; | |
19493 | wxPoint temp3 ; | |
19494 | wxSize temp4 ; | |
ae8162c8 | 19495 | bool temp6 = false ; |
d55e5bfc RD |
19496 | PyObject * obj0 = 0 ; |
19497 | PyObject * obj1 = 0 ; | |
19498 | PyObject * obj2 = 0 ; | |
19499 | PyObject * obj3 = 0 ; | |
19500 | PyObject * obj4 = 0 ; | |
19501 | PyObject * obj5 = 0 ; | |
19502 | char *kwnames[] = { | |
19503 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
19504 | }; | |
19505 | ||
248ed943 | 19506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
19507 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
19508 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 19509 | if (obj1) { |
093d3ff1 RD |
19510 | { |
19511 | arg2 = (int const)(SWIG_As_int(obj1)); | |
19512 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19513 | } | |
248ed943 | 19514 | } |
d55e5bfc RD |
19515 | if (obj2) { |
19516 | { | |
19517 | arg3 = &temp3; | |
19518 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
19519 | } | |
19520 | } | |
19521 | if (obj3) { | |
19522 | { | |
19523 | arg4 = &temp4; | |
19524 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
19525 | } | |
19526 | } | |
19527 | if (obj4) { | |
093d3ff1 RD |
19528 | { |
19529 | arg5 = (long)(SWIG_As_long(obj4)); | |
19530 | if (SWIG_arg_fail(5)) SWIG_fail; | |
19531 | } | |
d55e5bfc RD |
19532 | } |
19533 | if (obj5) { | |
19534 | { | |
19535 | arg6 = wxString_in_helper(obj5); | |
19536 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 19537 | temp6 = true; |
d55e5bfc RD |
19538 | } |
19539 | } | |
19540 | { | |
0439c23b | 19541 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
19542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
19543 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
19544 | ||
19545 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 19546 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
19547 | } |
19548 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
19549 | { | |
19550 | if (temp6) | |
19551 | delete arg6; | |
19552 | } | |
19553 | return resultobj; | |
19554 | fail: | |
19555 | { | |
19556 | if (temp6) | |
19557 | delete arg6; | |
19558 | } | |
19559 | return NULL; | |
19560 | } | |
19561 | ||
19562 | ||
c32bde28 | 19563 | static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19564 | PyObject *resultobj; |
19565 | wxPyScrolledWindow *result; | |
19566 | char *kwnames[] = { | |
19567 | NULL | |
19568 | }; | |
19569 | ||
19570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail; | |
19571 | { | |
0439c23b | 19572 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
19573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
19574 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(); | |
19575 | ||
19576 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 19577 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
19578 | } |
19579 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
19580 | return resultobj; | |
19581 | fail: | |
19582 | return NULL; | |
19583 | } | |
19584 | ||
19585 | ||
c32bde28 | 19586 | static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19587 | PyObject *resultobj; |
19588 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19589 | PyObject *arg2 = (PyObject *) 0 ; | |
19590 | PyObject *arg3 = (PyObject *) 0 ; | |
19591 | PyObject * obj0 = 0 ; | |
19592 | PyObject * obj1 = 0 ; | |
19593 | PyObject * obj2 = 0 ; | |
19594 | char *kwnames[] = { | |
19595 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
19596 | }; | |
19597 | ||
19598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
19599 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19600 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19601 | arg2 = obj1; |
19602 | arg3 = obj2; | |
19603 | { | |
19604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19605 | (arg1)->_setCallbackInfo(arg2,arg3); | |
19606 | ||
19607 | wxPyEndAllowThreads(__tstate); | |
19608 | if (PyErr_Occurred()) SWIG_fail; | |
19609 | } | |
19610 | Py_INCREF(Py_None); resultobj = Py_None; | |
19611 | return resultobj; | |
19612 | fail: | |
19613 | return NULL; | |
19614 | } | |
19615 | ||
19616 | ||
c32bde28 | 19617 | static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
caef1a4d RD |
19618 | PyObject *resultobj; |
19619 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19620 | wxSize *arg2 = 0 ; | |
19621 | wxSize temp2 ; | |
19622 | PyObject * obj0 = 0 ; | |
19623 | PyObject * obj1 = 0 ; | |
19624 | char *kwnames[] = { | |
19625 | (char *) "self",(char *) "size", NULL | |
19626 | }; | |
19627 | ||
19628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
19629 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19630 | if (SWIG_arg_fail(1)) SWIG_fail; | |
caef1a4d RD |
19631 | { |
19632 | arg2 = &temp2; | |
19633 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
19634 | } | |
19635 | { | |
19636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19637 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
19638 | ||
19639 | wxPyEndAllowThreads(__tstate); | |
19640 | if (PyErr_Occurred()) SWIG_fail; | |
19641 | } | |
19642 | Py_INCREF(Py_None); resultobj = Py_None; | |
19643 | return resultobj; | |
19644 | fail: | |
19645 | return NULL; | |
19646 | } | |
19647 | ||
19648 | ||
c32bde28 | 19649 | static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19650 | PyObject *resultobj; |
19651 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19652 | int arg2 ; | |
19653 | int arg3 ; | |
19654 | int arg4 ; | |
19655 | int arg5 ; | |
19656 | PyObject * obj0 = 0 ; | |
19657 | PyObject * obj1 = 0 ; | |
19658 | PyObject * obj2 = 0 ; | |
19659 | PyObject * obj3 = 0 ; | |
19660 | PyObject * obj4 = 0 ; | |
19661 | char *kwnames[] = { | |
19662 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
19663 | }; | |
19664 | ||
19665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
093d3ff1 RD |
19666 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19667 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19668 | { | |
19669 | arg2 = (int)(SWIG_As_int(obj1)); | |
19670 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19671 | } | |
19672 | { | |
19673 | arg3 = (int)(SWIG_As_int(obj2)); | |
19674 | if (SWIG_arg_fail(3)) SWIG_fail; | |
19675 | } | |
19676 | { | |
19677 | arg4 = (int)(SWIG_As_int(obj3)); | |
19678 | if (SWIG_arg_fail(4)) SWIG_fail; | |
19679 | } | |
19680 | { | |
19681 | arg5 = (int)(SWIG_As_int(obj4)); | |
19682 | if (SWIG_arg_fail(5)) SWIG_fail; | |
19683 | } | |
d55e5bfc RD |
19684 | { |
19685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19686 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
19687 | ||
19688 | wxPyEndAllowThreads(__tstate); | |
19689 | if (PyErr_Occurred()) SWIG_fail; | |
19690 | } | |
19691 | Py_INCREF(Py_None); resultobj = Py_None; | |
19692 | return resultobj; | |
19693 | fail: | |
19694 | return NULL; | |
19695 | } | |
19696 | ||
19697 | ||
c32bde28 | 19698 | static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19699 | PyObject *resultobj; |
19700 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19701 | int arg2 ; | |
19702 | int arg3 ; | |
19703 | int arg4 ; | |
19704 | int arg5 ; | |
19705 | int arg6 = (int) wxSIZE_AUTO ; | |
19706 | PyObject * obj0 = 0 ; | |
19707 | PyObject * obj1 = 0 ; | |
19708 | PyObject * obj2 = 0 ; | |
19709 | PyObject * obj3 = 0 ; | |
19710 | PyObject * obj4 = 0 ; | |
19711 | PyObject * obj5 = 0 ; | |
19712 | char *kwnames[] = { | |
19713 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
19714 | }; | |
19715 | ||
19716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
19717 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19718 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19719 | { | |
19720 | arg2 = (int)(SWIG_As_int(obj1)); | |
19721 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19722 | } | |
19723 | { | |
19724 | arg3 = (int)(SWIG_As_int(obj2)); | |
19725 | if (SWIG_arg_fail(3)) SWIG_fail; | |
19726 | } | |
19727 | { | |
19728 | arg4 = (int)(SWIG_As_int(obj3)); | |
19729 | if (SWIG_arg_fail(4)) SWIG_fail; | |
19730 | } | |
19731 | { | |
19732 | arg5 = (int)(SWIG_As_int(obj4)); | |
19733 | if (SWIG_arg_fail(5)) SWIG_fail; | |
19734 | } | |
d55e5bfc | 19735 | if (obj5) { |
093d3ff1 RD |
19736 | { |
19737 | arg6 = (int)(SWIG_As_int(obj5)); | |
19738 | if (SWIG_arg_fail(6)) SWIG_fail; | |
19739 | } | |
d55e5bfc RD |
19740 | } |
19741 | { | |
19742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19743 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
19744 | ||
19745 | wxPyEndAllowThreads(__tstate); | |
19746 | if (PyErr_Occurred()) SWIG_fail; | |
19747 | } | |
19748 | Py_INCREF(Py_None); resultobj = Py_None; | |
19749 | return resultobj; | |
19750 | fail: | |
19751 | return NULL; | |
19752 | } | |
19753 | ||
19754 | ||
c32bde28 | 19755 | static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19756 | PyObject *resultobj; |
19757 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19758 | int arg2 ; | |
19759 | int arg3 ; | |
19760 | PyObject * obj0 = 0 ; | |
19761 | PyObject * obj1 = 0 ; | |
19762 | PyObject * obj2 = 0 ; | |
19763 | char *kwnames[] = { | |
19764 | (char *) "self",(char *) "width",(char *) "height", NULL | |
19765 | }; | |
19766 | ||
19767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
19768 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19769 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19770 | { | |
19771 | arg2 = (int)(SWIG_As_int(obj1)); | |
19772 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19773 | } | |
19774 | { | |
19775 | arg3 = (int)(SWIG_As_int(obj2)); | |
19776 | if (SWIG_arg_fail(3)) SWIG_fail; | |
19777 | } | |
d55e5bfc RD |
19778 | { |
19779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19780 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
19781 | ||
19782 | wxPyEndAllowThreads(__tstate); | |
19783 | if (PyErr_Occurred()) SWIG_fail; | |
19784 | } | |
19785 | Py_INCREF(Py_None); resultobj = Py_None; | |
19786 | return resultobj; | |
19787 | fail: | |
19788 | return NULL; | |
19789 | } | |
19790 | ||
19791 | ||
c32bde28 | 19792 | static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19793 | PyObject *resultobj; |
19794 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19795 | int arg2 ; | |
19796 | int arg3 ; | |
19797 | PyObject * obj0 = 0 ; | |
19798 | PyObject * obj1 = 0 ; | |
19799 | PyObject * obj2 = 0 ; | |
19800 | char *kwnames[] = { | |
19801 | (char *) "self",(char *) "x",(char *) "y", NULL | |
19802 | }; | |
19803 | ||
19804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
19805 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19806 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19807 | { | |
19808 | arg2 = (int)(SWIG_As_int(obj1)); | |
19809 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19810 | } | |
19811 | { | |
19812 | arg3 = (int)(SWIG_As_int(obj2)); | |
19813 | if (SWIG_arg_fail(3)) SWIG_fail; | |
19814 | } | |
d55e5bfc RD |
19815 | { |
19816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19817 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
19818 | ||
19819 | wxPyEndAllowThreads(__tstate); | |
19820 | if (PyErr_Occurred()) SWIG_fail; | |
19821 | } | |
19822 | Py_INCREF(Py_None); resultobj = Py_None; | |
19823 | return resultobj; | |
19824 | fail: | |
19825 | return NULL; | |
19826 | } | |
19827 | ||
19828 | ||
c32bde28 | 19829 | static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19830 | PyObject *resultobj; |
19831 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19832 | int *arg2 = (int *) 0 ; | |
19833 | int *arg3 = (int *) 0 ; | |
19834 | int temp2 ; | |
c32bde28 | 19835 | int res2 = 0 ; |
d55e5bfc | 19836 | int temp3 ; |
c32bde28 | 19837 | int res3 = 0 ; |
d55e5bfc RD |
19838 | PyObject * obj0 = 0 ; |
19839 | char *kwnames[] = { | |
19840 | (char *) "self", NULL | |
19841 | }; | |
19842 | ||
c32bde28 RD |
19843 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19844 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 19845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19846 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19847 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19848 | { |
19849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19850 | ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
19851 | ||
19852 | wxPyEndAllowThreads(__tstate); | |
19853 | if (PyErr_Occurred()) SWIG_fail; | |
19854 | } | |
19855 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
19856 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19857 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19858 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19859 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
19860 | return resultobj; |
19861 | fail: | |
19862 | return NULL; | |
19863 | } | |
19864 | ||
19865 | ||
c32bde28 | 19866 | static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19867 | PyObject *resultobj; |
19868 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19869 | int *arg2 = (int *) 0 ; | |
19870 | int *arg3 = (int *) 0 ; | |
19871 | int temp2 ; | |
c32bde28 | 19872 | int res2 = 0 ; |
d55e5bfc | 19873 | int temp3 ; |
c32bde28 | 19874 | int res3 = 0 ; |
d55e5bfc RD |
19875 | PyObject * obj0 = 0 ; |
19876 | char *kwnames[] = { | |
19877 | (char *) "self", NULL | |
19878 | }; | |
19879 | ||
c32bde28 RD |
19880 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19881 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 19882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19883 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19884 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19885 | { |
19886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19887 | ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
19888 | ||
19889 | wxPyEndAllowThreads(__tstate); | |
19890 | if (PyErr_Occurred()) SWIG_fail; | |
19891 | } | |
19892 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
19893 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19894 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19895 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19896 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
19897 | return resultobj; |
19898 | fail: | |
19899 | return NULL; | |
19900 | } | |
19901 | ||
19902 | ||
c32bde28 | 19903 | static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19904 | PyObject *resultobj; |
19905 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19906 | int *arg2 = (int *) 0 ; | |
19907 | int *arg3 = (int *) 0 ; | |
19908 | int temp2 ; | |
c32bde28 | 19909 | int res2 = 0 ; |
d55e5bfc | 19910 | int temp3 ; |
c32bde28 | 19911 | int res3 = 0 ; |
d55e5bfc RD |
19912 | PyObject * obj0 = 0 ; |
19913 | char *kwnames[] = { | |
19914 | (char *) "self", NULL | |
19915 | }; | |
19916 | ||
c32bde28 RD |
19917 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19918 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 19919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
19920 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19921 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19922 | { |
19923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19924 | ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
19925 | ||
19926 | wxPyEndAllowThreads(__tstate); | |
19927 | if (PyErr_Occurred()) SWIG_fail; | |
19928 | } | |
19929 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
19930 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19931 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19932 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19933 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
19934 | return resultobj; |
19935 | fail: | |
19936 | return NULL; | |
19937 | } | |
19938 | ||
19939 | ||
c32bde28 | 19940 | static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19941 | PyObject *resultobj; |
19942 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19943 | wxSize result; | |
19944 | PyObject * obj0 = 0 ; | |
19945 | char *kwnames[] = { | |
19946 | (char *) "self", NULL | |
19947 | }; | |
19948 | ||
19949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
19950 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19951 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19952 | { |
19953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19954 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize(); | |
19955 | ||
19956 | wxPyEndAllowThreads(__tstate); | |
19957 | if (PyErr_Occurred()) SWIG_fail; | |
19958 | } | |
19959 | { | |
19960 | wxSize * resultptr; | |
093d3ff1 | 19961 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19962 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19963 | } | |
19964 | return resultobj; | |
19965 | fail: | |
19966 | return NULL; | |
19967 | } | |
19968 | ||
19969 | ||
c32bde28 | 19970 | static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19971 | PyObject *resultobj; |
19972 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19973 | wxSize result; | |
19974 | PyObject * obj0 = 0 ; | |
19975 | char *kwnames[] = { | |
19976 | (char *) "self", NULL | |
19977 | }; | |
19978 | ||
19979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
19980 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19981 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19982 | { |
19983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19984 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize(); | |
19985 | ||
19986 | wxPyEndAllowThreads(__tstate); | |
19987 | if (PyErr_Occurred()) SWIG_fail; | |
19988 | } | |
19989 | { | |
19990 | wxSize * resultptr; | |
093d3ff1 | 19991 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19992 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19993 | } | |
19994 | return resultobj; | |
19995 | fail: | |
19996 | return NULL; | |
19997 | } | |
19998 | ||
19999 | ||
c32bde28 | 20000 | static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20001 | PyObject *resultobj; |
20002 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20003 | PyObject * obj0 = 0 ; | |
20004 | char *kwnames[] = { | |
20005 | (char *) "self", NULL | |
20006 | }; | |
20007 | ||
20008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20009 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20010 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20011 | { |
20012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20013 | (arg1)->base_InitDialog(); | |
20014 | ||
20015 | wxPyEndAllowThreads(__tstate); | |
20016 | if (PyErr_Occurred()) SWIG_fail; | |
20017 | } | |
20018 | Py_INCREF(Py_None); resultobj = Py_None; | |
20019 | return resultobj; | |
20020 | fail: | |
20021 | return NULL; | |
20022 | } | |
20023 | ||
20024 | ||
c32bde28 | 20025 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20026 | PyObject *resultobj; |
20027 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20028 | bool result; | |
20029 | PyObject * obj0 = 0 ; | |
20030 | char *kwnames[] = { | |
20031 | (char *) "self", NULL | |
20032 | }; | |
20033 | ||
20034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20035 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20036 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20037 | { |
20038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20039 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
20040 | ||
20041 | wxPyEndAllowThreads(__tstate); | |
20042 | if (PyErr_Occurred()) SWIG_fail; | |
20043 | } | |
20044 | { | |
20045 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20046 | } | |
20047 | return resultobj; | |
20048 | fail: | |
20049 | return NULL; | |
20050 | } | |
20051 | ||
20052 | ||
c32bde28 | 20053 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20054 | PyObject *resultobj; |
20055 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20056 | bool result; | |
20057 | PyObject * obj0 = 0 ; | |
20058 | char *kwnames[] = { | |
20059 | (char *) "self", NULL | |
20060 | }; | |
20061 | ||
20062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20063 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20064 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20065 | { |
20066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20067 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
20068 | ||
20069 | wxPyEndAllowThreads(__tstate); | |
20070 | if (PyErr_Occurred()) SWIG_fail; | |
20071 | } | |
20072 | { | |
20073 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20074 | } | |
20075 | return resultobj; | |
20076 | fail: | |
20077 | return NULL; | |
20078 | } | |
20079 | ||
20080 | ||
c32bde28 | 20081 | static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20082 | PyObject *resultobj; |
20083 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20084 | bool result; | |
20085 | PyObject * obj0 = 0 ; | |
20086 | char *kwnames[] = { | |
20087 | (char *) "self", NULL | |
20088 | }; | |
20089 | ||
20090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20091 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20092 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20093 | { |
20094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20095 | result = (bool)(arg1)->base_Validate(); | |
20096 | ||
20097 | wxPyEndAllowThreads(__tstate); | |
20098 | if (PyErr_Occurred()) SWIG_fail; | |
20099 | } | |
20100 | { | |
20101 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20102 | } | |
20103 | return resultobj; | |
20104 | fail: | |
20105 | return NULL; | |
20106 | } | |
20107 | ||
20108 | ||
c32bde28 | 20109 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20110 | PyObject *resultobj; |
20111 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20112 | bool result; | |
20113 | PyObject * obj0 = 0 ; | |
20114 | char *kwnames[] = { | |
20115 | (char *) "self", NULL | |
20116 | }; | |
20117 | ||
20118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20119 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20120 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20121 | { |
20122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20123 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus(); | |
20124 | ||
20125 | wxPyEndAllowThreads(__tstate); | |
20126 | if (PyErr_Occurred()) SWIG_fail; | |
20127 | } | |
20128 | { | |
20129 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20130 | } | |
20131 | return resultobj; | |
20132 | fail: | |
20133 | return NULL; | |
20134 | } | |
20135 | ||
20136 | ||
c32bde28 | 20137 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20138 | PyObject *resultobj; |
20139 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20140 | bool result; | |
20141 | PyObject * obj0 = 0 ; | |
20142 | char *kwnames[] = { | |
20143 | (char *) "self", NULL | |
20144 | }; | |
20145 | ||
20146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20147 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20148 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20149 | { |
20150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20151 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
20152 | ||
20153 | wxPyEndAllowThreads(__tstate); | |
20154 | if (PyErr_Occurred()) SWIG_fail; | |
20155 | } | |
20156 | { | |
20157 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20158 | } | |
20159 | return resultobj; | |
20160 | fail: | |
20161 | return NULL; | |
20162 | } | |
20163 | ||
20164 | ||
c32bde28 | 20165 | static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20166 | PyObject *resultobj; |
20167 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20168 | wxSize result; | |
20169 | PyObject * obj0 = 0 ; | |
20170 | char *kwnames[] = { | |
20171 | (char *) "self", NULL | |
20172 | }; | |
20173 | ||
20174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20175 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20176 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20177 | { |
20178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20179 | result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize(); | |
20180 | ||
20181 | wxPyEndAllowThreads(__tstate); | |
20182 | if (PyErr_Occurred()) SWIG_fail; | |
20183 | } | |
20184 | { | |
20185 | wxSize * resultptr; | |
093d3ff1 | 20186 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
20187 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
20188 | } | |
20189 | return resultobj; | |
20190 | fail: | |
20191 | return NULL; | |
20192 | } | |
20193 | ||
20194 | ||
c32bde28 | 20195 | static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20196 | PyObject *resultobj; |
20197 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20198 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20199 | PyObject * obj0 = 0 ; | |
20200 | PyObject * obj1 = 0 ; | |
20201 | char *kwnames[] = { | |
20202 | (char *) "self",(char *) "child", NULL | |
20203 | }; | |
20204 | ||
20205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
20206 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20207 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20208 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
20209 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
20210 | { |
20211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20212 | (arg1)->base_AddChild(arg2); | |
20213 | ||
20214 | wxPyEndAllowThreads(__tstate); | |
20215 | if (PyErr_Occurred()) SWIG_fail; | |
20216 | } | |
20217 | Py_INCREF(Py_None); resultobj = Py_None; | |
20218 | return resultobj; | |
20219 | fail: | |
20220 | return NULL; | |
20221 | } | |
20222 | ||
20223 | ||
c32bde28 | 20224 | static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20225 | PyObject *resultobj; |
20226 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20227 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20228 | PyObject * obj0 = 0 ; | |
20229 | PyObject * obj1 = 0 ; | |
20230 | char *kwnames[] = { | |
20231 | (char *) "self",(char *) "child", NULL | |
20232 | }; | |
20233 | ||
20234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
20235 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20236 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20237 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
20238 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
20239 | { |
20240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20241 | (arg1)->base_RemoveChild(arg2); | |
20242 | ||
20243 | wxPyEndAllowThreads(__tstate); | |
20244 | if (PyErr_Occurred()) SWIG_fail; | |
20245 | } | |
20246 | Py_INCREF(Py_None); resultobj = Py_None; | |
20247 | return resultobj; | |
20248 | fail: | |
20249 | return NULL; | |
20250 | } | |
20251 | ||
20252 | ||
c32bde28 | 20253 | static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20254 | PyObject *resultobj; |
20255 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20256 | bool result; | |
20257 | PyObject * obj0 = 0 ; | |
20258 | char *kwnames[] = { | |
20259 | (char *) "self", NULL | |
20260 | }; | |
20261 | ||
20262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20263 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20264 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20265 | { |
20266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
caef1a4d | 20267 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
20268 | |
20269 | wxPyEndAllowThreads(__tstate); | |
20270 | if (PyErr_Occurred()) SWIG_fail; | |
20271 | } | |
20272 | { | |
20273 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20274 | } | |
20275 | return resultobj; | |
20276 | fail: | |
20277 | return NULL; | |
20278 | } | |
20279 | ||
20280 | ||
c32bde28 | 20281 | static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20282 | PyObject *resultobj; |
20283 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20284 | wxColour *arg2 = 0 ; | |
20285 | wxColour temp2 ; | |
20286 | PyObject * obj0 = 0 ; | |
20287 | PyObject * obj1 = 0 ; | |
20288 | char *kwnames[] = { | |
20289 | (char *) "self",(char *) "c", NULL | |
20290 | }; | |
20291 | ||
20292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
20293 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20294 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20295 | { |
20296 | arg2 = &temp2; | |
20297 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
20298 | } | |
20299 | { | |
20300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20301 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
20302 | ||
20303 | wxPyEndAllowThreads(__tstate); | |
20304 | if (PyErr_Occurred()) SWIG_fail; | |
20305 | } | |
20306 | Py_INCREF(Py_None); resultobj = Py_None; | |
20307 | return resultobj; | |
20308 | fail: | |
20309 | return NULL; | |
20310 | } | |
20311 | ||
20312 | ||
c32bde28 | 20313 | static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
caef1a4d RD |
20314 | PyObject *resultobj; |
20315 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20316 | wxVisualAttributes result; | |
20317 | PyObject * obj0 = 0 ; | |
20318 | char *kwnames[] = { | |
20319 | (char *) "self", NULL | |
20320 | }; | |
20321 | ||
20322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20323 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20324 | if (SWIG_arg_fail(1)) SWIG_fail; | |
caef1a4d RD |
20325 | { |
20326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20327 | result = (arg1)->base_GetDefaultAttributes(); | |
20328 | ||
20329 | wxPyEndAllowThreads(__tstate); | |
20330 | if (PyErr_Occurred()) SWIG_fail; | |
20331 | } | |
20332 | { | |
20333 | wxVisualAttributes * resultptr; | |
093d3ff1 | 20334 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
caef1a4d RD |
20335 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
20336 | } | |
20337 | return resultobj; | |
20338 | fail: | |
20339 | return NULL; | |
20340 | } | |
20341 | ||
20342 | ||
c32bde28 | 20343 | static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
20344 | PyObject *obj; |
20345 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20346 | SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj); | |
20347 | Py_INCREF(obj); | |
20348 | return Py_BuildValue((char *)""); | |
20349 | } | |
c32bde28 | 20350 | static int _wrap_PrintoutTitleStr_set(PyObject *) { |
d55e5bfc RD |
20351 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); |
20352 | return 1; | |
20353 | } | |
20354 | ||
20355 | ||
093d3ff1 | 20356 | static PyObject *_wrap_PrintoutTitleStr_get(void) { |
d55e5bfc RD |
20357 | PyObject *pyobj; |
20358 | ||
20359 | { | |
20360 | #if wxUSE_UNICODE | |
20361 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
20362 | #else | |
20363 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
20364 | #endif | |
20365 | } | |
20366 | return pyobj; | |
20367 | } | |
20368 | ||
20369 | ||
c32bde28 | 20370 | static int _wrap_PreviewCanvasNameStr_set(PyObject *) { |
d55e5bfc RD |
20371 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); |
20372 | return 1; | |
20373 | } | |
20374 | ||
20375 | ||
093d3ff1 | 20376 | static PyObject *_wrap_PreviewCanvasNameStr_get(void) { |
d55e5bfc RD |
20377 | PyObject *pyobj; |
20378 | ||
20379 | { | |
20380 | #if wxUSE_UNICODE | |
20381 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
20382 | #else | |
20383 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
20384 | #endif | |
20385 | } | |
20386 | return pyobj; | |
20387 | } | |
20388 | ||
20389 | ||
c32bde28 | 20390 | static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
20391 | PyObject *resultobj; |
20392 | wxPrintData *result; | |
d55e5bfc | 20393 | |
09c21d3b | 20394 | if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail; |
d55e5bfc RD |
20395 | { |
20396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20397 | result = (wxPrintData *)new wxPrintData(); | |
20398 | ||
20399 | wxPyEndAllowThreads(__tstate); | |
20400 | if (PyErr_Occurred()) SWIG_fail; | |
20401 | } | |
20402 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
20403 | return resultobj; | |
20404 | fail: | |
20405 | return NULL; | |
20406 | } | |
20407 | ||
20408 | ||
c32bde28 | 20409 | static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) { |
09c21d3b RD |
20410 | PyObject *resultobj; |
20411 | wxPrintData *arg1 = 0 ; | |
20412 | wxPrintData *result; | |
20413 | PyObject * obj0 = 0 ; | |
20414 | ||
20415 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail; | |
093d3ff1 RD |
20416 | { |
20417 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
20418 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20419 | if (arg1 == NULL) { | |
20420 | SWIG_null_ref("wxPrintData"); | |
20421 | } | |
20422 | if (SWIG_arg_fail(1)) SWIG_fail; | |
09c21d3b RD |
20423 | } |
20424 | { | |
20425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20426 | result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1); | |
20427 | ||
20428 | wxPyEndAllowThreads(__tstate); | |
20429 | if (PyErr_Occurred()) SWIG_fail; | |
20430 | } | |
20431 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
20432 | return resultobj; | |
20433 | fail: | |
20434 | return NULL; | |
20435 | } | |
20436 | ||
20437 | ||
20438 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) { | |
20439 | int argc; | |
20440 | PyObject *argv[2]; | |
20441 | int ii; | |
20442 | ||
20443 | argc = PyObject_Length(args); | |
20444 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
20445 | argv[ii] = PyTuple_GetItem(args,ii); | |
20446 | } | |
20447 | if (argc == 0) { | |
20448 | return _wrap_new_PrintData__SWIG_0(self,args); | |
20449 | } | |
20450 | if (argc == 1) { | |
20451 | int _v; | |
20452 | { | |
093d3ff1 | 20453 | void *ptr = 0; |
09c21d3b RD |
20454 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { |
20455 | _v = 0; | |
20456 | PyErr_Clear(); | |
20457 | } else { | |
093d3ff1 | 20458 | _v = (ptr != 0); |
09c21d3b RD |
20459 | } |
20460 | } | |
20461 | if (_v) { | |
20462 | return _wrap_new_PrintData__SWIG_1(self,args); | |
20463 | } | |
20464 | } | |
20465 | ||
093d3ff1 | 20466 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'"); |
09c21d3b RD |
20467 | return NULL; |
20468 | } | |
20469 | ||
20470 | ||
c32bde28 | 20471 | static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20472 | PyObject *resultobj; |
20473 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20474 | PyObject * obj0 = 0 ; | |
20475 | char *kwnames[] = { | |
20476 | (char *) "self", NULL | |
20477 | }; | |
20478 | ||
20479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20480 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20481 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20482 | { |
20483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20484 | delete arg1; | |
20485 | ||
20486 | wxPyEndAllowThreads(__tstate); | |
20487 | if (PyErr_Occurred()) SWIG_fail; | |
20488 | } | |
20489 | Py_INCREF(Py_None); resultobj = Py_None; | |
20490 | return resultobj; | |
20491 | fail: | |
20492 | return NULL; | |
20493 | } | |
20494 | ||
20495 | ||
c32bde28 | 20496 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20497 | PyObject *resultobj; |
20498 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20499 | int result; | |
20500 | PyObject * obj0 = 0 ; | |
20501 | char *kwnames[] = { | |
20502 | (char *) "self", NULL | |
20503 | }; | |
20504 | ||
20505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20506 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20507 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20508 | { |
20509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20510 | result = (int)(arg1)->GetNoCopies(); | |
20511 | ||
20512 | wxPyEndAllowThreads(__tstate); | |
20513 | if (PyErr_Occurred()) SWIG_fail; | |
20514 | } | |
093d3ff1 RD |
20515 | { |
20516 | resultobj = SWIG_From_int((int)(result)); | |
20517 | } | |
d55e5bfc RD |
20518 | return resultobj; |
20519 | fail: | |
20520 | return NULL; | |
20521 | } | |
20522 | ||
20523 | ||
c32bde28 | 20524 | static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20525 | PyObject *resultobj; |
20526 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20527 | bool result; | |
20528 | PyObject * obj0 = 0 ; | |
20529 | char *kwnames[] = { | |
20530 | (char *) "self", NULL | |
20531 | }; | |
20532 | ||
20533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20534 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20535 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20536 | { |
20537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20538 | result = (bool)(arg1)->GetCollate(); | |
20539 | ||
20540 | wxPyEndAllowThreads(__tstate); | |
20541 | if (PyErr_Occurred()) SWIG_fail; | |
20542 | } | |
20543 | { | |
20544 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20545 | } | |
20546 | return resultobj; | |
20547 | fail: | |
20548 | return NULL; | |
20549 | } | |
20550 | ||
20551 | ||
c32bde28 | 20552 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20553 | PyObject *resultobj; |
20554 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20555 | int result; | |
20556 | PyObject * obj0 = 0 ; | |
20557 | char *kwnames[] = { | |
20558 | (char *) "self", NULL | |
20559 | }; | |
20560 | ||
20561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20562 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20563 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20564 | { |
20565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20566 | result = (int)(arg1)->GetOrientation(); | |
20567 | ||
20568 | wxPyEndAllowThreads(__tstate); | |
20569 | if (PyErr_Occurred()) SWIG_fail; | |
20570 | } | |
093d3ff1 RD |
20571 | { |
20572 | resultobj = SWIG_From_int((int)(result)); | |
20573 | } | |
d55e5bfc RD |
20574 | return resultobj; |
20575 | fail: | |
20576 | return NULL; | |
20577 | } | |
20578 | ||
20579 | ||
c32bde28 | 20580 | static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20581 | PyObject *resultobj; |
20582 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20583 | bool result; | |
20584 | PyObject * obj0 = 0 ; | |
20585 | char *kwnames[] = { | |
20586 | (char *) "self", NULL | |
20587 | }; | |
20588 | ||
20589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20590 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20591 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20592 | { |
20593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20594 | result = (bool)(arg1)->Ok(); | |
20595 | ||
20596 | wxPyEndAllowThreads(__tstate); | |
20597 | if (PyErr_Occurred()) SWIG_fail; | |
20598 | } | |
20599 | { | |
20600 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20601 | } | |
20602 | return resultobj; | |
20603 | fail: | |
20604 | return NULL; | |
20605 | } | |
20606 | ||
20607 | ||
c32bde28 | 20608 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20609 | PyObject *resultobj; |
20610 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20611 | wxString *result; | |
20612 | PyObject * obj0 = 0 ; | |
20613 | char *kwnames[] = { | |
20614 | (char *) "self", NULL | |
20615 | }; | |
20616 | ||
20617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20618 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20619 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20620 | { |
20621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20622 | { | |
20623 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
20624 | result = (wxString *) &_result_ref; | |
20625 | } | |
20626 | ||
20627 | wxPyEndAllowThreads(__tstate); | |
20628 | if (PyErr_Occurred()) SWIG_fail; | |
20629 | } | |
20630 | { | |
20631 | #if wxUSE_UNICODE | |
20632 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
20633 | #else | |
20634 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
20635 | #endif | |
20636 | } | |
20637 | return resultobj; | |
20638 | fail: | |
20639 | return NULL; | |
20640 | } | |
20641 | ||
20642 | ||
c32bde28 | 20643 | static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20644 | PyObject *resultobj; |
20645 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20646 | bool result; | |
20647 | PyObject * obj0 = 0 ; | |
20648 | char *kwnames[] = { | |
20649 | (char *) "self", NULL | |
20650 | }; | |
20651 | ||
20652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20653 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20654 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20655 | { |
20656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20657 | result = (bool)(arg1)->GetColour(); | |
20658 | ||
20659 | wxPyEndAllowThreads(__tstate); | |
20660 | if (PyErr_Occurred()) SWIG_fail; | |
20661 | } | |
20662 | { | |
20663 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20664 | } | |
20665 | return resultobj; | |
20666 | fail: | |
20667 | return NULL; | |
20668 | } | |
20669 | ||
20670 | ||
c32bde28 | 20671 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20672 | PyObject *resultobj; |
20673 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
093d3ff1 | 20674 | wxDuplexMode result; |
d55e5bfc RD |
20675 | PyObject * obj0 = 0 ; |
20676 | char *kwnames[] = { | |
20677 | (char *) "self", NULL | |
20678 | }; | |
20679 | ||
20680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20681 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20682 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20683 | { |
20684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 20685 | result = (wxDuplexMode)(arg1)->GetDuplex(); |
d55e5bfc RD |
20686 | |
20687 | wxPyEndAllowThreads(__tstate); | |
20688 | if (PyErr_Occurred()) SWIG_fail; | |
20689 | } | |
093d3ff1 | 20690 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
20691 | return resultobj; |
20692 | fail: | |
20693 | return NULL; | |
20694 | } | |
20695 | ||
20696 | ||
c32bde28 | 20697 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20698 | PyObject *resultobj; |
20699 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
093d3ff1 | 20700 | wxPaperSize result; |
d55e5bfc RD |
20701 | PyObject * obj0 = 0 ; |
20702 | char *kwnames[] = { | |
20703 | (char *) "self", NULL | |
20704 | }; | |
20705 | ||
20706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20707 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20708 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20709 | { |
20710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 20711 | result = (wxPaperSize)(arg1)->GetPaperId(); |
d55e5bfc RD |
20712 | |
20713 | wxPyEndAllowThreads(__tstate); | |
20714 | if (PyErr_Occurred()) SWIG_fail; | |
20715 | } | |
093d3ff1 | 20716 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
20717 | return resultobj; |
20718 | fail: | |
20719 | return NULL; | |
20720 | } | |
20721 | ||
20722 | ||
c32bde28 | 20723 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20724 | PyObject *resultobj; |
20725 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20726 | wxSize *result; | |
20727 | PyObject * obj0 = 0 ; | |
20728 | char *kwnames[] = { | |
20729 | (char *) "self", NULL | |
20730 | }; | |
20731 | ||
20732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20733 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20734 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20735 | { |
20736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20737 | { | |
20738 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
20739 | result = (wxSize *) &_result_ref; | |
20740 | } | |
20741 | ||
20742 | wxPyEndAllowThreads(__tstate); | |
20743 | if (PyErr_Occurred()) SWIG_fail; | |
20744 | } | |
20745 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); | |
20746 | return resultobj; | |
20747 | fail: | |
20748 | return NULL; | |
20749 | } | |
20750 | ||
20751 | ||
c32bde28 | 20752 | static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20753 | PyObject *resultobj; |
20754 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20755 | int result; | |
20756 | PyObject * obj0 = 0 ; | |
20757 | char *kwnames[] = { | |
20758 | (char *) "self", NULL | |
20759 | }; | |
20760 | ||
20761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20762 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20763 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20764 | { |
20765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20766 | result = (int)(arg1)->GetQuality(); | |
20767 | ||
20768 | wxPyEndAllowThreads(__tstate); | |
20769 | if (PyErr_Occurred()) SWIG_fail; | |
20770 | } | |
093d3ff1 RD |
20771 | { |
20772 | resultobj = SWIG_From_int((int)(result)); | |
20773 | } | |
d55e5bfc RD |
20774 | return resultobj; |
20775 | fail: | |
20776 | return NULL; | |
20777 | } | |
20778 | ||
20779 | ||
ae8162c8 RD |
20780 | static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
20781 | PyObject *resultobj; | |
20782 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
093d3ff1 | 20783 | wxPrintBin result; |
ae8162c8 RD |
20784 | PyObject * obj0 = 0 ; |
20785 | char *kwnames[] = { | |
20786 | (char *) "self", NULL | |
20787 | }; | |
20788 | ||
20789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20790 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20791 | if (SWIG_arg_fail(1)) SWIG_fail; | |
ae8162c8 RD |
20792 | { |
20793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 20794 | result = (wxPrintBin)(arg1)->GetBin(); |
ae8162c8 RD |
20795 | |
20796 | wxPyEndAllowThreads(__tstate); | |
20797 | if (PyErr_Occurred()) SWIG_fail; | |
20798 | } | |
093d3ff1 | 20799 | resultobj = SWIG_From_int((result)); |
ae8162c8 RD |
20800 | return resultobj; |
20801 | fail: | |
20802 | return NULL; | |
20803 | } | |
20804 | ||
20805 | ||
c1cb24a4 RD |
20806 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
20807 | PyObject *resultobj; | |
20808 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
093d3ff1 | 20809 | wxPrintMode result; |
c1cb24a4 RD |
20810 | PyObject * obj0 = 0 ; |
20811 | char *kwnames[] = { | |
20812 | (char *) "self", NULL | |
20813 | }; | |
20814 | ||
20815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
20816 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20817 | if (SWIG_arg_fail(1)) SWIG_fail; | |
c1cb24a4 RD |
20818 | { |
20819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 20820 | result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode(); |
c1cb24a4 RD |
20821 | |
20822 | wxPyEndAllowThreads(__tstate); | |
20823 | if (PyErr_Occurred()) SWIG_fail; | |
20824 | } | |
093d3ff1 | 20825 | resultobj = SWIG_From_int((result)); |
c1cb24a4 RD |
20826 | return resultobj; |
20827 | fail: | |
20828 | return NULL; | |
20829 | } | |
20830 | ||
20831 | ||
c32bde28 | 20832 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20833 | PyObject *resultobj; |
20834 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20835 | int arg2 ; | |
20836 | PyObject * obj0 = 0 ; | |
20837 | PyObject * obj1 = 0 ; | |
20838 | char *kwnames[] = { | |
20839 | (char *) "self",(char *) "v", NULL | |
20840 | }; | |
20841 | ||
20842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
20843 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20844 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20845 | { | |
20846 | arg2 = (int)(SWIG_As_int(obj1)); | |
20847 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20848 | } | |
d55e5bfc RD |
20849 | { |
20850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20851 | (arg1)->SetNoCopies(arg2); | |
20852 | ||
20853 | wxPyEndAllowThreads(__tstate); | |
20854 | if (PyErr_Occurred()) SWIG_fail; | |
20855 | } | |
20856 | Py_INCREF(Py_None); resultobj = Py_None; | |
20857 | return resultobj; | |
20858 | fail: | |
20859 | return NULL; | |
20860 | } | |
20861 | ||
20862 | ||
c32bde28 | 20863 | static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20864 | PyObject *resultobj; |
20865 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20866 | bool arg2 ; | |
20867 | PyObject * obj0 = 0 ; | |
20868 | PyObject * obj1 = 0 ; | |
20869 | char *kwnames[] = { | |
20870 | (char *) "self",(char *) "flag", NULL | |
20871 | }; | |
20872 | ||
20873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
20874 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20875 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20876 | { | |
20877 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
20878 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20879 | } | |
d55e5bfc RD |
20880 | { |
20881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20882 | (arg1)->SetCollate(arg2); | |
20883 | ||
20884 | wxPyEndAllowThreads(__tstate); | |
20885 | if (PyErr_Occurred()) SWIG_fail; | |
20886 | } | |
20887 | Py_INCREF(Py_None); resultobj = Py_None; | |
20888 | return resultobj; | |
20889 | fail: | |
20890 | return NULL; | |
20891 | } | |
20892 | ||
20893 | ||
c32bde28 | 20894 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20895 | PyObject *resultobj; |
20896 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20897 | int arg2 ; | |
20898 | PyObject * obj0 = 0 ; | |
20899 | PyObject * obj1 = 0 ; | |
20900 | char *kwnames[] = { | |
20901 | (char *) "self",(char *) "orient", NULL | |
20902 | }; | |
20903 | ||
20904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
20905 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20906 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20907 | { | |
20908 | arg2 = (int)(SWIG_As_int(obj1)); | |
20909 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20910 | } | |
d55e5bfc RD |
20911 | { |
20912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20913 | (arg1)->SetOrientation(arg2); | |
20914 | ||
20915 | wxPyEndAllowThreads(__tstate); | |
20916 | if (PyErr_Occurred()) SWIG_fail; | |
20917 | } | |
20918 | Py_INCREF(Py_None); resultobj = Py_None; | |
20919 | return resultobj; | |
20920 | fail: | |
20921 | return NULL; | |
20922 | } | |
20923 | ||
20924 | ||
c32bde28 | 20925 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20926 | PyObject *resultobj; |
20927 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20928 | wxString *arg2 = 0 ; | |
ae8162c8 | 20929 | bool temp2 = false ; |
d55e5bfc RD |
20930 | PyObject * obj0 = 0 ; |
20931 | PyObject * obj1 = 0 ; | |
20932 | char *kwnames[] = { | |
20933 | (char *) "self",(char *) "name", NULL | |
20934 | }; | |
20935 | ||
20936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
20937 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20938 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20939 | { |
20940 | arg2 = wxString_in_helper(obj1); | |
20941 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 20942 | temp2 = true; |
d55e5bfc RD |
20943 | } |
20944 | { | |
20945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20946 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
20947 | ||
20948 | wxPyEndAllowThreads(__tstate); | |
20949 | if (PyErr_Occurred()) SWIG_fail; | |
20950 | } | |
20951 | Py_INCREF(Py_None); resultobj = Py_None; | |
20952 | { | |
20953 | if (temp2) | |
20954 | delete arg2; | |
20955 | } | |
20956 | return resultobj; | |
20957 | fail: | |
20958 | { | |
20959 | if (temp2) | |
20960 | delete arg2; | |
20961 | } | |
20962 | return NULL; | |
20963 | } | |
20964 | ||
20965 | ||
c32bde28 | 20966 | static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20967 | PyObject *resultobj; |
20968 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20969 | bool arg2 ; | |
20970 | PyObject * obj0 = 0 ; | |
20971 | PyObject * obj1 = 0 ; | |
20972 | char *kwnames[] = { | |
20973 | (char *) "self",(char *) "colour", NULL | |
20974 | }; | |
20975 | ||
20976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
20977 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20978 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20979 | { | |
20980 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
20981 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20982 | } | |
d55e5bfc RD |
20983 | { |
20984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20985 | (arg1)->SetColour(arg2); | |
20986 | ||
20987 | wxPyEndAllowThreads(__tstate); | |
20988 | if (PyErr_Occurred()) SWIG_fail; | |
20989 | } | |
20990 | Py_INCREF(Py_None); resultobj = Py_None; | |
20991 | return resultobj; | |
20992 | fail: | |
20993 | return NULL; | |
20994 | } | |
20995 | ||
20996 | ||
c32bde28 | 20997 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20998 | PyObject *resultobj; |
20999 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
093d3ff1 | 21000 | wxDuplexMode arg2 ; |
d55e5bfc RD |
21001 | PyObject * obj0 = 0 ; |
21002 | PyObject * obj1 = 0 ; | |
21003 | char *kwnames[] = { | |
21004 | (char *) "self",(char *) "duplex", NULL | |
21005 | }; | |
21006 | ||
21007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21008 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21009 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21010 | { | |
21011 | arg2 = (wxDuplexMode)(SWIG_As_int(obj1)); | |
21012 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21013 | } | |
d55e5bfc RD |
21014 | { |
21015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21016 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
21017 | ||
21018 | wxPyEndAllowThreads(__tstate); | |
21019 | if (PyErr_Occurred()) SWIG_fail; | |
21020 | } | |
21021 | Py_INCREF(Py_None); resultobj = Py_None; | |
21022 | return resultobj; | |
21023 | fail: | |
21024 | return NULL; | |
21025 | } | |
21026 | ||
21027 | ||
c32bde28 | 21028 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21029 | PyObject *resultobj; |
21030 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
093d3ff1 | 21031 | wxPaperSize arg2 ; |
d55e5bfc RD |
21032 | PyObject * obj0 = 0 ; |
21033 | PyObject * obj1 = 0 ; | |
21034 | char *kwnames[] = { | |
21035 | (char *) "self",(char *) "sizeId", NULL | |
21036 | }; | |
21037 | ||
21038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21039 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21040 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21041 | { | |
21042 | arg2 = (wxPaperSize)(SWIG_As_int(obj1)); | |
21043 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21044 | } | |
d55e5bfc RD |
21045 | { |
21046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21047 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
21048 | ||
21049 | wxPyEndAllowThreads(__tstate); | |
21050 | if (PyErr_Occurred()) SWIG_fail; | |
21051 | } | |
21052 | Py_INCREF(Py_None); resultobj = Py_None; | |
21053 | return resultobj; | |
21054 | fail: | |
21055 | return NULL; | |
21056 | } | |
21057 | ||
21058 | ||
c32bde28 | 21059 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21060 | PyObject *resultobj; |
21061 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21062 | wxSize *arg2 = 0 ; | |
21063 | wxSize temp2 ; | |
21064 | PyObject * obj0 = 0 ; | |
21065 | PyObject * obj1 = 0 ; | |
21066 | char *kwnames[] = { | |
21067 | (char *) "self",(char *) "sz", NULL | |
21068 | }; | |
21069 | ||
21070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21071 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21072 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21073 | { |
21074 | arg2 = &temp2; | |
21075 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
21076 | } | |
21077 | { | |
21078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21079 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
21080 | ||
21081 | wxPyEndAllowThreads(__tstate); | |
21082 | if (PyErr_Occurred()) SWIG_fail; | |
21083 | } | |
21084 | Py_INCREF(Py_None); resultobj = Py_None; | |
21085 | return resultobj; | |
21086 | fail: | |
21087 | return NULL; | |
21088 | } | |
21089 | ||
21090 | ||
c32bde28 | 21091 | static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21092 | PyObject *resultobj; |
21093 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21094 | int arg2 ; | |
21095 | PyObject * obj0 = 0 ; | |
21096 | PyObject * obj1 = 0 ; | |
21097 | char *kwnames[] = { | |
21098 | (char *) "self",(char *) "quality", NULL | |
21099 | }; | |
21100 | ||
21101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21102 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21103 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21104 | { | |
21105 | arg2 = (int)(SWIG_As_int(obj1)); | |
21106 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21107 | } | |
d55e5bfc RD |
21108 | { |
21109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21110 | (arg1)->SetQuality(arg2); | |
21111 | ||
21112 | wxPyEndAllowThreads(__tstate); | |
21113 | if (PyErr_Occurred()) SWIG_fail; | |
21114 | } | |
21115 | Py_INCREF(Py_None); resultobj = Py_None; | |
21116 | return resultobj; | |
21117 | fail: | |
21118 | return NULL; | |
21119 | } | |
21120 | ||
21121 | ||
ae8162c8 RD |
21122 | static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
21123 | PyObject *resultobj; | |
21124 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
093d3ff1 | 21125 | wxPrintBin arg2 ; |
ae8162c8 RD |
21126 | PyObject * obj0 = 0 ; |
21127 | PyObject * obj1 = 0 ; | |
21128 | char *kwnames[] = { | |
21129 | (char *) "self",(char *) "bin", NULL | |
21130 | }; | |
21131 | ||
21132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21133 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21134 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21135 | { | |
21136 | arg2 = (wxPrintBin)(SWIG_As_int(obj1)); | |
21137 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21138 | } | |
ae8162c8 RD |
21139 | { |
21140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21141 | (arg1)->SetBin((wxPrintBin )arg2); | |
21142 | ||
21143 | wxPyEndAllowThreads(__tstate); | |
21144 | if (PyErr_Occurred()) SWIG_fail; | |
21145 | } | |
21146 | Py_INCREF(Py_None); resultobj = Py_None; | |
21147 | return resultobj; | |
21148 | fail: | |
21149 | return NULL; | |
21150 | } | |
21151 | ||
21152 | ||
c1cb24a4 | 21153 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21154 | PyObject *resultobj; |
21155 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
093d3ff1 | 21156 | wxPrintMode arg2 ; |
c1cb24a4 RD |
21157 | PyObject * obj0 = 0 ; |
21158 | PyObject * obj1 = 0 ; | |
21159 | char *kwnames[] = { | |
21160 | (char *) "self",(char *) "printMode", NULL | |
21161 | }; | |
21162 | ||
21163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21164 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21165 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21166 | { | |
21167 | arg2 = (wxPrintMode)(SWIG_As_int(obj1)); | |
21168 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21169 | } | |
c1cb24a4 RD |
21170 | { |
21171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21172 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
21173 | ||
21174 | wxPyEndAllowThreads(__tstate); | |
21175 | if (PyErr_Occurred()) SWIG_fail; | |
21176 | } | |
21177 | Py_INCREF(Py_None); resultobj = Py_None; | |
21178 | return resultobj; | |
21179 | fail: | |
21180 | return NULL; | |
21181 | } | |
21182 | ||
21183 | ||
21184 | static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { | |
21185 | PyObject *resultobj; | |
21186 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21187 | wxString result; | |
d55e5bfc RD |
21188 | PyObject * obj0 = 0 ; |
21189 | char *kwnames[] = { | |
21190 | (char *) "self", NULL | |
21191 | }; | |
21192 | ||
c1cb24a4 | 21193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
21194 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21195 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21196 | { |
21197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c1cb24a4 | 21198 | result = ((wxPrintData const *)arg1)->GetFilename(); |
d55e5bfc RD |
21199 | |
21200 | wxPyEndAllowThreads(__tstate); | |
21201 | if (PyErr_Occurred()) SWIG_fail; | |
21202 | } | |
21203 | { | |
21204 | #if wxUSE_UNICODE | |
c1cb24a4 | 21205 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d55e5bfc | 21206 | #else |
c1cb24a4 | 21207 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d55e5bfc RD |
21208 | #endif |
21209 | } | |
21210 | return resultobj; | |
21211 | fail: | |
21212 | return NULL; | |
21213 | } | |
21214 | ||
21215 | ||
c1cb24a4 RD |
21216 | static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
21217 | PyObject *resultobj; | |
21218 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21219 | wxString *arg2 = 0 ; | |
21220 | bool temp2 = false ; | |
21221 | PyObject * obj0 = 0 ; | |
21222 | PyObject * obj1 = 0 ; | |
21223 | char *kwnames[] = { | |
21224 | (char *) "self",(char *) "filename", NULL | |
21225 | }; | |
21226 | ||
21227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21228 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21229 | if (SWIG_arg_fail(1)) SWIG_fail; | |
c1cb24a4 RD |
21230 | { |
21231 | arg2 = wxString_in_helper(obj1); | |
21232 | if (arg2 == NULL) SWIG_fail; | |
21233 | temp2 = true; | |
21234 | } | |
21235 | { | |
21236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21237 | (arg1)->SetFilename((wxString const &)*arg2); | |
21238 | ||
21239 | wxPyEndAllowThreads(__tstate); | |
21240 | if (PyErr_Occurred()) SWIG_fail; | |
21241 | } | |
21242 | Py_INCREF(Py_None); resultobj = Py_None; | |
21243 | { | |
21244 | if (temp2) | |
21245 | delete arg2; | |
21246 | } | |
21247 | return resultobj; | |
21248 | fail: | |
21249 | { | |
21250 | if (temp2) | |
21251 | delete arg2; | |
21252 | } | |
21253 | return NULL; | |
21254 | } | |
21255 | ||
21256 | ||
21257 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { | |
d55e5bfc RD |
21258 | PyObject *resultobj; |
21259 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21260 | wxString *result; | |
21261 | PyObject * obj0 = 0 ; | |
21262 | char *kwnames[] = { | |
21263 | (char *) "self", NULL | |
21264 | }; | |
21265 | ||
c1cb24a4 | 21266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
21267 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21268 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21269 | { |
21270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21271 | { | |
c1cb24a4 | 21272 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); |
d55e5bfc RD |
21273 | result = (wxString *) &_result_ref; |
21274 | } | |
21275 | ||
21276 | wxPyEndAllowThreads(__tstate); | |
21277 | if (PyErr_Occurred()) SWIG_fail; | |
21278 | } | |
21279 | { | |
21280 | #if wxUSE_UNICODE | |
21281 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21282 | #else | |
21283 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21284 | #endif | |
21285 | } | |
21286 | return resultobj; | |
21287 | fail: | |
21288 | return NULL; | |
21289 | } | |
21290 | ||
21291 | ||
c1cb24a4 | 21292 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21293 | PyObject *resultobj; |
21294 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21295 | wxString *result; | |
21296 | PyObject * obj0 = 0 ; | |
21297 | char *kwnames[] = { | |
21298 | (char *) "self", NULL | |
21299 | }; | |
21300 | ||
c1cb24a4 | 21301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
21302 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21303 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21304 | { |
21305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21306 | { | |
c1cb24a4 | 21307 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); |
d55e5bfc RD |
21308 | result = (wxString *) &_result_ref; |
21309 | } | |
21310 | ||
21311 | wxPyEndAllowThreads(__tstate); | |
21312 | if (PyErr_Occurred()) SWIG_fail; | |
21313 | } | |
21314 | { | |
21315 | #if wxUSE_UNICODE | |
21316 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21317 | #else | |
21318 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21319 | #endif | |
21320 | } | |
21321 | return resultobj; | |
21322 | fail: | |
21323 | return NULL; | |
21324 | } | |
21325 | ||
21326 | ||
c1cb24a4 | 21327 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21328 | PyObject *resultobj; |
21329 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21330 | wxString *result; | |
21331 | PyObject * obj0 = 0 ; | |
21332 | char *kwnames[] = { | |
21333 | (char *) "self", NULL | |
21334 | }; | |
21335 | ||
c1cb24a4 | 21336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
21337 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21338 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21339 | { |
21340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21341 | { | |
c1cb24a4 | 21342 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); |
d55e5bfc RD |
21343 | result = (wxString *) &_result_ref; |
21344 | } | |
21345 | ||
21346 | wxPyEndAllowThreads(__tstate); | |
21347 | if (PyErr_Occurred()) SWIG_fail; | |
21348 | } | |
21349 | { | |
21350 | #if wxUSE_UNICODE | |
21351 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21352 | #else | |
21353 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21354 | #endif | |
21355 | } | |
21356 | return resultobj; | |
21357 | fail: | |
21358 | return NULL; | |
21359 | } | |
21360 | ||
21361 | ||
c32bde28 | 21362 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21363 | PyObject *resultobj; |
21364 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21365 | wxString *result; | |
21366 | PyObject * obj0 = 0 ; | |
21367 | char *kwnames[] = { | |
21368 | (char *) "self", NULL | |
21369 | }; | |
21370 | ||
21371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21372 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21373 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21374 | { |
21375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21376 | { | |
21377 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
21378 | result = (wxString *) &_result_ref; | |
21379 | } | |
21380 | ||
21381 | wxPyEndAllowThreads(__tstate); | |
21382 | if (PyErr_Occurred()) SWIG_fail; | |
21383 | } | |
21384 | { | |
21385 | #if wxUSE_UNICODE | |
21386 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21387 | #else | |
21388 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21389 | #endif | |
21390 | } | |
21391 | return resultobj; | |
21392 | fail: | |
21393 | return NULL; | |
21394 | } | |
21395 | ||
21396 | ||
c32bde28 | 21397 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21398 | PyObject *resultobj; |
21399 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21400 | double result; | |
21401 | PyObject * obj0 = 0 ; | |
21402 | char *kwnames[] = { | |
21403 | (char *) "self", NULL | |
21404 | }; | |
21405 | ||
21406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21407 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21408 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21409 | { |
21410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21411 | result = (double)(arg1)->GetPrinterScaleX(); | |
21412 | ||
21413 | wxPyEndAllowThreads(__tstate); | |
21414 | if (PyErr_Occurred()) SWIG_fail; | |
21415 | } | |
093d3ff1 RD |
21416 | { |
21417 | resultobj = SWIG_From_double((double)(result)); | |
21418 | } | |
d55e5bfc RD |
21419 | return resultobj; |
21420 | fail: | |
21421 | return NULL; | |
21422 | } | |
21423 | ||
21424 | ||
c32bde28 | 21425 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21426 | PyObject *resultobj; |
21427 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21428 | double result; | |
21429 | PyObject * obj0 = 0 ; | |
21430 | char *kwnames[] = { | |
21431 | (char *) "self", NULL | |
21432 | }; | |
21433 | ||
21434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21435 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21436 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21437 | { |
21438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21439 | result = (double)(arg1)->GetPrinterScaleY(); | |
21440 | ||
21441 | wxPyEndAllowThreads(__tstate); | |
21442 | if (PyErr_Occurred()) SWIG_fail; | |
21443 | } | |
093d3ff1 RD |
21444 | { |
21445 | resultobj = SWIG_From_double((double)(result)); | |
21446 | } | |
d55e5bfc RD |
21447 | return resultobj; |
21448 | fail: | |
21449 | return NULL; | |
21450 | } | |
21451 | ||
21452 | ||
c32bde28 | 21453 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21454 | PyObject *resultobj; |
21455 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21456 | long result; | |
21457 | PyObject * obj0 = 0 ; | |
21458 | char *kwnames[] = { | |
21459 | (char *) "self", NULL | |
21460 | }; | |
21461 | ||
21462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21463 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21464 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21465 | { |
21466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21467 | result = (long)(arg1)->GetPrinterTranslateX(); | |
21468 | ||
21469 | wxPyEndAllowThreads(__tstate); | |
21470 | if (PyErr_Occurred()) SWIG_fail; | |
21471 | } | |
093d3ff1 RD |
21472 | { |
21473 | resultobj = SWIG_From_long((long)(result)); | |
21474 | } | |
d55e5bfc RD |
21475 | return resultobj; |
21476 | fail: | |
21477 | return NULL; | |
21478 | } | |
21479 | ||
21480 | ||
c32bde28 | 21481 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21482 | PyObject *resultobj; |
21483 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21484 | long result; | |
21485 | PyObject * obj0 = 0 ; | |
21486 | char *kwnames[] = { | |
21487 | (char *) "self", NULL | |
21488 | }; | |
21489 | ||
21490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21491 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21492 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21493 | { |
21494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21495 | result = (long)(arg1)->GetPrinterTranslateY(); | |
21496 | ||
21497 | wxPyEndAllowThreads(__tstate); | |
21498 | if (PyErr_Occurred()) SWIG_fail; | |
21499 | } | |
093d3ff1 RD |
21500 | { |
21501 | resultobj = SWIG_From_long((long)(result)); | |
21502 | } | |
d55e5bfc RD |
21503 | return resultobj; |
21504 | fail: | |
21505 | return NULL; | |
21506 | } | |
21507 | ||
21508 | ||
c1cb24a4 | 21509 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21510 | PyObject *resultobj; |
21511 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
c1cb24a4 RD |
21512 | wxString *arg2 = 0 ; |
21513 | bool temp2 = false ; | |
d55e5bfc | 21514 | PyObject * obj0 = 0 ; |
c1cb24a4 | 21515 | PyObject * obj1 = 0 ; |
d55e5bfc | 21516 | char *kwnames[] = { |
c1cb24a4 | 21517 | (char *) "self",(char *) "command", NULL |
d55e5bfc RD |
21518 | }; |
21519 | ||
c1cb24a4 | 21520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
21521 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21522 | if (SWIG_arg_fail(1)) SWIG_fail; | |
c1cb24a4 RD |
21523 | { |
21524 | arg2 = wxString_in_helper(obj1); | |
21525 | if (arg2 == NULL) SWIG_fail; | |
21526 | temp2 = true; | |
21527 | } | |
d55e5bfc RD |
21528 | { |
21529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c1cb24a4 | 21530 | (arg1)->SetPrinterCommand((wxString const &)*arg2); |
d55e5bfc RD |
21531 | |
21532 | wxPyEndAllowThreads(__tstate); | |
21533 | if (PyErr_Occurred()) SWIG_fail; | |
21534 | } | |
c1cb24a4 RD |
21535 | Py_INCREF(Py_None); resultobj = Py_None; |
21536 | { | |
21537 | if (temp2) | |
21538 | delete arg2; | |
21539 | } | |
d55e5bfc RD |
21540 | return resultobj; |
21541 | fail: | |
21542 | { | |
21543 | if (temp2) | |
21544 | delete arg2; | |
21545 | } | |
21546 | return NULL; | |
21547 | } | |
21548 | ||
21549 | ||
c32bde28 | 21550 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21551 | PyObject *resultobj; |
21552 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21553 | wxString *arg2 = 0 ; | |
ae8162c8 | 21554 | bool temp2 = false ; |
d55e5bfc RD |
21555 | PyObject * obj0 = 0 ; |
21556 | PyObject * obj1 = 0 ; | |
21557 | char *kwnames[] = { | |
21558 | (char *) "self",(char *) "options", NULL | |
21559 | }; | |
21560 | ||
21561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21562 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21563 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21564 | { |
21565 | arg2 = wxString_in_helper(obj1); | |
21566 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 21567 | temp2 = true; |
d55e5bfc RD |
21568 | } |
21569 | { | |
21570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21571 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
21572 | ||
21573 | wxPyEndAllowThreads(__tstate); | |
21574 | if (PyErr_Occurred()) SWIG_fail; | |
21575 | } | |
21576 | Py_INCREF(Py_None); resultobj = Py_None; | |
21577 | { | |
21578 | if (temp2) | |
21579 | delete arg2; | |
21580 | } | |
21581 | return resultobj; | |
21582 | fail: | |
21583 | { | |
21584 | if (temp2) | |
21585 | delete arg2; | |
21586 | } | |
21587 | return NULL; | |
21588 | } | |
21589 | ||
21590 | ||
c32bde28 | 21591 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21592 | PyObject *resultobj; |
21593 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21594 | wxString *arg2 = 0 ; | |
ae8162c8 | 21595 | bool temp2 = false ; |
d55e5bfc RD |
21596 | PyObject * obj0 = 0 ; |
21597 | PyObject * obj1 = 0 ; | |
21598 | char *kwnames[] = { | |
21599 | (char *) "self",(char *) "command", NULL | |
21600 | }; | |
21601 | ||
21602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21603 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21604 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21605 | { |
21606 | arg2 = wxString_in_helper(obj1); | |
21607 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 21608 | temp2 = true; |
d55e5bfc RD |
21609 | } |
21610 | { | |
21611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21612 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
21613 | ||
21614 | wxPyEndAllowThreads(__tstate); | |
21615 | if (PyErr_Occurred()) SWIG_fail; | |
21616 | } | |
21617 | Py_INCREF(Py_None); resultobj = Py_None; | |
21618 | { | |
21619 | if (temp2) | |
21620 | delete arg2; | |
21621 | } | |
21622 | return resultobj; | |
21623 | fail: | |
21624 | { | |
21625 | if (temp2) | |
21626 | delete arg2; | |
21627 | } | |
21628 | return NULL; | |
21629 | } | |
21630 | ||
21631 | ||
c32bde28 | 21632 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21633 | PyObject *resultobj; |
21634 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21635 | wxString *arg2 = 0 ; | |
ae8162c8 | 21636 | bool temp2 = false ; |
d55e5bfc RD |
21637 | PyObject * obj0 = 0 ; |
21638 | PyObject * obj1 = 0 ; | |
21639 | char *kwnames[] = { | |
21640 | (char *) "self",(char *) "path", NULL | |
21641 | }; | |
21642 | ||
21643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21644 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21645 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21646 | { |
21647 | arg2 = wxString_in_helper(obj1); | |
21648 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 21649 | temp2 = true; |
d55e5bfc RD |
21650 | } |
21651 | { | |
21652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21653 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
21654 | ||
21655 | wxPyEndAllowThreads(__tstate); | |
21656 | if (PyErr_Occurred()) SWIG_fail; | |
21657 | } | |
21658 | Py_INCREF(Py_None); resultobj = Py_None; | |
21659 | { | |
21660 | if (temp2) | |
21661 | delete arg2; | |
21662 | } | |
21663 | return resultobj; | |
21664 | fail: | |
21665 | { | |
21666 | if (temp2) | |
21667 | delete arg2; | |
21668 | } | |
21669 | return NULL; | |
21670 | } | |
21671 | ||
21672 | ||
c32bde28 | 21673 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21674 | PyObject *resultobj; |
21675 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21676 | double arg2 ; | |
21677 | PyObject * obj0 = 0 ; | |
21678 | PyObject * obj1 = 0 ; | |
21679 | char *kwnames[] = { | |
21680 | (char *) "self",(char *) "x", NULL | |
21681 | }; | |
21682 | ||
21683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21684 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21685 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21686 | { | |
21687 | arg2 = (double)(SWIG_As_double(obj1)); | |
21688 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21689 | } | |
d55e5bfc RD |
21690 | { |
21691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21692 | (arg1)->SetPrinterScaleX(arg2); | |
21693 | ||
21694 | wxPyEndAllowThreads(__tstate); | |
21695 | if (PyErr_Occurred()) SWIG_fail; | |
21696 | } | |
21697 | Py_INCREF(Py_None); resultobj = Py_None; | |
21698 | return resultobj; | |
21699 | fail: | |
21700 | return NULL; | |
21701 | } | |
21702 | ||
21703 | ||
c32bde28 | 21704 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21705 | PyObject *resultobj; |
21706 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21707 | double arg2 ; | |
21708 | PyObject * obj0 = 0 ; | |
21709 | PyObject * obj1 = 0 ; | |
21710 | char *kwnames[] = { | |
21711 | (char *) "self",(char *) "y", NULL | |
21712 | }; | |
21713 | ||
21714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21715 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21716 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21717 | { | |
21718 | arg2 = (double)(SWIG_As_double(obj1)); | |
21719 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21720 | } | |
d55e5bfc RD |
21721 | { |
21722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21723 | (arg1)->SetPrinterScaleY(arg2); | |
21724 | ||
21725 | wxPyEndAllowThreads(__tstate); | |
21726 | if (PyErr_Occurred()) SWIG_fail; | |
21727 | } | |
21728 | Py_INCREF(Py_None); resultobj = Py_None; | |
21729 | return resultobj; | |
21730 | fail: | |
21731 | return NULL; | |
21732 | } | |
21733 | ||
21734 | ||
c32bde28 | 21735 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21736 | PyObject *resultobj; |
21737 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21738 | double arg2 ; | |
21739 | double arg3 ; | |
21740 | PyObject * obj0 = 0 ; | |
21741 | PyObject * obj1 = 0 ; | |
21742 | PyObject * obj2 = 0 ; | |
21743 | char *kwnames[] = { | |
21744 | (char *) "self",(char *) "x",(char *) "y", NULL | |
21745 | }; | |
21746 | ||
21747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
21748 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21749 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21750 | { | |
21751 | arg2 = (double)(SWIG_As_double(obj1)); | |
21752 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21753 | } | |
21754 | { | |
21755 | arg3 = (double)(SWIG_As_double(obj2)); | |
21756 | if (SWIG_arg_fail(3)) SWIG_fail; | |
21757 | } | |
d55e5bfc RD |
21758 | { |
21759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21760 | (arg1)->SetPrinterScaling(arg2,arg3); | |
21761 | ||
21762 | wxPyEndAllowThreads(__tstate); | |
21763 | if (PyErr_Occurred()) SWIG_fail; | |
21764 | } | |
21765 | Py_INCREF(Py_None); resultobj = Py_None; | |
21766 | return resultobj; | |
21767 | fail: | |
21768 | return NULL; | |
21769 | } | |
21770 | ||
21771 | ||
c32bde28 | 21772 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21773 | PyObject *resultobj; |
21774 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21775 | long arg2 ; | |
21776 | PyObject * obj0 = 0 ; | |
21777 | PyObject * obj1 = 0 ; | |
21778 | char *kwnames[] = { | |
21779 | (char *) "self",(char *) "x", NULL | |
21780 | }; | |
21781 | ||
21782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21783 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21784 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21785 | { | |
21786 | arg2 = (long)(SWIG_As_long(obj1)); | |
21787 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21788 | } | |
d55e5bfc RD |
21789 | { |
21790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21791 | (arg1)->SetPrinterTranslateX(arg2); | |
21792 | ||
21793 | wxPyEndAllowThreads(__tstate); | |
21794 | if (PyErr_Occurred()) SWIG_fail; | |
21795 | } | |
21796 | Py_INCREF(Py_None); resultobj = Py_None; | |
21797 | return resultobj; | |
21798 | fail: | |
21799 | return NULL; | |
21800 | } | |
21801 | ||
21802 | ||
c32bde28 | 21803 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21804 | PyObject *resultobj; |
21805 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21806 | long arg2 ; | |
21807 | PyObject * obj0 = 0 ; | |
21808 | PyObject * obj1 = 0 ; | |
21809 | char *kwnames[] = { | |
21810 | (char *) "self",(char *) "y", NULL | |
21811 | }; | |
21812 | ||
21813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21814 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21815 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21816 | { | |
21817 | arg2 = (long)(SWIG_As_long(obj1)); | |
21818 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21819 | } | |
d55e5bfc RD |
21820 | { |
21821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21822 | (arg1)->SetPrinterTranslateY(arg2); | |
21823 | ||
21824 | wxPyEndAllowThreads(__tstate); | |
21825 | if (PyErr_Occurred()) SWIG_fail; | |
21826 | } | |
21827 | Py_INCREF(Py_None); resultobj = Py_None; | |
21828 | return resultobj; | |
21829 | fail: | |
21830 | return NULL; | |
21831 | } | |
21832 | ||
21833 | ||
c32bde28 | 21834 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21835 | PyObject *resultobj; |
21836 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21837 | long arg2 ; | |
21838 | long arg3 ; | |
21839 | PyObject * obj0 = 0 ; | |
21840 | PyObject * obj1 = 0 ; | |
21841 | PyObject * obj2 = 0 ; | |
21842 | char *kwnames[] = { | |
21843 | (char *) "self",(char *) "x",(char *) "y", NULL | |
21844 | }; | |
21845 | ||
21846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
21847 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21848 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21849 | { | |
21850 | arg2 = (long)(SWIG_As_long(obj1)); | |
21851 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21852 | } | |
21853 | { | |
21854 | arg3 = (long)(SWIG_As_long(obj2)); | |
21855 | if (SWIG_arg_fail(3)) SWIG_fail; | |
21856 | } | |
d55e5bfc RD |
21857 | { |
21858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21859 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
21860 | ||
21861 | wxPyEndAllowThreads(__tstate); | |
21862 | if (PyErr_Occurred()) SWIG_fail; | |
21863 | } | |
21864 | Py_INCREF(Py_None); resultobj = Py_None; | |
21865 | return resultobj; | |
21866 | fail: | |
21867 | return NULL; | |
21868 | } | |
21869 | ||
21870 | ||
c32bde28 | 21871 | static PyObject * PrintData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
21872 | PyObject *obj; |
21873 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21874 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
21875 | Py_INCREF(obj); | |
21876 | return Py_BuildValue((char *)""); | |
21877 | } | |
c32bde28 | 21878 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
21879 | PyObject *resultobj; |
21880 | wxPageSetupDialogData *result; | |
d55e5bfc | 21881 | |
09c21d3b | 21882 | if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail; |
d55e5bfc RD |
21883 | { |
21884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21885 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
21886 | ||
21887 | wxPyEndAllowThreads(__tstate); | |
21888 | if (PyErr_Occurred()) SWIG_fail; | |
21889 | } | |
21890 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
21891 | return resultobj; | |
21892 | fail: | |
21893 | return NULL; | |
21894 | } | |
21895 | ||
21896 | ||
c32bde28 | 21897 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) { |
09c21d3b RD |
21898 | PyObject *resultobj; |
21899 | wxPageSetupDialogData *arg1 = 0 ; | |
21900 | wxPageSetupDialogData *result; | |
21901 | PyObject * obj0 = 0 ; | |
21902 | ||
21903 | if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail; | |
093d3ff1 RD |
21904 | { |
21905 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); | |
21906 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21907 | if (arg1 == NULL) { | |
21908 | SWIG_null_ref("wxPageSetupDialogData"); | |
21909 | } | |
21910 | if (SWIG_arg_fail(1)) SWIG_fail; | |
09c21d3b RD |
21911 | } |
21912 | { | |
21913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21914 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1); | |
21915 | ||
21916 | wxPyEndAllowThreads(__tstate); | |
21917 | if (PyErr_Occurred()) SWIG_fail; | |
21918 | } | |
21919 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
21920 | return resultobj; | |
21921 | fail: | |
21922 | return NULL; | |
21923 | } | |
21924 | ||
21925 | ||
21926 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) { | |
21927 | int argc; | |
21928 | PyObject *argv[2]; | |
21929 | int ii; | |
21930 | ||
21931 | argc = PyObject_Length(args); | |
21932 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
21933 | argv[ii] = PyTuple_GetItem(args,ii); | |
21934 | } | |
21935 | if (argc == 0) { | |
21936 | return _wrap_new_PageSetupDialogData__SWIG_0(self,args); | |
21937 | } | |
21938 | if (argc == 1) { | |
21939 | int _v; | |
21940 | { | |
093d3ff1 | 21941 | void *ptr = 0; |
09c21d3b RD |
21942 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) { |
21943 | _v = 0; | |
21944 | PyErr_Clear(); | |
21945 | } else { | |
093d3ff1 | 21946 | _v = (ptr != 0); |
09c21d3b RD |
21947 | } |
21948 | } | |
21949 | if (_v) { | |
21950 | return _wrap_new_PageSetupDialogData__SWIG_1(self,args); | |
21951 | } | |
21952 | } | |
21953 | ||
093d3ff1 | 21954 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'"); |
09c21d3b RD |
21955 | return NULL; |
21956 | } | |
21957 | ||
21958 | ||
c32bde28 | 21959 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21960 | PyObject *resultobj; |
21961 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21962 | PyObject * obj0 = 0 ; | |
21963 | char *kwnames[] = { | |
21964 | (char *) "self", NULL | |
21965 | }; | |
21966 | ||
21967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
21968 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21969 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21970 | { |
21971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21972 | delete arg1; | |
21973 | ||
21974 | wxPyEndAllowThreads(__tstate); | |
21975 | if (PyErr_Occurred()) SWIG_fail; | |
21976 | } | |
21977 | Py_INCREF(Py_None); resultobj = Py_None; | |
21978 | return resultobj; | |
21979 | fail: | |
21980 | return NULL; | |
21981 | } | |
21982 | ||
21983 | ||
c32bde28 | 21984 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21985 | PyObject *resultobj; |
21986 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21987 | bool arg2 ; | |
21988 | PyObject * obj0 = 0 ; | |
21989 | PyObject * obj1 = 0 ; | |
21990 | char *kwnames[] = { | |
21991 | (char *) "self",(char *) "flag", NULL | |
21992 | }; | |
21993 | ||
21994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
21995 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21996 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21997 | { | |
21998 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
21999 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22000 | } | |
d55e5bfc RD |
22001 | { |
22002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22003 | (arg1)->EnableHelp(arg2); | |
22004 | ||
22005 | wxPyEndAllowThreads(__tstate); | |
22006 | if (PyErr_Occurred()) SWIG_fail; | |
22007 | } | |
22008 | Py_INCREF(Py_None); resultobj = Py_None; | |
22009 | return resultobj; | |
22010 | fail: | |
22011 | return NULL; | |
22012 | } | |
22013 | ||
22014 | ||
c32bde28 | 22015 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22016 | PyObject *resultobj; |
22017 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22018 | bool arg2 ; | |
22019 | PyObject * obj0 = 0 ; | |
22020 | PyObject * obj1 = 0 ; | |
22021 | char *kwnames[] = { | |
22022 | (char *) "self",(char *) "flag", NULL | |
22023 | }; | |
22024 | ||
22025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22026 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22027 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22028 | { | |
22029 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22030 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22031 | } | |
d55e5bfc RD |
22032 | { |
22033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22034 | (arg1)->EnableMargins(arg2); | |
22035 | ||
22036 | wxPyEndAllowThreads(__tstate); | |
22037 | if (PyErr_Occurred()) SWIG_fail; | |
22038 | } | |
22039 | Py_INCREF(Py_None); resultobj = Py_None; | |
22040 | return resultobj; | |
22041 | fail: | |
22042 | return NULL; | |
22043 | } | |
22044 | ||
22045 | ||
c32bde28 | 22046 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22047 | PyObject *resultobj; |
22048 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22049 | bool arg2 ; | |
22050 | PyObject * obj0 = 0 ; | |
22051 | PyObject * obj1 = 0 ; | |
22052 | char *kwnames[] = { | |
22053 | (char *) "self",(char *) "flag", NULL | |
22054 | }; | |
22055 | ||
22056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22057 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22058 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22059 | { | |
22060 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22061 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22062 | } | |
d55e5bfc RD |
22063 | { |
22064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22065 | (arg1)->EnableOrientation(arg2); | |
22066 | ||
22067 | wxPyEndAllowThreads(__tstate); | |
22068 | if (PyErr_Occurred()) SWIG_fail; | |
22069 | } | |
22070 | Py_INCREF(Py_None); resultobj = Py_None; | |
22071 | return resultobj; | |
22072 | fail: | |
22073 | return NULL; | |
22074 | } | |
22075 | ||
22076 | ||
c32bde28 | 22077 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22078 | PyObject *resultobj; |
22079 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22080 | bool arg2 ; | |
22081 | PyObject * obj0 = 0 ; | |
22082 | PyObject * obj1 = 0 ; | |
22083 | char *kwnames[] = { | |
22084 | (char *) "self",(char *) "flag", NULL | |
22085 | }; | |
22086 | ||
22087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22088 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22089 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22090 | { | |
22091 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22092 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22093 | } | |
d55e5bfc RD |
22094 | { |
22095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22096 | (arg1)->EnablePaper(arg2); | |
22097 | ||
22098 | wxPyEndAllowThreads(__tstate); | |
22099 | if (PyErr_Occurred()) SWIG_fail; | |
22100 | } | |
22101 | Py_INCREF(Py_None); resultobj = Py_None; | |
22102 | return resultobj; | |
22103 | fail: | |
22104 | return NULL; | |
22105 | } | |
22106 | ||
22107 | ||
c32bde28 | 22108 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22109 | PyObject *resultobj; |
22110 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22111 | bool arg2 ; | |
22112 | PyObject * obj0 = 0 ; | |
22113 | PyObject * obj1 = 0 ; | |
22114 | char *kwnames[] = { | |
22115 | (char *) "self",(char *) "flag", NULL | |
22116 | }; | |
22117 | ||
22118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22119 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22120 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22121 | { | |
22122 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22123 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22124 | } | |
d55e5bfc RD |
22125 | { |
22126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22127 | (arg1)->EnablePrinter(arg2); | |
22128 | ||
22129 | wxPyEndAllowThreads(__tstate); | |
22130 | if (PyErr_Occurred()) SWIG_fail; | |
22131 | } | |
22132 | Py_INCREF(Py_None); resultobj = Py_None; | |
22133 | return resultobj; | |
22134 | fail: | |
22135 | return NULL; | |
22136 | } | |
22137 | ||
22138 | ||
c32bde28 | 22139 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22140 | PyObject *resultobj; |
22141 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22142 | bool result; | |
22143 | PyObject * obj0 = 0 ; | |
22144 | char *kwnames[] = { | |
22145 | (char *) "self", NULL | |
22146 | }; | |
22147 | ||
22148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22149 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22150 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22151 | { |
22152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22153 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
22154 | ||
22155 | wxPyEndAllowThreads(__tstate); | |
22156 | if (PyErr_Occurred()) SWIG_fail; | |
22157 | } | |
22158 | { | |
22159 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22160 | } | |
22161 | return resultobj; | |
22162 | fail: | |
22163 | return NULL; | |
22164 | } | |
22165 | ||
22166 | ||
c32bde28 | 22167 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22168 | PyObject *resultobj; |
22169 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22170 | bool result; | |
22171 | PyObject * obj0 = 0 ; | |
22172 | char *kwnames[] = { | |
22173 | (char *) "self", NULL | |
22174 | }; | |
22175 | ||
22176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22177 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22178 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22179 | { |
22180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22181 | result = (bool)(arg1)->GetEnableMargins(); | |
22182 | ||
22183 | wxPyEndAllowThreads(__tstate); | |
22184 | if (PyErr_Occurred()) SWIG_fail; | |
22185 | } | |
22186 | { | |
22187 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22188 | } | |
22189 | return resultobj; | |
22190 | fail: | |
22191 | return NULL; | |
22192 | } | |
22193 | ||
22194 | ||
c32bde28 | 22195 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22196 | PyObject *resultobj; |
22197 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22198 | bool result; | |
22199 | PyObject * obj0 = 0 ; | |
22200 | char *kwnames[] = { | |
22201 | (char *) "self", NULL | |
22202 | }; | |
22203 | ||
22204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22205 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22206 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22207 | { |
22208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22209 | result = (bool)(arg1)->GetEnableOrientation(); | |
22210 | ||
22211 | wxPyEndAllowThreads(__tstate); | |
22212 | if (PyErr_Occurred()) SWIG_fail; | |
22213 | } | |
22214 | { | |
22215 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22216 | } | |
22217 | return resultobj; | |
22218 | fail: | |
22219 | return NULL; | |
22220 | } | |
22221 | ||
22222 | ||
c32bde28 | 22223 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22224 | PyObject *resultobj; |
22225 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22226 | bool result; | |
22227 | PyObject * obj0 = 0 ; | |
22228 | char *kwnames[] = { | |
22229 | (char *) "self", NULL | |
22230 | }; | |
22231 | ||
22232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22233 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22234 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22235 | { |
22236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22237 | result = (bool)(arg1)->GetEnablePaper(); | |
22238 | ||
22239 | wxPyEndAllowThreads(__tstate); | |
22240 | if (PyErr_Occurred()) SWIG_fail; | |
22241 | } | |
22242 | { | |
22243 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22244 | } | |
22245 | return resultobj; | |
22246 | fail: | |
22247 | return NULL; | |
22248 | } | |
22249 | ||
22250 | ||
c32bde28 | 22251 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22252 | PyObject *resultobj; |
22253 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22254 | bool result; | |
22255 | PyObject * obj0 = 0 ; | |
22256 | char *kwnames[] = { | |
22257 | (char *) "self", NULL | |
22258 | }; | |
22259 | ||
22260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22261 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22262 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22263 | { |
22264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22265 | result = (bool)(arg1)->GetEnablePrinter(); | |
22266 | ||
22267 | wxPyEndAllowThreads(__tstate); | |
22268 | if (PyErr_Occurred()) SWIG_fail; | |
22269 | } | |
22270 | { | |
22271 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22272 | } | |
22273 | return resultobj; | |
22274 | fail: | |
22275 | return NULL; | |
22276 | } | |
22277 | ||
22278 | ||
c32bde28 | 22279 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22280 | PyObject *resultobj; |
22281 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22282 | bool result; | |
22283 | PyObject * obj0 = 0 ; | |
22284 | char *kwnames[] = { | |
22285 | (char *) "self", NULL | |
22286 | }; | |
22287 | ||
22288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22289 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22290 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22291 | { |
22292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22293 | result = (bool)(arg1)->GetEnableHelp(); | |
22294 | ||
22295 | wxPyEndAllowThreads(__tstate); | |
22296 | if (PyErr_Occurred()) SWIG_fail; | |
22297 | } | |
22298 | { | |
22299 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22300 | } | |
22301 | return resultobj; | |
22302 | fail: | |
22303 | return NULL; | |
22304 | } | |
22305 | ||
22306 | ||
c32bde28 | 22307 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22308 | PyObject *resultobj; |
22309 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22310 | bool result; | |
22311 | PyObject * obj0 = 0 ; | |
22312 | char *kwnames[] = { | |
22313 | (char *) "self", NULL | |
22314 | }; | |
22315 | ||
22316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22317 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22318 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22319 | { |
22320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22321 | result = (bool)(arg1)->GetDefaultInfo(); | |
22322 | ||
22323 | wxPyEndAllowThreads(__tstate); | |
22324 | if (PyErr_Occurred()) SWIG_fail; | |
22325 | } | |
22326 | { | |
22327 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22328 | } | |
22329 | return resultobj; | |
22330 | fail: | |
22331 | return NULL; | |
22332 | } | |
22333 | ||
22334 | ||
c32bde28 | 22335 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22336 | PyObject *resultobj; |
22337 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22338 | wxPoint result; | |
22339 | PyObject * obj0 = 0 ; | |
22340 | char *kwnames[] = { | |
22341 | (char *) "self", NULL | |
22342 | }; | |
22343 | ||
22344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22345 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22346 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22347 | { |
22348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22349 | result = (arg1)->GetMarginTopLeft(); | |
22350 | ||
22351 | wxPyEndAllowThreads(__tstate); | |
22352 | if (PyErr_Occurred()) SWIG_fail; | |
22353 | } | |
22354 | { | |
22355 | wxPoint * resultptr; | |
093d3ff1 | 22356 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
22357 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
22358 | } | |
22359 | return resultobj; | |
22360 | fail: | |
22361 | return NULL; | |
22362 | } | |
22363 | ||
22364 | ||
c32bde28 | 22365 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22366 | PyObject *resultobj; |
22367 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22368 | wxPoint result; | |
22369 | PyObject * obj0 = 0 ; | |
22370 | char *kwnames[] = { | |
22371 | (char *) "self", NULL | |
22372 | }; | |
22373 | ||
22374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22375 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22376 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22377 | { |
22378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22379 | result = (arg1)->GetMarginBottomRight(); | |
22380 | ||
22381 | wxPyEndAllowThreads(__tstate); | |
22382 | if (PyErr_Occurred()) SWIG_fail; | |
22383 | } | |
22384 | { | |
22385 | wxPoint * resultptr; | |
093d3ff1 | 22386 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
22387 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
22388 | } | |
22389 | return resultobj; | |
22390 | fail: | |
22391 | return NULL; | |
22392 | } | |
22393 | ||
22394 | ||
c32bde28 | 22395 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22396 | PyObject *resultobj; |
22397 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22398 | wxPoint result; | |
22399 | PyObject * obj0 = 0 ; | |
22400 | char *kwnames[] = { | |
22401 | (char *) "self", NULL | |
22402 | }; | |
22403 | ||
22404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22405 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22406 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22407 | { |
22408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22409 | result = (arg1)->GetMinMarginTopLeft(); | |
22410 | ||
22411 | wxPyEndAllowThreads(__tstate); | |
22412 | if (PyErr_Occurred()) SWIG_fail; | |
22413 | } | |
22414 | { | |
22415 | wxPoint * resultptr; | |
093d3ff1 | 22416 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
22417 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
22418 | } | |
22419 | return resultobj; | |
22420 | fail: | |
22421 | return NULL; | |
22422 | } | |
22423 | ||
22424 | ||
c32bde28 | 22425 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22426 | PyObject *resultobj; |
22427 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22428 | wxPoint result; | |
22429 | PyObject * obj0 = 0 ; | |
22430 | char *kwnames[] = { | |
22431 | (char *) "self", NULL | |
22432 | }; | |
22433 | ||
22434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22435 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22436 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22437 | { |
22438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22439 | result = (arg1)->GetMinMarginBottomRight(); | |
22440 | ||
22441 | wxPyEndAllowThreads(__tstate); | |
22442 | if (PyErr_Occurred()) SWIG_fail; | |
22443 | } | |
22444 | { | |
22445 | wxPoint * resultptr; | |
093d3ff1 | 22446 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
22447 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
22448 | } | |
22449 | return resultobj; | |
22450 | fail: | |
22451 | return NULL; | |
22452 | } | |
22453 | ||
22454 | ||
c32bde28 | 22455 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22456 | PyObject *resultobj; |
22457 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
093d3ff1 | 22458 | wxPaperSize result; |
d55e5bfc RD |
22459 | PyObject * obj0 = 0 ; |
22460 | char *kwnames[] = { | |
22461 | (char *) "self", NULL | |
22462 | }; | |
22463 | ||
22464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22465 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22466 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22467 | { |
22468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 22469 | result = (wxPaperSize)(arg1)->GetPaperId(); |
d55e5bfc RD |
22470 | |
22471 | wxPyEndAllowThreads(__tstate); | |
22472 | if (PyErr_Occurred()) SWIG_fail; | |
22473 | } | |
093d3ff1 | 22474 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
22475 | return resultobj; |
22476 | fail: | |
22477 | return NULL; | |
22478 | } | |
22479 | ||
22480 | ||
c32bde28 | 22481 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22482 | PyObject *resultobj; |
22483 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22484 | wxSize result; | |
22485 | PyObject * obj0 = 0 ; | |
22486 | char *kwnames[] = { | |
22487 | (char *) "self", NULL | |
22488 | }; | |
22489 | ||
22490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22491 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22492 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22493 | { |
22494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22495 | result = (arg1)->GetPaperSize(); | |
22496 | ||
22497 | wxPyEndAllowThreads(__tstate); | |
22498 | if (PyErr_Occurred()) SWIG_fail; | |
22499 | } | |
22500 | { | |
22501 | wxSize * resultptr; | |
093d3ff1 | 22502 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
22503 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
22504 | } | |
22505 | return resultobj; | |
22506 | fail: | |
22507 | return NULL; | |
22508 | } | |
22509 | ||
22510 | ||
c32bde28 | 22511 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22512 | PyObject *resultobj; |
22513 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22514 | wxPrintData *result; | |
22515 | PyObject * obj0 = 0 ; | |
22516 | char *kwnames[] = { | |
22517 | (char *) "self", NULL | |
22518 | }; | |
22519 | ||
22520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22521 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22522 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22523 | { |
22524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22525 | { | |
22526 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
22527 | result = (wxPrintData *) &_result_ref; | |
22528 | } | |
22529 | ||
22530 | wxPyEndAllowThreads(__tstate); | |
22531 | if (PyErr_Occurred()) SWIG_fail; | |
22532 | } | |
22533 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); | |
22534 | return resultobj; | |
22535 | fail: | |
22536 | return NULL; | |
22537 | } | |
22538 | ||
22539 | ||
c32bde28 | 22540 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22541 | PyObject *resultobj; |
22542 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22543 | bool result; | |
22544 | PyObject * obj0 = 0 ; | |
22545 | char *kwnames[] = { | |
22546 | (char *) "self", NULL | |
22547 | }; | |
22548 | ||
22549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22550 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22551 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22552 | { |
22553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22554 | result = (bool)(arg1)->Ok(); | |
22555 | ||
22556 | wxPyEndAllowThreads(__tstate); | |
22557 | if (PyErr_Occurred()) SWIG_fail; | |
22558 | } | |
22559 | { | |
22560 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22561 | } | |
22562 | return resultobj; | |
22563 | fail: | |
22564 | return NULL; | |
22565 | } | |
22566 | ||
22567 | ||
c32bde28 | 22568 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22569 | PyObject *resultobj; |
22570 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22571 | bool arg2 ; | |
22572 | PyObject * obj0 = 0 ; | |
22573 | PyObject * obj1 = 0 ; | |
22574 | char *kwnames[] = { | |
22575 | (char *) "self",(char *) "flag", NULL | |
22576 | }; | |
22577 | ||
22578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22579 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22580 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22581 | { | |
22582 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22583 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22584 | } | |
d55e5bfc RD |
22585 | { |
22586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22587 | (arg1)->SetDefaultInfo(arg2); | |
22588 | ||
22589 | wxPyEndAllowThreads(__tstate); | |
22590 | if (PyErr_Occurred()) SWIG_fail; | |
22591 | } | |
22592 | Py_INCREF(Py_None); resultobj = Py_None; | |
22593 | return resultobj; | |
22594 | fail: | |
22595 | return NULL; | |
22596 | } | |
22597 | ||
22598 | ||
c32bde28 | 22599 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22600 | PyObject *resultobj; |
22601 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22602 | bool arg2 ; | |
22603 | PyObject * obj0 = 0 ; | |
22604 | PyObject * obj1 = 0 ; | |
22605 | char *kwnames[] = { | |
22606 | (char *) "self",(char *) "flag", NULL | |
22607 | }; | |
22608 | ||
22609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22610 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22611 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22612 | { | |
22613 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22614 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22615 | } | |
d55e5bfc RD |
22616 | { |
22617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22618 | (arg1)->SetDefaultMinMargins(arg2); | |
22619 | ||
22620 | wxPyEndAllowThreads(__tstate); | |
22621 | if (PyErr_Occurred()) SWIG_fail; | |
22622 | } | |
22623 | Py_INCREF(Py_None); resultobj = Py_None; | |
22624 | return resultobj; | |
22625 | fail: | |
22626 | return NULL; | |
22627 | } | |
22628 | ||
22629 | ||
c32bde28 | 22630 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22631 | PyObject *resultobj; |
22632 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22633 | wxPoint *arg2 = 0 ; | |
22634 | wxPoint temp2 ; | |
22635 | PyObject * obj0 = 0 ; | |
22636 | PyObject * obj1 = 0 ; | |
22637 | char *kwnames[] = { | |
22638 | (char *) "self",(char *) "pt", NULL | |
22639 | }; | |
22640 | ||
22641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22642 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22643 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22644 | { |
22645 | arg2 = &temp2; | |
22646 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22647 | } | |
22648 | { | |
22649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22650 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
22651 | ||
22652 | wxPyEndAllowThreads(__tstate); | |
22653 | if (PyErr_Occurred()) SWIG_fail; | |
22654 | } | |
22655 | Py_INCREF(Py_None); resultobj = Py_None; | |
22656 | return resultobj; | |
22657 | fail: | |
22658 | return NULL; | |
22659 | } | |
22660 | ||
22661 | ||
c32bde28 | 22662 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22663 | PyObject *resultobj; |
22664 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22665 | wxPoint *arg2 = 0 ; | |
22666 | wxPoint temp2 ; | |
22667 | PyObject * obj0 = 0 ; | |
22668 | PyObject * obj1 = 0 ; | |
22669 | char *kwnames[] = { | |
22670 | (char *) "self",(char *) "pt", NULL | |
22671 | }; | |
22672 | ||
22673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22674 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22675 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22676 | { |
22677 | arg2 = &temp2; | |
22678 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22679 | } | |
22680 | { | |
22681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22682 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
22683 | ||
22684 | wxPyEndAllowThreads(__tstate); | |
22685 | if (PyErr_Occurred()) SWIG_fail; | |
22686 | } | |
22687 | Py_INCREF(Py_None); resultobj = Py_None; | |
22688 | return resultobj; | |
22689 | fail: | |
22690 | return NULL; | |
22691 | } | |
22692 | ||
22693 | ||
c32bde28 | 22694 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22695 | PyObject *resultobj; |
22696 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22697 | wxPoint *arg2 = 0 ; | |
22698 | wxPoint temp2 ; | |
22699 | PyObject * obj0 = 0 ; | |
22700 | PyObject * obj1 = 0 ; | |
22701 | char *kwnames[] = { | |
22702 | (char *) "self",(char *) "pt", NULL | |
22703 | }; | |
22704 | ||
22705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22706 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22707 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22708 | { |
22709 | arg2 = &temp2; | |
22710 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22711 | } | |
22712 | { | |
22713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22714 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
22715 | ||
22716 | wxPyEndAllowThreads(__tstate); | |
22717 | if (PyErr_Occurred()) SWIG_fail; | |
22718 | } | |
22719 | Py_INCREF(Py_None); resultobj = Py_None; | |
22720 | return resultobj; | |
22721 | fail: | |
22722 | return NULL; | |
22723 | } | |
22724 | ||
22725 | ||
c32bde28 | 22726 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22727 | PyObject *resultobj; |
22728 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22729 | wxPoint *arg2 = 0 ; | |
22730 | wxPoint temp2 ; | |
22731 | PyObject * obj0 = 0 ; | |
22732 | PyObject * obj1 = 0 ; | |
22733 | char *kwnames[] = { | |
22734 | (char *) "self",(char *) "pt", NULL | |
22735 | }; | |
22736 | ||
22737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22738 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22739 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22740 | { |
22741 | arg2 = &temp2; | |
22742 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22743 | } | |
22744 | { | |
22745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22746 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
22747 | ||
22748 | wxPyEndAllowThreads(__tstate); | |
22749 | if (PyErr_Occurred()) SWIG_fail; | |
22750 | } | |
22751 | Py_INCREF(Py_None); resultobj = Py_None; | |
22752 | return resultobj; | |
22753 | fail: | |
22754 | return NULL; | |
22755 | } | |
22756 | ||
22757 | ||
c32bde28 | 22758 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22759 | PyObject *resultobj; |
22760 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
093d3ff1 | 22761 | wxPaperSize arg2 ; |
d55e5bfc RD |
22762 | PyObject * obj0 = 0 ; |
22763 | PyObject * obj1 = 0 ; | |
22764 | char *kwnames[] = { | |
22765 | (char *) "self",(char *) "id", NULL | |
22766 | }; | |
22767 | ||
22768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22769 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22770 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22771 | { | |
22772 | arg2 = (wxPaperSize)(SWIG_As_int(obj1)); | |
22773 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22774 | } | |
d55e5bfc RD |
22775 | { |
22776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22777 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
22778 | ||
22779 | wxPyEndAllowThreads(__tstate); | |
22780 | if (PyErr_Occurred()) SWIG_fail; | |
22781 | } | |
22782 | Py_INCREF(Py_None); resultobj = Py_None; | |
22783 | return resultobj; | |
22784 | fail: | |
22785 | return NULL; | |
22786 | } | |
22787 | ||
22788 | ||
c32bde28 | 22789 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22790 | PyObject *resultobj; |
22791 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22792 | wxSize *arg2 = 0 ; | |
22793 | wxSize temp2 ; | |
22794 | PyObject * obj0 = 0 ; | |
22795 | PyObject * obj1 = 0 ; | |
22796 | char *kwnames[] = { | |
22797 | (char *) "self",(char *) "size", NULL | |
22798 | }; | |
22799 | ||
22800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22801 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22802 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22803 | { |
22804 | arg2 = &temp2; | |
22805 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
22806 | } | |
22807 | { | |
22808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22809 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
22810 | ||
22811 | wxPyEndAllowThreads(__tstate); | |
22812 | if (PyErr_Occurred()) SWIG_fail; | |
22813 | } | |
22814 | Py_INCREF(Py_None); resultobj = Py_None; | |
22815 | return resultobj; | |
22816 | fail: | |
22817 | return NULL; | |
22818 | } | |
22819 | ||
22820 | ||
c32bde28 | 22821 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22822 | PyObject *resultobj; |
22823 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22824 | wxPrintData *arg2 = 0 ; | |
22825 | PyObject * obj0 = 0 ; | |
22826 | PyObject * obj1 = 0 ; | |
22827 | char *kwnames[] = { | |
22828 | (char *) "self",(char *) "printData", NULL | |
22829 | }; | |
22830 | ||
22831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22832 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22833 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22834 | { | |
22835 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
22836 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22837 | if (arg2 == NULL) { | |
22838 | SWIG_null_ref("wxPrintData"); | |
22839 | } | |
22840 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
22841 | } |
22842 | { | |
22843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22844 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
22845 | ||
22846 | wxPyEndAllowThreads(__tstate); | |
22847 | if (PyErr_Occurred()) SWIG_fail; | |
22848 | } | |
22849 | Py_INCREF(Py_None); resultobj = Py_None; | |
22850 | return resultobj; | |
22851 | fail: | |
22852 | return NULL; | |
22853 | } | |
22854 | ||
22855 | ||
c32bde28 | 22856 | static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
22857 | PyObject *obj; |
22858 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22859 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
22860 | Py_INCREF(obj); | |
22861 | return Py_BuildValue((char *)""); | |
22862 | } | |
c32bde28 | 22863 | static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22864 | PyObject *resultobj; |
22865 | wxWindow *arg1 = (wxWindow *) 0 ; | |
22866 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
22867 | wxPageSetupDialog *result; | |
22868 | PyObject * obj0 = 0 ; | |
22869 | PyObject * obj1 = 0 ; | |
22870 | char *kwnames[] = { | |
22871 | (char *) "parent",(char *) "data", NULL | |
22872 | }; | |
22873 | ||
22874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
22875 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
22876 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 22877 | if (obj1) { |
093d3ff1 RD |
22878 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22879 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
22880 | } |
22881 | { | |
0439c23b | 22882 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
22883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22884 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
22885 | ||
22886 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 22887 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
22888 | } |
22889 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); | |
22890 | return resultobj; | |
22891 | fail: | |
22892 | return NULL; | |
22893 | } | |
22894 | ||
22895 | ||
c32bde28 | 22896 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22897 | PyObject *resultobj; |
22898 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
22899 | wxPageSetupDialogData *result; | |
22900 | PyObject * obj0 = 0 ; | |
22901 | char *kwnames[] = { | |
22902 | (char *) "self", NULL | |
22903 | }; | |
22904 | ||
22905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22906 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
22907 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22908 | { |
22909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22910 | { | |
22911 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
22912 | result = (wxPageSetupDialogData *) &_result_ref; | |
22913 | } | |
22914 | ||
22915 | wxPyEndAllowThreads(__tstate); | |
22916 | if (PyErr_Occurred()) SWIG_fail; | |
22917 | } | |
22918 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
22919 | return resultobj; | |
22920 | fail: | |
22921 | return NULL; | |
22922 | } | |
22923 | ||
22924 | ||
8ac8dba0 RD |
22925 | static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
22926 | PyObject *resultobj; | |
22927 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
22928 | wxPageSetupDialogData *result; | |
22929 | PyObject * obj0 = 0 ; | |
22930 | char *kwnames[] = { | |
22931 | (char *) "self", NULL | |
22932 | }; | |
22933 | ||
22934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22935 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
22936 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8ac8dba0 RD |
22937 | { |
22938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22939 | { | |
22940 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData(); | |
22941 | result = (wxPageSetupDialogData *) &_result_ref; | |
22942 | } | |
22943 | ||
22944 | wxPyEndAllowThreads(__tstate); | |
22945 | if (PyErr_Occurred()) SWIG_fail; | |
22946 | } | |
22947 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
22948 | return resultobj; | |
22949 | fail: | |
22950 | return NULL; | |
22951 | } | |
22952 | ||
22953 | ||
c32bde28 | 22954 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22955 | PyObject *resultobj; |
22956 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
22957 | int result; | |
22958 | PyObject * obj0 = 0 ; | |
22959 | char *kwnames[] = { | |
22960 | (char *) "self", NULL | |
22961 | }; | |
22962 | ||
22963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
22964 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
22965 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22966 | { |
22967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22968 | result = (int)(arg1)->ShowModal(); | |
22969 | ||
22970 | wxPyEndAllowThreads(__tstate); | |
22971 | if (PyErr_Occurred()) SWIG_fail; | |
22972 | } | |
093d3ff1 RD |
22973 | { |
22974 | resultobj = SWIG_From_int((int)(result)); | |
22975 | } | |
d55e5bfc RD |
22976 | return resultobj; |
22977 | fail: | |
22978 | return NULL; | |
22979 | } | |
22980 | ||
22981 | ||
c32bde28 | 22982 | static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
22983 | PyObject *obj; |
22984 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22985 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
22986 | Py_INCREF(obj); | |
22987 | return Py_BuildValue((char *)""); | |
22988 | } | |
c32bde28 | 22989 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
22990 | PyObject *resultobj; |
22991 | wxPrintDialogData *result; | |
22992 | ||
22993 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; | |
22994 | { | |
22995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22996 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
22997 | ||
22998 | wxPyEndAllowThreads(__tstate); | |
22999 | if (PyErr_Occurred()) SWIG_fail; | |
23000 | } | |
23001 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
23002 | return resultobj; | |
23003 | fail: | |
23004 | return NULL; | |
23005 | } | |
23006 | ||
23007 | ||
c32bde28 | 23008 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
23009 | PyObject *resultobj; |
23010 | wxPrintData *arg1 = 0 ; | |
23011 | wxPrintDialogData *result; | |
23012 | PyObject * obj0 = 0 ; | |
23013 | ||
23014 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
093d3ff1 RD |
23015 | { |
23016 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
23017 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23018 | if (arg1 == NULL) { | |
23019 | SWIG_null_ref("wxPrintData"); | |
23020 | } | |
23021 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23022 | } |
23023 | { | |
23024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23025 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
23026 | ||
23027 | wxPyEndAllowThreads(__tstate); | |
23028 | if (PyErr_Occurred()) SWIG_fail; | |
23029 | } | |
23030 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
23031 | return resultobj; | |
23032 | fail: | |
23033 | return NULL; | |
23034 | } | |
23035 | ||
23036 | ||
23037 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { | |
23038 | int argc; | |
23039 | PyObject *argv[2]; | |
23040 | int ii; | |
23041 | ||
23042 | argc = PyObject_Length(args); | |
23043 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
23044 | argv[ii] = PyTuple_GetItem(args,ii); | |
23045 | } | |
23046 | if (argc == 0) { | |
23047 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
23048 | } | |
23049 | if (argc == 1) { | |
23050 | int _v; | |
23051 | { | |
093d3ff1 | 23052 | void *ptr = 0; |
d55e5bfc RD |
23053 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { |
23054 | _v = 0; | |
23055 | PyErr_Clear(); | |
23056 | } else { | |
093d3ff1 | 23057 | _v = (ptr != 0); |
d55e5bfc RD |
23058 | } |
23059 | } | |
23060 | if (_v) { | |
23061 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
23062 | } | |
23063 | } | |
23064 | ||
093d3ff1 | 23065 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'"); |
d55e5bfc RD |
23066 | return NULL; |
23067 | } | |
23068 | ||
23069 | ||
c32bde28 | 23070 | static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23071 | PyObject *resultobj; |
23072 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23073 | PyObject * obj0 = 0 ; | |
23074 | char *kwnames[] = { | |
23075 | (char *) "self", NULL | |
23076 | }; | |
23077 | ||
23078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23079 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23080 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23081 | { |
23082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23083 | delete arg1; | |
23084 | ||
23085 | wxPyEndAllowThreads(__tstate); | |
23086 | if (PyErr_Occurred()) SWIG_fail; | |
23087 | } | |
23088 | Py_INCREF(Py_None); resultobj = Py_None; | |
23089 | return resultobj; | |
23090 | fail: | |
23091 | return NULL; | |
23092 | } | |
23093 | ||
23094 | ||
c32bde28 | 23095 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23096 | PyObject *resultobj; |
23097 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23098 | int result; | |
23099 | PyObject * obj0 = 0 ; | |
23100 | char *kwnames[] = { | |
23101 | (char *) "self", NULL | |
23102 | }; | |
23103 | ||
23104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23105 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23106 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23107 | { |
23108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23109 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
23110 | ||
23111 | wxPyEndAllowThreads(__tstate); | |
23112 | if (PyErr_Occurred()) SWIG_fail; | |
23113 | } | |
093d3ff1 RD |
23114 | { |
23115 | resultobj = SWIG_From_int((int)(result)); | |
23116 | } | |
d55e5bfc RD |
23117 | return resultobj; |
23118 | fail: | |
23119 | return NULL; | |
23120 | } | |
23121 | ||
23122 | ||
c32bde28 | 23123 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23124 | PyObject *resultobj; |
23125 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23126 | int result; | |
23127 | PyObject * obj0 = 0 ; | |
23128 | char *kwnames[] = { | |
23129 | (char *) "self", NULL | |
23130 | }; | |
23131 | ||
23132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23133 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23134 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23135 | { |
23136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23137 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
23138 | ||
23139 | wxPyEndAllowThreads(__tstate); | |
23140 | if (PyErr_Occurred()) SWIG_fail; | |
23141 | } | |
093d3ff1 RD |
23142 | { |
23143 | resultobj = SWIG_From_int((int)(result)); | |
23144 | } | |
d55e5bfc RD |
23145 | return resultobj; |
23146 | fail: | |
23147 | return NULL; | |
23148 | } | |
23149 | ||
23150 | ||
c32bde28 | 23151 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23152 | PyObject *resultobj; |
23153 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23154 | int result; | |
23155 | PyObject * obj0 = 0 ; | |
23156 | char *kwnames[] = { | |
23157 | (char *) "self", NULL | |
23158 | }; | |
23159 | ||
23160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23161 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23162 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23163 | { |
23164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23165 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
23166 | ||
23167 | wxPyEndAllowThreads(__tstate); | |
23168 | if (PyErr_Occurred()) SWIG_fail; | |
23169 | } | |
093d3ff1 RD |
23170 | { |
23171 | resultobj = SWIG_From_int((int)(result)); | |
23172 | } | |
d55e5bfc RD |
23173 | return resultobj; |
23174 | fail: | |
23175 | return NULL; | |
23176 | } | |
23177 | ||
23178 | ||
c32bde28 | 23179 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23180 | PyObject *resultobj; |
23181 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23182 | int result; | |
23183 | PyObject * obj0 = 0 ; | |
23184 | char *kwnames[] = { | |
23185 | (char *) "self", NULL | |
23186 | }; | |
23187 | ||
23188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23189 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23190 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23191 | { |
23192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23193 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
23194 | ||
23195 | wxPyEndAllowThreads(__tstate); | |
23196 | if (PyErr_Occurred()) SWIG_fail; | |
23197 | } | |
093d3ff1 RD |
23198 | { |
23199 | resultobj = SWIG_From_int((int)(result)); | |
23200 | } | |
d55e5bfc RD |
23201 | return resultobj; |
23202 | fail: | |
23203 | return NULL; | |
23204 | } | |
23205 | ||
23206 | ||
c32bde28 | 23207 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23208 | PyObject *resultobj; |
23209 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23210 | int result; | |
23211 | PyObject * obj0 = 0 ; | |
23212 | char *kwnames[] = { | |
23213 | (char *) "self", NULL | |
23214 | }; | |
23215 | ||
23216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23217 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23218 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23219 | { |
23220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23221 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
23222 | ||
23223 | wxPyEndAllowThreads(__tstate); | |
23224 | if (PyErr_Occurred()) SWIG_fail; | |
23225 | } | |
093d3ff1 RD |
23226 | { |
23227 | resultobj = SWIG_From_int((int)(result)); | |
23228 | } | |
d55e5bfc RD |
23229 | return resultobj; |
23230 | fail: | |
23231 | return NULL; | |
23232 | } | |
23233 | ||
23234 | ||
c32bde28 | 23235 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23236 | PyObject *resultobj; |
23237 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23238 | bool result; | |
23239 | PyObject * obj0 = 0 ; | |
23240 | char *kwnames[] = { | |
23241 | (char *) "self", NULL | |
23242 | }; | |
23243 | ||
23244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23245 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23246 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23247 | { |
23248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23249 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
23250 | ||
23251 | wxPyEndAllowThreads(__tstate); | |
23252 | if (PyErr_Occurred()) SWIG_fail; | |
23253 | } | |
23254 | { | |
23255 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23256 | } | |
23257 | return resultobj; | |
23258 | fail: | |
23259 | return NULL; | |
23260 | } | |
23261 | ||
23262 | ||
c32bde28 | 23263 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23264 | PyObject *resultobj; |
23265 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23266 | bool result; | |
23267 | PyObject * obj0 = 0 ; | |
23268 | char *kwnames[] = { | |
23269 | (char *) "self", NULL | |
23270 | }; | |
23271 | ||
23272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23273 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23274 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23275 | { |
23276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23277 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
23278 | ||
23279 | wxPyEndAllowThreads(__tstate); | |
23280 | if (PyErr_Occurred()) SWIG_fail; | |
23281 | } | |
23282 | { | |
23283 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23284 | } | |
23285 | return resultobj; | |
23286 | fail: | |
23287 | return NULL; | |
23288 | } | |
23289 | ||
23290 | ||
c32bde28 | 23291 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23292 | PyObject *resultobj; |
23293 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23294 | bool result; | |
23295 | PyObject * obj0 = 0 ; | |
23296 | char *kwnames[] = { | |
23297 | (char *) "self", NULL | |
23298 | }; | |
23299 | ||
23300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23301 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23302 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23303 | { |
23304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23305 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
23306 | ||
23307 | wxPyEndAllowThreads(__tstate); | |
23308 | if (PyErr_Occurred()) SWIG_fail; | |
23309 | } | |
23310 | { | |
23311 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23312 | } | |
23313 | return resultobj; | |
23314 | fail: | |
23315 | return NULL; | |
23316 | } | |
23317 | ||
23318 | ||
c32bde28 | 23319 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23320 | PyObject *resultobj; |
23321 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23322 | bool result; | |
23323 | PyObject * obj0 = 0 ; | |
23324 | char *kwnames[] = { | |
23325 | (char *) "self", NULL | |
23326 | }; | |
23327 | ||
23328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23329 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23330 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23331 | { |
23332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23333 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
23334 | ||
23335 | wxPyEndAllowThreads(__tstate); | |
23336 | if (PyErr_Occurred()) SWIG_fail; | |
23337 | } | |
23338 | { | |
23339 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23340 | } | |
23341 | return resultobj; | |
23342 | fail: | |
23343 | return NULL; | |
23344 | } | |
23345 | ||
23346 | ||
c32bde28 | 23347 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23348 | PyObject *resultobj; |
23349 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23350 | bool result; | |
23351 | PyObject * obj0 = 0 ; | |
23352 | char *kwnames[] = { | |
23353 | (char *) "self", NULL | |
23354 | }; | |
23355 | ||
23356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23357 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23358 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23359 | { |
23360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23361 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
23362 | ||
23363 | wxPyEndAllowThreads(__tstate); | |
23364 | if (PyErr_Occurred()) SWIG_fail; | |
23365 | } | |
23366 | { | |
23367 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23368 | } | |
23369 | return resultobj; | |
23370 | fail: | |
23371 | return NULL; | |
23372 | } | |
23373 | ||
23374 | ||
c1cb24a4 RD |
23375 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
23376 | PyObject *resultobj; | |
23377 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23378 | bool arg2 ; | |
23379 | PyObject * obj0 = 0 ; | |
23380 | PyObject * obj1 = 0 ; | |
23381 | char *kwnames[] = { | |
23382 | (char *) "self",(char *) "flag", NULL | |
23383 | }; | |
23384 | ||
23385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23386 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23387 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23388 | { | |
23389 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23390 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23391 | } | |
c1cb24a4 RD |
23392 | { |
23393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23394 | (arg1)->SetSetupDialog(arg2); | |
23395 | ||
23396 | wxPyEndAllowThreads(__tstate); | |
23397 | if (PyErr_Occurred()) SWIG_fail; | |
23398 | } | |
23399 | Py_INCREF(Py_None); resultobj = Py_None; | |
23400 | return resultobj; | |
23401 | fail: | |
23402 | return NULL; | |
23403 | } | |
23404 | ||
23405 | ||
c32bde28 | 23406 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23407 | PyObject *resultobj; |
23408 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23409 | int arg2 ; | |
23410 | PyObject * obj0 = 0 ; | |
23411 | PyObject * obj1 = 0 ; | |
23412 | char *kwnames[] = { | |
23413 | (char *) "self",(char *) "v", NULL | |
23414 | }; | |
23415 | ||
23416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23417 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23418 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23419 | { | |
23420 | arg2 = (int)(SWIG_As_int(obj1)); | |
23421 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23422 | } | |
d55e5bfc RD |
23423 | { |
23424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23425 | (arg1)->SetFromPage(arg2); | |
23426 | ||
23427 | wxPyEndAllowThreads(__tstate); | |
23428 | if (PyErr_Occurred()) SWIG_fail; | |
23429 | } | |
23430 | Py_INCREF(Py_None); resultobj = Py_None; | |
23431 | return resultobj; | |
23432 | fail: | |
23433 | return NULL; | |
23434 | } | |
23435 | ||
23436 | ||
c32bde28 | 23437 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23438 | PyObject *resultobj; |
23439 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23440 | int arg2 ; | |
23441 | PyObject * obj0 = 0 ; | |
23442 | PyObject * obj1 = 0 ; | |
23443 | char *kwnames[] = { | |
23444 | (char *) "self",(char *) "v", NULL | |
23445 | }; | |
23446 | ||
23447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23448 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23449 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23450 | { | |
23451 | arg2 = (int)(SWIG_As_int(obj1)); | |
23452 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23453 | } | |
d55e5bfc RD |
23454 | { |
23455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23456 | (arg1)->SetToPage(arg2); | |
23457 | ||
23458 | wxPyEndAllowThreads(__tstate); | |
23459 | if (PyErr_Occurred()) SWIG_fail; | |
23460 | } | |
23461 | Py_INCREF(Py_None); resultobj = Py_None; | |
23462 | return resultobj; | |
23463 | fail: | |
23464 | return NULL; | |
23465 | } | |
23466 | ||
23467 | ||
c32bde28 | 23468 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23469 | PyObject *resultobj; |
23470 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23471 | int arg2 ; | |
23472 | PyObject * obj0 = 0 ; | |
23473 | PyObject * obj1 = 0 ; | |
23474 | char *kwnames[] = { | |
23475 | (char *) "self",(char *) "v", NULL | |
23476 | }; | |
23477 | ||
23478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23479 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23480 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23481 | { | |
23482 | arg2 = (int)(SWIG_As_int(obj1)); | |
23483 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23484 | } | |
d55e5bfc RD |
23485 | { |
23486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23487 | (arg1)->SetMinPage(arg2); | |
23488 | ||
23489 | wxPyEndAllowThreads(__tstate); | |
23490 | if (PyErr_Occurred()) SWIG_fail; | |
23491 | } | |
23492 | Py_INCREF(Py_None); resultobj = Py_None; | |
23493 | return resultobj; | |
23494 | fail: | |
23495 | return NULL; | |
23496 | } | |
23497 | ||
23498 | ||
c32bde28 | 23499 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23500 | PyObject *resultobj; |
23501 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23502 | int arg2 ; | |
23503 | PyObject * obj0 = 0 ; | |
23504 | PyObject * obj1 = 0 ; | |
23505 | char *kwnames[] = { | |
23506 | (char *) "self",(char *) "v", NULL | |
23507 | }; | |
23508 | ||
23509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23510 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23511 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23512 | { | |
23513 | arg2 = (int)(SWIG_As_int(obj1)); | |
23514 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23515 | } | |
d55e5bfc RD |
23516 | { |
23517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23518 | (arg1)->SetMaxPage(arg2); | |
23519 | ||
23520 | wxPyEndAllowThreads(__tstate); | |
23521 | if (PyErr_Occurred()) SWIG_fail; | |
23522 | } | |
23523 | Py_INCREF(Py_None); resultobj = Py_None; | |
23524 | return resultobj; | |
23525 | fail: | |
23526 | return NULL; | |
23527 | } | |
23528 | ||
23529 | ||
c32bde28 | 23530 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23531 | PyObject *resultobj; |
23532 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23533 | int arg2 ; | |
23534 | PyObject * obj0 = 0 ; | |
23535 | PyObject * obj1 = 0 ; | |
23536 | char *kwnames[] = { | |
23537 | (char *) "self",(char *) "v", NULL | |
23538 | }; | |
23539 | ||
23540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23541 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23542 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23543 | { | |
23544 | arg2 = (int)(SWIG_As_int(obj1)); | |
23545 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23546 | } | |
d55e5bfc RD |
23547 | { |
23548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23549 | (arg1)->SetNoCopies(arg2); | |
23550 | ||
23551 | wxPyEndAllowThreads(__tstate); | |
23552 | if (PyErr_Occurred()) SWIG_fail; | |
23553 | } | |
23554 | Py_INCREF(Py_None); resultobj = Py_None; | |
23555 | return resultobj; | |
23556 | fail: | |
23557 | return NULL; | |
23558 | } | |
23559 | ||
23560 | ||
c32bde28 | 23561 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23562 | PyObject *resultobj; |
23563 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23564 | bool arg2 ; | |
23565 | PyObject * obj0 = 0 ; | |
23566 | PyObject * obj1 = 0 ; | |
23567 | char *kwnames[] = { | |
23568 | (char *) "self",(char *) "flag", NULL | |
23569 | }; | |
23570 | ||
23571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23572 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23573 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23574 | { | |
23575 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23576 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23577 | } | |
d55e5bfc RD |
23578 | { |
23579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23580 | (arg1)->SetAllPages(arg2); | |
23581 | ||
23582 | wxPyEndAllowThreads(__tstate); | |
23583 | if (PyErr_Occurred()) SWIG_fail; | |
23584 | } | |
23585 | Py_INCREF(Py_None); resultobj = Py_None; | |
23586 | return resultobj; | |
23587 | fail: | |
23588 | return NULL; | |
23589 | } | |
23590 | ||
23591 | ||
c32bde28 | 23592 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23593 | PyObject *resultobj; |
23594 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23595 | bool arg2 ; | |
23596 | PyObject * obj0 = 0 ; | |
23597 | PyObject * obj1 = 0 ; | |
23598 | char *kwnames[] = { | |
23599 | (char *) "self",(char *) "flag", NULL | |
23600 | }; | |
23601 | ||
23602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23603 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23604 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23605 | { | |
23606 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23607 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23608 | } | |
d55e5bfc RD |
23609 | { |
23610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23611 | (arg1)->SetSelection(arg2); | |
23612 | ||
23613 | wxPyEndAllowThreads(__tstate); | |
23614 | if (PyErr_Occurred()) SWIG_fail; | |
23615 | } | |
23616 | Py_INCREF(Py_None); resultobj = Py_None; | |
23617 | return resultobj; | |
23618 | fail: | |
23619 | return NULL; | |
23620 | } | |
23621 | ||
23622 | ||
c32bde28 | 23623 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23624 | PyObject *resultobj; |
23625 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23626 | bool arg2 ; | |
23627 | PyObject * obj0 = 0 ; | |
23628 | PyObject * obj1 = 0 ; | |
23629 | char *kwnames[] = { | |
23630 | (char *) "self",(char *) "flag", NULL | |
23631 | }; | |
23632 | ||
23633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23634 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23635 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23636 | { | |
23637 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23638 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23639 | } | |
d55e5bfc RD |
23640 | { |
23641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23642 | (arg1)->SetCollate(arg2); | |
23643 | ||
23644 | wxPyEndAllowThreads(__tstate); | |
23645 | if (PyErr_Occurred()) SWIG_fail; | |
23646 | } | |
23647 | Py_INCREF(Py_None); resultobj = Py_None; | |
23648 | return resultobj; | |
23649 | fail: | |
23650 | return NULL; | |
23651 | } | |
23652 | ||
23653 | ||
c32bde28 | 23654 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23655 | PyObject *resultobj; |
23656 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23657 | bool arg2 ; | |
23658 | PyObject * obj0 = 0 ; | |
23659 | PyObject * obj1 = 0 ; | |
23660 | char *kwnames[] = { | |
23661 | (char *) "self",(char *) "flag", NULL | |
23662 | }; | |
23663 | ||
23664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23665 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23666 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23667 | { | |
23668 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23669 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23670 | } | |
d55e5bfc RD |
23671 | { |
23672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23673 | (arg1)->SetPrintToFile(arg2); | |
23674 | ||
23675 | wxPyEndAllowThreads(__tstate); | |
23676 | if (PyErr_Occurred()) SWIG_fail; | |
23677 | } | |
23678 | Py_INCREF(Py_None); resultobj = Py_None; | |
23679 | return resultobj; | |
23680 | fail: | |
23681 | return NULL; | |
23682 | } | |
23683 | ||
23684 | ||
c32bde28 | 23685 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23686 | PyObject *resultobj; |
23687 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23688 | bool arg2 ; | |
23689 | PyObject * obj0 = 0 ; | |
23690 | PyObject * obj1 = 0 ; | |
23691 | char *kwnames[] = { | |
23692 | (char *) "self",(char *) "flag", NULL | |
23693 | }; | |
23694 | ||
23695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23696 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23697 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23698 | { | |
23699 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23700 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23701 | } | |
d55e5bfc RD |
23702 | { |
23703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23704 | (arg1)->EnablePrintToFile(arg2); | |
23705 | ||
23706 | wxPyEndAllowThreads(__tstate); | |
23707 | if (PyErr_Occurred()) SWIG_fail; | |
23708 | } | |
23709 | Py_INCREF(Py_None); resultobj = Py_None; | |
23710 | return resultobj; | |
23711 | fail: | |
23712 | return NULL; | |
23713 | } | |
23714 | ||
23715 | ||
c32bde28 | 23716 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23717 | PyObject *resultobj; |
23718 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23719 | bool arg2 ; | |
23720 | PyObject * obj0 = 0 ; | |
23721 | PyObject * obj1 = 0 ; | |
23722 | char *kwnames[] = { | |
23723 | (char *) "self",(char *) "flag", NULL | |
23724 | }; | |
23725 | ||
23726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23727 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23728 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23729 | { | |
23730 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23731 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23732 | } | |
d55e5bfc RD |
23733 | { |
23734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23735 | (arg1)->EnableSelection(arg2); | |
23736 | ||
23737 | wxPyEndAllowThreads(__tstate); | |
23738 | if (PyErr_Occurred()) SWIG_fail; | |
23739 | } | |
23740 | Py_INCREF(Py_None); resultobj = Py_None; | |
23741 | return resultobj; | |
23742 | fail: | |
23743 | return NULL; | |
23744 | } | |
23745 | ||
23746 | ||
c32bde28 | 23747 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23748 | PyObject *resultobj; |
23749 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23750 | bool arg2 ; | |
23751 | PyObject * obj0 = 0 ; | |
23752 | PyObject * obj1 = 0 ; | |
23753 | char *kwnames[] = { | |
23754 | (char *) "self",(char *) "flag", NULL | |
23755 | }; | |
23756 | ||
23757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23758 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23759 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23760 | { | |
23761 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23762 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23763 | } | |
d55e5bfc RD |
23764 | { |
23765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23766 | (arg1)->EnablePageNumbers(arg2); | |
23767 | ||
23768 | wxPyEndAllowThreads(__tstate); | |
23769 | if (PyErr_Occurred()) SWIG_fail; | |
23770 | } | |
23771 | Py_INCREF(Py_None); resultobj = Py_None; | |
23772 | return resultobj; | |
23773 | fail: | |
23774 | return NULL; | |
23775 | } | |
23776 | ||
23777 | ||
c32bde28 | 23778 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23779 | PyObject *resultobj; |
23780 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23781 | bool arg2 ; | |
23782 | PyObject * obj0 = 0 ; | |
23783 | PyObject * obj1 = 0 ; | |
23784 | char *kwnames[] = { | |
23785 | (char *) "self",(char *) "flag", NULL | |
23786 | }; | |
23787 | ||
23788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23789 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23790 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23791 | { | |
23792 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23793 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23794 | } | |
d55e5bfc RD |
23795 | { |
23796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23797 | (arg1)->EnableHelp(arg2); | |
23798 | ||
23799 | wxPyEndAllowThreads(__tstate); | |
23800 | if (PyErr_Occurred()) SWIG_fail; | |
23801 | } | |
23802 | Py_INCREF(Py_None); resultobj = Py_None; | |
23803 | return resultobj; | |
23804 | fail: | |
23805 | return NULL; | |
23806 | } | |
23807 | ||
23808 | ||
c32bde28 | 23809 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23810 | PyObject *resultobj; |
23811 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23812 | bool result; | |
23813 | PyObject * obj0 = 0 ; | |
23814 | char *kwnames[] = { | |
23815 | (char *) "self", NULL | |
23816 | }; | |
23817 | ||
23818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23819 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23820 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23821 | { |
23822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23823 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
23824 | ||
23825 | wxPyEndAllowThreads(__tstate); | |
23826 | if (PyErr_Occurred()) SWIG_fail; | |
23827 | } | |
23828 | { | |
23829 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23830 | } | |
23831 | return resultobj; | |
23832 | fail: | |
23833 | return NULL; | |
23834 | } | |
23835 | ||
23836 | ||
c32bde28 | 23837 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23838 | PyObject *resultobj; |
23839 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23840 | bool result; | |
23841 | PyObject * obj0 = 0 ; | |
23842 | char *kwnames[] = { | |
23843 | (char *) "self", NULL | |
23844 | }; | |
23845 | ||
23846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23847 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23848 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23849 | { |
23850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23851 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
23852 | ||
23853 | wxPyEndAllowThreads(__tstate); | |
23854 | if (PyErr_Occurred()) SWIG_fail; | |
23855 | } | |
23856 | { | |
23857 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23858 | } | |
23859 | return resultobj; | |
23860 | fail: | |
23861 | return NULL; | |
23862 | } | |
23863 | ||
23864 | ||
c32bde28 | 23865 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23866 | PyObject *resultobj; |
23867 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23868 | bool result; | |
23869 | PyObject * obj0 = 0 ; | |
23870 | char *kwnames[] = { | |
23871 | (char *) "self", NULL | |
23872 | }; | |
23873 | ||
23874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23875 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23876 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23877 | { |
23878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23879 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
23880 | ||
23881 | wxPyEndAllowThreads(__tstate); | |
23882 | if (PyErr_Occurred()) SWIG_fail; | |
23883 | } | |
23884 | { | |
23885 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23886 | } | |
23887 | return resultobj; | |
23888 | fail: | |
23889 | return NULL; | |
23890 | } | |
23891 | ||
23892 | ||
c32bde28 | 23893 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23894 | PyObject *resultobj; |
23895 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23896 | bool result; | |
23897 | PyObject * obj0 = 0 ; | |
23898 | char *kwnames[] = { | |
23899 | (char *) "self", NULL | |
23900 | }; | |
23901 | ||
23902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23903 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23904 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23905 | { |
23906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23907 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
23908 | ||
23909 | wxPyEndAllowThreads(__tstate); | |
23910 | if (PyErr_Occurred()) SWIG_fail; | |
23911 | } | |
23912 | { | |
23913 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23914 | } | |
23915 | return resultobj; | |
23916 | fail: | |
23917 | return NULL; | |
23918 | } | |
23919 | ||
23920 | ||
c32bde28 | 23921 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23922 | PyObject *resultobj; |
23923 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23924 | bool result; | |
23925 | PyObject * obj0 = 0 ; | |
23926 | char *kwnames[] = { | |
23927 | (char *) "self", NULL | |
23928 | }; | |
23929 | ||
23930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23931 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23932 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23933 | { |
23934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23935 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
23936 | ||
23937 | wxPyEndAllowThreads(__tstate); | |
23938 | if (PyErr_Occurred()) SWIG_fail; | |
23939 | } | |
23940 | { | |
23941 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23942 | } | |
23943 | return resultobj; | |
23944 | fail: | |
23945 | return NULL; | |
23946 | } | |
23947 | ||
23948 | ||
c32bde28 | 23949 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23950 | PyObject *resultobj; |
23951 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23952 | wxPrintData *result; | |
23953 | PyObject * obj0 = 0 ; | |
23954 | char *kwnames[] = { | |
23955 | (char *) "self", NULL | |
23956 | }; | |
23957 | ||
23958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
23959 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23960 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23961 | { |
23962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23963 | { | |
23964 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
23965 | result = (wxPrintData *) &_result_ref; | |
23966 | } | |
23967 | ||
23968 | wxPyEndAllowThreads(__tstate); | |
23969 | if (PyErr_Occurred()) SWIG_fail; | |
23970 | } | |
23971 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); | |
23972 | return resultobj; | |
23973 | fail: | |
23974 | return NULL; | |
23975 | } | |
23976 | ||
23977 | ||
c32bde28 | 23978 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23979 | PyObject *resultobj; |
23980 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23981 | wxPrintData *arg2 = 0 ; | |
23982 | PyObject * obj0 = 0 ; | |
23983 | PyObject * obj1 = 0 ; | |
23984 | char *kwnames[] = { | |
23985 | (char *) "self",(char *) "printData", NULL | |
23986 | }; | |
23987 | ||
23988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
23989 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23990 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23991 | { | |
23992 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
23993 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23994 | if (arg2 == NULL) { | |
23995 | SWIG_null_ref("wxPrintData"); | |
23996 | } | |
23997 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
23998 | } |
23999 | { | |
24000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24001 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
24002 | ||
24003 | wxPyEndAllowThreads(__tstate); | |
24004 | if (PyErr_Occurred()) SWIG_fail; | |
24005 | } | |
24006 | Py_INCREF(Py_None); resultobj = Py_None; | |
24007 | return resultobj; | |
24008 | fail: | |
24009 | return NULL; | |
24010 | } | |
24011 | ||
24012 | ||
c32bde28 | 24013 | static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
24014 | PyObject *obj; |
24015 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24016 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
24017 | Py_INCREF(obj); | |
24018 | return Py_BuildValue((char *)""); | |
24019 | } | |
c32bde28 | 24020 | static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24021 | PyObject *resultobj; |
24022 | wxWindow *arg1 = (wxWindow *) 0 ; | |
24023 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
24024 | wxPrintDialog *result; | |
24025 | PyObject * obj0 = 0 ; | |
24026 | PyObject * obj1 = 0 ; | |
24027 | char *kwnames[] = { | |
24028 | (char *) "parent",(char *) "data", NULL | |
24029 | }; | |
24030 | ||
24031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
24032 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
24033 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 24034 | if (obj1) { |
093d3ff1 RD |
24035 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
24036 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
24037 | } |
24038 | { | |
0439c23b | 24039 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
24040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24041 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
24042 | ||
24043 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24044 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
24045 | } |
24046 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); | |
24047 | return resultobj; | |
24048 | fail: | |
24049 | return NULL; | |
24050 | } | |
24051 | ||
24052 | ||
c1cb24a4 RD |
24053 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
24054 | PyObject *resultobj; | |
24055 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
24056 | int result; | |
24057 | PyObject * obj0 = 0 ; | |
24058 | char *kwnames[] = { | |
24059 | (char *) "self", NULL | |
24060 | }; | |
24061 | ||
24062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24063 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24064 | if (SWIG_arg_fail(1)) SWIG_fail; | |
c1cb24a4 RD |
24065 | { |
24066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24067 | result = (int)(arg1)->ShowModal(); | |
24068 | ||
24069 | wxPyEndAllowThreads(__tstate); | |
24070 | if (PyErr_Occurred()) SWIG_fail; | |
24071 | } | |
093d3ff1 RD |
24072 | { |
24073 | resultobj = SWIG_From_int((int)(result)); | |
24074 | } | |
c1cb24a4 RD |
24075 | return resultobj; |
24076 | fail: | |
24077 | return NULL; | |
24078 | } | |
24079 | ||
24080 | ||
c32bde28 | 24081 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24082 | PyObject *resultobj; |
24083 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
24084 | wxPrintDialogData *result; | |
24085 | PyObject * obj0 = 0 ; | |
24086 | char *kwnames[] = { | |
24087 | (char *) "self", NULL | |
24088 | }; | |
24089 | ||
24090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24091 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24092 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24093 | { |
24094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24095 | { | |
24096 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
24097 | result = (wxPrintDialogData *) &_result_ref; | |
24098 | } | |
24099 | ||
24100 | wxPyEndAllowThreads(__tstate); | |
24101 | if (PyErr_Occurred()) SWIG_fail; | |
24102 | } | |
24103 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
24104 | return resultobj; | |
24105 | fail: | |
24106 | return NULL; | |
24107 | } | |
24108 | ||
24109 | ||
c1cb24a4 | 24110 | static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24111 | PyObject *resultobj; |
24112 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
c1cb24a4 | 24113 | wxPrintData *result; |
d55e5bfc RD |
24114 | PyObject * obj0 = 0 ; |
24115 | char *kwnames[] = { | |
24116 | (char *) "self", NULL | |
24117 | }; | |
24118 | ||
c1cb24a4 | 24119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24120 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24121 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24122 | { |
24123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c1cb24a4 RD |
24124 | { |
24125 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
24126 | result = (wxPrintData *) &_result_ref; | |
24127 | } | |
d55e5bfc RD |
24128 | |
24129 | wxPyEndAllowThreads(__tstate); | |
24130 | if (PyErr_Occurred()) SWIG_fail; | |
24131 | } | |
c1cb24a4 | 24132 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d55e5bfc RD |
24133 | return resultobj; |
24134 | fail: | |
24135 | return NULL; | |
24136 | } | |
24137 | ||
24138 | ||
c1cb24a4 | 24139 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24140 | PyObject *resultobj; |
24141 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
c1cb24a4 | 24142 | wxDC *result; |
d55e5bfc RD |
24143 | PyObject * obj0 = 0 ; |
24144 | char *kwnames[] = { | |
24145 | (char *) "self", NULL | |
24146 | }; | |
24147 | ||
c1cb24a4 | 24148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24149 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24150 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24151 | { |
24152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c1cb24a4 | 24153 | result = (wxDC *)(arg1)->GetPrintDC(); |
d55e5bfc RD |
24154 | |
24155 | wxPyEndAllowThreads(__tstate); | |
24156 | if (PyErr_Occurred()) SWIG_fail; | |
24157 | } | |
c1cb24a4 RD |
24158 | { |
24159 | resultobj = wxPyMake_wxObject(result, 1); | |
24160 | } | |
d55e5bfc RD |
24161 | return resultobj; |
24162 | fail: | |
24163 | return NULL; | |
24164 | } | |
24165 | ||
24166 | ||
c32bde28 | 24167 | static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
24168 | PyObject *obj; |
24169 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24170 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
24171 | Py_INCREF(obj); | |
24172 | return Py_BuildValue((char *)""); | |
24173 | } | |
c32bde28 | 24174 | static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24175 | PyObject *resultobj; |
24176 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
24177 | wxPrinter *result; | |
24178 | PyObject * obj0 = 0 ; | |
24179 | char *kwnames[] = { | |
24180 | (char *) "data", NULL | |
24181 | }; | |
24182 | ||
24183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
24184 | if (obj0) { | |
093d3ff1 RD |
24185 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
24186 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24187 | } |
24188 | { | |
0439c23b | 24189 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
24190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24191 | result = (wxPrinter *)new wxPrinter(arg1); | |
24192 | ||
24193 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24194 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
24195 | } |
24196 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); | |
24197 | return resultobj; | |
24198 | fail: | |
24199 | return NULL; | |
24200 | } | |
24201 | ||
24202 | ||
c32bde28 | 24203 | static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24204 | PyObject *resultobj; |
24205 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24206 | PyObject * obj0 = 0 ; | |
24207 | char *kwnames[] = { | |
24208 | (char *) "self", NULL | |
24209 | }; | |
24210 | ||
24211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24212 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24213 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24214 | { |
24215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24216 | delete arg1; | |
24217 | ||
24218 | wxPyEndAllowThreads(__tstate); | |
24219 | if (PyErr_Occurred()) SWIG_fail; | |
24220 | } | |
24221 | Py_INCREF(Py_None); resultobj = Py_None; | |
24222 | return resultobj; | |
24223 | fail: | |
24224 | return NULL; | |
24225 | } | |
24226 | ||
24227 | ||
c32bde28 | 24228 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24229 | PyObject *resultobj; |
24230 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24231 | wxWindow *arg2 = (wxWindow *) 0 ; | |
24232 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
c1cb24a4 | 24233 | wxWindow *result; |
d55e5bfc RD |
24234 | PyObject * obj0 = 0 ; |
24235 | PyObject * obj1 = 0 ; | |
24236 | PyObject * obj2 = 0 ; | |
24237 | char *kwnames[] = { | |
24238 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
24239 | }; | |
24240 | ||
24241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
24242 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24243 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24244 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24245 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24246 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
24247 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
24248 | { |
24249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c1cb24a4 | 24250 | result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3); |
d55e5bfc RD |
24251 | |
24252 | wxPyEndAllowThreads(__tstate); | |
24253 | if (PyErr_Occurred()) SWIG_fail; | |
24254 | } | |
d55e5bfc | 24255 | { |
c1cb24a4 | 24256 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc | 24257 | } |
d55e5bfc RD |
24258 | return resultobj; |
24259 | fail: | |
24260 | return NULL; | |
24261 | } | |
24262 | ||
24263 | ||
c1cb24a4 | 24264 | static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24265 | PyObject *resultobj; |
24266 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24267 | wxWindow *arg2 = (wxWindow *) 0 ; | |
24268 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
c1cb24a4 RD |
24269 | wxString *arg4 = 0 ; |
24270 | bool temp4 = false ; | |
d55e5bfc RD |
24271 | PyObject * obj0 = 0 ; |
24272 | PyObject * obj1 = 0 ; | |
24273 | PyObject * obj2 = 0 ; | |
24274 | PyObject * obj3 = 0 ; | |
24275 | char *kwnames[] = { | |
c1cb24a4 | 24276 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL |
d55e5bfc RD |
24277 | }; |
24278 | ||
c1cb24a4 | 24279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
24280 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24281 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24282 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24283 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24284 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
24285 | if (SWIG_arg_fail(3)) SWIG_fail; | |
c1cb24a4 RD |
24286 | { |
24287 | arg4 = wxString_in_helper(obj3); | |
24288 | if (arg4 == NULL) SWIG_fail; | |
24289 | temp4 = true; | |
d55e5bfc RD |
24290 | } |
24291 | { | |
24292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c1cb24a4 | 24293 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); |
d55e5bfc RD |
24294 | |
24295 | wxPyEndAllowThreads(__tstate); | |
24296 | if (PyErr_Occurred()) SWIG_fail; | |
24297 | } | |
c1cb24a4 | 24298 | Py_INCREF(Py_None); resultobj = Py_None; |
d55e5bfc | 24299 | { |
c1cb24a4 RD |
24300 | if (temp4) |
24301 | delete arg4; | |
d55e5bfc RD |
24302 | } |
24303 | return resultobj; | |
24304 | fail: | |
c1cb24a4 RD |
24305 | { |
24306 | if (temp4) | |
24307 | delete arg4; | |
24308 | } | |
d55e5bfc RD |
24309 | return NULL; |
24310 | } | |
24311 | ||
24312 | ||
c1cb24a4 | 24313 | static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24314 | PyObject *resultobj; |
24315 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24316 | wxWindow *arg2 = (wxWindow *) 0 ; | |
c1cb24a4 | 24317 | bool result; |
d55e5bfc RD |
24318 | PyObject * obj0 = 0 ; |
24319 | PyObject * obj1 = 0 ; | |
24320 | char *kwnames[] = { | |
24321 | (char *) "self",(char *) "parent", NULL | |
24322 | }; | |
24323 | ||
c1cb24a4 | 24324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
24325 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24326 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24327 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24328 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
24329 | { |
24330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c1cb24a4 | 24331 | result = (bool)(arg1)->Setup(arg2); |
d55e5bfc RD |
24332 | |
24333 | wxPyEndAllowThreads(__tstate); | |
24334 | if (PyErr_Occurred()) SWIG_fail; | |
24335 | } | |
24336 | { | |
c1cb24a4 | 24337 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d55e5bfc RD |
24338 | } |
24339 | return resultobj; | |
24340 | fail: | |
24341 | return NULL; | |
24342 | } | |
24343 | ||
24344 | ||
c1cb24a4 | 24345 | static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24346 | PyObject *resultobj; |
24347 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24348 | wxWindow *arg2 = (wxWindow *) 0 ; | |
24349 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
c1cb24a4 RD |
24350 | bool arg4 = (bool) true ; |
24351 | bool result; | |
d55e5bfc RD |
24352 | PyObject * obj0 = 0 ; |
24353 | PyObject * obj1 = 0 ; | |
24354 | PyObject * obj2 = 0 ; | |
24355 | PyObject * obj3 = 0 ; | |
24356 | char *kwnames[] = { | |
c1cb24a4 | 24357 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL |
d55e5bfc RD |
24358 | }; |
24359 | ||
c1cb24a4 | 24360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
24361 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24362 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24363 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24364 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24365 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
24366 | if (SWIG_arg_fail(3)) SWIG_fail; | |
c1cb24a4 | 24367 | if (obj3) { |
093d3ff1 RD |
24368 | { |
24369 | arg4 = (bool)(SWIG_As_bool(obj3)); | |
24370 | if (SWIG_arg_fail(4)) SWIG_fail; | |
24371 | } | |
d55e5bfc RD |
24372 | } |
24373 | { | |
24374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c1cb24a4 | 24375 | result = (bool)(arg1)->Print(arg2,arg3,arg4); |
d55e5bfc RD |
24376 | |
24377 | wxPyEndAllowThreads(__tstate); | |
24378 | if (PyErr_Occurred()) SWIG_fail; | |
24379 | } | |
d55e5bfc | 24380 | { |
c1cb24a4 | 24381 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d55e5bfc RD |
24382 | } |
24383 | return resultobj; | |
24384 | fail: | |
d55e5bfc RD |
24385 | return NULL; |
24386 | } | |
24387 | ||
24388 | ||
c1cb24a4 | 24389 | static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24390 | PyObject *resultobj; |
24391 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24392 | wxWindow *arg2 = (wxWindow *) 0 ; | |
c1cb24a4 | 24393 | wxDC *result; |
d55e5bfc RD |
24394 | PyObject * obj0 = 0 ; |
24395 | PyObject * obj1 = 0 ; | |
24396 | char *kwnames[] = { | |
24397 | (char *) "self",(char *) "parent", NULL | |
24398 | }; | |
24399 | ||
c1cb24a4 | 24400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
24401 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24402 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24403 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24404 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
24405 | { |
24406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c1cb24a4 | 24407 | result = (wxDC *)(arg1)->PrintDialog(arg2); |
d55e5bfc RD |
24408 | |
24409 | wxPyEndAllowThreads(__tstate); | |
24410 | if (PyErr_Occurred()) SWIG_fail; | |
24411 | } | |
24412 | { | |
c1cb24a4 | 24413 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
24414 | } |
24415 | return resultobj; | |
24416 | fail: | |
24417 | return NULL; | |
24418 | } | |
24419 | ||
24420 | ||
c1cb24a4 RD |
24421 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
24422 | PyObject *resultobj; | |
24423 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24424 | wxPrintDialogData *result; | |
24425 | PyObject * obj0 = 0 ; | |
24426 | char *kwnames[] = { | |
24427 | (char *) "self", NULL | |
24428 | }; | |
24429 | ||
24430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24431 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24432 | if (SWIG_arg_fail(1)) SWIG_fail; | |
c1cb24a4 RD |
24433 | { |
24434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24435 | { | |
24436 | wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData(); | |
24437 | result = (wxPrintDialogData *) &_result_ref; | |
24438 | } | |
24439 | ||
24440 | wxPyEndAllowThreads(__tstate); | |
24441 | if (PyErr_Occurred()) SWIG_fail; | |
24442 | } | |
24443 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
24444 | return resultobj; | |
24445 | fail: | |
24446 | return NULL; | |
24447 | } | |
24448 | ||
24449 | ||
c32bde28 | 24450 | static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24451 | PyObject *resultobj; |
24452 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24453 | bool result; | |
24454 | PyObject * obj0 = 0 ; | |
24455 | char *kwnames[] = { | |
24456 | (char *) "self", NULL | |
24457 | }; | |
24458 | ||
24459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24460 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24461 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24462 | { |
24463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24464 | result = (bool)(arg1)->GetAbort(); | |
24465 | ||
24466 | wxPyEndAllowThreads(__tstate); | |
24467 | if (PyErr_Occurred()) SWIG_fail; | |
24468 | } | |
24469 | { | |
24470 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24471 | } | |
24472 | return resultobj; | |
24473 | fail: | |
24474 | return NULL; | |
24475 | } | |
24476 | ||
24477 | ||
c32bde28 | 24478 | static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 24479 | PyObject *resultobj; |
093d3ff1 | 24480 | wxPrinterError result; |
d55e5bfc RD |
24481 | char *kwnames[] = { |
24482 | NULL | |
24483 | }; | |
24484 | ||
24485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
24486 | { | |
24487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 24488 | result = (wxPrinterError)wxPrinter::GetLastError(); |
d55e5bfc RD |
24489 | |
24490 | wxPyEndAllowThreads(__tstate); | |
24491 | if (PyErr_Occurred()) SWIG_fail; | |
24492 | } | |
093d3ff1 | 24493 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
24494 | return resultobj; |
24495 | fail: | |
24496 | return NULL; | |
24497 | } | |
24498 | ||
24499 | ||
c32bde28 | 24500 | static PyObject * Printer_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
24501 | PyObject *obj; |
24502 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24503 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
24504 | Py_INCREF(obj); | |
24505 | return Py_BuildValue((char *)""); | |
24506 | } | |
c32bde28 | 24507 | static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24508 | PyObject *resultobj; |
24509 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
24510 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
24511 | wxPyPrintout *result; | |
ae8162c8 | 24512 | bool temp1 = false ; |
d55e5bfc RD |
24513 | PyObject * obj0 = 0 ; |
24514 | char *kwnames[] = { | |
24515 | (char *) "title", NULL | |
24516 | }; | |
24517 | ||
24518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
24519 | if (obj0) { | |
24520 | { | |
24521 | arg1 = wxString_in_helper(obj0); | |
24522 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 24523 | temp1 = true; |
d55e5bfc RD |
24524 | } |
24525 | } | |
24526 | { | |
0439c23b | 24527 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
24528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24529 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
24530 | ||
24531 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24532 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
24533 | } |
24534 | { | |
412d302d | 24535 | resultobj = wxPyMake_wxObject(result, 1); |
d55e5bfc RD |
24536 | } |
24537 | { | |
24538 | if (temp1) | |
24539 | delete arg1; | |
24540 | } | |
24541 | return resultobj; | |
24542 | fail: | |
24543 | { | |
24544 | if (temp1) | |
24545 | delete arg1; | |
24546 | } | |
24547 | return NULL; | |
24548 | } | |
24549 | ||
24550 | ||
c32bde28 | 24551 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24552 | PyObject *resultobj; |
24553 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24554 | PyObject *arg2 = (PyObject *) 0 ; | |
24555 | PyObject *arg3 = (PyObject *) 0 ; | |
24556 | PyObject * obj0 = 0 ; | |
24557 | PyObject * obj1 = 0 ; | |
24558 | PyObject * obj2 = 0 ; | |
24559 | char *kwnames[] = { | |
24560 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24561 | }; | |
24562 | ||
24563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
24564 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24565 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24566 | arg2 = obj1; |
24567 | arg3 = obj2; | |
24568 | { | |
24569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24570 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24571 | ||
24572 | wxPyEndAllowThreads(__tstate); | |
24573 | if (PyErr_Occurred()) SWIG_fail; | |
24574 | } | |
24575 | Py_INCREF(Py_None); resultobj = Py_None; | |
24576 | return resultobj; | |
24577 | fail: | |
24578 | return NULL; | |
24579 | } | |
24580 | ||
24581 | ||
c32bde28 | 24582 | static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24583 | PyObject *resultobj; |
24584 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24585 | wxString result; | |
24586 | PyObject * obj0 = 0 ; | |
24587 | char *kwnames[] = { | |
24588 | (char *) "self", NULL | |
24589 | }; | |
24590 | ||
24591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24592 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24593 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24594 | { |
24595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24596 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
24597 | ||
24598 | wxPyEndAllowThreads(__tstate); | |
24599 | if (PyErr_Occurred()) SWIG_fail; | |
24600 | } | |
24601 | { | |
24602 | #if wxUSE_UNICODE | |
24603 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
24604 | #else | |
24605 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
24606 | #endif | |
24607 | } | |
24608 | return resultobj; | |
24609 | fail: | |
24610 | return NULL; | |
24611 | } | |
24612 | ||
24613 | ||
c32bde28 | 24614 | static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24615 | PyObject *resultobj; |
24616 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24617 | wxDC *result; | |
24618 | PyObject * obj0 = 0 ; | |
24619 | char *kwnames[] = { | |
24620 | (char *) "self", NULL | |
24621 | }; | |
24622 | ||
24623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24624 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24625 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24626 | { |
24627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24628 | result = (wxDC *)(arg1)->GetDC(); | |
24629 | ||
24630 | wxPyEndAllowThreads(__tstate); | |
24631 | if (PyErr_Occurred()) SWIG_fail; | |
24632 | } | |
24633 | { | |
412d302d | 24634 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
24635 | } |
24636 | return resultobj; | |
24637 | fail: | |
24638 | return NULL; | |
24639 | } | |
24640 | ||
24641 | ||
c32bde28 | 24642 | static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24643 | PyObject *resultobj; |
24644 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24645 | wxDC *arg2 = (wxDC *) 0 ; | |
24646 | PyObject * obj0 = 0 ; | |
24647 | PyObject * obj1 = 0 ; | |
24648 | char *kwnames[] = { | |
24649 | (char *) "self",(char *) "dc", NULL | |
24650 | }; | |
24651 | ||
24652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
24653 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24654 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24655 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
24656 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
24657 | { |
24658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24659 | (arg1)->SetDC(arg2); | |
24660 | ||
24661 | wxPyEndAllowThreads(__tstate); | |
24662 | if (PyErr_Occurred()) SWIG_fail; | |
24663 | } | |
24664 | Py_INCREF(Py_None); resultobj = Py_None; | |
24665 | return resultobj; | |
24666 | fail: | |
24667 | return NULL; | |
24668 | } | |
24669 | ||
24670 | ||
c32bde28 | 24671 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24672 | PyObject *resultobj; |
24673 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24674 | int arg2 ; | |
24675 | int arg3 ; | |
24676 | PyObject * obj0 = 0 ; | |
24677 | PyObject * obj1 = 0 ; | |
24678 | PyObject * obj2 = 0 ; | |
24679 | char *kwnames[] = { | |
24680 | (char *) "self",(char *) "w",(char *) "h", NULL | |
24681 | }; | |
24682 | ||
24683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
24684 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24685 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24686 | { | |
24687 | arg2 = (int)(SWIG_As_int(obj1)); | |
24688 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24689 | } | |
24690 | { | |
24691 | arg3 = (int)(SWIG_As_int(obj2)); | |
24692 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24693 | } | |
d55e5bfc RD |
24694 | { |
24695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24696 | (arg1)->SetPageSizePixels(arg2,arg3); | |
24697 | ||
24698 | wxPyEndAllowThreads(__tstate); | |
24699 | if (PyErr_Occurred()) SWIG_fail; | |
24700 | } | |
24701 | Py_INCREF(Py_None); resultobj = Py_None; | |
24702 | return resultobj; | |
24703 | fail: | |
24704 | return NULL; | |
24705 | } | |
24706 | ||
24707 | ||
c32bde28 | 24708 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24709 | PyObject *resultobj; |
24710 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24711 | int *arg2 = (int *) 0 ; | |
24712 | int *arg3 = (int *) 0 ; | |
24713 | int temp2 ; | |
c32bde28 | 24714 | int res2 = 0 ; |
d55e5bfc | 24715 | int temp3 ; |
c32bde28 | 24716 | int res3 = 0 ; |
d55e5bfc RD |
24717 | PyObject * obj0 = 0 ; |
24718 | char *kwnames[] = { | |
24719 | (char *) "self", NULL | |
24720 | }; | |
24721 | ||
c32bde28 RD |
24722 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24723 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 24724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24725 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24726 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24727 | { |
24728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24729 | (arg1)->GetPageSizePixels(arg2,arg3); | |
24730 | ||
24731 | wxPyEndAllowThreads(__tstate); | |
24732 | if (PyErr_Occurred()) SWIG_fail; | |
24733 | } | |
24734 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
24735 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24736 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24737 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24738 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
24739 | return resultobj; |
24740 | fail: | |
24741 | return NULL; | |
24742 | } | |
24743 | ||
24744 | ||
c32bde28 | 24745 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24746 | PyObject *resultobj; |
24747 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24748 | int arg2 ; | |
24749 | int arg3 ; | |
24750 | PyObject * obj0 = 0 ; | |
24751 | PyObject * obj1 = 0 ; | |
24752 | PyObject * obj2 = 0 ; | |
24753 | char *kwnames[] = { | |
24754 | (char *) "self",(char *) "w",(char *) "h", NULL | |
24755 | }; | |
24756 | ||
24757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
24758 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24759 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24760 | { | |
24761 | arg2 = (int)(SWIG_As_int(obj1)); | |
24762 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24763 | } | |
24764 | { | |
24765 | arg3 = (int)(SWIG_As_int(obj2)); | |
24766 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24767 | } | |
d55e5bfc RD |
24768 | { |
24769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24770 | (arg1)->SetPageSizeMM(arg2,arg3); | |
24771 | ||
24772 | wxPyEndAllowThreads(__tstate); | |
24773 | if (PyErr_Occurred()) SWIG_fail; | |
24774 | } | |
24775 | Py_INCREF(Py_None); resultobj = Py_None; | |
24776 | return resultobj; | |
24777 | fail: | |
24778 | return NULL; | |
24779 | } | |
24780 | ||
24781 | ||
c32bde28 | 24782 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24783 | PyObject *resultobj; |
24784 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24785 | int *arg2 = (int *) 0 ; | |
24786 | int *arg3 = (int *) 0 ; | |
24787 | int temp2 ; | |
c32bde28 | 24788 | int res2 = 0 ; |
d55e5bfc | 24789 | int temp3 ; |
c32bde28 | 24790 | int res3 = 0 ; |
d55e5bfc RD |
24791 | PyObject * obj0 = 0 ; |
24792 | char *kwnames[] = { | |
24793 | (char *) "self", NULL | |
24794 | }; | |
24795 | ||
c32bde28 RD |
24796 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24797 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 24798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24799 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24800 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24801 | { |
24802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24803 | (arg1)->GetPageSizeMM(arg2,arg3); | |
24804 | ||
24805 | wxPyEndAllowThreads(__tstate); | |
24806 | if (PyErr_Occurred()) SWIG_fail; | |
24807 | } | |
24808 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
24809 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24810 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24811 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24812 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
24813 | return resultobj; |
24814 | fail: | |
24815 | return NULL; | |
24816 | } | |
24817 | ||
24818 | ||
c32bde28 | 24819 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24820 | PyObject *resultobj; |
24821 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24822 | int arg2 ; | |
24823 | int arg3 ; | |
24824 | PyObject * obj0 = 0 ; | |
24825 | PyObject * obj1 = 0 ; | |
24826 | PyObject * obj2 = 0 ; | |
24827 | char *kwnames[] = { | |
24828 | (char *) "self",(char *) "x",(char *) "y", NULL | |
24829 | }; | |
24830 | ||
24831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
24832 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24833 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24834 | { | |
24835 | arg2 = (int)(SWIG_As_int(obj1)); | |
24836 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24837 | } | |
24838 | { | |
24839 | arg3 = (int)(SWIG_As_int(obj2)); | |
24840 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24841 | } | |
d55e5bfc RD |
24842 | { |
24843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24844 | (arg1)->SetPPIScreen(arg2,arg3); | |
24845 | ||
24846 | wxPyEndAllowThreads(__tstate); | |
24847 | if (PyErr_Occurred()) SWIG_fail; | |
24848 | } | |
24849 | Py_INCREF(Py_None); resultobj = Py_None; | |
24850 | return resultobj; | |
24851 | fail: | |
24852 | return NULL; | |
24853 | } | |
24854 | ||
24855 | ||
c32bde28 | 24856 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24857 | PyObject *resultobj; |
24858 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24859 | int *arg2 = (int *) 0 ; | |
24860 | int *arg3 = (int *) 0 ; | |
24861 | int temp2 ; | |
c32bde28 | 24862 | int res2 = 0 ; |
d55e5bfc | 24863 | int temp3 ; |
c32bde28 | 24864 | int res3 = 0 ; |
d55e5bfc RD |
24865 | PyObject * obj0 = 0 ; |
24866 | char *kwnames[] = { | |
24867 | (char *) "self", NULL | |
24868 | }; | |
24869 | ||
c32bde28 RD |
24870 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24871 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 24872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24873 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24874 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24875 | { |
24876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24877 | (arg1)->GetPPIScreen(arg2,arg3); | |
24878 | ||
24879 | wxPyEndAllowThreads(__tstate); | |
24880 | if (PyErr_Occurred()) SWIG_fail; | |
24881 | } | |
24882 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
24883 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24884 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24885 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24886 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
24887 | return resultobj; |
24888 | fail: | |
24889 | return NULL; | |
24890 | } | |
24891 | ||
24892 | ||
c32bde28 | 24893 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24894 | PyObject *resultobj; |
24895 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24896 | int arg2 ; | |
24897 | int arg3 ; | |
24898 | PyObject * obj0 = 0 ; | |
24899 | PyObject * obj1 = 0 ; | |
24900 | PyObject * obj2 = 0 ; | |
24901 | char *kwnames[] = { | |
24902 | (char *) "self",(char *) "x",(char *) "y", NULL | |
24903 | }; | |
24904 | ||
24905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
24906 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24907 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24908 | { | |
24909 | arg2 = (int)(SWIG_As_int(obj1)); | |
24910 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24911 | } | |
24912 | { | |
24913 | arg3 = (int)(SWIG_As_int(obj2)); | |
24914 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24915 | } | |
d55e5bfc RD |
24916 | { |
24917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24918 | (arg1)->SetPPIPrinter(arg2,arg3); | |
24919 | ||
24920 | wxPyEndAllowThreads(__tstate); | |
24921 | if (PyErr_Occurred()) SWIG_fail; | |
24922 | } | |
24923 | Py_INCREF(Py_None); resultobj = Py_None; | |
24924 | return resultobj; | |
24925 | fail: | |
24926 | return NULL; | |
24927 | } | |
24928 | ||
24929 | ||
c32bde28 | 24930 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24931 | PyObject *resultobj; |
24932 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24933 | int *arg2 = (int *) 0 ; | |
24934 | int *arg3 = (int *) 0 ; | |
24935 | int temp2 ; | |
c32bde28 | 24936 | int res2 = 0 ; |
d55e5bfc | 24937 | int temp3 ; |
c32bde28 | 24938 | int res3 = 0 ; |
d55e5bfc RD |
24939 | PyObject * obj0 = 0 ; |
24940 | char *kwnames[] = { | |
24941 | (char *) "self", NULL | |
24942 | }; | |
24943 | ||
c32bde28 RD |
24944 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24945 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 24946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
24947 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24948 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24949 | { |
24950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24951 | (arg1)->GetPPIPrinter(arg2,arg3); | |
24952 | ||
24953 | wxPyEndAllowThreads(__tstate); | |
24954 | if (PyErr_Occurred()) SWIG_fail; | |
24955 | } | |
24956 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
24957 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24958 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24959 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24960 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
24961 | return resultobj; |
24962 | fail: | |
24963 | return NULL; | |
24964 | } | |
24965 | ||
24966 | ||
c32bde28 | 24967 | static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24968 | PyObject *resultobj; |
24969 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24970 | bool result; | |
24971 | PyObject * obj0 = 0 ; | |
24972 | char *kwnames[] = { | |
24973 | (char *) "self", NULL | |
24974 | }; | |
24975 | ||
24976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
24977 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24978 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24979 | { |
24980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24981 | result = (bool)(arg1)->IsPreview(); | |
24982 | ||
24983 | wxPyEndAllowThreads(__tstate); | |
24984 | if (PyErr_Occurred()) SWIG_fail; | |
24985 | } | |
24986 | { | |
24987 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24988 | } | |
24989 | return resultobj; | |
24990 | fail: | |
24991 | return NULL; | |
24992 | } | |
24993 | ||
24994 | ||
c32bde28 | 24995 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24996 | PyObject *resultobj; |
24997 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24998 | bool arg2 ; | |
24999 | PyObject * obj0 = 0 ; | |
25000 | PyObject * obj1 = 0 ; | |
25001 | char *kwnames[] = { | |
25002 | (char *) "self",(char *) "p", NULL | |
25003 | }; | |
25004 | ||
25005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
25006 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25007 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25008 | { | |
25009 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
25010 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25011 | } | |
d55e5bfc RD |
25012 | { |
25013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25014 | (arg1)->SetIsPreview(arg2); | |
25015 | ||
25016 | wxPyEndAllowThreads(__tstate); | |
25017 | if (PyErr_Occurred()) SWIG_fail; | |
25018 | } | |
25019 | Py_INCREF(Py_None); resultobj = Py_None; | |
25020 | return resultobj; | |
25021 | fail: | |
25022 | return NULL; | |
25023 | } | |
25024 | ||
25025 | ||
c32bde28 | 25026 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25027 | PyObject *resultobj; |
25028 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25029 | int arg2 ; | |
25030 | int arg3 ; | |
25031 | bool result; | |
25032 | PyObject * obj0 = 0 ; | |
25033 | PyObject * obj1 = 0 ; | |
25034 | PyObject * obj2 = 0 ; | |
25035 | char *kwnames[] = { | |
25036 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
25037 | }; | |
25038 | ||
25039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
25040 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25041 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25042 | { | |
25043 | arg2 = (int)(SWIG_As_int(obj1)); | |
25044 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25045 | } | |
25046 | { | |
25047 | arg3 = (int)(SWIG_As_int(obj2)); | |
25048 | if (SWIG_arg_fail(3)) SWIG_fail; | |
25049 | } | |
d55e5bfc RD |
25050 | { |
25051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25052 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
25053 | ||
25054 | wxPyEndAllowThreads(__tstate); | |
25055 | if (PyErr_Occurred()) SWIG_fail; | |
25056 | } | |
25057 | { | |
25058 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
25059 | } | |
25060 | return resultobj; | |
25061 | fail: | |
25062 | return NULL; | |
25063 | } | |
25064 | ||
25065 | ||
c32bde28 | 25066 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25067 | PyObject *resultobj; |
25068 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25069 | PyObject * obj0 = 0 ; | |
25070 | char *kwnames[] = { | |
25071 | (char *) "self", NULL | |
25072 | }; | |
25073 | ||
25074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25075 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25076 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25077 | { |
25078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25079 | (arg1)->base_OnEndDocument(); | |
25080 | ||
25081 | wxPyEndAllowThreads(__tstate); | |
25082 | if (PyErr_Occurred()) SWIG_fail; | |
25083 | } | |
25084 | Py_INCREF(Py_None); resultobj = Py_None; | |
25085 | return resultobj; | |
25086 | fail: | |
25087 | return NULL; | |
25088 | } | |
25089 | ||
25090 | ||
c32bde28 | 25091 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25092 | PyObject *resultobj; |
25093 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25094 | PyObject * obj0 = 0 ; | |
25095 | char *kwnames[] = { | |
25096 | (char *) "self", NULL | |
25097 | }; | |
25098 | ||
25099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25100 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25101 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25102 | { |
25103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25104 | (arg1)->base_OnBeginPrinting(); | |
25105 | ||
25106 | wxPyEndAllowThreads(__tstate); | |
25107 | if (PyErr_Occurred()) SWIG_fail; | |
25108 | } | |
25109 | Py_INCREF(Py_None); resultobj = Py_None; | |
25110 | return resultobj; | |
25111 | fail: | |
25112 | return NULL; | |
25113 | } | |
25114 | ||
25115 | ||
c32bde28 | 25116 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25117 | PyObject *resultobj; |
25118 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25119 | PyObject * obj0 = 0 ; | |
25120 | char *kwnames[] = { | |
25121 | (char *) "self", NULL | |
25122 | }; | |
25123 | ||
25124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25125 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25126 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25127 | { |
25128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25129 | (arg1)->base_OnEndPrinting(); | |
25130 | ||
25131 | wxPyEndAllowThreads(__tstate); | |
25132 | if (PyErr_Occurred()) SWIG_fail; | |
25133 | } | |
25134 | Py_INCREF(Py_None); resultobj = Py_None; | |
25135 | return resultobj; | |
25136 | fail: | |
25137 | return NULL; | |
25138 | } | |
25139 | ||
25140 | ||
c32bde28 | 25141 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25142 | PyObject *resultobj; |
25143 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25144 | PyObject * obj0 = 0 ; | |
25145 | char *kwnames[] = { | |
25146 | (char *) "self", NULL | |
25147 | }; | |
25148 | ||
25149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25150 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25151 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25152 | { |
25153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25154 | (arg1)->base_OnPreparePrinting(); | |
25155 | ||
25156 | wxPyEndAllowThreads(__tstate); | |
25157 | if (PyErr_Occurred()) SWIG_fail; | |
25158 | } | |
25159 | Py_INCREF(Py_None); resultobj = Py_None; | |
25160 | return resultobj; | |
25161 | fail: | |
25162 | return NULL; | |
25163 | } | |
25164 | ||
25165 | ||
c32bde28 | 25166 | static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25167 | PyObject *resultobj; |
25168 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25169 | int arg2 ; | |
25170 | bool result; | |
25171 | PyObject * obj0 = 0 ; | |
25172 | PyObject * obj1 = 0 ; | |
25173 | char *kwnames[] = { | |
25174 | (char *) "self",(char *) "page", NULL | |
25175 | }; | |
25176 | ||
25177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
25178 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25179 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25180 | { | |
25181 | arg2 = (int)(SWIG_As_int(obj1)); | |
25182 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25183 | } | |
d55e5bfc RD |
25184 | { |
25185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25186 | result = (bool)(arg1)->base_HasPage(arg2); | |
25187 | ||
25188 | wxPyEndAllowThreads(__tstate); | |
25189 | if (PyErr_Occurred()) SWIG_fail; | |
25190 | } | |
25191 | { | |
25192 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
25193 | } | |
25194 | return resultobj; | |
25195 | fail: | |
25196 | return NULL; | |
25197 | } | |
25198 | ||
25199 | ||
c32bde28 | 25200 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25201 | PyObject *resultobj; |
25202 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25203 | int *arg2 = (int *) 0 ; | |
25204 | int *arg3 = (int *) 0 ; | |
25205 | int *arg4 = (int *) 0 ; | |
25206 | int *arg5 = (int *) 0 ; | |
25207 | int temp2 ; | |
c32bde28 | 25208 | int res2 = 0 ; |
d55e5bfc | 25209 | int temp3 ; |
c32bde28 | 25210 | int res3 = 0 ; |
d55e5bfc | 25211 | int temp4 ; |
c32bde28 | 25212 | int res4 = 0 ; |
d55e5bfc | 25213 | int temp5 ; |
c32bde28 | 25214 | int res5 = 0 ; |
d55e5bfc RD |
25215 | PyObject * obj0 = 0 ; |
25216 | char *kwnames[] = { | |
25217 | (char *) "self", NULL | |
25218 | }; | |
25219 | ||
c32bde28 RD |
25220 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
25221 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
25222 | arg4 = &temp4; res4 = SWIG_NEWOBJ; | |
25223 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d55e5bfc | 25224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; |
093d3ff1 RD |
25225 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25226 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25227 | { |
25228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25229 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
25230 | ||
25231 | wxPyEndAllowThreads(__tstate); | |
25232 | if (PyErr_Occurred()) SWIG_fail; | |
25233 | } | |
25234 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
25235 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
25236 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
25237 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
25238 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
25239 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? | |
25240 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
25241 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
25242 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
25243 | return resultobj; |
25244 | fail: | |
25245 | return NULL; | |
25246 | } | |
25247 | ||
25248 | ||
c32bde28 | 25249 | static PyObject * Printout_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25250 | PyObject *obj; |
25251 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25252 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
25253 | Py_INCREF(obj); | |
25254 | return Py_BuildValue((char *)""); | |
25255 | } | |
c32bde28 | 25256 | static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25257 | PyObject *resultobj; |
25258 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25259 | wxWindow *arg2 = (wxWindow *) 0 ; | |
25260 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
25261 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
25262 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
25263 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
25264 | long arg5 = (long) 0 ; | |
25265 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
25266 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
25267 | wxPreviewCanvas *result; | |
25268 | wxPoint temp3 ; | |
25269 | wxSize temp4 ; | |
ae8162c8 | 25270 | bool temp6 = false ; |
d55e5bfc RD |
25271 | PyObject * obj0 = 0 ; |
25272 | PyObject * obj1 = 0 ; | |
25273 | PyObject * obj2 = 0 ; | |
25274 | PyObject * obj3 = 0 ; | |
25275 | PyObject * obj4 = 0 ; | |
25276 | PyObject * obj5 = 0 ; | |
25277 | char *kwnames[] = { | |
25278 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25279 | }; | |
25280 | ||
25281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
093d3ff1 RD |
25282 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25283 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25284 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
25285 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
25286 | if (obj2) { |
25287 | { | |
25288 | arg3 = &temp3; | |
25289 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
25290 | } | |
25291 | } | |
25292 | if (obj3) { | |
25293 | { | |
25294 | arg4 = &temp4; | |
25295 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
25296 | } | |
25297 | } | |
25298 | if (obj4) { | |
093d3ff1 RD |
25299 | { |
25300 | arg5 = (long)(SWIG_As_long(obj4)); | |
25301 | if (SWIG_arg_fail(5)) SWIG_fail; | |
25302 | } | |
d55e5bfc RD |
25303 | } |
25304 | if (obj5) { | |
25305 | { | |
25306 | arg6 = wxString_in_helper(obj5); | |
25307 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 25308 | temp6 = true; |
d55e5bfc RD |
25309 | } |
25310 | } | |
25311 | { | |
0439c23b | 25312 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25314 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
25315 | ||
25316 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25317 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25318 | } |
25319 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); | |
25320 | { | |
25321 | if (temp6) | |
25322 | delete arg6; | |
25323 | } | |
25324 | return resultobj; | |
25325 | fail: | |
25326 | { | |
25327 | if (temp6) | |
25328 | delete arg6; | |
25329 | } | |
25330 | return NULL; | |
25331 | } | |
25332 | ||
25333 | ||
c32bde28 | 25334 | static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25335 | PyObject *obj; |
25336 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25337 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
25338 | Py_INCREF(obj); | |
25339 | return Py_BuildValue((char *)""); | |
25340 | } | |
c32bde28 | 25341 | static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25342 | PyObject *resultobj; |
25343 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25344 | wxFrame *arg2 = (wxFrame *) 0 ; | |
25345 | wxString *arg3 = 0 ; | |
25346 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
25347 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
25348 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
25349 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
25350 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
25351 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
25352 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
25353 | wxPreviewFrame *result; | |
ae8162c8 | 25354 | bool temp3 = false ; |
d55e5bfc RD |
25355 | wxPoint temp4 ; |
25356 | wxSize temp5 ; | |
ae8162c8 | 25357 | bool temp7 = false ; |
d55e5bfc RD |
25358 | PyObject * obj0 = 0 ; |
25359 | PyObject * obj1 = 0 ; | |
25360 | PyObject * obj2 = 0 ; | |
25361 | PyObject * obj3 = 0 ; | |
25362 | PyObject * obj4 = 0 ; | |
25363 | PyObject * obj5 = 0 ; | |
25364 | PyObject * obj6 = 0 ; | |
25365 | char *kwnames[] = { | |
25366 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25367 | }; | |
25368 | ||
25369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
093d3ff1 RD |
25370 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25371 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25372 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
25373 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
25374 | { |
25375 | arg3 = wxString_in_helper(obj2); | |
25376 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 25377 | temp3 = true; |
d55e5bfc RD |
25378 | } |
25379 | if (obj3) { | |
25380 | { | |
25381 | arg4 = &temp4; | |
25382 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
25383 | } | |
25384 | } | |
25385 | if (obj4) { | |
25386 | { | |
25387 | arg5 = &temp5; | |
25388 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
25389 | } | |
25390 | } | |
25391 | if (obj5) { | |
093d3ff1 RD |
25392 | { |
25393 | arg6 = (long)(SWIG_As_long(obj5)); | |
25394 | if (SWIG_arg_fail(6)) SWIG_fail; | |
25395 | } | |
d55e5bfc RD |
25396 | } |
25397 | if (obj6) { | |
25398 | { | |
25399 | arg7 = wxString_in_helper(obj6); | |
25400 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 25401 | temp7 = true; |
d55e5bfc RD |
25402 | } |
25403 | } | |
25404 | { | |
0439c23b | 25405 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25407 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
25408 | ||
25409 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25410 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25411 | } |
25412 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); | |
25413 | { | |
25414 | if (temp3) | |
25415 | delete arg3; | |
25416 | } | |
25417 | { | |
25418 | if (temp7) | |
25419 | delete arg7; | |
25420 | } | |
25421 | return resultobj; | |
25422 | fail: | |
25423 | { | |
25424 | if (temp3) | |
25425 | delete arg3; | |
25426 | } | |
25427 | { | |
25428 | if (temp7) | |
25429 | delete arg7; | |
25430 | } | |
25431 | return NULL; | |
25432 | } | |
25433 | ||
25434 | ||
c32bde28 | 25435 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25436 | PyObject *resultobj; |
25437 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
25438 | PyObject * obj0 = 0 ; | |
25439 | char *kwnames[] = { | |
25440 | (char *) "self", NULL | |
25441 | }; | |
25442 | ||
25443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25444 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25445 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25446 | { |
25447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25448 | (arg1)->Initialize(); | |
25449 | ||
25450 | wxPyEndAllowThreads(__tstate); | |
25451 | if (PyErr_Occurred()) SWIG_fail; | |
25452 | } | |
25453 | Py_INCREF(Py_None); resultobj = Py_None; | |
25454 | return resultobj; | |
25455 | fail: | |
25456 | return NULL; | |
25457 | } | |
25458 | ||
25459 | ||
c32bde28 | 25460 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25461 | PyObject *resultobj; |
25462 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
25463 | PyObject * obj0 = 0 ; | |
25464 | char *kwnames[] = { | |
25465 | (char *) "self", NULL | |
25466 | }; | |
25467 | ||
25468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25469 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25470 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25471 | { |
25472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25473 | (arg1)->CreateControlBar(); | |
25474 | ||
25475 | wxPyEndAllowThreads(__tstate); | |
25476 | if (PyErr_Occurred()) SWIG_fail; | |
25477 | } | |
25478 | Py_INCREF(Py_None); resultobj = Py_None; | |
25479 | return resultobj; | |
25480 | fail: | |
25481 | return NULL; | |
25482 | } | |
25483 | ||
25484 | ||
c32bde28 | 25485 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25486 | PyObject *resultobj; |
25487 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
25488 | PyObject * obj0 = 0 ; | |
25489 | char *kwnames[] = { | |
25490 | (char *) "self", NULL | |
25491 | }; | |
25492 | ||
25493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25494 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25495 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25496 | { |
25497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25498 | (arg1)->CreateCanvas(); | |
25499 | ||
25500 | wxPyEndAllowThreads(__tstate); | |
25501 | if (PyErr_Occurred()) SWIG_fail; | |
25502 | } | |
25503 | Py_INCREF(Py_None); resultobj = Py_None; | |
25504 | return resultobj; | |
25505 | fail: | |
25506 | return NULL; | |
25507 | } | |
25508 | ||
25509 | ||
c32bde28 | 25510 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25511 | PyObject *resultobj; |
25512 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
25513 | wxPreviewControlBar *result; | |
25514 | PyObject * obj0 = 0 ; | |
25515 | char *kwnames[] = { | |
25516 | (char *) "self", NULL | |
25517 | }; | |
25518 | ||
25519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25520 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25521 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25522 | { |
25523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25524 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
25525 | ||
25526 | wxPyEndAllowThreads(__tstate); | |
25527 | if (PyErr_Occurred()) SWIG_fail; | |
25528 | } | |
25529 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); | |
25530 | return resultobj; | |
25531 | fail: | |
25532 | return NULL; | |
25533 | } | |
25534 | ||
25535 | ||
c32bde28 | 25536 | static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25537 | PyObject *obj; |
25538 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25539 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
25540 | Py_INCREF(obj); | |
25541 | return Py_BuildValue((char *)""); | |
25542 | } | |
c32bde28 | 25543 | static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25544 | PyObject *resultobj; |
25545 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25546 | long arg2 ; | |
25547 | wxWindow *arg3 = (wxWindow *) 0 ; | |
25548 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
25549 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
25550 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
25551 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
25552 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
25553 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
25554 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
25555 | wxPreviewControlBar *result; | |
25556 | wxPoint temp4 ; | |
25557 | wxSize temp5 ; | |
ae8162c8 | 25558 | bool temp7 = false ; |
d55e5bfc RD |
25559 | PyObject * obj0 = 0 ; |
25560 | PyObject * obj1 = 0 ; | |
25561 | PyObject * obj2 = 0 ; | |
25562 | PyObject * obj3 = 0 ; | |
25563 | PyObject * obj4 = 0 ; | |
25564 | PyObject * obj5 = 0 ; | |
25565 | PyObject * obj6 = 0 ; | |
25566 | char *kwnames[] = { | |
25567 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25568 | }; | |
25569 | ||
25570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
093d3ff1 RD |
25571 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25572 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25573 | { | |
25574 | arg2 = (long)(SWIG_As_long(obj1)); | |
25575 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25576 | } | |
25577 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
25578 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
25579 | if (obj3) { |
25580 | { | |
25581 | arg4 = &temp4; | |
25582 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
25583 | } | |
25584 | } | |
25585 | if (obj4) { | |
25586 | { | |
25587 | arg5 = &temp5; | |
25588 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
25589 | } | |
25590 | } | |
25591 | if (obj5) { | |
093d3ff1 RD |
25592 | { |
25593 | arg6 = (long)(SWIG_As_long(obj5)); | |
25594 | if (SWIG_arg_fail(6)) SWIG_fail; | |
25595 | } | |
d55e5bfc RD |
25596 | } |
25597 | if (obj6) { | |
25598 | { | |
25599 | arg7 = wxString_in_helper(obj6); | |
25600 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 25601 | temp7 = true; |
d55e5bfc RD |
25602 | } |
25603 | } | |
25604 | { | |
0439c23b | 25605 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25607 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
25608 | ||
25609 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25610 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25611 | } |
25612 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); | |
25613 | { | |
25614 | if (temp7) | |
25615 | delete arg7; | |
25616 | } | |
25617 | return resultobj; | |
25618 | fail: | |
25619 | { | |
25620 | if (temp7) | |
25621 | delete arg7; | |
25622 | } | |
25623 | return NULL; | |
25624 | } | |
25625 | ||
25626 | ||
c32bde28 | 25627 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25628 | PyObject *resultobj; |
25629 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25630 | int result; | |
25631 | PyObject * obj0 = 0 ; | |
25632 | char *kwnames[] = { | |
25633 | (char *) "self", NULL | |
25634 | }; | |
25635 | ||
25636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25637 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25638 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25639 | { |
25640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25641 | result = (int)(arg1)->GetZoomControl(); | |
25642 | ||
25643 | wxPyEndAllowThreads(__tstate); | |
25644 | if (PyErr_Occurred()) SWIG_fail; | |
25645 | } | |
093d3ff1 RD |
25646 | { |
25647 | resultobj = SWIG_From_int((int)(result)); | |
25648 | } | |
d55e5bfc RD |
25649 | return resultobj; |
25650 | fail: | |
25651 | return NULL; | |
25652 | } | |
25653 | ||
25654 | ||
c32bde28 | 25655 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25656 | PyObject *resultobj; |
25657 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25658 | int arg2 ; | |
25659 | PyObject * obj0 = 0 ; | |
25660 | PyObject * obj1 = 0 ; | |
25661 | char *kwnames[] = { | |
25662 | (char *) "self",(char *) "zoom", NULL | |
25663 | }; | |
25664 | ||
25665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
25666 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25667 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25668 | { | |
25669 | arg2 = (int)(SWIG_As_int(obj1)); | |
25670 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25671 | } | |
d55e5bfc RD |
25672 | { |
25673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25674 | (arg1)->SetZoomControl(arg2); | |
25675 | ||
25676 | wxPyEndAllowThreads(__tstate); | |
25677 | if (PyErr_Occurred()) SWIG_fail; | |
25678 | } | |
25679 | Py_INCREF(Py_None); resultobj = Py_None; | |
25680 | return resultobj; | |
25681 | fail: | |
25682 | return NULL; | |
25683 | } | |
25684 | ||
25685 | ||
c32bde28 | 25686 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25687 | PyObject *resultobj; |
25688 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25689 | wxPrintPreview *result; | |
25690 | PyObject * obj0 = 0 ; | |
25691 | char *kwnames[] = { | |
25692 | (char *) "self", NULL | |
25693 | }; | |
25694 | ||
25695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25696 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25697 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25698 | { |
25699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25700 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
25701 | ||
25702 | wxPyEndAllowThreads(__tstate); | |
25703 | if (PyErr_Occurred()) SWIG_fail; | |
25704 | } | |
25705 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); | |
25706 | return resultobj; | |
25707 | fail: | |
25708 | return NULL; | |
25709 | } | |
25710 | ||
25711 | ||
c32bde28 | 25712 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25713 | PyObject *resultobj; |
25714 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25715 | PyObject * obj0 = 0 ; | |
25716 | char *kwnames[] = { | |
25717 | (char *) "self", NULL | |
25718 | }; | |
25719 | ||
25720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25721 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25722 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25723 | { |
25724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25725 | (arg1)->OnNext(); | |
25726 | ||
25727 | wxPyEndAllowThreads(__tstate); | |
25728 | if (PyErr_Occurred()) SWIG_fail; | |
25729 | } | |
25730 | Py_INCREF(Py_None); resultobj = Py_None; | |
25731 | return resultobj; | |
25732 | fail: | |
25733 | return NULL; | |
25734 | } | |
25735 | ||
25736 | ||
c32bde28 | 25737 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25738 | PyObject *resultobj; |
25739 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25740 | PyObject * obj0 = 0 ; | |
25741 | char *kwnames[] = { | |
25742 | (char *) "self", NULL | |
25743 | }; | |
25744 | ||
25745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25746 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25747 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25748 | { |
25749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25750 | (arg1)->OnPrevious(); | |
25751 | ||
25752 | wxPyEndAllowThreads(__tstate); | |
25753 | if (PyErr_Occurred()) SWIG_fail; | |
25754 | } | |
25755 | Py_INCREF(Py_None); resultobj = Py_None; | |
25756 | return resultobj; | |
25757 | fail: | |
25758 | return NULL; | |
25759 | } | |
25760 | ||
25761 | ||
c32bde28 | 25762 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25763 | PyObject *resultobj; |
25764 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25765 | PyObject * obj0 = 0 ; | |
25766 | char *kwnames[] = { | |
25767 | (char *) "self", NULL | |
25768 | }; | |
25769 | ||
25770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25771 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25772 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25773 | { |
25774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25775 | (arg1)->OnFirst(); | |
25776 | ||
25777 | wxPyEndAllowThreads(__tstate); | |
25778 | if (PyErr_Occurred()) SWIG_fail; | |
25779 | } | |
25780 | Py_INCREF(Py_None); resultobj = Py_None; | |
25781 | return resultobj; | |
25782 | fail: | |
25783 | return NULL; | |
25784 | } | |
25785 | ||
25786 | ||
c32bde28 | 25787 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25788 | PyObject *resultobj; |
25789 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25790 | PyObject * obj0 = 0 ; | |
25791 | char *kwnames[] = { | |
25792 | (char *) "self", NULL | |
25793 | }; | |
25794 | ||
25795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25796 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25797 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25798 | { |
25799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25800 | (arg1)->OnLast(); | |
25801 | ||
25802 | wxPyEndAllowThreads(__tstate); | |
25803 | if (PyErr_Occurred()) SWIG_fail; | |
25804 | } | |
25805 | Py_INCREF(Py_None); resultobj = Py_None; | |
25806 | return resultobj; | |
25807 | fail: | |
25808 | return NULL; | |
25809 | } | |
25810 | ||
25811 | ||
c32bde28 | 25812 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25813 | PyObject *resultobj; |
25814 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25815 | PyObject * obj0 = 0 ; | |
25816 | char *kwnames[] = { | |
25817 | (char *) "self", NULL | |
25818 | }; | |
25819 | ||
25820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
25821 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25822 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25823 | { |
25824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25825 | (arg1)->OnGoto(); | |
25826 | ||
25827 | wxPyEndAllowThreads(__tstate); | |
25828 | if (PyErr_Occurred()) SWIG_fail; | |
25829 | } | |
25830 | Py_INCREF(Py_None); resultobj = Py_None; | |
25831 | return resultobj; | |
25832 | fail: | |
25833 | return NULL; | |
25834 | } | |
25835 | ||
25836 | ||
c32bde28 | 25837 | static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25838 | PyObject *obj; |
25839 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25840 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
25841 | Py_INCREF(obj); | |
25842 | return Py_BuildValue((char *)""); | |
25843 | } | |
c32bde28 | 25844 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
25845 | PyObject *resultobj; |
25846 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25847 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
25848 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; | |
25849 | wxPrintPreview *result; | |
25850 | PyObject * obj0 = 0 ; | |
25851 | PyObject * obj1 = 0 ; | |
25852 | PyObject * obj2 = 0 ; | |
25853 | ||
25854 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
25855 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25856 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25857 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
25858 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 25859 | if (obj2) { |
093d3ff1 RD |
25860 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
25861 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
25862 | } |
25863 | { | |
0439c23b | 25864 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25866 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
25867 | ||
25868 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25869 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25870 | } |
25871 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
25872 | return resultobj; | |
25873 | fail: | |
25874 | return NULL; | |
25875 | } | |
25876 | ||
25877 | ||
c32bde28 | 25878 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
25879 | PyObject *resultobj; |
25880 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25881 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
25882 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
25883 | wxPrintPreview *result; | |
25884 | PyObject * obj0 = 0 ; | |
25885 | PyObject * obj1 = 0 ; | |
25886 | PyObject * obj2 = 0 ; | |
25887 | ||
25888 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
25889 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25890 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25891 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
25892 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25893 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
25894 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc | 25895 | { |
0439c23b | 25896 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25898 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
25899 | ||
25900 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25901 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25902 | } |
25903 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
25904 | return resultobj; | |
25905 | fail: | |
25906 | return NULL; | |
25907 | } | |
25908 | ||
25909 | ||
25910 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
25911 | int argc; | |
25912 | PyObject *argv[4]; | |
25913 | int ii; | |
25914 | ||
25915 | argc = PyObject_Length(args); | |
25916 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
25917 | argv[ii] = PyTuple_GetItem(args,ii); | |
25918 | } | |
25919 | if ((argc >= 2) && (argc <= 3)) { | |
25920 | int _v; | |
25921 | { | |
25922 | void *ptr; | |
25923 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25924 | _v = 0; | |
25925 | PyErr_Clear(); | |
25926 | } else { | |
25927 | _v = 1; | |
25928 | } | |
25929 | } | |
25930 | if (_v) { | |
25931 | { | |
25932 | void *ptr; | |
25933 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25934 | _v = 0; | |
25935 | PyErr_Clear(); | |
25936 | } else { | |
25937 | _v = 1; | |
25938 | } | |
25939 | } | |
25940 | if (_v) { | |
25941 | if (argc <= 2) { | |
25942 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
25943 | } | |
25944 | { | |
25945 | void *ptr; | |
25946 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
25947 | _v = 0; | |
25948 | PyErr_Clear(); | |
25949 | } else { | |
25950 | _v = 1; | |
25951 | } | |
25952 | } | |
25953 | if (_v) { | |
25954 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
25955 | } | |
25956 | } | |
25957 | } | |
25958 | } | |
25959 | if (argc == 3) { | |
25960 | int _v; | |
25961 | { | |
25962 | void *ptr; | |
25963 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25964 | _v = 0; | |
25965 | PyErr_Clear(); | |
25966 | } else { | |
25967 | _v = 1; | |
25968 | } | |
25969 | } | |
25970 | if (_v) { | |
25971 | { | |
25972 | void *ptr; | |
25973 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25974 | _v = 0; | |
25975 | PyErr_Clear(); | |
25976 | } else { | |
25977 | _v = 1; | |
25978 | } | |
25979 | } | |
25980 | if (_v) { | |
25981 | { | |
25982 | void *ptr; | |
25983 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
25984 | _v = 0; | |
25985 | PyErr_Clear(); | |
25986 | } else { | |
25987 | _v = 1; | |
25988 | } | |
25989 | } | |
25990 | if (_v) { | |
25991 | return _wrap_new_PrintPreview__SWIG_1(self,args); | |
25992 | } | |
25993 | } | |
25994 | } | |
25995 | } | |
25996 | ||
093d3ff1 | 25997 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'"); |
d55e5bfc RD |
25998 | return NULL; |
25999 | } | |
26000 | ||
26001 | ||
c32bde28 | 26002 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26003 | PyObject *resultobj; |
26004 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26005 | int arg2 ; | |
26006 | bool result; | |
26007 | PyObject * obj0 = 0 ; | |
26008 | PyObject * obj1 = 0 ; | |
26009 | char *kwnames[] = { | |
26010 | (char *) "self",(char *) "pageNum", NULL | |
26011 | }; | |
26012 | ||
26013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26014 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26015 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26016 | { | |
26017 | arg2 = (int)(SWIG_As_int(obj1)); | |
26018 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26019 | } | |
d55e5bfc RD |
26020 | { |
26021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26022 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
26023 | ||
26024 | wxPyEndAllowThreads(__tstate); | |
26025 | if (PyErr_Occurred()) SWIG_fail; | |
26026 | } | |
26027 | { | |
26028 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26029 | } | |
26030 | return resultobj; | |
26031 | fail: | |
26032 | return NULL; | |
26033 | } | |
26034 | ||
26035 | ||
c32bde28 | 26036 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26037 | PyObject *resultobj; |
26038 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26039 | int result; | |
26040 | PyObject * obj0 = 0 ; | |
26041 | char *kwnames[] = { | |
26042 | (char *) "self", NULL | |
26043 | }; | |
26044 | ||
26045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26046 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26047 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26048 | { |
26049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26050 | result = (int)(arg1)->GetCurrentPage(); | |
26051 | ||
26052 | wxPyEndAllowThreads(__tstate); | |
26053 | if (PyErr_Occurred()) SWIG_fail; | |
26054 | } | |
093d3ff1 RD |
26055 | { |
26056 | resultobj = SWIG_From_int((int)(result)); | |
26057 | } | |
d55e5bfc RD |
26058 | return resultobj; |
26059 | fail: | |
26060 | return NULL; | |
26061 | } | |
26062 | ||
26063 | ||
c32bde28 | 26064 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26065 | PyObject *resultobj; |
26066 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26067 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
26068 | PyObject * obj0 = 0 ; | |
26069 | PyObject * obj1 = 0 ; | |
26070 | char *kwnames[] = { | |
26071 | (char *) "self",(char *) "printout", NULL | |
26072 | }; | |
26073 | ||
26074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26075 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26076 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26077 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
26078 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
26079 | { |
26080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26081 | (arg1)->SetPrintout(arg2); | |
26082 | ||
26083 | wxPyEndAllowThreads(__tstate); | |
26084 | if (PyErr_Occurred()) SWIG_fail; | |
26085 | } | |
26086 | Py_INCREF(Py_None); resultobj = Py_None; | |
26087 | return resultobj; | |
26088 | fail: | |
26089 | return NULL; | |
26090 | } | |
26091 | ||
26092 | ||
c32bde28 | 26093 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26094 | PyObject *resultobj; |
26095 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26096 | wxPyPrintout *result; | |
26097 | PyObject * obj0 = 0 ; | |
26098 | char *kwnames[] = { | |
26099 | (char *) "self", NULL | |
26100 | }; | |
26101 | ||
26102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26103 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26104 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26105 | { |
26106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26107 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
26108 | ||
26109 | wxPyEndAllowThreads(__tstate); | |
26110 | if (PyErr_Occurred()) SWIG_fail; | |
26111 | } | |
26112 | { | |
412d302d | 26113 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
26114 | } |
26115 | return resultobj; | |
26116 | fail: | |
26117 | return NULL; | |
26118 | } | |
26119 | ||
26120 | ||
c32bde28 | 26121 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26122 | PyObject *resultobj; |
26123 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26124 | wxPyPrintout *result; | |
26125 | PyObject * obj0 = 0 ; | |
26126 | char *kwnames[] = { | |
26127 | (char *) "self", NULL | |
26128 | }; | |
26129 | ||
26130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26131 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26132 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26133 | { |
26134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26135 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
26136 | ||
26137 | wxPyEndAllowThreads(__tstate); | |
26138 | if (PyErr_Occurred()) SWIG_fail; | |
26139 | } | |
26140 | { | |
412d302d | 26141 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
26142 | } |
26143 | return resultobj; | |
26144 | fail: | |
26145 | return NULL; | |
26146 | } | |
26147 | ||
26148 | ||
c32bde28 | 26149 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26150 | PyObject *resultobj; |
26151 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26152 | wxFrame *arg2 = (wxFrame *) 0 ; | |
26153 | PyObject * obj0 = 0 ; | |
26154 | PyObject * obj1 = 0 ; | |
26155 | char *kwnames[] = { | |
26156 | (char *) "self",(char *) "frame", NULL | |
26157 | }; | |
26158 | ||
26159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26160 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26161 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26162 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
26163 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
26164 | { |
26165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26166 | (arg1)->SetFrame(arg2); | |
26167 | ||
26168 | wxPyEndAllowThreads(__tstate); | |
26169 | if (PyErr_Occurred()) SWIG_fail; | |
26170 | } | |
26171 | Py_INCREF(Py_None); resultobj = Py_None; | |
26172 | return resultobj; | |
26173 | fail: | |
26174 | return NULL; | |
26175 | } | |
26176 | ||
26177 | ||
c32bde28 | 26178 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26179 | PyObject *resultobj; |
26180 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26181 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26182 | PyObject * obj0 = 0 ; | |
26183 | PyObject * obj1 = 0 ; | |
26184 | char *kwnames[] = { | |
26185 | (char *) "self",(char *) "canvas", NULL | |
26186 | }; | |
26187 | ||
26188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26189 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26190 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26191 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26192 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
26193 | { |
26194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26195 | (arg1)->SetCanvas(arg2); | |
26196 | ||
26197 | wxPyEndAllowThreads(__tstate); | |
26198 | if (PyErr_Occurred()) SWIG_fail; | |
26199 | } | |
26200 | Py_INCREF(Py_None); resultobj = Py_None; | |
26201 | return resultobj; | |
26202 | fail: | |
26203 | return NULL; | |
26204 | } | |
26205 | ||
26206 | ||
c32bde28 | 26207 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26208 | PyObject *resultobj; |
26209 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26210 | wxFrame *result; | |
26211 | PyObject * obj0 = 0 ; | |
26212 | char *kwnames[] = { | |
26213 | (char *) "self", NULL | |
26214 | }; | |
26215 | ||
26216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26217 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26218 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26219 | { |
26220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26221 | result = (wxFrame *)(arg1)->GetFrame(); | |
26222 | ||
26223 | wxPyEndAllowThreads(__tstate); | |
26224 | if (PyErr_Occurred()) SWIG_fail; | |
26225 | } | |
26226 | { | |
412d302d | 26227 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
26228 | } |
26229 | return resultobj; | |
26230 | fail: | |
26231 | return NULL; | |
26232 | } | |
26233 | ||
26234 | ||
c32bde28 | 26235 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26236 | PyObject *resultobj; |
26237 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26238 | wxPreviewCanvas *result; | |
26239 | PyObject * obj0 = 0 ; | |
26240 | char *kwnames[] = { | |
26241 | (char *) "self", NULL | |
26242 | }; | |
26243 | ||
26244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26245 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26246 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26247 | { |
26248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26249 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
26250 | ||
26251 | wxPyEndAllowThreads(__tstate); | |
26252 | if (PyErr_Occurred()) SWIG_fail; | |
26253 | } | |
26254 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); | |
26255 | return resultobj; | |
26256 | fail: | |
26257 | return NULL; | |
26258 | } | |
26259 | ||
26260 | ||
c32bde28 | 26261 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26262 | PyObject *resultobj; |
26263 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26264 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26265 | wxDC *arg3 = 0 ; | |
26266 | bool result; | |
26267 | PyObject * obj0 = 0 ; | |
26268 | PyObject * obj1 = 0 ; | |
26269 | PyObject * obj2 = 0 ; | |
26270 | char *kwnames[] = { | |
26271 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26272 | }; | |
26273 | ||
26274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
26275 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26276 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26277 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26278 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26279 | { | |
26280 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26281 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26282 | if (arg3 == NULL) { | |
26283 | SWIG_null_ref("wxDC"); | |
26284 | } | |
26285 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26286 | } |
26287 | { | |
26288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26289 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
26290 | ||
26291 | wxPyEndAllowThreads(__tstate); | |
26292 | if (PyErr_Occurred()) SWIG_fail; | |
26293 | } | |
26294 | { | |
26295 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26296 | } | |
26297 | return resultobj; | |
26298 | fail: | |
26299 | return NULL; | |
26300 | } | |
26301 | ||
26302 | ||
c32bde28 | 26303 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26304 | PyObject *resultobj; |
26305 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26306 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26307 | wxDC *arg3 = 0 ; | |
26308 | bool result; | |
26309 | PyObject * obj0 = 0 ; | |
26310 | PyObject * obj1 = 0 ; | |
26311 | PyObject * obj2 = 0 ; | |
26312 | char *kwnames[] = { | |
26313 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26314 | }; | |
26315 | ||
26316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
26317 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26318 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26319 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26320 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26321 | { | |
26322 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26323 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26324 | if (arg3 == NULL) { | |
26325 | SWIG_null_ref("wxDC"); | |
26326 | } | |
26327 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26328 | } |
26329 | { | |
26330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26331 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
26332 | ||
26333 | wxPyEndAllowThreads(__tstate); | |
26334 | if (PyErr_Occurred()) SWIG_fail; | |
26335 | } | |
26336 | { | |
26337 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26338 | } | |
26339 | return resultobj; | |
26340 | fail: | |
26341 | return NULL; | |
26342 | } | |
26343 | ||
26344 | ||
c32bde28 | 26345 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26346 | PyObject *resultobj; |
26347 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26348 | int arg2 ; | |
26349 | bool result; | |
26350 | PyObject * obj0 = 0 ; | |
26351 | PyObject * obj1 = 0 ; | |
26352 | char *kwnames[] = { | |
26353 | (char *) "self",(char *) "pageNum", NULL | |
26354 | }; | |
26355 | ||
26356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26357 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26358 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26359 | { | |
26360 | arg2 = (int)(SWIG_As_int(obj1)); | |
26361 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26362 | } | |
d55e5bfc RD |
26363 | { |
26364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26365 | result = (bool)(arg1)->RenderPage(arg2); | |
26366 | ||
26367 | wxPyEndAllowThreads(__tstate); | |
26368 | if (PyErr_Occurred()) SWIG_fail; | |
26369 | } | |
26370 | { | |
26371 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26372 | } | |
26373 | return resultobj; | |
26374 | fail: | |
26375 | return NULL; | |
26376 | } | |
26377 | ||
26378 | ||
c32bde28 | 26379 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26380 | PyObject *resultobj; |
26381 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26382 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26383 | PyObject * obj0 = 0 ; | |
26384 | PyObject * obj1 = 0 ; | |
26385 | char *kwnames[] = { | |
26386 | (char *) "self",(char *) "canvas", NULL | |
26387 | }; | |
26388 | ||
26389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26390 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26391 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26392 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26393 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
26394 | { |
26395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26396 | (arg1)->AdjustScrollbars(arg2); | |
26397 | ||
26398 | wxPyEndAllowThreads(__tstate); | |
26399 | if (PyErr_Occurred()) SWIG_fail; | |
26400 | } | |
26401 | Py_INCREF(Py_None); resultobj = Py_None; | |
26402 | return resultobj; | |
26403 | fail: | |
26404 | return NULL; | |
26405 | } | |
26406 | ||
26407 | ||
c32bde28 | 26408 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26409 | PyObject *resultobj; |
26410 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26411 | wxPrintDialogData *result; | |
26412 | PyObject * obj0 = 0 ; | |
26413 | char *kwnames[] = { | |
26414 | (char *) "self", NULL | |
26415 | }; | |
26416 | ||
26417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26418 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26419 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26420 | { |
26421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26422 | { | |
26423 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
26424 | result = (wxPrintDialogData *) &_result_ref; | |
26425 | } | |
26426 | ||
26427 | wxPyEndAllowThreads(__tstate); | |
26428 | if (PyErr_Occurred()) SWIG_fail; | |
26429 | } | |
26430 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
26431 | return resultobj; | |
26432 | fail: | |
26433 | return NULL; | |
26434 | } | |
26435 | ||
26436 | ||
c32bde28 | 26437 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26438 | PyObject *resultobj; |
26439 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26440 | int arg2 ; | |
26441 | PyObject * obj0 = 0 ; | |
26442 | PyObject * obj1 = 0 ; | |
26443 | char *kwnames[] = { | |
26444 | (char *) "self",(char *) "percent", NULL | |
26445 | }; | |
26446 | ||
26447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26448 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26449 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26450 | { | |
26451 | arg2 = (int)(SWIG_As_int(obj1)); | |
26452 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26453 | } | |
d55e5bfc RD |
26454 | { |
26455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26456 | (arg1)->SetZoom(arg2); | |
26457 | ||
26458 | wxPyEndAllowThreads(__tstate); | |
26459 | if (PyErr_Occurred()) SWIG_fail; | |
26460 | } | |
26461 | Py_INCREF(Py_None); resultobj = Py_None; | |
26462 | return resultobj; | |
26463 | fail: | |
26464 | return NULL; | |
26465 | } | |
26466 | ||
26467 | ||
c32bde28 | 26468 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26469 | PyObject *resultobj; |
26470 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26471 | int result; | |
26472 | PyObject * obj0 = 0 ; | |
26473 | char *kwnames[] = { | |
26474 | (char *) "self", NULL | |
26475 | }; | |
26476 | ||
26477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26478 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26479 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26480 | { |
26481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26482 | result = (int)(arg1)->GetZoom(); | |
26483 | ||
26484 | wxPyEndAllowThreads(__tstate); | |
26485 | if (PyErr_Occurred()) SWIG_fail; | |
26486 | } | |
093d3ff1 RD |
26487 | { |
26488 | resultobj = SWIG_From_int((int)(result)); | |
26489 | } | |
d55e5bfc RD |
26490 | return resultobj; |
26491 | fail: | |
26492 | return NULL; | |
26493 | } | |
26494 | ||
26495 | ||
c32bde28 | 26496 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26497 | PyObject *resultobj; |
26498 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26499 | int result; | |
26500 | PyObject * obj0 = 0 ; | |
26501 | char *kwnames[] = { | |
26502 | (char *) "self", NULL | |
26503 | }; | |
26504 | ||
26505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26506 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26507 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26508 | { |
26509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26510 | result = (int)(arg1)->GetMaxPage(); | |
26511 | ||
26512 | wxPyEndAllowThreads(__tstate); | |
26513 | if (PyErr_Occurred()) SWIG_fail; | |
26514 | } | |
093d3ff1 RD |
26515 | { |
26516 | resultobj = SWIG_From_int((int)(result)); | |
26517 | } | |
d55e5bfc RD |
26518 | return resultobj; |
26519 | fail: | |
26520 | return NULL; | |
26521 | } | |
26522 | ||
26523 | ||
c32bde28 | 26524 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26525 | PyObject *resultobj; |
26526 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26527 | int result; | |
26528 | PyObject * obj0 = 0 ; | |
26529 | char *kwnames[] = { | |
26530 | (char *) "self", NULL | |
26531 | }; | |
26532 | ||
26533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26534 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26535 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26536 | { |
26537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26538 | result = (int)(arg1)->GetMinPage(); | |
26539 | ||
26540 | wxPyEndAllowThreads(__tstate); | |
26541 | if (PyErr_Occurred()) SWIG_fail; | |
26542 | } | |
093d3ff1 RD |
26543 | { |
26544 | resultobj = SWIG_From_int((int)(result)); | |
26545 | } | |
d55e5bfc RD |
26546 | return resultobj; |
26547 | fail: | |
26548 | return NULL; | |
26549 | } | |
26550 | ||
26551 | ||
c32bde28 | 26552 | static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26553 | PyObject *resultobj; |
26554 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26555 | bool result; | |
26556 | PyObject * obj0 = 0 ; | |
26557 | char *kwnames[] = { | |
26558 | (char *) "self", NULL | |
26559 | }; | |
26560 | ||
26561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26562 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26563 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26564 | { |
26565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26566 | result = (bool)(arg1)->Ok(); | |
26567 | ||
26568 | wxPyEndAllowThreads(__tstate); | |
26569 | if (PyErr_Occurred()) SWIG_fail; | |
26570 | } | |
26571 | { | |
26572 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26573 | } | |
26574 | return resultobj; | |
26575 | fail: | |
26576 | return NULL; | |
26577 | } | |
26578 | ||
26579 | ||
c32bde28 | 26580 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26581 | PyObject *resultobj; |
26582 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26583 | bool arg2 ; | |
26584 | PyObject * obj0 = 0 ; | |
26585 | PyObject * obj1 = 0 ; | |
26586 | char *kwnames[] = { | |
26587 | (char *) "self",(char *) "ok", NULL | |
26588 | }; | |
26589 | ||
26590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26591 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26592 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26593 | { | |
26594 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
26595 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26596 | } | |
d55e5bfc RD |
26597 | { |
26598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26599 | (arg1)->SetOk(arg2); | |
26600 | ||
26601 | wxPyEndAllowThreads(__tstate); | |
26602 | if (PyErr_Occurred()) SWIG_fail; | |
26603 | } | |
26604 | Py_INCREF(Py_None); resultobj = Py_None; | |
26605 | return resultobj; | |
26606 | fail: | |
26607 | return NULL; | |
26608 | } | |
26609 | ||
26610 | ||
c32bde28 | 26611 | static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26612 | PyObject *resultobj; |
26613 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26614 | bool arg2 ; | |
26615 | bool result; | |
26616 | PyObject * obj0 = 0 ; | |
26617 | PyObject * obj1 = 0 ; | |
26618 | char *kwnames[] = { | |
26619 | (char *) "self",(char *) "interactive", NULL | |
26620 | }; | |
26621 | ||
26622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26623 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26624 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26625 | { | |
26626 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
26627 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26628 | } | |
d55e5bfc RD |
26629 | { |
26630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26631 | result = (bool)(arg1)->Print(arg2); | |
26632 | ||
26633 | wxPyEndAllowThreads(__tstate); | |
26634 | if (PyErr_Occurred()) SWIG_fail; | |
26635 | } | |
26636 | { | |
26637 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26638 | } | |
26639 | return resultobj; | |
26640 | fail: | |
26641 | return NULL; | |
26642 | } | |
26643 | ||
26644 | ||
c32bde28 | 26645 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26646 | PyObject *resultobj; |
26647 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26648 | PyObject * obj0 = 0 ; | |
26649 | char *kwnames[] = { | |
26650 | (char *) "self", NULL | |
26651 | }; | |
26652 | ||
26653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
26654 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26655 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26656 | { |
26657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26658 | (arg1)->DetermineScaling(); | |
26659 | ||
26660 | wxPyEndAllowThreads(__tstate); | |
26661 | if (PyErr_Occurred()) SWIG_fail; | |
26662 | } | |
26663 | Py_INCREF(Py_None); resultobj = Py_None; | |
26664 | return resultobj; | |
26665 | fail: | |
26666 | return NULL; | |
26667 | } | |
26668 | ||
26669 | ||
c32bde28 | 26670 | static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
26671 | PyObject *obj; |
26672 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
26673 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
26674 | Py_INCREF(obj); | |
26675 | return Py_BuildValue((char *)""); | |
26676 | } | |
c32bde28 | 26677 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
26678 | PyObject *resultobj; |
26679 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
26680 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
26681 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; | |
26682 | wxPyPrintPreview *result; | |
26683 | PyObject * obj0 = 0 ; | |
26684 | PyObject * obj1 = 0 ; | |
26685 | PyObject * obj2 = 0 ; | |
26686 | ||
26687 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
26688 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
26689 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26690 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
26691 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 26692 | if (obj2) { |
093d3ff1 RD |
26693 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
26694 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26695 | } |
26696 | { | |
0439c23b | 26697 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
26698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
26699 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
26700 | ||
26701 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 26702 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
26703 | } |
26704 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
26705 | return resultobj; | |
26706 | fail: | |
26707 | return NULL; | |
26708 | } | |
26709 | ||
26710 | ||
c32bde28 | 26711 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
26712 | PyObject *resultobj; |
26713 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
26714 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
26715 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
26716 | wxPyPrintPreview *result; | |
26717 | PyObject * obj0 = 0 ; | |
26718 | PyObject * obj1 = 0 ; | |
26719 | PyObject * obj2 = 0 ; | |
26720 | ||
26721 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
26722 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
26723 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26724 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
26725 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26726 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
26727 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc | 26728 | { |
0439c23b | 26729 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
26730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
26731 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
26732 | ||
26733 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 26734 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
26735 | } |
26736 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
26737 | return resultobj; | |
26738 | fail: | |
26739 | return NULL; | |
26740 | } | |
26741 | ||
26742 | ||
26743 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
26744 | int argc; | |
26745 | PyObject *argv[4]; | |
26746 | int ii; | |
26747 | ||
26748 | argc = PyObject_Length(args); | |
26749 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
26750 | argv[ii] = PyTuple_GetItem(args,ii); | |
26751 | } | |
26752 | if ((argc >= 2) && (argc <= 3)) { | |
26753 | int _v; | |
26754 | { | |
26755 | void *ptr; | |
26756 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26757 | _v = 0; | |
26758 | PyErr_Clear(); | |
26759 | } else { | |
26760 | _v = 1; | |
26761 | } | |
26762 | } | |
26763 | if (_v) { | |
26764 | { | |
26765 | void *ptr; | |
26766 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26767 | _v = 0; | |
26768 | PyErr_Clear(); | |
26769 | } else { | |
26770 | _v = 1; | |
26771 | } | |
26772 | } | |
26773 | if (_v) { | |
26774 | if (argc <= 2) { | |
26775 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
26776 | } | |
26777 | { | |
26778 | void *ptr; | |
26779 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
26780 | _v = 0; | |
26781 | PyErr_Clear(); | |
26782 | } else { | |
26783 | _v = 1; | |
26784 | } | |
26785 | } | |
26786 | if (_v) { | |
26787 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
26788 | } | |
26789 | } | |
26790 | } | |
26791 | } | |
26792 | if (argc == 3) { | |
26793 | int _v; | |
26794 | { | |
26795 | void *ptr; | |
26796 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26797 | _v = 0; | |
26798 | PyErr_Clear(); | |
26799 | } else { | |
26800 | _v = 1; | |
26801 | } | |
26802 | } | |
26803 | if (_v) { | |
26804 | { | |
26805 | void *ptr; | |
26806 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26807 | _v = 0; | |
26808 | PyErr_Clear(); | |
26809 | } else { | |
26810 | _v = 1; | |
26811 | } | |
26812 | } | |
26813 | if (_v) { | |
26814 | { | |
26815 | void *ptr; | |
26816 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
26817 | _v = 0; | |
26818 | PyErr_Clear(); | |
26819 | } else { | |
26820 | _v = 1; | |
26821 | } | |
26822 | } | |
26823 | if (_v) { | |
26824 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); | |
26825 | } | |
26826 | } | |
26827 | } | |
26828 | } | |
26829 | ||
093d3ff1 | 26830 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'"); |
d55e5bfc RD |
26831 | return NULL; |
26832 | } | |
26833 | ||
26834 | ||
c32bde28 | 26835 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26836 | PyObject *resultobj; |
26837 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26838 | PyObject *arg2 = (PyObject *) 0 ; | |
26839 | PyObject *arg3 = (PyObject *) 0 ; | |
26840 | PyObject * obj0 = 0 ; | |
26841 | PyObject * obj1 = 0 ; | |
26842 | PyObject * obj2 = 0 ; | |
26843 | char *kwnames[] = { | |
26844 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
26845 | }; | |
26846 | ||
26847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
26848 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26849 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26850 | arg2 = obj1; |
26851 | arg3 = obj2; | |
26852 | { | |
26853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26854 | (arg1)->_setCallbackInfo(arg2,arg3); | |
26855 | ||
26856 | wxPyEndAllowThreads(__tstate); | |
26857 | if (PyErr_Occurred()) SWIG_fail; | |
26858 | } | |
26859 | Py_INCREF(Py_None); resultobj = Py_None; | |
26860 | return resultobj; | |
26861 | fail: | |
26862 | return NULL; | |
26863 | } | |
26864 | ||
26865 | ||
c32bde28 | 26866 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26867 | PyObject *resultobj; |
26868 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26869 | int arg2 ; | |
26870 | bool result; | |
26871 | PyObject * obj0 = 0 ; | |
26872 | PyObject * obj1 = 0 ; | |
26873 | char *kwnames[] = { | |
26874 | (char *) "self",(char *) "pageNum", NULL | |
26875 | }; | |
26876 | ||
26877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26878 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26879 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26880 | { | |
26881 | arg2 = (int)(SWIG_As_int(obj1)); | |
26882 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26883 | } | |
d55e5bfc RD |
26884 | { |
26885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26886 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
26887 | ||
26888 | wxPyEndAllowThreads(__tstate); | |
26889 | if (PyErr_Occurred()) SWIG_fail; | |
26890 | } | |
26891 | { | |
26892 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26893 | } | |
26894 | return resultobj; | |
26895 | fail: | |
26896 | return NULL; | |
26897 | } | |
26898 | ||
26899 | ||
c32bde28 | 26900 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26901 | PyObject *resultobj; |
26902 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26903 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26904 | wxDC *arg3 = 0 ; | |
26905 | bool result; | |
26906 | PyObject * obj0 = 0 ; | |
26907 | PyObject * obj1 = 0 ; | |
26908 | PyObject * obj2 = 0 ; | |
26909 | char *kwnames[] = { | |
26910 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26911 | }; | |
26912 | ||
26913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
26914 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26915 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26916 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26917 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26918 | { | |
26919 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26920 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26921 | if (arg3 == NULL) { | |
26922 | SWIG_null_ref("wxDC"); | |
26923 | } | |
26924 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26925 | } |
26926 | { | |
26927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26928 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
26929 | ||
26930 | wxPyEndAllowThreads(__tstate); | |
26931 | if (PyErr_Occurred()) SWIG_fail; | |
26932 | } | |
26933 | { | |
26934 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26935 | } | |
26936 | return resultobj; | |
26937 | fail: | |
26938 | return NULL; | |
26939 | } | |
26940 | ||
26941 | ||
c32bde28 | 26942 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26943 | PyObject *resultobj; |
26944 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26945 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26946 | wxDC *arg3 = 0 ; | |
26947 | bool result; | |
26948 | PyObject * obj0 = 0 ; | |
26949 | PyObject * obj1 = 0 ; | |
26950 | PyObject * obj2 = 0 ; | |
26951 | char *kwnames[] = { | |
26952 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26953 | }; | |
26954 | ||
26955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
26956 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26957 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26958 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26959 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26960 | { | |
26961 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26962 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26963 | if (arg3 == NULL) { | |
26964 | SWIG_null_ref("wxDC"); | |
26965 | } | |
26966 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26967 | } |
26968 | { | |
26969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26970 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
26971 | ||
26972 | wxPyEndAllowThreads(__tstate); | |
26973 | if (PyErr_Occurred()) SWIG_fail; | |
26974 | } | |
26975 | { | |
26976 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26977 | } | |
26978 | return resultobj; | |
26979 | fail: | |
26980 | return NULL; | |
26981 | } | |
26982 | ||
26983 | ||
c32bde28 | 26984 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26985 | PyObject *resultobj; |
26986 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26987 | int arg2 ; | |
26988 | bool result; | |
26989 | PyObject * obj0 = 0 ; | |
26990 | PyObject * obj1 = 0 ; | |
26991 | char *kwnames[] = { | |
26992 | (char *) "self",(char *) "pageNum", NULL | |
26993 | }; | |
26994 | ||
26995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
26996 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26997 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26998 | { | |
26999 | arg2 = (int)(SWIG_As_int(obj1)); | |
27000 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27001 | } | |
d55e5bfc RD |
27002 | { |
27003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27004 | result = (bool)(arg1)->base_RenderPage(arg2); | |
27005 | ||
27006 | wxPyEndAllowThreads(__tstate); | |
27007 | if (PyErr_Occurred()) SWIG_fail; | |
27008 | } | |
27009 | { | |
27010 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
27011 | } | |
27012 | return resultobj; | |
27013 | fail: | |
27014 | return NULL; | |
27015 | } | |
27016 | ||
27017 | ||
c32bde28 | 27018 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27019 | PyObject *resultobj; |
27020 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
27021 | int arg2 ; | |
27022 | PyObject * obj0 = 0 ; | |
27023 | PyObject * obj1 = 0 ; | |
27024 | char *kwnames[] = { | |
27025 | (char *) "self",(char *) "percent", NULL | |
27026 | }; | |
27027 | ||
27028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
27029 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27030 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27031 | { | |
27032 | arg2 = (int)(SWIG_As_int(obj1)); | |
27033 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27034 | } | |
d55e5bfc RD |
27035 | { |
27036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27037 | (arg1)->base_SetZoom(arg2); | |
27038 | ||
27039 | wxPyEndAllowThreads(__tstate); | |
27040 | if (PyErr_Occurred()) SWIG_fail; | |
27041 | } | |
27042 | Py_INCREF(Py_None); resultobj = Py_None; | |
27043 | return resultobj; | |
27044 | fail: | |
27045 | return NULL; | |
27046 | } | |
27047 | ||
27048 | ||
c32bde28 | 27049 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27050 | PyObject *resultobj; |
27051 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
27052 | bool arg2 ; | |
27053 | bool result; | |
27054 | PyObject * obj0 = 0 ; | |
27055 | PyObject * obj1 = 0 ; | |
27056 | char *kwnames[] = { | |
27057 | (char *) "self",(char *) "interactive", NULL | |
27058 | }; | |
27059 | ||
27060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
27061 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27062 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27063 | { | |
27064 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
27065 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27066 | } | |
d55e5bfc RD |
27067 | { |
27068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27069 | result = (bool)(arg1)->base_Print(arg2); | |
27070 | ||
27071 | wxPyEndAllowThreads(__tstate); | |
27072 | if (PyErr_Occurred()) SWIG_fail; | |
27073 | } | |
27074 | { | |
27075 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
27076 | } | |
27077 | return resultobj; | |
27078 | fail: | |
27079 | return NULL; | |
27080 | } | |
27081 | ||
27082 | ||
c32bde28 | 27083 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27084 | PyObject *resultobj; |
27085 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
27086 | PyObject * obj0 = 0 ; | |
27087 | char *kwnames[] = { | |
27088 | (char *) "self", NULL | |
27089 | }; | |
27090 | ||
27091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
27092 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27093 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27094 | { |
27095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27096 | (arg1)->base_DetermineScaling(); | |
27097 | ||
27098 | wxPyEndAllowThreads(__tstate); | |
27099 | if (PyErr_Occurred()) SWIG_fail; | |
27100 | } | |
27101 | Py_INCREF(Py_None); resultobj = Py_None; | |
27102 | return resultobj; | |
27103 | fail: | |
27104 | return NULL; | |
27105 | } | |
27106 | ||
27107 | ||
c32bde28 | 27108 | static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
27109 | PyObject *obj; |
27110 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27111 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
27112 | Py_INCREF(obj); | |
27113 | return Py_BuildValue((char *)""); | |
27114 | } | |
c32bde28 | 27115 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27116 | PyObject *resultobj; |
27117 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
27118 | wxFrame *arg2 = (wxFrame *) 0 ; | |
27119 | wxString *arg3 = 0 ; | |
27120 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
27121 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
27122 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
27123 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
27124 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
27125 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
27126 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
27127 | wxPyPreviewFrame *result; | |
ae8162c8 | 27128 | bool temp3 = false ; |
d55e5bfc RD |
27129 | wxPoint temp4 ; |
27130 | wxSize temp5 ; | |
ae8162c8 | 27131 | bool temp7 = false ; |
d55e5bfc RD |
27132 | PyObject * obj0 = 0 ; |
27133 | PyObject * obj1 = 0 ; | |
27134 | PyObject * obj2 = 0 ; | |
27135 | PyObject * obj3 = 0 ; | |
27136 | PyObject * obj4 = 0 ; | |
27137 | PyObject * obj5 = 0 ; | |
27138 | PyObject * obj6 = 0 ; | |
27139 | char *kwnames[] = { | |
27140 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
27141 | }; | |
27142 | ||
27143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
093d3ff1 RD |
27144 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27145 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27146 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
27147 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
27148 | { |
27149 | arg3 = wxString_in_helper(obj2); | |
27150 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 27151 | temp3 = true; |
d55e5bfc RD |
27152 | } |
27153 | if (obj3) { | |
27154 | { | |
27155 | arg4 = &temp4; | |
27156 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
27157 | } | |
27158 | } | |
27159 | if (obj4) { | |
27160 | { | |
27161 | arg5 = &temp5; | |
27162 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
27163 | } | |
27164 | } | |
27165 | if (obj5) { | |
093d3ff1 RD |
27166 | { |
27167 | arg6 = (long)(SWIG_As_long(obj5)); | |
27168 | if (SWIG_arg_fail(6)) SWIG_fail; | |
27169 | } | |
d55e5bfc RD |
27170 | } |
27171 | if (obj6) { | |
27172 | { | |
27173 | arg7 = wxString_in_helper(obj6); | |
27174 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 27175 | temp7 = true; |
d55e5bfc RD |
27176 | } |
27177 | } | |
27178 | { | |
0439c23b | 27179 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
27180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
27181 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
27182 | ||
27183 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 27184 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
27185 | } |
27186 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); | |
27187 | { | |
27188 | if (temp3) | |
27189 | delete arg3; | |
27190 | } | |
27191 | { | |
27192 | if (temp7) | |
27193 | delete arg7; | |
27194 | } | |
27195 | return resultobj; | |
27196 | fail: | |
27197 | { | |
27198 | if (temp3) | |
27199 | delete arg3; | |
27200 | } | |
27201 | { | |
27202 | if (temp7) | |
27203 | delete arg7; | |
27204 | } | |
27205 | return NULL; | |
27206 | } | |
27207 | ||
27208 | ||
c32bde28 | 27209 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27210 | PyObject *resultobj; |
27211 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27212 | PyObject *arg2 = (PyObject *) 0 ; | |
27213 | PyObject *arg3 = (PyObject *) 0 ; | |
27214 | PyObject * obj0 = 0 ; | |
27215 | PyObject * obj1 = 0 ; | |
27216 | PyObject * obj2 = 0 ; | |
27217 | char *kwnames[] = { | |
27218 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
27219 | }; | |
27220 | ||
27221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
27222 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27223 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27224 | arg2 = obj1; |
27225 | arg3 = obj2; | |
27226 | { | |
27227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27228 | (arg1)->_setCallbackInfo(arg2,arg3); | |
27229 | ||
27230 | wxPyEndAllowThreads(__tstate); | |
27231 | if (PyErr_Occurred()) SWIG_fail; | |
27232 | } | |
27233 | Py_INCREF(Py_None); resultobj = Py_None; | |
27234 | return resultobj; | |
27235 | fail: | |
27236 | return NULL; | |
27237 | } | |
27238 | ||
27239 | ||
c32bde28 | 27240 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27241 | PyObject *resultobj; |
27242 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27243 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
27244 | PyObject * obj0 = 0 ; | |
27245 | PyObject * obj1 = 0 ; | |
27246 | char *kwnames[] = { | |
27247 | (char *) "self",(char *) "canvas", NULL | |
27248 | }; | |
27249 | ||
27250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
27251 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27252 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27253 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
27254 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
27255 | { |
27256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27257 | (arg1)->SetPreviewCanvas(arg2); | |
27258 | ||
27259 | wxPyEndAllowThreads(__tstate); | |
27260 | if (PyErr_Occurred()) SWIG_fail; | |
27261 | } | |
27262 | Py_INCREF(Py_None); resultobj = Py_None; | |
27263 | return resultobj; | |
27264 | fail: | |
27265 | return NULL; | |
27266 | } | |
27267 | ||
27268 | ||
c32bde28 | 27269 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27270 | PyObject *resultobj; |
27271 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27272 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
27273 | PyObject * obj0 = 0 ; | |
27274 | PyObject * obj1 = 0 ; | |
27275 | char *kwnames[] = { | |
27276 | (char *) "self",(char *) "bar", NULL | |
27277 | }; | |
27278 | ||
27279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
27280 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27281 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27282 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); | |
27283 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
27284 | { |
27285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27286 | (arg1)->SetControlBar(arg2); | |
27287 | ||
27288 | wxPyEndAllowThreads(__tstate); | |
27289 | if (PyErr_Occurred()) SWIG_fail; | |
27290 | } | |
27291 | Py_INCREF(Py_None); resultobj = Py_None; | |
27292 | return resultobj; | |
27293 | fail: | |
27294 | return NULL; | |
27295 | } | |
27296 | ||
27297 | ||
c32bde28 | 27298 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27299 | PyObject *resultobj; |
27300 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27301 | PyObject * obj0 = 0 ; | |
27302 | char *kwnames[] = { | |
27303 | (char *) "self", NULL | |
27304 | }; | |
27305 | ||
27306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
27307 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27308 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27309 | { |
27310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27311 | (arg1)->base_Initialize(); | |
27312 | ||
27313 | wxPyEndAllowThreads(__tstate); | |
27314 | if (PyErr_Occurred()) SWIG_fail; | |
27315 | } | |
27316 | Py_INCREF(Py_None); resultobj = Py_None; | |
27317 | return resultobj; | |
27318 | fail: | |
27319 | return NULL; | |
27320 | } | |
27321 | ||
27322 | ||
c32bde28 | 27323 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27324 | PyObject *resultobj; |
27325 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27326 | PyObject * obj0 = 0 ; | |
27327 | char *kwnames[] = { | |
27328 | (char *) "self", NULL | |
27329 | }; | |
27330 | ||
27331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
27332 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27333 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27334 | { |
27335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27336 | (arg1)->base_CreateCanvas(); | |
27337 | ||
27338 | wxPyEndAllowThreads(__tstate); | |
27339 | if (PyErr_Occurred()) SWIG_fail; | |
27340 | } | |
27341 | Py_INCREF(Py_None); resultobj = Py_None; | |
27342 | return resultobj; | |
27343 | fail: | |
27344 | return NULL; | |
27345 | } | |
27346 | ||
27347 | ||
c32bde28 | 27348 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27349 | PyObject *resultobj; |
27350 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27351 | PyObject * obj0 = 0 ; | |
27352 | char *kwnames[] = { | |
27353 | (char *) "self", NULL | |
27354 | }; | |
27355 | ||
27356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
27357 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27358 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27359 | { |
27360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27361 | (arg1)->base_CreateControlBar(); | |
27362 | ||
27363 | wxPyEndAllowThreads(__tstate); | |
27364 | if (PyErr_Occurred()) SWIG_fail; | |
27365 | } | |
27366 | Py_INCREF(Py_None); resultobj = Py_None; | |
27367 | return resultobj; | |
27368 | fail: | |
27369 | return NULL; | |
27370 | } | |
27371 | ||
27372 | ||
c32bde28 | 27373 | static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
27374 | PyObject *obj; |
27375 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27376 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
27377 | Py_INCREF(obj); | |
27378 | return Py_BuildValue((char *)""); | |
27379 | } | |
c32bde28 | 27380 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27381 | PyObject *resultobj; |
27382 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
27383 | long arg2 ; | |
27384 | wxWindow *arg3 = (wxWindow *) 0 ; | |
27385 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
27386 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
27387 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
27388 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
27389 | long arg6 = (long) 0 ; | |
27390 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
27391 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
27392 | wxPyPreviewControlBar *result; | |
27393 | wxPoint temp4 ; | |
27394 | wxSize temp5 ; | |
ae8162c8 | 27395 | bool temp7 = false ; |
d55e5bfc RD |
27396 | PyObject * obj0 = 0 ; |
27397 | PyObject * obj1 = 0 ; | |
27398 | PyObject * obj2 = 0 ; | |
27399 | PyObject * obj3 = 0 ; | |
27400 | PyObject * obj4 = 0 ; | |
27401 | PyObject * obj5 = 0 ; | |
27402 | PyObject * obj6 = 0 ; | |
27403 | char *kwnames[] = { | |
27404 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
27405 | }; | |
27406 | ||
27407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
093d3ff1 RD |
27408 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27409 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27410 | { | |
27411 | arg2 = (long)(SWIG_As_long(obj1)); | |
27412 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27413 | } | |
27414 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
27415 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
27416 | if (obj3) { |
27417 | { | |
27418 | arg4 = &temp4; | |
27419 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
27420 | } | |
27421 | } | |
27422 | if (obj4) { | |
27423 | { | |
27424 | arg5 = &temp5; | |
27425 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
27426 | } | |
27427 | } | |
27428 | if (obj5) { | |
093d3ff1 RD |
27429 | { |
27430 | arg6 = (long)(SWIG_As_long(obj5)); | |
27431 | if (SWIG_arg_fail(6)) SWIG_fail; | |
27432 | } | |
d55e5bfc RD |
27433 | } |
27434 | if (obj6) { | |
27435 | { | |
27436 | arg7 = wxString_in_helper(obj6); | |
27437 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 27438 | temp7 = true; |
d55e5bfc RD |
27439 | } |
27440 | } | |
27441 | { | |
0439c23b | 27442 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
27443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
27444 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
27445 | ||
27446 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 27447 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
27448 | } |
27449 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); | |
27450 | { | |
27451 | if (temp7) | |
27452 | delete arg7; | |
27453 | } | |
27454 | return resultobj; | |
27455 | fail: | |
27456 | { | |
27457 | if (temp7) | |
27458 | delete arg7; | |
27459 | } | |
27460 | return NULL; | |
27461 | } | |
27462 | ||
27463 | ||
c32bde28 | 27464 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27465 | PyObject *resultobj; |
27466 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
27467 | PyObject *arg2 = (PyObject *) 0 ; | |
27468 | PyObject *arg3 = (PyObject *) 0 ; | |
27469 | PyObject * obj0 = 0 ; | |
27470 | PyObject * obj1 = 0 ; | |
27471 | PyObject * obj2 = 0 ; | |
27472 | char *kwnames[] = { | |
27473 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
27474 | }; | |
27475 | ||
27476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
27477 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27478 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27479 | arg2 = obj1; |
27480 | arg3 = obj2; | |
27481 | { | |
27482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27483 | (arg1)->_setCallbackInfo(arg2,arg3); | |
27484 | ||
27485 | wxPyEndAllowThreads(__tstate); | |
27486 | if (PyErr_Occurred()) SWIG_fail; | |
27487 | } | |
27488 | Py_INCREF(Py_None); resultobj = Py_None; | |
27489 | return resultobj; | |
27490 | fail: | |
27491 | return NULL; | |
27492 | } | |
27493 | ||
27494 | ||
c32bde28 | 27495 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27496 | PyObject *resultobj; |
27497 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
27498 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
27499 | PyObject * obj0 = 0 ; | |
27500 | PyObject * obj1 = 0 ; | |
27501 | char *kwnames[] = { | |
27502 | (char *) "self",(char *) "preview", NULL | |
27503 | }; | |
27504 | ||
27505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
27506 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27507 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27508 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); | |
27509 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
27510 | { |
27511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27512 | (arg1)->SetPrintPreview(arg2); | |
27513 | ||
27514 | wxPyEndAllowThreads(__tstate); | |
27515 | if (PyErr_Occurred()) SWIG_fail; | |
27516 | } | |
27517 | Py_INCREF(Py_None); resultobj = Py_None; | |
27518 | return resultobj; | |
27519 | fail: | |
27520 | return NULL; | |
27521 | } | |
27522 | ||
27523 | ||
c32bde28 | 27524 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27525 | PyObject *resultobj; |
27526 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
27527 | PyObject * obj0 = 0 ; | |
27528 | char *kwnames[] = { | |
27529 | (char *) "self", NULL | |
27530 | }; | |
27531 | ||
27532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
27533 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27534 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27535 | { |
27536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27537 | (arg1)->base_CreateButtons(); | |
27538 | ||
27539 | wxPyEndAllowThreads(__tstate); | |
27540 | if (PyErr_Occurred()) SWIG_fail; | |
27541 | } | |
27542 | Py_INCREF(Py_None); resultobj = Py_None; | |
27543 | return resultobj; | |
27544 | fail: | |
27545 | return NULL; | |
27546 | } | |
27547 | ||
27548 | ||
c32bde28 | 27549 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27550 | PyObject *resultobj; |
27551 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
27552 | int arg2 ; | |
27553 | PyObject * obj0 = 0 ; | |
27554 | PyObject * obj1 = 0 ; | |
27555 | char *kwnames[] = { | |
27556 | (char *) "self",(char *) "zoom", NULL | |
27557 | }; | |
27558 | ||
27559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
27560 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27561 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27562 | { | |
27563 | arg2 = (int)(SWIG_As_int(obj1)); | |
27564 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27565 | } | |
d55e5bfc RD |
27566 | { |
27567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27568 | (arg1)->base_SetZoomControl(arg2); | |
27569 | ||
27570 | wxPyEndAllowThreads(__tstate); | |
27571 | if (PyErr_Occurred()) SWIG_fail; | |
27572 | } | |
27573 | Py_INCREF(Py_None); resultobj = Py_None; | |
27574 | return resultobj; | |
27575 | fail: | |
27576 | return NULL; | |
27577 | } | |
27578 | ||
27579 | ||
c32bde28 | 27580 | static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
27581 | PyObject *obj; |
27582 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27583 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
27584 | Py_INCREF(obj); | |
27585 | return Py_BuildValue((char *)""); | |
27586 | } | |
27587 | static PyMethodDef SwigMethods[] = { | |
093d3ff1 RD |
27588 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL}, |
27589 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27590 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27591 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27592 | { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27593 | { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27594 | { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27595 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL}, | |
27596 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27597 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27598 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27599 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27600 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27601 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27602 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27603 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27604 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27605 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27606 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27607 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27608 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27609 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27610 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL}, | |
27611 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL}, | |
27612 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27613 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27614 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27615 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27616 | { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27617 | { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27618 | { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27619 | { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27620 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL}, | |
27621 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27622 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27623 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27624 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27625 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27626 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27627 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27628 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27629 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27630 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27631 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27632 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27633 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27634 | { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27635 | { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27636 | { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27637 | { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27638 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL}, | |
27639 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27640 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27641 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27642 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27643 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27644 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27645 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27646 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27647 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27648 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27649 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27650 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27651 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27652 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27653 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27654 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27655 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27656 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27657 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27658 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27659 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27660 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27661 | { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27662 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL}, | |
27663 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27664 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27665 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27666 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27667 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27668 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27669 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
62d32a5f | 27670 | { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
27671 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL}, |
27672 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27673 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27674 | { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27675 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL}, | |
27676 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27677 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27678 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27679 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL}, | |
27680 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27681 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27682 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27683 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL}, | |
27684 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27685 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27686 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27687 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27688 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL}, | |
27689 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27690 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27691 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27692 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27693 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27694 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27695 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27696 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27697 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27698 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27699 | { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27700 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27701 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27702 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27703 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27704 | { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27705 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL}, | |
27706 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27707 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27708 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27709 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27710 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27711 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27712 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27713 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27714 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27715 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27716 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27717 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27718 | { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27719 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27720 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27721 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27722 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27723 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27724 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27725 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27726 | { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27727 | { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27728 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27729 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27730 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27731 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27732 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27733 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27734 | { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27735 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL}, | |
27736 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27737 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27738 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27739 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27740 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27741 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27742 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL}, | |
27743 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27744 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27745 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27746 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27747 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27748 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27749 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27750 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27751 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27752 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27753 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27754 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27755 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27756 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27757 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27758 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27759 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27760 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27761 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27762 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27763 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27764 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27765 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL}, | |
27766 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27767 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27768 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27769 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27770 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27771 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27772 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27773 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL}, | |
27774 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27775 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27776 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27777 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27778 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27779 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27780 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27781 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27782 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27783 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27784 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27785 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL}, | |
27786 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27787 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27788 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27789 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27790 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27791 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL}, | |
27792 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27793 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27794 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27795 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27796 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27797 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27798 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27799 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27800 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL}, | |
27801 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27802 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27803 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27804 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27805 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27806 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL}, | |
27807 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27808 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27809 | { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27810 | { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27811 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL}, | |
27812 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27813 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27814 | { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27815 | { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27816 | { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27817 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL}, | |
27818 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27819 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27820 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27821 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL}, | |
27822 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27823 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27824 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27825 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27826 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27827 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27828 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27829 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27830 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27831 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27832 | { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27833 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27834 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27835 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27836 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27837 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27838 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27839 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL}, | |
27840 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27841 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27842 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27843 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27844 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27845 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27846 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27847 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27848 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27849 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27850 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27851 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27852 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27853 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27854 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27855 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27856 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27857 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27858 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27859 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27860 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27861 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27862 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27863 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27864 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27865 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL}, | |
27866 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27867 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27868 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27869 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27870 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27871 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27872 | { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27873 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL}, | |
27874 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27875 | { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27876 | { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27877 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27878 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27879 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27880 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27881 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27882 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL}, | |
27883 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27884 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL}, | |
27885 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27886 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27887 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27888 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27889 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27890 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27891 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27892 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27893 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL}, | |
27894 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27895 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27896 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL}, | |
27897 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27898 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27899 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27900 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27901 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27902 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27903 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL}, | |
27904 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27905 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27906 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27907 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27908 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27909 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27910 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27911 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27912 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27913 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27914 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27915 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27916 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27917 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27918 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27919 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27920 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27921 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL}, | |
27922 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27923 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27924 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27925 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL}, | |
27926 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27927 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27928 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27929 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27930 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL}, | |
27931 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27932 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27933 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27934 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL}, | |
27935 | { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27936 | { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL}, | |
27937 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27938 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27939 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27940 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27941 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27942 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27943 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27944 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27945 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27946 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27947 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27948 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27949 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27950 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27951 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27952 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL}, | |
27953 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27954 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27955 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL}, | |
27956 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27957 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL}, | |
27958 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27959 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27960 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27961 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL}, | |
27962 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27963 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27964 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27965 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27966 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27967 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27968 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27969 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27970 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL}, | |
27971 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27972 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27973 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27974 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27975 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27976 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27977 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27978 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27979 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL}, | |
27980 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27981 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27982 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27983 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27984 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27985 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL}, | |
27986 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27987 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27988 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27989 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27990 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27991 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27992 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27993 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27994 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27995 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27996 | { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27997 | { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27998 | { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27999 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28000 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL}, | |
28001 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28002 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28003 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28004 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28005 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28006 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28007 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL}, | |
28008 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28009 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28010 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28011 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL}, | |
28012 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28013 | { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28014 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28015 | { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28016 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28017 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28018 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28019 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28020 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28021 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28022 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28023 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28024 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28025 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28026 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28027 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28028 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28029 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28030 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28031 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28032 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28033 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28034 | { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28035 | { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28036 | { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28037 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL}, | |
28038 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28039 | { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28040 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28041 | { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28042 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28043 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28044 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28045 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28046 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28047 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28048 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28049 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28050 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28051 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28052 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28053 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28054 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28055 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28056 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28057 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28058 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28059 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28060 | { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28061 | { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28062 | { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28063 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL}, | |
28064 | { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28065 | { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28066 | { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28067 | { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28068 | { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28069 | { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28070 | { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28071 | { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28072 | { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28073 | { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28074 | { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28075 | { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28076 | { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28077 | { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28078 | { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28079 | { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28080 | { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28081 | { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28082 | { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28083 | { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28084 | { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28085 | { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28086 | { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28087 | { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28088 | { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28089 | { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL}, | |
28090 | { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL}, | |
28091 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28092 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28093 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28094 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28095 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28096 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28097 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28098 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28099 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28100 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28101 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28102 | { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28103 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28104 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28105 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28106 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28107 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28108 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28109 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28110 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28111 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28112 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28113 | { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28114 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28115 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28116 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28117 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28118 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28119 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28120 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28121 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28122 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28123 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28124 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28125 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28126 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28127 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28128 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28129 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28130 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28131 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28132 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28133 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28134 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28135 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL}, | |
28136 | { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL}, | |
28137 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28138 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28139 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28140 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28141 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28142 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28143 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28144 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28145 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28146 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28147 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28148 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28149 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28150 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28151 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28152 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28153 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28154 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28155 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28156 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28157 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28158 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28159 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28160 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28161 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28162 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28163 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28164 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28165 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28166 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28167 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL}, | |
28168 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28169 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28170 | { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28171 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28172 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL}, | |
28173 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL}, | |
28174 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28175 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28176 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28177 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28178 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28179 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28180 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28181 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28182 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28183 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28184 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28185 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28186 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28187 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28188 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28189 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28190 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28191 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28192 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28193 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28194 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28195 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28196 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28197 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28198 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28199 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28200 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28201 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28202 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28203 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28204 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28205 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28206 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL}, | |
28207 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28208 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28209 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28210 | { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28211 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28212 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL}, | |
28213 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28214 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28215 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28216 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28217 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28218 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28219 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28220 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28221 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28222 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28223 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL}, | |
28224 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28225 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28226 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28227 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28228 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28229 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28230 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28231 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28232 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28233 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28234 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28235 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28236 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28237 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28238 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28239 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28240 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28241 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28242 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28243 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28244 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28245 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28246 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL}, | |
28247 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28248 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL}, | |
28249 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28250 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28251 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28252 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28253 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28254 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL}, | |
28255 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28256 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28257 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28258 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28259 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28260 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28261 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28262 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28263 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28264 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL}, | |
28265 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL}, | |
28266 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28267 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28268 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28269 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28270 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28271 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28272 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28273 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28274 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28275 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28276 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28277 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28278 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28279 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28280 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28281 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28282 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28283 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28284 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28285 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28286 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28287 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28288 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL}, | |
28289 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL}, | |
28290 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28291 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28292 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28293 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28294 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28295 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28296 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28297 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28298 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL}, | |
28299 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28300 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28301 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28302 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28303 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28304 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28305 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28306 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL}, | |
28307 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28308 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28309 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28310 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28311 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28312 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL}, | |
c32bde28 | 28313 | { NULL, NULL, 0, NULL } |
d55e5bfc RD |
28314 | }; |
28315 | ||
28316 | ||
28317 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
28318 | ||
28319 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
28320 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28321 | } | |
28322 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
28323 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
28324 | } | |
28325 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
28326 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
28327 | } | |
28328 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
28329 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
28330 | } | |
28331 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
28332 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
28333 | } | |
28334 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
28335 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
28336 | } | |
28337 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
28338 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
28339 | } | |
28340 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
28341 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28342 | } | |
28343 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
28344 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
28345 | } | |
28346 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
28347 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
28348 | } | |
28349 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
28350 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
28351 | } | |
28352 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
28353 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
28354 | } | |
28355 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
28356 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
28357 | } | |
28358 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
28359 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
28360 | } | |
28361 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
28362 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
28363 | } | |
28364 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
28365 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
28366 | } | |
28367 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
28368 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
28369 | } | |
28370 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
28371 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
28372 | } | |
28373 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
28374 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
28375 | } | |
28376 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
28377 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
28378 | } | |
28379 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
28380 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
28381 | } | |
28382 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
28383 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
28384 | } | |
28385 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
28386 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
28387 | } | |
28388 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
28389 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
28390 | } | |
28391 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
28392 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
28393 | } | |
28394 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
28395 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
28396 | } | |
28397 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
28398 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
28399 | } | |
28400 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
28401 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
28402 | } | |
28403 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
28404 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
28405 | } | |
28406 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
28407 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
28408 | } | |
28409 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
28410 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
28411 | } | |
28412 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
28413 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
28414 | } | |
28415 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
28416 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
28417 | } | |
28418 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
28419 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
28420 | } | |
28421 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
28422 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
28423 | } | |
28424 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
28425 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
28426 | } | |
28427 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
28428 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
28429 | } | |
28430 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
28431 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
28432 | } | |
28433 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
28434 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
28435 | } | |
28436 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
28437 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
28438 | } | |
28439 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
28440 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
28441 | } | |
28442 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
28443 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
28444 | } | |
28445 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
28446 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28447 | } | |
c1cb24a4 RD |
28448 | static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) { |
28449 | return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28450 | } | |
d55e5bfc RD |
28451 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { |
28452 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
28453 | } | |
28454 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
28455 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
28456 | } | |
28457 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
28458 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
28459 | } | |
28460 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
28461 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
28462 | } | |
28463 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
28464 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
28465 | } | |
28466 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
28467 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
28468 | } | |
28469 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
28470 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
28471 | } | |
c1cb24a4 RD |
28472 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
28473 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28474 | } | |
d55e5bfc RD |
28475 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
28476 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
28477 | } | |
28478 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
28479 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
28480 | } | |
28481 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
28482 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
28483 | } | |
28484 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
28485 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
28486 | } | |
28487 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
28488 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
28489 | } | |
28490 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
28491 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
28492 | } | |
28493 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
28494 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
28495 | } | |
28496 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
28497 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
28498 | } | |
28499 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
28500 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
28501 | } | |
28502 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
28503 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
28504 | } | |
28505 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
28506 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
28507 | } | |
28508 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
28509 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
28510 | } | |
28511 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
28512 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
28513 | } | |
28514 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
28515 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
28516 | } | |
28517 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
28518 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
28519 | } | |
28520 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
28521 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
28522 | } | |
28523 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
28524 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
28525 | } | |
28526 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
28527 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
28528 | } | |
28529 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
28530 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
28531 | } | |
28532 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
28533 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
28534 | } | |
28535 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
28536 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
28537 | } | |
28538 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
28539 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
28540 | } | |
28541 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
28542 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
28543 | } | |
28544 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
28545 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
28546 | } | |
28547 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
28548 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28549 | } | |
28550 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
28551 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
28552 | } | |
28553 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
28554 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
28555 | } | |
28556 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
28557 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
28558 | } | |
28559 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
28560 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
28561 | } | |
28562 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
28563 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
28564 | } | |
28565 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
28566 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28567 | } | |
28568 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
28569 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28570 | } | |
28571 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
28572 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
28573 | } | |
28574 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
28575 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
28576 | } | |
5e483524 RD |
28577 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
28578 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d55e5bfc RD |
28579 | } |
28580 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
28581 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
28582 | } | |
d55e5bfc RD |
28583 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { |
28584 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
28585 | } | |
28586 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
28587 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
28588 | } | |
28589 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
28590 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
28591 | } | |
c1cb24a4 RD |
28592 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
28593 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
28594 | } | |
d55e5bfc RD |
28595 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
28596 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
28597 | } | |
28598 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
28599 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28600 | } | |
28601 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
28602 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
28603 | } | |
28604 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
28605 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
28606 | } | |
28607 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
28608 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
28609 | } | |
28610 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
28611 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28612 | } | |
28613 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
28614 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
28615 | } | |
28616 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
28617 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
28618 | } | |
28619 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
28620 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
28621 | } | |
28622 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
28623 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
28624 | } | |
28625 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
28626 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
28627 | } | |
28628 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
28629 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
28630 | } | |
28631 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
28632 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28633 | } | |
28634 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
28635 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
28636 | } | |
28637 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
28638 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
28639 | } | |
28640 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
28641 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
28642 | } | |
28643 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
28644 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
28645 | } | |
28646 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
28647 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
28648 | } | |
28649 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
28650 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
28651 | } | |
28652 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
28653 | return (void *)((wxObject *) ((wxSizer *) x)); | |
28654 | } | |
28655 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
28656 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
28657 | } | |
28658 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
28659 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
28660 | } | |
28661 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
28662 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
28663 | } | |
28664 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
28665 | return (void *)((wxObject *) ((wxEvent *) x)); | |
28666 | } | |
28667 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
28668 | return (void *)((wxObject *) ((wxFontData *) x)); | |
28669 | } | |
28670 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
28671 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
28672 | } | |
28673 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
28674 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
28675 | } | |
28676 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
28677 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
28678 | } | |
28679 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
28680 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
28681 | } | |
28682 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
28683 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
28684 | } | |
5e483524 RD |
28685 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
28686 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d55e5bfc RD |
28687 | } |
28688 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
28689 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
28690 | } | |
28691 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
28692 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
28693 | } | |
28694 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
28695 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
28696 | } | |
28697 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
28698 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
28699 | } | |
28700 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
28701 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
28702 | } | |
28703 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
28704 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
28705 | } | |
28706 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
28707 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
28708 | } | |
28709 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
28710 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
28711 | } | |
28712 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
28713 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
28714 | } | |
28715 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
28716 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
28717 | } | |
28718 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
28719 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28720 | } | |
28721 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
28722 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
28723 | } | |
28724 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
28725 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
28726 | } | |
28727 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
28728 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
28729 | } | |
28730 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
28731 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
28732 | } | |
28733 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
28734 | return (void *)((wxObject *) ((wxColourData *) x)); | |
28735 | } | |
28736 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
28737 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
28738 | } | |
28739 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
28740 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
28741 | } | |
28742 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
28743 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
28744 | } | |
28745 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
28746 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
28747 | } | |
28748 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
28749 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
28750 | } | |
28751 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
28752 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
28753 | } | |
28754 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
28755 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
28756 | } | |
28757 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
28758 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
28759 | } | |
c1cb24a4 RD |
28760 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
28761 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28762 | } | |
d55e5bfc RD |
28763 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
28764 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
28765 | } | |
28766 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
28767 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
28768 | } | |
28769 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
28770 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
28771 | } | |
28772 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
28773 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
28774 | } | |
28775 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
28776 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
28777 | } | |
28778 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
28779 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
28780 | } | |
28781 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
28782 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
28783 | } | |
28784 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
28785 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
28786 | } | |
28787 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
28788 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
28789 | } | |
28790 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
28791 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
28792 | } | |
28793 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
28794 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
28795 | } | |
28796 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
28797 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
28798 | } | |
28799 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
28800 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
28801 | } | |
28802 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
28803 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
28804 | } | |
28805 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
28806 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
28807 | } | |
28808 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
28809 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
28810 | } | |
28811 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
28812 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
28813 | } | |
28814 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
28815 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
28816 | } | |
28817 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
28818 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
28819 | } | |
28820 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
28821 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
28822 | } | |
28823 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
28824 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
28825 | } | |
28826 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
28827 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
28828 | } | |
28829 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
28830 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
28831 | } | |
28832 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
28833 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
28834 | } | |
28835 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
28836 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
28837 | } | |
28838 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
28839 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
28840 | } | |
28841 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
28842 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
28843 | } | |
28844 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
28845 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
28846 | } | |
28847 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
28848 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28849 | } | |
28850 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
28851 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28852 | } | |
62d32a5f RD |
28853 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
28854 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
28855 | } | |
d55e5bfc RD |
28856 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
28857 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
28858 | } | |
28859 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
28860 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
28861 | } | |
28862 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
28863 | return (void *)((wxObject *) ((wxImage *) x)); | |
28864 | } | |
28865 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
28866 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
28867 | } | |
28868 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
28869 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
28870 | } | |
28871 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
28872 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
28873 | } | |
28874 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
28875 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
28876 | } | |
28877 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
28878 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
28879 | } | |
28880 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
28881 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
28882 | } | |
28883 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
28884 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
28885 | } | |
28886 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
28887 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
28888 | } | |
28889 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
28890 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
28891 | } | |
28892 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
28893 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
28894 | } | |
28895 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
28896 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
28897 | } | |
28898 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
28899 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
28900 | } | |
28901 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
28902 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
28903 | } | |
28904 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
28905 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
28906 | } | |
28907 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
28908 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
28909 | } | |
28910 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
28911 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
28912 | } | |
28913 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
28914 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
28915 | } | |
28916 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
28917 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
28918 | } | |
28919 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
28920 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
28921 | } | |
28922 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
28923 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
28924 | } | |
28925 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
28926 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
28927 | } | |
28928 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
28929 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
28930 | } | |
28931 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
28932 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
28933 | } | |
28934 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
28935 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
28936 | } | |
28937 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
28938 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
28939 | } | |
28940 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
28941 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
28942 | } | |
28943 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
28944 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
28945 | } | |
28946 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
28947 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
28948 | } | |
28949 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
28950 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
28951 | } | |
28952 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
28953 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
28954 | } | |
28955 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
28956 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
28957 | } | |
28958 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
28959 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
28960 | } | |
28961 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
8ac8dba0 | 28962 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); |
d55e5bfc RD |
28963 | } |
28964 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
c1cb24a4 | 28965 | return (void *)((wxObject *) ((wxPrintDialog *) x)); |
d55e5bfc RD |
28966 | } |
28967 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
28968 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
28969 | } | |
28970 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
28971 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
28972 | } | |
28973 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
28974 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
28975 | } | |
28976 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
28977 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
28978 | } | |
28979 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
28980 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
28981 | } | |
28982 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
28983 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
28984 | } | |
28985 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
28986 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
28987 | } | |
28988 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
28989 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
28990 | } | |
28991 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
28992 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
28993 | } | |
28994 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
28995 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
28996 | } | |
28997 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
28998 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
28999 | } | |
29000 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
29001 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
29002 | } | |
29003 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
29004 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
29005 | } | |
29006 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
29007 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
29008 | } | |
29009 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
29010 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
29011 | } | |
29012 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
29013 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
29014 | } | |
29015 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
29016 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
29017 | } | |
29018 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
29019 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
29020 | } | |
29021 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
29022 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
29023 | } | |
29024 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
29025 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
29026 | } | |
29027 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
29028 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
29029 | } | |
29030 | static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { | |
29031 | return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
29032 | } | |
29033 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
29034 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
29035 | } | |
29036 | static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) { | |
29037 | return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
29038 | } | |
29039 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
29040 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
29041 | } | |
29042 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
29043 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
29044 | } | |
29045 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
29046 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
29047 | } | |
29048 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
29049 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
29050 | } | |
29051 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
29052 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
29053 | } | |
29054 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
29055 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
29056 | } | |
29057 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
29058 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
29059 | } | |
d55e5bfc RD |
29060 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { |
29061 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
29062 | } | |
29063 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
29064 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
29065 | } | |
29066 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
29067 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
29068 | } | |
d55e5bfc RD |
29069 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { |
29070 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
29071 | } | |
29072 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
29073 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
29074 | } | |
c1cb24a4 RD |
29075 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { |
29076 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
29077 | } | |
d55e5bfc RD |
29078 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { |
29079 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
29080 | } | |
29081 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
29082 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
29083 | } | |
29084 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
29085 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
29086 | } | |
29087 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
29088 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
29089 | } | |
c1cb24a4 RD |
29090 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { |
29091 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
29092 | } | |
d55e5bfc RD |
29093 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
29094 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
29095 | } | |
29096 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
29097 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
29098 | } | |
29099 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
29100 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
29101 | } | |
29102 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
29103 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
29104 | } | |
29105 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
29106 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
29107 | } | |
29108 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
29109 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
29110 | } | |
29111 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
29112 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
29113 | } | |
29114 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
29115 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
29116 | } | |
29117 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
29118 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
29119 | } | |
c1cb24a4 RD |
29120 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
29121 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
29122 | } | |
d55e5bfc RD |
29123 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
29124 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
29125 | } | |
29126 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
29127 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
29128 | } | |
29129 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
29130 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
29131 | } | |
29132 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
29133 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
29134 | } | |
29135 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
29136 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
29137 | } | |
29138 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
29139 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
29140 | } | |
d55e5bfc RD |
29141 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
29142 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
29143 | } | |
29144 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
29145 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
29146 | } | |
29147 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
29148 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
29149 | } | |
29150 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
29151 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
29152 | } | |
29153 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
29154 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
29155 | } | |
29156 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
29157 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
29158 | } | |
29159 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
29160 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
29161 | } | |
29162 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
29163 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
29164 | } | |
29165 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
29166 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
29167 | } | |
29168 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
29169 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
29170 | } | |
c1cb24a4 RD |
29171 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
29172 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
29173 | } | |
d55e5bfc RD |
29174 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
29175 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
29176 | } | |
29177 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
29178 | return (void *)((wxWindow *) ((wxControl *) x)); | |
29179 | } | |
29180 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
29181 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
29182 | } | |
29183 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
29184 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
29185 | } | |
29186 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
29187 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
29188 | } | |
29189 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
29190 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
29191 | } | |
29192 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
29193 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
29194 | } | |
29195 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
29196 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
29197 | } | |
29198 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
29199 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
29200 | } | |
29201 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
29202 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
29203 | } | |
29204 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
29205 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
29206 | } | |
29207 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
29208 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29209 | } | |
29210 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
29211 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
29212 | } | |
29213 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
29214 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
29215 | } | |
29216 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
29217 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
29218 | } | |
29219 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
29220 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
29221 | } | |
29222 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
29223 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
29224 | } | |
d55e5bfc RD |
29225 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
29226 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
29227 | } | |
29228 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { | |
29229 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
29230 | } | |
29231 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
29232 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
29233 | } | |
29234 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
29235 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
29236 | } | |
29237 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
29238 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
29239 | } | |
29240 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
29241 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
29242 | } | |
29243 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
29244 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
29245 | } | |
d55e5bfc RD |
29246 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { |
29247 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
29248 | } | |
29249 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
29250 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
29251 | } | |
29252 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
29253 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
29254 | } | |
29255 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
29256 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
29257 | } | |
c1cb24a4 RD |
29258 | static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) { |
29259 | return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
29260 | } | |
d55e5bfc RD |
29261 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { |
29262 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
29263 | } | |
29264 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
29265 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
29266 | } | |
29267 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
29268 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
29269 | } | |
29270 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
29271 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
29272 | } | |
29273 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { | |
29274 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
29275 | } | |
29276 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
29277 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
29278 | } | |
29279 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
29280 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
29281 | } | |
29282 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
29283 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
29284 | } | |
29285 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
29286 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
29287 | } | |
29288 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
29289 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
29290 | } | |
29291 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
29292 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29293 | } | |
29294 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
29295 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
29296 | } | |
29297 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
29298 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
29299 | } | |
29300 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
29301 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
29302 | } | |
29303 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
29304 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
29305 | } | |
29306 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
29307 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
29308 | } | |
29309 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
29310 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
29311 | } | |
29312 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
29313 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
29314 | } | |
29315 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
29316 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
29317 | } | |
29318 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
29319 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
29320 | } | |
29321 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
29322 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
29323 | } | |
29324 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
29325 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
29326 | } | |
29327 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
29328 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29329 | } | |
29330 | 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}}; | |
29331 | 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}}; | |
29332 | 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}}; | |
29333 | 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}}; | |
29334 | 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 |
29335 | 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}}; |
29336 | 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 | 29337 | 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 | 29338 | 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 | 29339 | 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 |
29340 | 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}}; |
29341 | 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}}; | |
29342 | 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}}; | |
29343 | 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}}; | |
29344 | 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}}; | |
29345 | 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}}; | |
29346 | 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}}; | |
093d3ff1 RD |
29347 | 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}}; |
29348 | 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 |
29349 | 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}}; |
29350 | 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}}; | |
29351 | 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}}; | |
29352 | 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}}; | |
29353 | 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 | 29354 | 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 |
29355 | 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}}; |
29356 | 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}}; | |
29357 | 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}}; | |
29358 | 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}}; | |
093d3ff1 | 29359 | 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 | 29360 | 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}}; |
c1cb24a4 | 29361 | 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 |
29362 | 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}}; |
29363 | 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}}; | |
29364 | 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}}; | |
c1cb24a4 | 29365 | 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}}; |
093d3ff1 RD |
29366 | 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}}; |
29367 | 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}}; | |
29368 | 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 |
29369 | 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}}; |
29370 | 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}}; | |
093d3ff1 | 29371 | 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}}; |
8ac8dba0 | 29372 | 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_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_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 |
29373 | 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}}; |
29374 | 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}}; | |
29375 | 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}}; | |
29376 | 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}}; | |
62d32a5f | 29377 | static swig_type_info _swigt__p_wxStdDialogButtonSizer[] = {{"_p_wxStdDialogButtonSizer", 0, "wxStdDialogButtonSizer *", 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
29378 | 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}}; |
29379 | 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}}; | |
29380 | static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
29381 | 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}}; | |
29382 | 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}}; | |
29383 | 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}}; | |
093d3ff1 | 29384 | 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 |
29385 | 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}}; |
29386 | 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}}; | |
29387 | 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}}; | |
62d32a5f | 29388 | 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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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}}; |
093d3ff1 | 29389 | 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 |
29390 | 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}}; |
29391 | 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}}; | |
29392 | static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
f20a2e1f | 29393 | 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 |
29394 | 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}}; |
29395 | static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
29396 | static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
29397 | 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}}; | |
8ac8dba0 RD |
29398 | 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_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_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_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}}; |
29399 | 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_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_wxTipWindow", _p_wxTipWindowTo_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 | 29400 | 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 | 29401 | 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}}; |
093d3ff1 | 29402 | 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 | 29403 | 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 |
29404 | 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}}; |
29405 | 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}}; | |
29406 | 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}}; | |
29407 | 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 |
29408 | 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}}; |
29409 | 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}}; | |
8ac8dba0 | 29410 | 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 | 29411 | 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}}; |
093d3ff1 | 29412 | 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 |
29413 | 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}}; |
29414 | static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
c24da6d6 | 29415 | 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 | 29416 | 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}}; |
093d3ff1 RD |
29417 | 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}}; |
29418 | 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}}; | |
29419 | 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 |
29420 | 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}}; |
29421 | 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}}; | |
29422 | 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}}; | |
29423 | 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}}; | |
29424 | 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}}; | |
29425 | 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}}; | |
29426 | 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}}; | |
29427 | ||
29428 | static swig_type_info *swig_types_initial[] = { | |
29429 | _swigt__p_wxQueryLayoutInfoEvent, | |
29430 | _swigt__p_wxPreviewFrame, | |
29431 | _swigt__p_wxPyPreviewFrame, | |
29432 | _swigt__p_wxPyPanel, | |
29433 | _swigt__p_wxMenu, | |
d55e5bfc RD |
29434 | _swigt__p_wxFontData, |
29435 | _swigt__p_wxEvent, | |
f5b96ee1 | 29436 | _swigt__p_wxPrintData, |
d55e5bfc | 29437 | _swigt__p_wxTaskBarIcon, |
5e483524 | 29438 | _swigt__p_wxPyTaskBarIcon, |
d55e5bfc RD |
29439 | _swigt__p_wxIconBundle, |
29440 | _swigt__p_wxLayoutAlgorithm, | |
29441 | _swigt__p_wxFindDialogEvent, | |
29442 | _swigt__p_wxPreviewCanvas, | |
29443 | _swigt__p_wxFont, | |
29444 | _swigt__p_wxSplitterEvent, | |
29445 | _swigt__p_wxRegion, | |
093d3ff1 RD |
29446 | _swigt__ptrdiff_t, |
29447 | _swigt__std__ptrdiff_t, | |
d55e5bfc RD |
29448 | _swigt__p_wxFindReplaceData, |
29449 | _swigt__p_int, | |
29450 | _swigt__p_wxSize, | |
29451 | _swigt__p_wxDC, | |
29452 | _swigt__p_wxIcon, | |
f20a2e1f | 29453 | _swigt__p_wxVisualAttributes, |
d55e5bfc RD |
29454 | _swigt__p_wxMDIChildFrame, |
29455 | _swigt__p_wxColourData, | |
29456 | _swigt__p_wxNotifyEvent, | |
29457 | _swigt__p_wxPyWindow, | |
093d3ff1 | 29458 | _swigt__p_form_ops_t, |
d55e5bfc | 29459 | _swigt__p_wxSplashScreen, |
c1cb24a4 | 29460 | _swigt__p_wxPasswordEntryDialog, |
d55e5bfc RD |
29461 | _swigt__p_wxSingleChoiceDialog, |
29462 | _swigt__p_wxMultiChoiceDialog, | |
29463 | _swigt__p_wxFileDialog, | |
c1cb24a4 | 29464 | _swigt__p_wxTextEntryDialog, |
093d3ff1 RD |
29465 | _swigt__p_wxMessageDialog, |
29466 | _swigt__p_wxProgressDialog, | |
29467 | _swigt__p_wxFindReplaceDialog, | |
d55e5bfc RD |
29468 | _swigt__p_wxPrinter, |
29469 | _swigt__p_wxArrayInt, | |
093d3ff1 | 29470 | _swigt__p_wxDuplexMode, |
d55e5bfc RD |
29471 | _swigt__p_wxEvtHandler, |
29472 | _swigt__p_wxCalculateLayoutEvent, | |
29473 | _swigt__p_wxPyHtmlListBox, | |
29474 | _swigt__p_wxPyVListBox, | |
29475 | _swigt__p_wxRect, | |
62d32a5f | 29476 | _swigt__p_wxStdDialogButtonSizer, |
d55e5bfc RD |
29477 | _swigt__p_char, |
29478 | _swigt__p_wxMiniFrame, | |
29479 | _swigt__p_wxFrame, | |
29480 | _swigt__p_wxPyPrintout, | |
29481 | _swigt__p_wxTaskBarIconEvent, | |
29482 | _swigt__p_wxScrollWinEvent, | |
093d3ff1 | 29483 | _swigt__p_wxPaperSize, |
d55e5bfc RD |
29484 | _swigt__p_wxStatusBar, |
29485 | _swigt__p_wxMDIParentFrame, | |
29486 | _swigt__p_wxPoint, | |
29487 | _swigt__p_wxObject, | |
093d3ff1 | 29488 | _swigt__p_unsigned_long, |
d55e5bfc RD |
29489 | _swigt__p_wxTipWindow, |
29490 | _swigt__p_wxSashLayoutWindow, | |
29491 | _swigt__p_wxSplitterWindow, | |
f20a2e1f | 29492 | _swigt__p_wxSplashScreenWindow, |
d55e5bfc RD |
29493 | _swigt__p_wxPyVScrolledWindow, |
29494 | _swigt__p_wxPyPopupTransientWindow, | |
29495 | _swigt__p_wxPopupWindow, | |
29496 | _swigt__p_wxSashWindow, | |
29497 | _swigt__p_wxTopLevelWindow, | |
29498 | _swigt__p_wxWindow, | |
29499 | _swigt__p_wxScrolledWindow, | |
d55e5bfc | 29500 | _swigt__p_wxMenuBar, |
093d3ff1 | 29501 | _swigt__p_wxMDIClientWindow, |
5e483524 | 29502 | _swigt__p_wxPyScrolledWindow, |
d55e5bfc RD |
29503 | _swigt__p_wxPrintPreview, |
29504 | _swigt__p_wxSashEvent, | |
29505 | _swigt__p_wxString, | |
29506 | _swigt__p_wxPyPrintPreview, | |
d55e5bfc RD |
29507 | _swigt__p_wxDirDialog, |
29508 | _swigt__p_wxColourDialog, | |
29509 | _swigt__p_wxDialog, | |
29510 | _swigt__p_wxPanel, | |
093d3ff1 | 29511 | _swigt__p_wxFontDialog, |
d55e5bfc RD |
29512 | _swigt__p_wxPageSetupDialog, |
29513 | _swigt__p_wxPrintDialog, | |
c24da6d6 | 29514 | _swigt__p_wxFileSystem, |
d55e5bfc | 29515 | _swigt__p_wxBitmap, |
093d3ff1 RD |
29516 | _swigt__unsigned_int, |
29517 | _swigt__p_unsigned_int, | |
29518 | _swigt__p_unsigned_char, | |
d55e5bfc RD |
29519 | _swigt__p_wxCommandEvent, |
29520 | _swigt__p_wxPreviewControlBar, | |
29521 | _swigt__p_wxPyPreviewControlBar, | |
29522 | _swigt__p_wxColour, | |
29523 | _swigt__p_wxToolBar, | |
29524 | _swigt__p_wxPageSetupDialogData, | |
29525 | _swigt__p_wxPrintDialogData, | |
29526 | 0 | |
29527 | }; | |
29528 | ||
29529 | ||
29530 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
29531 | ||
29532 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 29533 | {0, 0, 0, 0.0, 0, 0}}; |
d55e5bfc RD |
29534 | |
29535 | #ifdef __cplusplus | |
29536 | } | |
29537 | #endif | |
29538 | ||
093d3ff1 RD |
29539 | |
29540 | #ifdef __cplusplus | |
29541 | extern "C" { | |
29542 | #endif | |
29543 | ||
29544 | /* Python-specific SWIG API */ | |
29545 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
29546 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
29547 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
29548 | ||
29549 | /* ----------------------------------------------------------------------------- | |
29550 | * global variable support code. | |
29551 | * ----------------------------------------------------------------------------- */ | |
29552 | ||
29553 | typedef struct swig_globalvar { | |
29554 | char *name; /* Name of global variable */ | |
29555 | PyObject *(*get_attr)(); /* Return the current value */ | |
29556 | int (*set_attr)(PyObject *); /* Set the value */ | |
29557 | struct swig_globalvar *next; | |
29558 | } swig_globalvar; | |
29559 | ||
29560 | typedef struct swig_varlinkobject { | |
29561 | PyObject_HEAD | |
29562 | swig_globalvar *vars; | |
29563 | } swig_varlinkobject; | |
29564 | ||
29565 | static PyObject * | |
29566 | swig_varlink_repr(swig_varlinkobject *v) { | |
29567 | v = v; | |
29568 | return PyString_FromString("<Swig global variables>"); | |
29569 | } | |
29570 | ||
29571 | static int | |
29572 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { | |
29573 | swig_globalvar *var; | |
29574 | flags = flags; | |
29575 | fprintf(fp,"Swig global variables { "); | |
29576 | for (var = v->vars; var; var=var->next) { | |
29577 | fprintf(fp,"%s", var->name); | |
29578 | if (var->next) fprintf(fp,", "); | |
29579 | } | |
29580 | fprintf(fp," }\n"); | |
29581 | return 0; | |
29582 | } | |
29583 | ||
29584 | static PyObject * | |
29585 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
29586 | swig_globalvar *var = v->vars; | |
29587 | while (var) { | |
29588 | if (strcmp(var->name,n) == 0) { | |
29589 | return (*var->get_attr)(); | |
29590 | } | |
29591 | var = var->next; | |
29592 | } | |
29593 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
29594 | return NULL; | |
29595 | } | |
29596 | ||
29597 | static int | |
29598 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
29599 | swig_globalvar *var = v->vars; | |
29600 | while (var) { | |
29601 | if (strcmp(var->name,n) == 0) { | |
29602 | return (*var->set_attr)(p); | |
29603 | } | |
29604 | var = var->next; | |
29605 | } | |
29606 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
29607 | return 1; | |
29608 | } | |
29609 | ||
29610 | static PyTypeObject varlinktype = { | |
29611 | PyObject_HEAD_INIT(0) | |
29612 | 0, /* Number of items in variable part (ob_size) */ | |
29613 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
29614 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
29615 | 0, /* Itemsize (tp_itemsize) */ | |
29616 | 0, /* Deallocator (tp_dealloc) */ | |
29617 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
29618 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
29619 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
29620 | 0, /* tp_compare */ | |
29621 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
29622 | 0, /* tp_as_number */ | |
29623 | 0, /* tp_as_sequence */ | |
29624 | 0, /* tp_as_mapping */ | |
29625 | 0, /* tp_hash */ | |
29626 | 0, /* tp_call */ | |
29627 | 0, /* tp_str */ | |
29628 | 0, /* tp_getattro */ | |
29629 | 0, /* tp_setattro */ | |
29630 | 0, /* tp_as_buffer */ | |
29631 | 0, /* tp_flags */ | |
29632 | 0, /* tp_doc */ | |
29633 | #if PY_VERSION_HEX >= 0x02000000 | |
29634 | 0, /* tp_traverse */ | |
29635 | 0, /* tp_clear */ | |
29636 | #endif | |
29637 | #if PY_VERSION_HEX >= 0x02010000 | |
29638 | 0, /* tp_richcompare */ | |
29639 | 0, /* tp_weaklistoffset */ | |
29640 | #endif | |
29641 | #if PY_VERSION_HEX >= 0x02020000 | |
29642 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
29643 | #endif | |
29644 | #if PY_VERSION_HEX >= 0x02030000 | |
29645 | 0, /* tp_del */ | |
29646 | #endif | |
29647 | #ifdef COUNT_ALLOCS | |
29648 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
29649 | #endif | |
29650 | }; | |
29651 | ||
29652 | /* Create a variable linking object for use later */ | |
29653 | static PyObject * | |
29654 | SWIG_Python_newvarlink(void) { | |
29655 | swig_varlinkobject *result = 0; | |
29656 | result = PyMem_NEW(swig_varlinkobject,1); | |
29657 | varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */ | |
29658 | result->ob_type = &varlinktype; | |
29659 | result->vars = 0; | |
29660 | result->ob_refcnt = 0; | |
29661 | Py_XINCREF((PyObject *) result); | |
29662 | return ((PyObject*) result); | |
29663 | } | |
29664 | ||
29665 | static void | |
29666 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
29667 | swig_varlinkobject *v; | |
29668 | swig_globalvar *gv; | |
29669 | v= (swig_varlinkobject *) p; | |
29670 | gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
29671 | gv->name = (char *) malloc(strlen(name)+1); | |
29672 | strcpy(gv->name,name); | |
29673 | gv->get_attr = get_attr; | |
29674 | gv->set_attr = set_attr; | |
29675 | gv->next = v->vars; | |
29676 | v->vars = gv; | |
29677 | } | |
29678 | ||
29679 | /* ----------------------------------------------------------------------------- | |
29680 | * constants/methods manipulation | |
29681 | * ----------------------------------------------------------------------------- */ | |
29682 | ||
29683 | /* Install Constants */ | |
29684 | static void | |
29685 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
29686 | PyObject *obj = 0; | |
29687 | size_t i; | |
29688 | for (i = 0; constants[i].type; i++) { | |
29689 | switch(constants[i].type) { | |
29690 | case SWIG_PY_INT: | |
29691 | obj = PyInt_FromLong(constants[i].lvalue); | |
29692 | break; | |
29693 | case SWIG_PY_FLOAT: | |
29694 | obj = PyFloat_FromDouble(constants[i].dvalue); | |
29695 | break; | |
29696 | case SWIG_PY_STRING: | |
29697 | if (constants[i].pvalue) { | |
29698 | obj = PyString_FromString((char *) constants[i].pvalue); | |
29699 | } else { | |
29700 | Py_INCREF(Py_None); | |
29701 | obj = Py_None; | |
29702 | } | |
29703 | break; | |
29704 | case SWIG_PY_POINTER: | |
29705 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
29706 | break; | |
29707 | case SWIG_PY_BINARY: | |
29708 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
29709 | break; | |
29710 | default: | |
29711 | obj = 0; | |
29712 | break; | |
29713 | } | |
29714 | if (obj) { | |
29715 | PyDict_SetItemString(d,constants[i].name,obj); | |
29716 | Py_DECREF(obj); | |
29717 | } | |
29718 | } | |
29719 | } | |
29720 | ||
29721 | /* -----------------------------------------------------------------------------*/ | |
29722 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
29723 | /* -----------------------------------------------------------------------------*/ | |
29724 | ||
29725 | static void | |
29726 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
29727 | swig_const_info *const_table, | |
29728 | swig_type_info **types, | |
29729 | swig_type_info **types_initial) { | |
29730 | size_t i; | |
29731 | for (i = 0; methods[i].ml_name; ++i) { | |
29732 | char *c = methods[i].ml_doc; | |
29733 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
29734 | int j; | |
29735 | swig_const_info *ci = 0; | |
29736 | char *name = c + 10; | |
29737 | for (j = 0; const_table[j].type; j++) { | |
29738 | if (strncmp(const_table[j].name, name, | |
29739 | strlen(const_table[j].name)) == 0) { | |
29740 | ci = &(const_table[j]); | |
29741 | break; | |
29742 | } | |
29743 | } | |
29744 | if (ci) { | |
29745 | size_t shift = (ci->ptype) - types; | |
29746 | swig_type_info *ty = types_initial[shift]; | |
29747 | size_t ldoc = (c - methods[i].ml_doc); | |
29748 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
29749 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
29750 | char *buff = ndoc; | |
29751 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue); | |
29752 | strncpy(buff, methods[i].ml_doc, ldoc); | |
29753 | buff += ldoc; | |
29754 | strncpy(buff, "swig_ptr: ", 10); | |
29755 | buff += 10; | |
29756 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
29757 | methods[i].ml_doc = ndoc; | |
29758 | } | |
29759 | } | |
29760 | } | |
29761 | } | |
29762 | ||
29763 | /* -----------------------------------------------------------------------------* | |
29764 | * Initialize type list | |
29765 | * -----------------------------------------------------------------------------*/ | |
29766 | ||
29767 | #if PY_MAJOR_VERSION < 2 | |
29768 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
29769 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
29770 | static int | |
29771 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
29772 | { | |
29773 | PyObject *dict; | |
29774 | if (!PyModule_Check(m)) { | |
29775 | PyErr_SetString(PyExc_TypeError, | |
29776 | "PyModule_AddObject() needs module as first arg"); | |
29777 | return -1; | |
29778 | } | |
29779 | if (!o) { | |
29780 | PyErr_SetString(PyExc_TypeError, | |
29781 | "PyModule_AddObject() needs non-NULL value"); | |
29782 | return -1; | |
29783 | } | |
29784 | ||
29785 | dict = PyModule_GetDict(m); | |
29786 | if (dict == NULL) { | |
29787 | /* Internal error -- modules must have a dict! */ | |
29788 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
29789 | PyModule_GetName(m)); | |
29790 | return -1; | |
29791 | } | |
29792 | if (PyDict_SetItemString(dict, name, o)) | |
29793 | return -1; | |
29794 | Py_DECREF(o); | |
29795 | return 0; | |
29796 | } | |
29797 | #endif | |
29798 | ||
29799 | static swig_type_info ** | |
29800 | SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) { | |
29801 | static PyMethodDef swig_empty_runtime_method_table[] = { | |
29802 | { | |
29803 | NULL, NULL, 0, NULL | |
29804 | } | |
29805 | };/* Sentinel */ | |
29806 | ||
29807 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
29808 | swig_empty_runtime_method_table); | |
29809 | PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL); | |
29810 | if (pointer && module) { | |
29811 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
29812 | } | |
29813 | return type_list_handle; | |
29814 | } | |
29815 | ||
29816 | static swig_type_info ** | |
29817 | SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) { | |
29818 | swig_type_info **type_pointer; | |
29819 | ||
29820 | /* first check if module already created */ | |
29821 | type_pointer = SWIG_Python_GetTypeListHandle(); | |
29822 | if (type_pointer) { | |
29823 | return type_pointer; | |
29824 | } else { | |
29825 | /* create a new module and variable */ | |
29826 | return SWIG_Python_SetTypeListHandle(type_list_handle); | |
29827 | } | |
29828 | } | |
29829 | ||
29830 | #ifdef __cplusplus | |
29831 | } | |
29832 | #endif | |
29833 | ||
29834 | /* -----------------------------------------------------------------------------* | |
29835 | * Partial Init method | |
29836 | * -----------------------------------------------------------------------------*/ | |
29837 | ||
29838 | #ifdef SWIG_LINK_RUNTIME | |
29839 | #ifdef __cplusplus | |
29840 | extern "C" | |
29841 | #endif | |
29842 | SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); | |
29843 | #endif | |
29844 | ||
d55e5bfc RD |
29845 | #ifdef __cplusplus |
29846 | extern "C" | |
29847 | #endif | |
29848 | SWIGEXPORT(void) SWIG_init(void) { | |
29849 | static PyObject *SWIG_globals = 0; | |
29850 | static int typeinit = 0; | |
29851 | PyObject *m, *d; | |
29852 | int i; | |
29853 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
093d3ff1 RD |
29854 | |
29855 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
29856 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial); | |
29857 | ||
d55e5bfc RD |
29858 | m = Py_InitModule((char *) SWIG_name, SwigMethods); |
29859 | d = PyModule_GetDict(m); | |
29860 | ||
29861 | if (!typeinit) { | |
093d3ff1 RD |
29862 | #ifdef SWIG_LINK_RUNTIME |
29863 | swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle); | |
29864 | #else | |
29865 | # ifndef SWIG_STATIC_RUNTIME | |
29866 | swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle); | |
29867 | # endif | |
29868 | #endif | |
d55e5bfc RD |
29869 | for (i = 0; swig_types_initial[i]; i++) { |
29870 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
29871 | } | |
29872 | typeinit = 1; | |
29873 | } | |
093d3ff1 RD |
29874 | SWIG_InstallConstants(d,swig_const_table); |
29875 | ||
29876 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
29877 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
29878 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
29879 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
29880 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
29881 | { | |
29882 | PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP))); | |
29883 | } | |
29884 | { | |
29885 | PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE))); | |
29886 | } | |
29887 | { | |
29888 | PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE))); | |
29889 | } | |
29890 | { | |
29891 | PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE))); | |
29892 | } | |
29893 | { | |
29894 | PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX))); | |
29895 | } | |
29896 | { | |
29897 | PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME))); | |
29898 | } | |
29899 | { | |
29900 | PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU))); | |
29901 | } | |
29902 | { | |
29903 | PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX))); | |
29904 | } | |
29905 | { | |
29906 | PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX))); | |
29907 | } | |
29908 | { | |
29909 | PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ))); | |
29910 | } | |
29911 | { | |
29912 | PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT))); | |
29913 | } | |
29914 | { | |
29915 | PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX))); | |
29916 | } | |
29917 | { | |
29918 | PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER))); | |
29919 | } | |
29920 | { | |
29921 | PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT))); | |
29922 | } | |
29923 | { | |
29924 | PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE))); | |
29925 | } | |
29926 | { | |
29927 | PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE))); | |
29928 | } | |
29929 | { | |
29930 | PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW))); | |
29931 | } | |
29932 | { | |
29933 | PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT))); | |
29934 | } | |
29935 | { | |
29936 | PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU))); | |
29937 | } | |
29938 | { | |
29939 | PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR))); | |
29940 | } | |
29941 | { | |
29942 | PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED))); | |
29943 | } | |
29944 | { | |
29945 | PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER))); | |
29946 | } | |
29947 | { | |
29948 | PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL))); | |
29949 | } | |
29950 | { | |
29951 | PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS))); | |
29952 | } | |
29953 | { | |
29954 | PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS))); | |
29955 | } | |
29956 | { | |
29957 | PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D))); | |
29958 | } | |
29959 | { | |
29960 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR))); | |
29961 | } | |
29962 | { | |
29963 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR))); | |
29964 | } | |
29965 | { | |
29966 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR))); | |
29967 | } | |
29968 | { | |
29969 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER))); | |
29970 | } | |
29971 | { | |
29972 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION))); | |
29973 | } | |
29974 | { | |
29975 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL))); | |
29976 | } | |
29977 | { | |
29978 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG))); | |
29979 | } | |
29980 | { | |
29981 | PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO))); | |
29982 | } | |
29983 | { | |
29984 | PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR))); | |
29985 | } | |
29986 | { | |
29987 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT))); | |
29988 | } | |
29989 | { | |
29990 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN))); | |
29991 | } | |
29992 | { | |
29993 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE))); | |
29994 | } | |
29995 | { | |
29996 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT))); | |
29997 | } | |
29998 | { | |
29999 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT))); | |
30000 | } | |
30001 | { | |
30002 | PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL))); | |
30003 | } | |
30004 | { | |
30005 | PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT))); | |
30006 | } | |
30007 | { | |
30008 | PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED))); | |
30009 | } | |
d55e5bfc | 30010 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
093d3ff1 RD |
30011 | { |
30012 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER))); | |
30013 | } | |
30014 | { | |
30015 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH))); | |
30016 | } | |
30017 | { | |
30018 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT))); | |
30019 | } | |
30020 | { | |
30021 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE))); | |
30022 | } | |
30023 | { | |
30024 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH))); | |
30025 | } | |
30026 | { | |
30027 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER))); | |
30028 | } | |
30029 | { | |
30030 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME))); | |
30031 | } | |
30032 | { | |
30033 | PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER))); | |
30034 | } | |
30035 | { | |
30036 | PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D))); | |
30037 | } | |
30038 | { | |
30039 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL))); | |
30040 | } | |
30041 | { | |
30042 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL))); | |
30043 | } | |
30044 | { | |
30045 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE))); | |
30046 | } | |
30047 | { | |
30048 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING))); | |
30049 | } | |
30050 | { | |
30051 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN))); | |
30052 | } | |
d55e5bfc RD |
30053 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
30054 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
30055 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
30056 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
30057 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); | |
30058 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
093d3ff1 RD |
30059 | { |
30060 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE))); | |
30061 | } | |
30062 | { | |
30063 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING))); | |
30064 | } | |
30065 | { | |
30066 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN))); | |
30067 | } | |
30068 | { | |
30069 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER))); | |
30070 | } | |
30071 | { | |
30072 | PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER))); | |
30073 | } | |
30074 | { | |
30075 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH))); | |
30076 | } | |
30077 | { | |
30078 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER))); | |
30079 | } | |
30080 | { | |
30081 | PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D))); | |
30082 | } | |
30083 | { | |
30084 | PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP))); | |
30085 | } | |
30086 | { | |
30087 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT))); | |
30088 | } | |
30089 | { | |
30090 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM))); | |
30091 | } | |
30092 | { | |
30093 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT))); | |
30094 | } | |
30095 | { | |
30096 | PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE))); | |
30097 | } | |
30098 | { | |
30099 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK))); | |
30100 | } | |
30101 | { | |
30102 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE))); | |
30103 | } | |
d55e5bfc | 30104 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
093d3ff1 RD |
30105 | { |
30106 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL))); | |
30107 | } | |
30108 | { | |
30109 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL))); | |
30110 | } | |
30111 | { | |
30112 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE))); | |
30113 | } | |
30114 | { | |
30115 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP))); | |
30116 | } | |
30117 | { | |
30118 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT))); | |
30119 | } | |
30120 | { | |
30121 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT))); | |
30122 | } | |
30123 | { | |
30124 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM))); | |
30125 | } | |
30126 | { | |
30127 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y))); | |
30128 | } | |
30129 | { | |
30130 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X))); | |
30131 | } | |
30132 | { | |
30133 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH))); | |
30134 | } | |
30135 | { | |
30136 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY))); | |
30137 | } | |
d55e5bfc RD |
30138 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
30139 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
30140 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); | |
30141 | ||
30142 | // Map renamed classes back to their common name for OOR | |
30143 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
30144 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
30145 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
30146 | ||
30147 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
30148 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
30149 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
30150 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
30151 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
30152 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
30153 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
30154 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); | |
30155 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
30156 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
30157 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
30158 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
30159 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
093d3ff1 RD |
30160 | { |
30161 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE))); | |
30162 | } | |
30163 | { | |
30164 | PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle))); | |
30165 | } | |
c1cb24a4 | 30166 | SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set); |
093d3ff1 RD |
30167 | { |
30168 | PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN))); | |
30169 | } | |
30170 | { | |
30171 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD))); | |
30172 | } | |
30173 | { | |
30174 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE))); | |
30175 | } | |
30176 | { | |
30177 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG))); | |
30178 | } | |
30179 | { | |
30180 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN))); | |
30181 | } | |
30182 | { | |
30183 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE))); | |
30184 | } | |
30185 | { | |
30186 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD))); | |
30187 | } | |
d55e5bfc RD |
30188 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
30189 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
30190 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
30191 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
30192 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
093d3ff1 RD |
30193 | { |
30194 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001))); | |
30195 | } | |
30196 | { | |
30197 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001))); | |
30198 | } | |
30199 | { | |
30200 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002))); | |
30201 | } | |
30202 | { | |
30203 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003))); | |
30204 | } | |
30205 | { | |
30206 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004))); | |
30207 | } | |
30208 | { | |
30209 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005))); | |
30210 | } | |
30211 | { | |
30212 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100))); | |
30213 | } | |
30214 | { | |
30215 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600))); | |
30216 | } | |
d55e5bfc RD |
30217 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
30218 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
093d3ff1 RD |
30219 | { |
30220 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE))); | |
30221 | } | |
30222 | { | |
30223 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW))); | |
30224 | } | |
30225 | { | |
30226 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE))); | |
30227 | } | |
30228 | { | |
30229 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER))); | |
30230 | } | |
30231 | { | |
30232 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM))); | |
30233 | } | |
30234 | { | |
30235 | PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT))); | |
30236 | } | |
30237 | { | |
30238 | PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE))); | |
30239 | } | |
30240 | { | |
30241 | PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER))); | |
30242 | } | |
30243 | { | |
30244 | PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE))); | |
30245 | } | |
30246 | { | |
30247 | PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL))); | |
30248 | } | |
30249 | { | |
30250 | PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE))); | |
30251 | } | |
30252 | { | |
30253 | PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL))); | |
30254 | } | |
30255 | { | |
30256 | PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO))); | |
30257 | } | |
30258 | { | |
30259 | PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR))); | |
30260 | } | |
30261 | { | |
30262 | PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT))); | |
30263 | } | |
30264 | { | |
30265 | PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT))); | |
30266 | } | |
30267 | { | |
30268 | PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY))); | |
30269 | } | |
30270 | { | |
30271 | PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE))); | |
30272 | } | |
30273 | { | |
30274 | PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE))); | |
30275 | } | |
30276 | { | |
30277 | PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER))); | |
30278 | } | |
30279 | { | |
30280 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR))); | |
30281 | } | |
30282 | { | |
30283 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED))); | |
30284 | } | |
30285 | { | |
30286 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR))); | |
30287 | } | |
30288 | { | |
30289 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT))); | |
30290 | } | |
30291 | { | |
30292 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS))); | |
30293 | } | |
30294 | { | |
30295 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT))); | |
30296 | } | |
30297 | { | |
30298 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM))); | |
30299 | } | |
30300 | { | |
30301 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST))); | |
30302 | } | |
30303 | { | |
30304 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST))); | |
30305 | } | |
30306 | { | |
30307 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO))); | |
30308 | } | |
30309 | { | |
30310 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT))); | |
30311 | } | |
30312 | { | |
30313 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE))); | |
30314 | } | |
30315 | { | |
30316 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT))); | |
30317 | } | |
30318 | { | |
30319 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS))); | |
30320 | } | |
30321 | { | |
30322 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT))); | |
30323 | } | |
30324 | { | |
30325 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM))); | |
30326 | } | |
30327 | { | |
30328 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST))); | |
30329 | } | |
30330 | { | |
30331 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST))); | |
30332 | } | |
30333 | { | |
30334 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO))); | |
30335 | } | |
d55e5bfc RD |
30336 | |
30337 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
30338 | ||
30339 | } | |
30340 |