]>
Commit | Line | Data |
---|---|---|
d55e5bfc RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
36ed4f51 | 3 | * Version 1.3.24 |
d55e5bfc RD |
4 | * |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
d55e5bfc RD |
12 | |
13 | #ifdef __cplusplus | |
14 | template<class T> class SwigValueWrapper { | |
15 | T *tt; | |
16 | public: | |
17 | SwigValueWrapper() : tt(0) { } | |
18 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
19 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
20 | ~SwigValueWrapper() { delete tt; } | |
21 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
22 | operator T&() const { return *tt; } | |
23 | T *operator&() { return tt; } | |
24 | private: | |
25 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
36ed4f51 | 26 | }; |
d55e5bfc RD |
27 | #endif |
28 | ||
29 | ||
36ed4f51 RD |
30 | #ifndef SWIG_TEMPLATE_DISAMBIGUATOR |
31 | # if defined(__SUNPRO_CC) | |
32 | # define SWIG_TEMPLATE_DISAMBIGUATOR template | |
33 | # else | |
34 | # define SWIG_TEMPLATE_DISAMBIGUATOR | |
35 | # endif | |
36 | #endif | |
d55e5bfc | 37 | |
d55e5bfc | 38 | |
36ed4f51 | 39 | #include <Python.h> |
d55e5bfc RD |
40 | |
41 | /*********************************************************************** | |
36ed4f51 | 42 | * swigrun.swg |
d55e5bfc | 43 | * |
36ed4f51 RD |
44 | * This file contains generic CAPI SWIG runtime support for pointer |
45 | * type checking. | |
d55e5bfc RD |
46 | * |
47 | ************************************************************************/ | |
48 | ||
36ed4f51 RD |
49 | /* This should only be incremented when either the layout of swig_type_info changes, |
50 | or for whatever reason, the runtime changes incompatibly */ | |
51 | #define SWIG_RUNTIME_VERSION "1" | |
d55e5bfc | 52 | |
36ed4f51 RD |
53 | /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ |
54 | #ifdef SWIG_TYPE_TABLE | |
55 | #define SWIG_QUOTE_STRING(x) #x | |
56 | #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) | |
57 | #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) | |
d55e5bfc | 58 | #else |
36ed4f51 | 59 | #define SWIG_TYPE_TABLE_NAME |
d55e5bfc RD |
60 | #endif |
61 | ||
36ed4f51 RD |
62 | #include <string.h> |
63 | ||
64 | #ifndef SWIGINLINE | |
65 | #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) | |
66 | # define SWIGINLINE inline | |
d55e5bfc | 67 | #else |
36ed4f51 RD |
68 | # define SWIGINLINE |
69 | #endif | |
70 | #endif | |
71 | ||
72 | /* | |
73 | You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for | |
74 | creating a static or dynamic library from the swig runtime code. | |
75 | In 99.9% of the cases, swig just needs to declare them as 'static'. | |
76 | ||
77 | But only do this if is strictly necessary, ie, if you have problems | |
78 | with your compiler or so. | |
79 | */ | |
80 | #ifndef SWIGRUNTIME | |
81 | #define SWIGRUNTIME static | |
82 | #endif | |
83 | #ifndef SWIGRUNTIMEINLINE | |
84 | #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE | |
d55e5bfc RD |
85 | #endif |
86 | ||
87 | #ifdef __cplusplus | |
88 | extern "C" { | |
89 | #endif | |
90 | ||
91 | typedef void *(*swig_converter_func)(void *); | |
92 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
93 | ||
94 | typedef struct swig_type_info { | |
95 | const char *name; | |
96 | swig_converter_func converter; | |
97 | const char *str; | |
98 | void *clientdata; | |
99 | swig_dycast_func dcast; | |
100 | struct swig_type_info *next; | |
101 | struct swig_type_info *prev; | |
102 | } swig_type_info; | |
103 | ||
36ed4f51 RD |
104 | /* |
105 | Compare two type names skipping the space characters, therefore | |
106 | "char*" == "char *" and "Class<int>" == "Class<int >", etc. | |
107 | ||
108 | Return 0 when the two name types are equivalent, as in | |
109 | strncmp, but skipping ' '. | |
110 | */ | |
111 | SWIGRUNTIME int | |
112 | SWIG_TypeNameComp(const char *f1, const char *l1, | |
113 | const char *f2, const char *l2) { | |
114 | for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { | |
115 | while ((*f1 == ' ') && (f1 != l1)) ++f1; | |
116 | while ((*f2 == ' ') && (f2 != l2)) ++f2; | |
117 | if (*f1 != *f2) return *f1 - *f2; | |
118 | } | |
119 | return (l1 - f1) - (l2 - f2); | |
120 | } | |
121 | ||
122 | /* | |
123 | Check type equivalence in a name list like <name1>|<name2>|... | |
124 | */ | |
125 | SWIGRUNTIME int | |
126 | SWIG_TypeEquiv(const char *nb, const char *tb) { | |
127 | int equiv = 0; | |
128 | const char* te = tb + strlen(tb); | |
129 | const char* ne = nb; | |
130 | while (!equiv && *ne) { | |
131 | for (nb = ne; *ne; ++ne) { | |
132 | if (*ne == '|') break; | |
133 | } | |
134 | equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0; | |
135 | if (*ne) ++ne; | |
136 | } | |
137 | return equiv; | |
138 | } | |
139 | ||
140 | /* | |
141 | Register a type mapping with the type-checking | |
142 | */ | |
143 | SWIGRUNTIME swig_type_info * | |
144 | SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) { | |
145 | swig_type_info *tc, *head, *ret, *next; | |
146 | /* Check to see if this type has already been registered */ | |
147 | tc = *tl; | |
148 | while (tc) { | |
149 | /* check simple type equivalence */ | |
150 | int typeequiv = (strcmp(tc->name, ti->name) == 0); | |
151 | /* check full type equivalence, resolving typedefs */ | |
152 | if (!typeequiv) { | |
153 | /* only if tc is not a typedef (no '|' on it) */ | |
154 | if (tc->str && ti->str && !strstr(tc->str,"|")) { | |
155 | typeequiv = SWIG_TypeEquiv(ti->str,tc->str); | |
156 | } | |
157 | } | |
158 | if (typeequiv) { | |
159 | /* Already exists in the table. Just add additional types to the list */ | |
160 | if (ti->clientdata) tc->clientdata = ti->clientdata; | |
161 | head = tc; | |
162 | next = tc->next; | |
163 | goto l1; | |
164 | } | |
165 | tc = tc->prev; | |
166 | } | |
167 | head = ti; | |
168 | next = 0; | |
169 | ||
170 | /* Place in list */ | |
171 | ti->prev = *tl; | |
172 | *tl = ti; | |
173 | ||
174 | /* Build linked lists */ | |
175 | l1: | |
176 | ret = head; | |
177 | tc = ti + 1; | |
178 | /* Patch up the rest of the links */ | |
179 | while (tc->name) { | |
180 | head->next = tc; | |
181 | tc->prev = head; | |
182 | head = tc; | |
183 | tc++; | |
184 | } | |
185 | if (next) next->prev = head; | |
186 | head->next = next; | |
187 | ||
188 | return ret; | |
189 | } | |
190 | ||
191 | /* | |
192 | Check the typename | |
193 | */ | |
194 | SWIGRUNTIME swig_type_info * | |
195 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { | |
196 | swig_type_info *s; | |
197 | if (!ty) return 0; /* Void pointer */ | |
198 | s = ty->next; /* First element always just a name */ | |
199 | do { | |
200 | if (strcmp(s->name,c) == 0) { | |
201 | if (s == ty->next) return s; | |
202 | /* Move s to the top of the linked list */ | |
203 | s->prev->next = s->next; | |
204 | if (s->next) { | |
205 | s->next->prev = s->prev; | |
206 | } | |
207 | /* Insert s as second element in the list */ | |
208 | s->next = ty->next; | |
209 | if (ty->next) ty->next->prev = s; | |
210 | ty->next = s; | |
211 | s->prev = ty; | |
212 | return s; | |
213 | } | |
214 | s = s->next; | |
215 | } while (s && (s != ty->next)); | |
216 | return 0; | |
217 | } | |
218 | ||
219 | /* | |
220 | Cast a pointer up an inheritance hierarchy | |
221 | */ | |
222 | SWIGRUNTIMEINLINE void * | |
223 | SWIG_TypeCast(swig_type_info *ty, void *ptr) { | |
224 | return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); | |
225 | } | |
226 | ||
227 | /* | |
228 | Dynamic pointer casting. Down an inheritance hierarchy | |
229 | */ | |
230 | SWIGRUNTIME swig_type_info * | |
231 | SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { | |
232 | swig_type_info *lastty = ty; | |
233 | if (!ty || !ty->dcast) return ty; | |
234 | while (ty && (ty->dcast)) { | |
235 | ty = (*ty->dcast)(ptr); | |
236 | if (ty) lastty = ty; | |
237 | } | |
238 | return lastty; | |
239 | } | |
240 | ||
241 | /* | |
242 | Return the name associated with this type | |
243 | */ | |
244 | SWIGRUNTIMEINLINE const char * | |
245 | SWIG_TypeName(const swig_type_info *ty) { | |
246 | return ty->name; | |
247 | } | |
248 | ||
249 | /* | |
250 | Return the pretty name associated with this type, | |
251 | that is an unmangled type name in a form presentable to the user. | |
252 | */ | |
253 | SWIGRUNTIME const char * | |
254 | SWIG_TypePrettyName(const swig_type_info *type) { | |
255 | /* The "str" field contains the equivalent pretty names of the | |
256 | type, separated by vertical-bar characters. We choose | |
257 | to print the last name, as it is often (?) the most | |
258 | specific. */ | |
259 | if (type->str != NULL) { | |
260 | const char *last_name = type->str; | |
261 | const char *s; | |
262 | for (s = type->str; *s; s++) | |
263 | if (*s == '|') last_name = s+1; | |
264 | return last_name; | |
265 | } | |
266 | else | |
267 | return type->name; | |
268 | } | |
269 | ||
270 | /* | |
271 | Search for a swig_type_info structure | |
272 | */ | |
273 | SWIGRUNTIME swig_type_info * | |
274 | SWIG_TypeQueryTL(swig_type_info *tl, const char *name) { | |
275 | swig_type_info *ty = tl; | |
276 | while (ty) { | |
277 | if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty; | |
278 | if (ty->name && (strcmp(name,ty->name) == 0)) return ty; | |
279 | ty = ty->prev; | |
280 | } | |
281 | return 0; | |
282 | } | |
283 | ||
284 | /* | |
285 | Set the clientdata field for a type | |
286 | */ | |
287 | SWIGRUNTIME void | |
288 | SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) { | |
289 | swig_type_info *tc, *equiv; | |
290 | if (ti->clientdata) return; | |
291 | /* if (ti->clientdata == clientdata) return; */ | |
292 | ti->clientdata = clientdata; | |
293 | equiv = ti->next; | |
294 | while (equiv) { | |
295 | if (!equiv->converter) { | |
296 | tc = tl; | |
297 | while (tc) { | |
298 | if ((strcmp(tc->name, equiv->name) == 0)) | |
299 | SWIG_TypeClientDataTL(tl,tc,clientdata); | |
300 | tc = tc->prev; | |
301 | } | |
302 | } | |
303 | equiv = equiv->next; | |
304 | } | |
305 | } | |
306 | ||
307 | /* | |
308 | Pack binary data into a string | |
309 | */ | |
310 | SWIGRUNTIME char * | |
311 | SWIG_PackData(char *c, void *ptr, size_t sz) { | |
312 | static char hex[17] = "0123456789abcdef"; | |
313 | unsigned char *u = (unsigned char *) ptr; | |
314 | const unsigned char *eu = u + sz; | |
315 | register unsigned char uu; | |
316 | for (; u != eu; ++u) { | |
317 | uu = *u; | |
318 | *(c++) = hex[(uu & 0xf0) >> 4]; | |
319 | *(c++) = hex[uu & 0xf]; | |
320 | } | |
321 | return c; | |
322 | } | |
323 | ||
324 | /* | |
325 | Unpack binary data from a string | |
326 | */ | |
327 | SWIGRUNTIME const char * | |
328 | SWIG_UnpackData(const char *c, void *ptr, size_t sz) { | |
329 | register unsigned char *u = (unsigned char *) ptr; | |
330 | register const unsigned char *eu = u + sz; | |
331 | for (; u != eu; ++u) { | |
332 | register int d = *(c++); | |
333 | register unsigned char uu = 0; | |
334 | if ((d >= '0') && (d <= '9')) | |
335 | uu = ((d - '0') << 4); | |
336 | else if ((d >= 'a') && (d <= 'f')) | |
337 | uu = ((d - ('a'-10)) << 4); | |
338 | else | |
339 | return (char *) 0; | |
340 | d = *(c++); | |
341 | if ((d >= '0') && (d <= '9')) | |
342 | uu |= (d - '0'); | |
343 | else if ((d >= 'a') && (d <= 'f')) | |
344 | uu |= (d - ('a'-10)); | |
345 | else | |
346 | return (char *) 0; | |
347 | *u = uu; | |
348 | } | |
349 | return c; | |
350 | } | |
351 | ||
352 | /* | |
353 | This function will propagate the clientdata field of type to any new | |
354 | swig_type_info structures that have been added into the list of | |
355 | equivalent types. It is like calling SWIG_TypeClientData(type, | |
356 | clientdata) a second time. | |
357 | */ | |
358 | SWIGRUNTIME void | |
359 | SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) { | |
360 | swig_type_info *equiv = type->next; | |
361 | swig_type_info *tc; | |
362 | if (!type->clientdata) return; | |
363 | while (equiv) { | |
364 | if (!equiv->converter) { | |
365 | tc = tl; | |
366 | while (tc) { | |
367 | if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata) | |
368 | SWIG_TypeClientDataTL(tl,tc, type->clientdata); | |
369 | tc = tc->prev; | |
370 | } | |
371 | } | |
372 | equiv = equiv->next; | |
373 | } | |
374 | } | |
d55e5bfc | 375 | |
36ed4f51 RD |
376 | /* |
377 | Pack 'void *' into a string buffer. | |
378 | */ | |
379 | SWIGRUNTIME char * | |
380 | SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { | |
381 | char *r = buff; | |
382 | if ((2*sizeof(void *) + 2) > bsz) return 0; | |
383 | *(r++) = '_'; | |
384 | r = SWIG_PackData(r,&ptr,sizeof(void *)); | |
385 | if (strlen(name) + 1 > (bsz - (r - buff))) return 0; | |
386 | strcpy(r,name); | |
387 | return buff; | |
388 | } | |
389 | ||
390 | SWIGRUNTIME const char * | |
391 | SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { | |
392 | if (*c != '_') { | |
393 | if (strcmp(c,"NULL") == 0) { | |
394 | *ptr = (void *) 0; | |
395 | return name; | |
396 | } else { | |
397 | return 0; | |
398 | } | |
399 | } | |
400 | return SWIG_UnpackData(++c,ptr,sizeof(void *)); | |
401 | } | |
402 | ||
403 | SWIGRUNTIME char * | |
404 | SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { | |
405 | char *r = buff; | |
406 | size_t lname = (name ? strlen(name) : 0); | |
407 | if ((2*sz + 2 + lname) > bsz) return 0; | |
408 | *(r++) = '_'; | |
409 | r = SWIG_PackData(r,ptr,sz); | |
410 | if (lname) { | |
411 | strncpy(r,name,lname+1); | |
412 | } else { | |
413 | *r = 0; | |
414 | } | |
415 | return buff; | |
416 | } | |
d55e5bfc | 417 | |
36ed4f51 RD |
418 | SWIGRUNTIME const char * |
419 | SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { | |
420 | if (*c != '_') { | |
421 | if (strcmp(c,"NULL") == 0) { | |
422 | memset(ptr,0,sz); | |
423 | return name; | |
424 | } else { | |
425 | return 0; | |
426 | } | |
427 | } | |
428 | return SWIG_UnpackData(++c,ptr,sz); | |
429 | } | |
d55e5bfc RD |
430 | |
431 | #ifdef __cplusplus | |
432 | } | |
433 | #endif | |
434 | ||
435 | /*********************************************************************** | |
36ed4f51 RD |
436 | * common.swg |
437 | * | |
438 | * This file contains generic SWIG runtime support for pointer | |
439 | * type checking as well as a few commonly used macros to control | |
440 | * external linkage. | |
d55e5bfc | 441 | * |
36ed4f51 | 442 | * Author : David Beazley (beazley@cs.uchicago.edu) |
d55e5bfc | 443 | * |
36ed4f51 RD |
444 | * Copyright (c) 1999-2000, The University of Chicago |
445 | * | |
446 | * This file may be freely redistributed without license or fee provided | |
447 | * this copyright message remains intact. | |
d55e5bfc RD |
448 | ************************************************************************/ |
449 | ||
36ed4f51 RD |
450 | |
451 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
452 | # if !defined(STATIC_LINKED) | |
453 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
454 | # else | |
455 | # define SWIGEXPORT(a) a | |
456 | # endif | |
457 | #else | |
458 | # define SWIGEXPORT(a) a | |
459 | #endif | |
460 | ||
d55e5bfc RD |
461 | #ifdef __cplusplus |
462 | extern "C" { | |
463 | #endif | |
464 | ||
d55e5bfc | 465 | |
36ed4f51 | 466 | /*************************************************************************/ |
d55e5bfc | 467 | |
d55e5bfc | 468 | |
36ed4f51 | 469 | /* The static type info list */ |
d55e5bfc | 470 | |
36ed4f51 RD |
471 | static swig_type_info *swig_type_list = 0; |
472 | static swig_type_info **swig_type_list_handle = &swig_type_list; | |
473 | ||
d55e5bfc | 474 | |
36ed4f51 RD |
475 | /* Register a type mapping with the type-checking */ |
476 | static swig_type_info * | |
477 | SWIG_TypeRegister(swig_type_info *ti) { | |
478 | return SWIG_TypeRegisterTL(swig_type_list_handle, ti); | |
479 | } | |
d55e5bfc | 480 | |
36ed4f51 RD |
481 | /* Search for a swig_type_info structure */ |
482 | static swig_type_info * | |
483 | SWIG_TypeQuery(const char *name) { | |
484 | return SWIG_TypeQueryTL(*swig_type_list_handle, name); | |
485 | } | |
d55e5bfc | 486 | |
36ed4f51 RD |
487 | /* Set the clientdata field for a type */ |
488 | static void | |
489 | SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { | |
490 | SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata); | |
491 | } | |
d55e5bfc | 492 | |
36ed4f51 RD |
493 | /* This function will propagate the clientdata field of type to |
494 | * any new swig_type_info structures that have been added into the list | |
495 | * of equivalent types. It is like calling | |
496 | * SWIG_TypeClientData(type, clientdata) a second time. | |
497 | */ | |
498 | static void | |
499 | SWIG_PropagateClientData(swig_type_info *type) { | |
500 | SWIG_PropagateClientDataTL(*swig_type_list_handle, type); | |
501 | } | |
d55e5bfc RD |
502 | |
503 | #ifdef __cplusplus | |
504 | } | |
505 | #endif | |
506 | ||
36ed4f51 RD |
507 | /* ----------------------------------------------------------------------------- |
508 | * SWIG API. Portion that goes into the runtime | |
509 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 510 | |
36ed4f51 RD |
511 | #ifdef __cplusplus |
512 | extern "C" { | |
513 | #endif | |
c370783e | 514 | |
36ed4f51 RD |
515 | /* ----------------------------------------------------------------------------- |
516 | * for internal method declarations | |
517 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 518 | |
36ed4f51 RD |
519 | #ifndef SWIGINTERN |
520 | #define SWIGINTERN static | |
521 | #endif | |
d55e5bfc | 522 | |
36ed4f51 RD |
523 | #ifndef SWIGINTERNSHORT |
524 | #ifdef __cplusplus | |
525 | #define SWIGINTERNSHORT static inline | |
526 | #else /* C case */ | |
527 | #define SWIGINTERNSHORT static | |
528 | #endif /* __cplusplus */ | |
529 | #endif | |
d55e5bfc RD |
530 | |
531 | ||
36ed4f51 RD |
532 | /* |
533 | Exception handling in wrappers | |
534 | */ | |
535 | #define SWIG_fail goto fail | |
536 | #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) | |
537 | #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0) | |
538 | #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) | |
539 | #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) | |
540 | #define SWIG_null_ref(type) SWIG_Python_NullRef(type) | |
541 | ||
542 | /* | |
543 | Contract support | |
544 | */ | |
545 | #define SWIG_contract_assert(expr, msg) \ | |
546 | if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else | |
547 | ||
548 | /* ----------------------------------------------------------------------------- | |
549 | * Constant declarations | |
550 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 551 | |
36ed4f51 RD |
552 | /* Constant Types */ |
553 | #define SWIG_PY_INT 1 | |
554 | #define SWIG_PY_FLOAT 2 | |
555 | #define SWIG_PY_STRING 3 | |
556 | #define SWIG_PY_POINTER 4 | |
557 | #define SWIG_PY_BINARY 5 | |
558 | ||
559 | /* Constant information structure */ | |
560 | typedef struct swig_const_info { | |
561 | int type; | |
562 | char *name; | |
563 | long lvalue; | |
564 | double dvalue; | |
565 | void *pvalue; | |
566 | swig_type_info **ptype; | |
567 | } swig_const_info; | |
d55e5bfc | 568 | |
c370783e | 569 | |
36ed4f51 RD |
570 | /* ----------------------------------------------------------------------------- |
571 | * Alloc. memory flags | |
572 | * ----------------------------------------------------------------------------- */ | |
c370783e RD |
573 | #define SWIG_OLDOBJ 1 |
574 | #define SWIG_NEWOBJ SWIG_OLDOBJ + 1 | |
575 | #define SWIG_PYSTR SWIG_NEWOBJ + 1 | |
d55e5bfc RD |
576 | |
577 | #ifdef __cplusplus | |
36ed4f51 RD |
578 | } |
579 | #endif | |
d55e5bfc | 580 | |
d55e5bfc | 581 | |
36ed4f51 RD |
582 | /*********************************************************************** |
583 | * pyrun.swg | |
584 | * | |
585 | * This file contains the runtime support for Python modules | |
586 | * and includes code for managing global variables and pointer | |
587 | * type checking. | |
588 | * | |
589 | * Author : David Beazley (beazley@cs.uchicago.edu) | |
590 | ************************************************************************/ | |
d55e5bfc | 591 | |
36ed4f51 RD |
592 | /* Common SWIG API */ |
593 | #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
594 | #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags) | |
595 | #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
596 | ||
d55e5bfc | 597 | |
36ed4f51 RD |
598 | /* Python-specific SWIG API */ |
599 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
600 | #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
d55e5bfc | 601 | |
d55e5bfc | 602 | |
36ed4f51 RD |
603 | /* ----------------------------------------------------------------------------- |
604 | * Pointer declarations | |
605 | * ----------------------------------------------------------------------------- */ | |
606 | /* | |
607 | Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent | |
608 | C/C++ pointers in the python side. Very useful for debugging, but | |
609 | not always safe. | |
610 | */ | |
611 | #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES) | |
612 | # define SWIG_COBJECT_TYPES | |
613 | #endif | |
d55e5bfc | 614 | |
36ed4f51 RD |
615 | /* Flags for pointer conversion */ |
616 | #define SWIG_POINTER_EXCEPTION 0x1 | |
617 | #define SWIG_POINTER_DISOWN 0x2 | |
d55e5bfc | 618 | |
d55e5bfc | 619 | |
36ed4f51 RD |
620 | #ifdef __cplusplus |
621 | extern "C" { | |
622 | #endif | |
d55e5bfc | 623 | |
36ed4f51 RD |
624 | /* ----------------------------------------------------------------------------- |
625 | * Create a new pointer string | |
626 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 627 | |
36ed4f51 RD |
628 | #ifndef SWIG_BUFFER_SIZE |
629 | #define SWIG_BUFFER_SIZE 1024 | |
630 | #endif | |
d55e5bfc | 631 | |
36ed4f51 RD |
632 | #if defined(SWIG_COBJECT_TYPES) |
633 | #if !defined(SWIG_COBJECT_PYTHON) | |
634 | /* ----------------------------------------------------------------------------- | |
635 | * Implements a simple Swig Object type, and use it instead of PyCObject | |
636 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 637 | |
36ed4f51 RD |
638 | typedef struct { |
639 | PyObject_HEAD | |
640 | void *ptr; | |
641 | const char *desc; | |
642 | } PySwigObject; | |
d55e5bfc | 643 | |
36ed4f51 | 644 | /* Declarations for objects of type PySwigObject */ |
d55e5bfc | 645 | |
36ed4f51 RD |
646 | SWIGRUNTIME int |
647 | PySwigObject_print(PySwigObject *v, FILE *fp, int flags) | |
d55e5bfc | 648 | { |
36ed4f51 RD |
649 | char result[SWIG_BUFFER_SIZE]; |
650 | if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { | |
651 | fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp); | |
652 | return 0; | |
c370783e | 653 | } else { |
36ed4f51 | 654 | return 1; |
c370783e | 655 | } |
d55e5bfc | 656 | } |
36ed4f51 RD |
657 | |
658 | SWIGRUNTIME PyObject * | |
659 | PySwigObject_repr(PySwigObject *v) | |
c370783e | 660 | { |
36ed4f51 RD |
661 | char result[SWIG_BUFFER_SIZE]; |
662 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
663 | PyString_FromFormat("<Swig Object at %s>", result) : 0; | |
c370783e | 664 | } |
d55e5bfc | 665 | |
36ed4f51 RD |
666 | SWIGRUNTIME PyObject * |
667 | PySwigObject_str(PySwigObject *v) | |
d55e5bfc | 668 | { |
36ed4f51 RD |
669 | char result[SWIG_BUFFER_SIZE]; |
670 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
671 | PyString_FromString(result) : 0; | |
d55e5bfc RD |
672 | } |
673 | ||
36ed4f51 RD |
674 | SWIGRUNTIME PyObject * |
675 | PySwigObject_long(PySwigObject *v) | |
d55e5bfc | 676 | { |
36ed4f51 | 677 | return PyLong_FromUnsignedLong((unsigned long) v->ptr); |
d55e5bfc RD |
678 | } |
679 | ||
36ed4f51 RD |
680 | SWIGRUNTIME PyObject * |
681 | PySwigObject_oct(PySwigObject *v) | |
c370783e | 682 | { |
36ed4f51 RD |
683 | char buf[100]; |
684 | unsigned long x = (unsigned long)v->ptr; | |
685 | if (x == 0) | |
686 | strcpy(buf, "0"); | |
687 | else | |
688 | PyOS_snprintf(buf, sizeof(buf), "0%lo", x); | |
689 | return PyString_FromString(buf); | |
c370783e | 690 | } |
d55e5bfc | 691 | |
36ed4f51 RD |
692 | SWIGRUNTIME PyObject * |
693 | PySwigObject_hex(PySwigObject *v) | |
d55e5bfc | 694 | { |
36ed4f51 RD |
695 | char buf[100]; |
696 | PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr); | |
697 | return PyString_FromString(buf); | |
d55e5bfc RD |
698 | } |
699 | ||
36ed4f51 RD |
700 | SWIGRUNTIME int |
701 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
d55e5bfc | 702 | { |
36ed4f51 RD |
703 | int c = strcmp(v->desc, w->desc); |
704 | if (c) { | |
705 | return c; | |
706 | } else { | |
707 | void *i = v->ptr; | |
708 | void *j = w->ptr; | |
709 | return (i < j) ? -1 : (i > j) ? 1 : 0; | |
c370783e | 710 | } |
c370783e RD |
711 | } |
712 | ||
36ed4f51 RD |
713 | SWIGRUNTIME void |
714 | PySwigObject_dealloc(PySwigObject *self) | |
c370783e | 715 | { |
36ed4f51 | 716 | PyObject_DEL(self); |
d55e5bfc RD |
717 | } |
718 | ||
36ed4f51 RD |
719 | SWIGRUNTIME PyTypeObject* |
720 | PySwigObject_GetType() { | |
721 | static char PySwigObject_Type__doc__[] = | |
722 | "Swig object carries a C/C++ instance pointer"; | |
c370783e | 723 | |
36ed4f51 RD |
724 | static PyNumberMethods PySwigObject_as_number = { |
725 | (binaryfunc)0, /*nb_add*/ | |
726 | (binaryfunc)0, /*nb_subtract*/ | |
727 | (binaryfunc)0, /*nb_multiply*/ | |
728 | (binaryfunc)0, /*nb_divide*/ | |
729 | (binaryfunc)0, /*nb_remainder*/ | |
730 | (binaryfunc)0, /*nb_divmod*/ | |
731 | (ternaryfunc)0,/*nb_power*/ | |
732 | (unaryfunc)0, /*nb_negative*/ | |
733 | (unaryfunc)0, /*nb_positive*/ | |
734 | (unaryfunc)0, /*nb_absolute*/ | |
735 | (inquiry)0, /*nb_nonzero*/ | |
736 | 0, /*nb_invert*/ | |
737 | 0, /*nb_lshift*/ | |
738 | 0, /*nb_rshift*/ | |
739 | 0, /*nb_and*/ | |
740 | 0, /*nb_xor*/ | |
741 | 0, /*nb_or*/ | |
742 | (coercion)0, /*nb_coerce*/ | |
743 | (unaryfunc)PySwigObject_long, /*nb_int*/ | |
744 | (unaryfunc)PySwigObject_long, /*nb_long*/ | |
745 | (unaryfunc)0, /*nb_float*/ | |
746 | (unaryfunc)PySwigObject_oct, /*nb_oct*/ | |
747 | (unaryfunc)PySwigObject_hex, /*nb_hex*/ | |
748 | #if PY_VERSION_HEX >= 0x02000000 | |
749 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ | |
750 | #endif | |
751 | }; | |
752 | ||
753 | static int type_init = 0; | |
754 | static PyTypeObject PySwigObject_Type; | |
755 | ||
756 | if (!type_init) { | |
757 | PyTypeObject tmp = { | |
758 | PyObject_HEAD_INIT(&PyType_Type) | |
759 | 0, /*ob_size*/ | |
760 | "PySwigObject", /*tp_name*/ | |
761 | sizeof(PySwigObject), /*tp_basicsize*/ | |
762 | 0, /*tp_itemsize*/ | |
763 | /* methods */ | |
764 | (destructor)PySwigObject_dealloc, /*tp_dealloc*/ | |
765 | (printfunc)PySwigObject_print, /*tp_print*/ | |
766 | (getattrfunc)0, /*tp_getattr*/ | |
767 | (setattrfunc)0, /*tp_setattr*/ | |
768 | (cmpfunc)PySwigObject_compare, /*tp_compare*/ | |
769 | (reprfunc)PySwigObject_repr, /*tp_repr*/ | |
770 | &PySwigObject_as_number, /*tp_as_number*/ | |
771 | 0, /*tp_as_sequence*/ | |
772 | 0, /*tp_as_mapping*/ | |
773 | (hashfunc)0, /*tp_hash*/ | |
774 | (ternaryfunc)0, /*tp_call*/ | |
775 | (reprfunc)PySwigObject_str, /*tp_str*/ | |
776 | /* Space for future expansion */ | |
777 | 0L,0L,0L,0L, | |
778 | PySwigObject_Type__doc__, /* Documentation string */ | |
779 | #if PY_VERSION_HEX >= 0x02000000 | |
780 | 0, /* tp_traverse */ | |
781 | 0, /* tp_clear */ | |
782 | #endif | |
783 | #if PY_VERSION_HEX >= 0x02010000 | |
784 | 0, /* tp_richcompare */ | |
785 | 0, /* tp_weaklistoffset */ | |
786 | #endif | |
787 | #if PY_VERSION_HEX >= 0x02020000 | |
788 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
789 | #endif | |
790 | #if PY_VERSION_HEX >= 0x02030000 | |
791 | 0, /* tp_del */ | |
792 | #endif | |
793 | #ifdef COUNT_ALLOCS | |
794 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
795 | #endif | |
796 | }; | |
797 | ||
798 | PySwigObject_Type = tmp; | |
799 | type_init = 1; | |
800 | } | |
801 | ||
802 | return &PySwigObject_Type; | |
803 | } | |
804 | ||
805 | SWIGRUNTIME PyObject * | |
806 | PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) | |
c370783e | 807 | { |
36ed4f51 RD |
808 | PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType()); |
809 | if (self == NULL) return NULL; | |
810 | self->ptr = ptr; | |
811 | self->desc = desc; | |
812 | return (PyObject *)self; | |
c370783e | 813 | } |
d55e5bfc | 814 | |
36ed4f51 RD |
815 | SWIGRUNTIMEINLINE void * |
816 | PySwigObject_AsVoidPtr(PyObject *self) | |
817 | { | |
818 | return ((PySwigObject *)self)->ptr; | |
819 | } | |
c370783e | 820 | |
36ed4f51 RD |
821 | SWIGRUNTIMEINLINE const char * |
822 | PySwigObject_GetDesc(PyObject *self) | |
823 | { | |
824 | return ((PySwigObject *)self)->desc; | |
825 | } | |
d55e5bfc | 826 | |
36ed4f51 RD |
827 | SWIGRUNTIMEINLINE int |
828 | PySwigObject_Check(PyObject *op) { | |
829 | return ((op)->ob_type == PySwigObject_GetType()) | |
830 | || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); | |
831 | } | |
d55e5bfc | 832 | |
36ed4f51 RD |
833 | /* ----------------------------------------------------------------------------- |
834 | * Implements a simple Swig Packed type, and use it instead of string | |
835 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 836 | |
36ed4f51 RD |
837 | typedef struct { |
838 | PyObject_HEAD | |
839 | void *pack; | |
840 | const char *desc; | |
841 | size_t size; | |
842 | } PySwigPacked; | |
c370783e | 843 | |
36ed4f51 RD |
844 | SWIGRUNTIME int |
845 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) | |
d55e5bfc | 846 | { |
36ed4f51 RD |
847 | char result[SWIG_BUFFER_SIZE]; |
848 | fputs("<Swig Packed ", fp); | |
849 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
850 | fputs("at ", fp); | |
851 | fputs(result, fp); | |
852 | } | |
853 | fputs(v->desc,fp); | |
854 | fputs(">", fp); | |
855 | return 0; | |
856 | } | |
857 | ||
858 | SWIGRUNTIME PyObject * | |
859 | PySwigPacked_repr(PySwigPacked *v) | |
860 | { | |
861 | char result[SWIG_BUFFER_SIZE]; | |
862 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
863 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc); | |
864 | } else { | |
865 | return PyString_FromFormat("<Swig Packed %s>", v->desc); | |
866 | } | |
d55e5bfc RD |
867 | } |
868 | ||
36ed4f51 RD |
869 | SWIGRUNTIME PyObject * |
870 | PySwigPacked_str(PySwigPacked *v) | |
871 | { | |
872 | char result[SWIG_BUFFER_SIZE]; | |
873 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ | |
874 | return PyString_FromFormat("%s%s", result, v->desc); | |
875 | } else { | |
876 | return PyString_FromFormat("%s", v->desc); | |
877 | } | |
878 | } | |
d55e5bfc | 879 | |
36ed4f51 RD |
880 | SWIGRUNTIME int |
881 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
d55e5bfc | 882 | { |
36ed4f51 RD |
883 | int c = strcmp(v->desc, w->desc); |
884 | if (c) { | |
885 | return c; | |
886 | } else { | |
887 | size_t i = v->size; | |
888 | size_t j = w->size; | |
889 | int s = (i < j) ? -1 : (i > j) ? 1 : 0; | |
890 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); | |
d55e5bfc | 891 | } |
c370783e RD |
892 | } |
893 | ||
36ed4f51 RD |
894 | SWIGRUNTIME void |
895 | PySwigPacked_dealloc(PySwigPacked *self) | |
c370783e | 896 | { |
36ed4f51 RD |
897 | free(self->pack); |
898 | PyObject_DEL(self); | |
d55e5bfc RD |
899 | } |
900 | ||
36ed4f51 RD |
901 | SWIGRUNTIME PyTypeObject* |
902 | PySwigPacked_GetType() { | |
903 | static char PySwigPacked_Type__doc__[] = | |
904 | "Swig object carries a C/C++ instance pointer"; | |
905 | static int type_init = 0; | |
906 | ||
907 | static PyTypeObject PySwigPacked_Type; | |
908 | if (!type_init) { | |
909 | PyTypeObject tmp = { | |
910 | PyObject_HEAD_INIT(&PyType_Type) | |
911 | 0, /*ob_size*/ | |
912 | "PySwigPacked", /*tp_name*/ | |
913 | sizeof(PySwigPacked), /*tp_basicsize*/ | |
914 | 0, /*tp_itemsize*/ | |
915 | /* methods */ | |
916 | (destructor)PySwigPacked_dealloc, /*tp_dealloc*/ | |
917 | (printfunc)PySwigPacked_print, /*tp_print*/ | |
918 | (getattrfunc)0, /*tp_getattr*/ | |
919 | (setattrfunc)0, /*tp_setattr*/ | |
920 | (cmpfunc)PySwigPacked_compare, /*tp_compare*/ | |
921 | (reprfunc)PySwigPacked_repr, /*tp_repr*/ | |
922 | 0, /*tp_as_number*/ | |
923 | 0, /*tp_as_sequence*/ | |
924 | 0, /*tp_as_mapping*/ | |
925 | (hashfunc)0, /*tp_hash*/ | |
926 | (ternaryfunc)0, /*tp_call*/ | |
927 | (reprfunc)PySwigPacked_str, /*tp_str*/ | |
928 | /* Space for future expansion */ | |
929 | 0L,0L,0L,0L, | |
930 | PySwigPacked_Type__doc__, /* Documentation string */ | |
931 | #if PY_VERSION_HEX >= 0x02000000 | |
932 | 0, /* tp_traverse */ | |
933 | 0, /* tp_clear */ | |
934 | #endif | |
935 | #if PY_VERSION_HEX >= 0x02010000 | |
936 | 0, /* tp_richcompare */ | |
937 | 0, /* tp_weaklistoffset */ | |
938 | #endif | |
939 | #if PY_VERSION_HEX >= 0x02020000 | |
940 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
941 | #endif | |
942 | #if PY_VERSION_HEX >= 0x02030000 | |
943 | 0, /* tp_del */ | |
944 | #endif | |
945 | #ifdef COUNT_ALLOCS | |
946 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
947 | #endif | |
948 | }; | |
d55e5bfc | 949 | |
36ed4f51 RD |
950 | PySwigPacked_Type = tmp; |
951 | type_init = 1; | |
952 | } | |
953 | ||
954 | ||
d55e5bfc | 955 | |
36ed4f51 RD |
956 | return &PySwigPacked_Type; |
957 | } | |
d55e5bfc | 958 | |
36ed4f51 RD |
959 | SWIGRUNTIME PyObject * |
960 | PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) | |
961 | { | |
962 | PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType()); | |
963 | if (self == NULL) { | |
964 | return NULL; | |
965 | } else { | |
966 | void *pack = malloc(size); | |
967 | memcpy(pack, ptr, size); | |
968 | self->pack = pack; | |
969 | self->desc = desc; | |
970 | self->size = size; | |
971 | return (PyObject *) self; | |
972 | } | |
973 | } | |
d55e5bfc | 974 | |
36ed4f51 RD |
975 | SWIGRUNTIMEINLINE const char * |
976 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) | |
977 | { | |
978 | PySwigPacked *self = (PySwigPacked *)obj; | |
979 | if (self->size != size) return 0; | |
980 | memcpy(ptr, self->pack, size); | |
981 | return self->desc; | |
982 | } | |
d55e5bfc | 983 | |
36ed4f51 RD |
984 | SWIGRUNTIMEINLINE const char * |
985 | PySwigPacked_GetDesc(PyObject *self) | |
d55e5bfc | 986 | { |
36ed4f51 RD |
987 | return ((PySwigPacked *)self)->desc; |
988 | } | |
d55e5bfc | 989 | |
36ed4f51 RD |
990 | SWIGRUNTIMEINLINE int |
991 | PySwigPacked_Check(PyObject *op) { | |
992 | return ((op)->ob_type == PySwigPacked_GetType()) | |
993 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); | |
994 | } | |
d55e5bfc | 995 | |
36ed4f51 RD |
996 | #else |
997 | /* ----------------------------------------------------------------------------- | |
998 | * Use the old Python PyCObject instead of PySwigObject | |
999 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 1000 | |
36ed4f51 RD |
1001 | #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj) |
1002 | #define PySwigObject_Check(obj) PyCObject_Check(obj) | |
1003 | #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj) | |
1004 | #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL) | |
d55e5bfc | 1005 | |
36ed4f51 | 1006 | #endif |
d55e5bfc | 1007 | |
36ed4f51 | 1008 | #endif |
d55e5bfc | 1009 | |
36ed4f51 RD |
1010 | /* ----------------------------------------------------------------------------- |
1011 | * errors manipulation | |
1012 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 1013 | |
36ed4f51 RD |
1014 | SWIGRUNTIME void |
1015 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
1016 | { | |
1017 | if (type) { | |
1018 | #if defined(SWIG_COBJECT_TYPES) | |
1019 | if (PySwigObject_Check(obj)) { | |
1020 | const char *otype = (const char *) PySwigObject_GetDesc(obj); | |
1021 | if (otype) { | |
1022 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", | |
1023 | type, otype); | |
1024 | return; | |
1025 | } | |
1026 | } else | |
1027 | #endif | |
1028 | { | |
1029 | const char *otype = (obj ? obj->ob_type->tp_name : 0); | |
1030 | if (otype) { | |
1031 | PyObject *str = PyObject_Str(obj); | |
1032 | const char *cstr = str ? PyString_AsString(str) : 0; | |
1033 | if (cstr) { | |
1034 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", | |
1035 | type, otype, cstr); | |
1036 | } else { | |
1037 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", | |
1038 | type, otype); | |
1039 | } | |
66af7a75 RD |
1040 | if (str) |
1041 | Py_DECREF(str); | |
36ed4f51 RD |
1042 | return; |
1043 | } | |
1044 | } | |
1045 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
1046 | } else { | |
1047 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
1048 | } | |
1049 | } | |
d55e5bfc | 1050 | |
36ed4f51 RD |
1051 | SWIGRUNTIMEINLINE void |
1052 | SWIG_Python_NullRef(const char *type) | |
d55e5bfc | 1053 | { |
36ed4f51 RD |
1054 | if (type) { |
1055 | PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type); | |
1056 | } else { | |
1057 | PyErr_Format(PyExc_TypeError, "null reference was received"); | |
1058 | } | |
1059 | } | |
d55e5bfc | 1060 | |
36ed4f51 RD |
1061 | SWIGRUNTIME int |
1062 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
1063 | { | |
1064 | if (PyErr_Occurred()) { | |
1065 | PyObject *type = 0; | |
1066 | PyObject *value = 0; | |
1067 | PyObject *traceback = 0; | |
1068 | PyErr_Fetch(&type, &value, &traceback); | |
1069 | if (value) { | |
1070 | PyObject *old_str = PyObject_Str(value); | |
1071 | Py_XINCREF(type); | |
1072 | PyErr_Clear(); | |
1073 | if (infront) { | |
1074 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
1075 | } else { | |
1076 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
1077 | } | |
1078 | Py_DECREF(old_str); | |
1079 | } | |
1080 | return 1; | |
1081 | } else { | |
1082 | return 0; | |
1083 | } | |
1084 | } | |
d55e5bfc | 1085 | |
36ed4f51 RD |
1086 | SWIGRUNTIME int |
1087 | SWIG_Python_ArgFail(int argnum) | |
1088 | { | |
1089 | if (PyErr_Occurred()) { | |
1090 | /* add information about failing argument */ | |
1091 | char mesg[256]; | |
1092 | sprintf(mesg, "argument number %d:", argnum); | |
1093 | return SWIG_Python_AddErrMesg(mesg, 1); | |
1094 | } else { | |
1095 | return 0; | |
1096 | } | |
1097 | } | |
d55e5bfc | 1098 | |
d55e5bfc | 1099 | |
36ed4f51 RD |
1100 | /* ----------------------------------------------------------------------------- |
1101 | * pointers/data manipulation | |
1102 | * ----------------------------------------------------------------------------- */ | |
d55e5bfc | 1103 | |
36ed4f51 RD |
1104 | /* Convert a pointer value */ |
1105 | SWIGRUNTIME int | |
1106 | SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { | |
1107 | swig_type_info *tc; | |
1108 | const char *c = 0; | |
1109 | static PyObject *SWIG_this = 0; | |
1110 | int newref = 0; | |
1111 | PyObject *pyobj = 0; | |
1112 | void *vptr; | |
1113 | ||
1114 | if (!obj) return 0; | |
1115 | if (obj == Py_None) { | |
1116 | *ptr = 0; | |
1117 | return 0; | |
1118 | } | |
d55e5bfc | 1119 | |
36ed4f51 RD |
1120 | #ifdef SWIG_COBJECT_TYPES |
1121 | if (!(PySwigObject_Check(obj))) { | |
1122 | if (!SWIG_this) | |
1123 | SWIG_this = PyString_FromString("this"); | |
1124 | pyobj = obj; | |
1125 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1126 | newref = 1; | |
1127 | if (!obj) goto type_error; | |
1128 | if (!PySwigObject_Check(obj)) { | |
1129 | Py_DECREF(obj); | |
1130 | goto type_error; | |
1131 | } | |
1132 | } | |
1133 | vptr = PySwigObject_AsVoidPtr(obj); | |
1134 | c = (const char *) PySwigObject_GetDesc(obj); | |
1135 | if (newref) { Py_DECREF(obj); } | |
1136 | goto type_check; | |
1137 | #else | |
1138 | if (!(PyString_Check(obj))) { | |
1139 | if (!SWIG_this) | |
1140 | SWIG_this = PyString_FromString("this"); | |
1141 | pyobj = obj; | |
1142 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1143 | newref = 1; | |
1144 | if (!obj) goto type_error; | |
1145 | if (!PyString_Check(obj)) { | |
1146 | Py_DECREF(obj); | |
1147 | goto type_error; | |
1148 | } | |
1149 | } | |
1150 | c = PyString_AS_STRING(obj); | |
1151 | /* Pointer values must start with leading underscore */ | |
1152 | c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); | |
1153 | if (newref) { Py_DECREF(obj); } | |
1154 | if (!c) goto type_error; | |
1155 | #endif | |
d55e5bfc | 1156 | |
36ed4f51 | 1157 | type_check: |
d55e5bfc | 1158 | |
36ed4f51 RD |
1159 | if (ty) { |
1160 | tc = SWIG_TypeCheck(c,ty); | |
1161 | if (!tc) goto type_error; | |
1162 | *ptr = SWIG_TypeCast(tc,vptr); | |
1163 | } else { | |
1164 | *ptr = vptr; | |
1165 | } | |
d55e5bfc | 1166 | |
36ed4f51 RD |
1167 | if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { |
1168 | PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); | |
1169 | } | |
1170 | return 0; | |
d55e5bfc | 1171 | |
36ed4f51 RD |
1172 | type_error: |
1173 | PyErr_Clear(); | |
1174 | if (pyobj && !obj) { | |
1175 | obj = pyobj; | |
1176 | if (PyCFunction_Check(obj)) { | |
1177 | /* here we get the method pointer for callbacks */ | |
1178 | char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); | |
1179 | c = doc ? strstr(doc, "swig_ptr: ") : 0; | |
1180 | if (c) { | |
1181 | c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name); | |
1182 | if (!c) goto type_error; | |
1183 | goto type_check; | |
1184 | } | |
1185 | } | |
1186 | } | |
1187 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1188 | if (ty) { | |
1189 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1190 | } else { | |
1191 | SWIG_Python_TypeError("C/C++ pointer", obj); | |
1192 | } | |
1193 | } | |
1194 | return -1; | |
1195 | } | |
d55e5bfc | 1196 | |
36ed4f51 RD |
1197 | /* Convert a pointer value, signal an exception on a type mismatch */ |
1198 | SWIGRUNTIME void * | |
1199 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
1200 | void *result; | |
1201 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
1202 | PyErr_Clear(); | |
1203 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1204 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1205 | SWIG_Python_ArgFail(argnum); | |
1206 | } | |
1207 | } | |
1208 | return result; | |
1209 | } | |
d55e5bfc | 1210 | |
36ed4f51 RD |
1211 | /* Convert a packed value value */ |
1212 | SWIGRUNTIME int | |
1213 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { | |
1214 | swig_type_info *tc; | |
1215 | const char *c = 0; | |
d55e5bfc | 1216 | |
36ed4f51 RD |
1217 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) |
1218 | c = PySwigPacked_UnpackData(obj, ptr, sz); | |
1219 | #else | |
1220 | if ((!obj) || (!PyString_Check(obj))) goto type_error; | |
1221 | c = PyString_AS_STRING(obj); | |
1222 | /* Pointer values must start with leading underscore */ | |
1223 | c = SWIG_UnpackDataName(c, ptr, sz, ty->name); | |
1224 | #endif | |
1225 | if (!c) goto type_error; | |
1226 | if (ty) { | |
1227 | tc = SWIG_TypeCheck(c,ty); | |
1228 | if (!tc) goto type_error; | |
1229 | } | |
1230 | return 0; | |
d55e5bfc | 1231 | |
36ed4f51 RD |
1232 | type_error: |
1233 | PyErr_Clear(); | |
1234 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1235 | if (ty) { | |
1236 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1237 | } else { | |
1238 | SWIG_Python_TypeError("C/C++ packed data", obj); | |
1239 | } | |
1240 | } | |
1241 | return -1; | |
1242 | } | |
1243 | ||
1244 | /* Create a new array object */ | |
1245 | SWIGRUNTIME PyObject * | |
1246 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { | |
1247 | PyObject *robj = 0; | |
1248 | if (!ptr) { | |
1249 | Py_INCREF(Py_None); | |
1250 | return Py_None; | |
1251 | } | |
1252 | #ifdef SWIG_COBJECT_TYPES | |
1253 | robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name); | |
1254 | #else | |
1255 | { | |
1256 | char result[SWIG_BUFFER_SIZE]; | |
1257 | robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ? | |
1258 | PyString_FromString(result) : 0; | |
1259 | } | |
1260 | #endif | |
1261 | if (!robj || (robj == Py_None)) return robj; | |
1262 | if (type->clientdata) { | |
1263 | PyObject *inst; | |
1264 | PyObject *args = Py_BuildValue((char*)"(O)", robj); | |
1265 | Py_DECREF(robj); | |
1266 | inst = PyObject_CallObject((PyObject *) type->clientdata, args); | |
1267 | Py_DECREF(args); | |
1268 | if (inst) { | |
1269 | if (own) { | |
1270 | PyObject_SetAttrString(inst,(char*)"thisown",Py_True); | |
1271 | } | |
1272 | robj = inst; | |
1273 | } | |
1274 | } | |
1275 | return robj; | |
1276 | } | |
1277 | ||
1278 | SWIGRUNTIME PyObject * | |
1279 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { | |
1280 | PyObject *robj = 0; | |
1281 | if (!ptr) { | |
1282 | Py_INCREF(Py_None); | |
1283 | return Py_None; | |
1284 | } | |
1285 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) | |
1286 | robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name); | |
1287 | #else | |
1288 | { | |
1289 | char result[SWIG_BUFFER_SIZE]; | |
1290 | robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ? | |
1291 | PyString_FromString(result) : 0; | |
1292 | } | |
1293 | #endif | |
1294 | return robj; | |
1295 | } | |
1296 | ||
1297 | /* -----------------------------------------------------------------------------* | |
1298 | * Get type list | |
1299 | * -----------------------------------------------------------------------------*/ | |
1300 | ||
1301 | #ifdef SWIG_LINK_RUNTIME | |
1302 | void *SWIG_ReturnGlobalTypeList(void *); | |
1303 | #endif | |
1304 | ||
1305 | SWIGRUNTIME swig_type_info ** | |
1306 | SWIG_Python_GetTypeListHandle() { | |
1307 | static void *type_pointer = (void *)0; | |
1308 | /* first check if module already created */ | |
1309 | if (!type_pointer) { | |
1310 | #ifdef SWIG_LINK_RUNTIME | |
1311 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
1312 | #else | |
1313 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
1314 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
1315 | if (PyErr_Occurred()) { | |
1316 | PyErr_Clear(); | |
1317 | type_pointer = (void *)0; | |
1318 | } | |
1319 | } | |
1320 | #endif | |
1321 | return (swig_type_info **) type_pointer; | |
1322 | } | |
1323 | ||
1324 | /* | |
1325 | Search for a swig_type_info structure | |
1326 | */ | |
1327 | SWIGRUNTIMEINLINE swig_type_info * | |
1328 | SWIG_Python_GetTypeList() { | |
1329 | swig_type_info **tlh = SWIG_Python_GetTypeListHandle(); | |
1330 | return tlh ? *tlh : (swig_type_info*)0; | |
1331 | } | |
1332 | ||
1333 | #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList | |
1334 | ||
1335 | #ifdef __cplusplus | |
1336 | } | |
1337 | #endif | |
1338 | ||
1339 | ||
1340 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
1341 | ||
1342 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0] | |
1343 | #define SWIGTYPE_p_wxPreviewFrame swig_types[1] | |
1344 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2] | |
1345 | #define SWIGTYPE_p_wxPyPanel swig_types[3] | |
1346 | #define SWIGTYPE_p_wxMenu swig_types[4] | |
1347 | #define SWIGTYPE_p_wxFontData swig_types[5] | |
1348 | #define SWIGTYPE_p_wxEvent swig_types[6] | |
1349 | #define SWIGTYPE_p_wxPrintData swig_types[7] | |
1350 | #define SWIGTYPE_p_wxTaskBarIcon swig_types[8] | |
1351 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9] | |
1352 | #define SWIGTYPE_p_wxIconBundle swig_types[10] | |
1353 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11] | |
1354 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[12] | |
1355 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[13] | |
1356 | #define SWIGTYPE_p_wxFont swig_types[14] | |
1357 | #define SWIGTYPE_p_wxSplitterEvent swig_types[15] | |
1358 | #define SWIGTYPE_p_wxRegion swig_types[16] | |
1359 | #define SWIGTYPE_ptrdiff_t swig_types[17] | |
1360 | #define SWIGTYPE_std__ptrdiff_t swig_types[18] | |
1361 | #define SWIGTYPE_p_wxFindReplaceData swig_types[19] | |
1362 | #define SWIGTYPE_p_int swig_types[20] | |
1363 | #define SWIGTYPE_p_wxSize swig_types[21] | |
1364 | #define SWIGTYPE_p_wxDC swig_types[22] | |
1365 | #define SWIGTYPE_p_wxIcon swig_types[23] | |
1366 | #define SWIGTYPE_p_wxVisualAttributes swig_types[24] | |
1367 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[25] | |
1368 | #define SWIGTYPE_p_wxColourData swig_types[26] | |
1369 | #define SWIGTYPE_p_wxNotifyEvent swig_types[27] | |
1370 | #define SWIGTYPE_p_wxPyWindow swig_types[28] | |
1371 | #define SWIGTYPE_p_form_ops_t swig_types[29] | |
1372 | #define SWIGTYPE_p_wxSplashScreen swig_types[30] | |
1373 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31] | |
1374 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32] | |
1375 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33] | |
1376 | #define SWIGTYPE_p_wxFileDialog swig_types[34] | |
1377 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[35] | |
1378 | #define SWIGTYPE_p_wxMessageDialog swig_types[36] | |
1379 | #define SWIGTYPE_p_wxProgressDialog swig_types[37] | |
1380 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38] | |
1381 | #define SWIGTYPE_p_wxPrinter swig_types[39] | |
1382 | #define SWIGTYPE_p_wxArrayInt swig_types[40] | |
1383 | #define SWIGTYPE_p_wxDuplexMode swig_types[41] | |
1384 | #define SWIGTYPE_p_wxEvtHandler swig_types[42] | |
1385 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43] | |
1386 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44] | |
1387 | #define SWIGTYPE_p_wxPyVListBox swig_types[45] | |
1388 | #define SWIGTYPE_p_wxRect swig_types[46] | |
62d32a5f RD |
1389 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47] |
1390 | #define SWIGTYPE_p_char swig_types[48] | |
1391 | #define SWIGTYPE_p_wxMiniFrame swig_types[49] | |
1392 | #define SWIGTYPE_p_wxFrame swig_types[50] | |
1393 | #define SWIGTYPE_p_wxPyPrintout swig_types[51] | |
1394 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52] | |
1395 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[53] | |
1396 | #define SWIGTYPE_p_wxPaperSize swig_types[54] | |
1397 | #define SWIGTYPE_p_wxStatusBar swig_types[55] | |
1398 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[56] | |
1399 | #define SWIGTYPE_p_wxPoint swig_types[57] | |
1400 | #define SWIGTYPE_p_wxObject swig_types[58] | |
1401 | #define SWIGTYPE_p_unsigned_long swig_types[59] | |
1402 | #define SWIGTYPE_p_wxTipWindow swig_types[60] | |
1403 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[61] | |
1404 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[62] | |
1405 | #define SWIGTYPE_p_wxSplitterWindow swig_types[63] | |
1406 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64] | |
1407 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[65] | |
1408 | #define SWIGTYPE_p_wxPopupWindow swig_types[66] | |
1409 | #define SWIGTYPE_p_wxSashWindow swig_types[67] | |
1410 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[68] | |
1411 | #define SWIGTYPE_p_wxWindow swig_types[69] | |
1412 | #define SWIGTYPE_p_wxScrolledWindow swig_types[70] | |
1413 | #define SWIGTYPE_p_wxMenuBar swig_types[71] | |
1414 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[72] | |
1415 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[73] | |
1416 | #define SWIGTYPE_p_wxPrintPreview swig_types[74] | |
1417 | #define SWIGTYPE_p_wxSashEvent swig_types[75] | |
1418 | #define SWIGTYPE_p_wxString swig_types[76] | |
1419 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[77] | |
1420 | #define SWIGTYPE_p_wxDirDialog swig_types[78] | |
1421 | #define SWIGTYPE_p_wxColourDialog swig_types[79] | |
1422 | #define SWIGTYPE_p_wxDialog swig_types[80] | |
1423 | #define SWIGTYPE_p_wxPanel swig_types[81] | |
1424 | #define SWIGTYPE_p_wxFontDialog swig_types[82] | |
1425 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[83] | |
1426 | #define SWIGTYPE_p_wxPrintDialog swig_types[84] | |
1427 | #define SWIGTYPE_p_wxFileSystem swig_types[85] | |
1428 | #define SWIGTYPE_p_wxBitmap swig_types[86] | |
1429 | #define SWIGTYPE_unsigned_int swig_types[87] | |
1430 | #define SWIGTYPE_p_unsigned_int swig_types[88] | |
1431 | #define SWIGTYPE_p_unsigned_char swig_types[89] | |
1432 | #define SWIGTYPE_p_wxCommandEvent swig_types[90] | |
1433 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[91] | |
1434 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92] | |
1435 | #define SWIGTYPE_p_wxColour swig_types[93] | |
1436 | #define SWIGTYPE_p_wxToolBar swig_types[94] | |
1437 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[95] | |
1438 | #define SWIGTYPE_p_wxPrintDialogData swig_types[96] | |
1439 | static swig_type_info *swig_types[98]; | |
36ed4f51 RD |
1440 | |
1441 | /* -------- TYPES TABLE (END) -------- */ | |
1442 | ||
1443 | ||
1444 | /*----------------------------------------------- | |
1445 | @(target):= _windows_.so | |
1446 | ------------------------------------------------*/ | |
1447 | #define SWIG_init init_windows_ | |
1448 | ||
1449 | #define SWIG_name "_windows_" | |
1450 | ||
1451 | #include "wx/wxPython/wxPython.h" | |
1452 | #include "wx/wxPython/pyclasses.h" | |
1453 | ||
1454 | ||
1455 | static const wxString wxPyEmptyString(wxEmptyString); | |
1456 | static const wxString wxPyPanelNameStr(wxPanelNameStr); | |
1457 | ||
1458 | ||
1459 | ||
1460 | #include <limits.h> | |
1461 | ||
1462 | ||
1463 | SWIGINTERN int | |
1464 | SWIG_CheckLongInRange(long value, long min_value, long max_value, | |
1465 | const char *errmsg) | |
1466 | { | |
1467 | if (value < min_value) { | |
1468 | if (errmsg) { | |
1469 | PyErr_Format(PyExc_OverflowError, | |
1470 | "value %ld is less than '%s' minimum %ld", | |
1471 | value, errmsg, min_value); | |
1472 | } | |
1473 | return 0; | |
1474 | } else if (value > max_value) { | |
1475 | if (errmsg) { | |
1476 | PyErr_Format(PyExc_OverflowError, | |
1477 | "value %ld is greater than '%s' maximum %ld", | |
1478 | value, errmsg, max_value); | |
1479 | } | |
1480 | return 0; | |
1481 | } | |
1482 | return 1; | |
1483 | } | |
1484 | ||
1485 | ||
1486 | SWIGINTERN int | |
1487 | SWIG_AsVal_long(PyObject* obj, long* val) | |
1488 | { | |
1489 | if (PyNumber_Check(obj)) { | |
1490 | if (val) *val = PyInt_AsLong(obj); | |
1491 | return 1; | |
1492 | } | |
1493 | else { | |
1494 | SWIG_type_error("number", obj); | |
1495 | } | |
1496 | return 0; | |
1497 | } | |
1498 | ||
1499 | ||
1500 | #if INT_MAX != LONG_MAX | |
1501 | SWIGINTERN int | |
1502 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1503 | { | |
1504 | const char* errmsg = val ? "int" : (char*)0; | |
1505 | long v; | |
1506 | if (SWIG_AsVal_long(obj, &v)) { | |
1507 | if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { | |
1508 | if (val) *val = (int)(v); | |
1509 | return 1; | |
1510 | } else { | |
1511 | return 0; | |
1512 | } | |
1513 | } else { | |
1514 | PyErr_Clear(); | |
1515 | } | |
1516 | if (val) { | |
1517 | SWIG_type_error(errmsg, obj); | |
1518 | } | |
1519 | return 0; | |
1520 | } | |
1521 | #else | |
1522 | SWIGINTERNSHORT int | |
1523 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1524 | { | |
1525 | return SWIG_AsVal_long(obj,(long*)val); | |
1526 | } | |
1527 | #endif | |
1528 | ||
1529 | ||
1530 | SWIGINTERNSHORT int | |
1531 | SWIG_As_int(PyObject* obj) | |
1532 | { | |
1533 | int v; | |
1534 | if (!SWIG_AsVal_int(obj, &v)) { | |
1535 | /* | |
1536 | this is needed to make valgrind/purify happier. | |
1537 | */ | |
1538 | memset((void*)&v, 0, sizeof(int)); | |
1539 | } | |
1540 | return v; | |
1541 | } | |
1542 | ||
1543 | ||
1544 | SWIGINTERNSHORT long | |
1545 | SWIG_As_long(PyObject* obj) | |
1546 | { | |
1547 | long v; | |
1548 | if (!SWIG_AsVal_long(obj, &v)) { | |
1549 | /* | |
1550 | this is needed to make valgrind/purify happier. | |
1551 | */ | |
1552 | memset((void*)&v, 0, sizeof(long)); | |
1553 | } | |
1554 | return v; | |
1555 | } | |
1556 | ||
1557 | ||
1558 | SWIGINTERNSHORT int | |
1559 | SWIG_Check_int(PyObject* obj) | |
1560 | { | |
1561 | return SWIG_AsVal_int(obj, (int*)0); | |
1562 | } | |
1563 | ||
1564 | ||
1565 | SWIGINTERNSHORT int | |
1566 | SWIG_Check_long(PyObject* obj) | |
1567 | { | |
1568 | return SWIG_AsVal_long(obj, (long*)0); | |
1569 | } | |
1570 | ||
1571 | ||
1572 | SWIGINTERN int | |
1573 | SWIG_AsVal_bool(PyObject *obj, bool *val) | |
1574 | { | |
1575 | if (obj == Py_True) { | |
1576 | if (val) *val = true; | |
1577 | return 1; | |
1578 | } | |
1579 | if (obj == Py_False) { | |
1580 | if (val) *val = false; | |
1581 | return 1; | |
1582 | } | |
1583 | int res = 0; | |
1584 | if (SWIG_AsVal_int(obj, &res)) { | |
1585 | if (val) *val = res ? true : false; | |
1586 | return 1; | |
1587 | } else { | |
1588 | PyErr_Clear(); | |
1589 | } | |
1590 | if (val) { | |
1591 | SWIG_type_error("bool", obj); | |
1592 | } | |
1593 | return 0; | |
1594 | } | |
1595 | ||
1596 | ||
1597 | SWIGINTERNSHORT bool | |
1598 | SWIG_As_bool(PyObject* obj) | |
1599 | { | |
1600 | bool v; | |
1601 | if (!SWIG_AsVal_bool(obj, &v)) { | |
1602 | /* | |
1603 | this is needed to make valgrind/purify happier. | |
1604 | */ | |
1605 | memset((void*)&v, 0, sizeof(bool)); | |
1606 | } | |
1607 | return v; | |
1608 | } | |
1609 | ||
1610 | ||
1611 | SWIGINTERNSHORT int | |
1612 | SWIG_Check_bool(PyObject* obj) | |
1613 | { | |
1614 | return SWIG_AsVal_bool(obj, (bool*)0); | |
1615 | } | |
1616 | ||
1617 | ||
1618 | /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ | |
1619 | #define SWIG_From_int PyInt_FromLong | |
1620 | /*@@*/ | |
1621 | ||
1622 | ||
1623 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
1624 | PyObject* o2; | |
1625 | PyObject* o3; | |
1626 | ||
1627 | if (!target) { | |
1628 | target = o; | |
1629 | } else if (target == Py_None) { | |
1630 | Py_DECREF(Py_None); | |
1631 | target = o; | |
1632 | } else { | |
1633 | if (!PyTuple_Check(target)) { | |
1634 | o2 = target; | |
1635 | target = PyTuple_New(1); | |
1636 | PyTuple_SetItem(target, 0, o2); | |
1637 | } | |
1638 | o3 = PyTuple_New(1); | |
1639 | PyTuple_SetItem(o3, 0, o); | |
1640 | ||
1641 | o2 = target; | |
1642 | target = PySequence_Concat(o2, o3); | |
1643 | Py_DECREF(o2); | |
1644 | Py_DECREF(o3); | |
1645 | } | |
1646 | return target; | |
1647 | } | |
1648 | ||
1649 | ||
1650 | ||
1651 | SWIGINTERN int | |
1652 | SWIG_AsVal_double(PyObject *obj, double* val) | |
1653 | { | |
1654 | if (PyNumber_Check(obj)) { | |
1655 | if (val) *val = PyFloat_AsDouble(obj); | |
1656 | return 1; | |
1657 | } | |
1658 | else { | |
1659 | SWIG_type_error("number", obj); | |
1660 | } | |
1661 | return 0; | |
1662 | } | |
d55e5bfc | 1663 | |
36ed4f51 RD |
1664 | |
1665 | SWIGINTERNSHORT double | |
1666 | SWIG_As_double(PyObject* obj) | |
1667 | { | |
1668 | double v; | |
1669 | if (!SWIG_AsVal_double(obj, &v)) { | |
1670 | /* | |
1671 | this is needed to make valgrind/purify happier. | |
1672 | */ | |
1673 | memset((void*)&v, 0, sizeof(double)); | |
1674 | } | |
1675 | return v; | |
1676 | } | |
1677 | ||
1678 | ||
1679 | SWIGINTERNSHORT int | |
1680 | SWIG_Check_double(PyObject* obj) | |
1681 | { | |
1682 | return SWIG_AsVal_double(obj, (double*)0); | |
1683 | } | |
1684 | ||
1685 | ||
1686 | /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ | |
1687 | #define SWIG_From_double PyFloat_FromDouble | |
1688 | /*@@*/ | |
1689 | ||
1690 | static const wxString wxPyFrameNameStr(wxFrameNameStr); | |
1691 | static const wxString wxPyDialogNameStr(wxDialogNameStr); | |
1692 | static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr); | |
1693 | static const wxString wxPyToolBarNameStr(wxToolBarNameStr); | |
1694 | ||
1695 | /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ | |
1696 | #define SWIG_From_long PyInt_FromLong | |
1697 | /*@@*/ | |
1698 | ||
1699 | ||
1700 | ||
1701 | static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ | |
1702 | wxRect r; | |
1703 | self->GetFieldRect(i, r); | |
1704 | return r; | |
1705 | } | |
1706 | static const wxString wxPySplitterNameStr(wxT("splitter")); | |
1707 | static const wxString wxPySashNameStr(wxT("sashWindow")); | |
1708 | static const wxString wxPySashLayoutNameStr(wxT("layoutWindow")); | |
1709 | ||
1710 | #include <wx/popupwin.h> | |
1711 | ||
1712 | ||
1713 | class wxPopupWindow : public wxWindow { | |
1714 | public: | |
1715 | wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); } | |
1716 | wxPopupWindow() { wxPyRaiseNotImplemented(); } | |
1717 | }; | |
1718 | ||
1719 | class wxPyPopupTransientWindow : public wxPopupWindow | |
1720 | { | |
1721 | public: | |
1722 | wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); } | |
1723 | wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); } | |
1724 | }; | |
1725 | ||
1726 | ||
1727 | #include <wx/tipwin.h> | |
1728 | ||
1729 | static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){ | |
1730 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
1731 | } | |
1732 | ||
1733 | #include <wx/tipwin.h> | |
1734 | ||
1735 | ||
1736 | #include <wx/vscroll.h> | |
1737 | ||
1738 | ||
1739 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
1740 | { | |
1741 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); | |
1742 | public: | |
1743 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
1744 | ||
1745 | wxPyVScrolledWindow(wxWindow *parent, | |
1746 | wxWindowID id = wxID_ANY, | |
1747 | const wxPoint& pos = wxDefaultPosition, | |
1748 | const wxSize& size = wxDefaultSize, | |
1749 | long style = 0, | |
1750 | const wxString& name = wxPyPanelNameStr) | |
1751 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
1752 | {} | |
1753 | ||
1754 | // Overridable virtuals | |
1755 | ||
1756 | // this function must be overridden in the derived class and it should | |
1757 | // return the height of the given line in pixels | |
1758 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
1759 | ||
1760 | ||
1761 | // this function doesn't have to be overridden but it may be useful to do | |
1762 | // it if calculating the lines heights is a relatively expensive operation | |
1763 | // as it gives the user code a possibility to calculate several of them at | |
1764 | // once | |
1765 | // | |
1766 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
1767 | // shouldn't rely on the latter being called for all lines in the interval | |
1768 | // specified here. It is also possible that OnGetLineHeight() will be | |
1769 | // called for the lines outside of this interval, so this is really just a | |
1770 | // hint, not a promise. | |
1771 | // | |
1772 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
1773 | // usual | |
1774 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
1775 | ||
1776 | ||
1777 | // when the number of lines changes, we try to estimate the total height | |
1778 | // of all lines which is a rather expensive operation in terms of lines | |
1779 | // access, so if the user code may estimate the average height | |
1780 | // better/faster than we do, it should override this function to implement | |
1781 | // its own logic | |
1782 | // | |
1783 | // this function should return the best guess for the total height it may | |
1784 | // make | |
1785 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
1786 | ||
1787 | ||
1788 | // Also expose some other interesting protected methods | |
1789 | ||
1790 | ||
1791 | // find the index of the line we need to show at the top of the window such | |
1792 | // that the last (fully or partially) visible line is the given one | |
1793 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false) | |
1794 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } | |
1795 | ||
1796 | // get the total height of the lines between lineMin (inclusive) and | |
1797 | // lineMax (exclusive) | |
1798 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
1799 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
1800 | ||
1801 | ||
1802 | PYPRIVATE; | |
1803 | }; | |
1804 | ||
1805 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
d55e5bfc RD |
1806 | |
1807 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
1808 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
1809 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
1810 | ||
1811 | ||
36ed4f51 | 1812 | SWIGINTERN int |
c370783e | 1813 | SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) |
d55e5bfc | 1814 | { |
c370783e RD |
1815 | long v = 0; |
1816 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
36ed4f51 | 1817 | SWIG_type_error("unsigned number", obj); |
d55e5bfc | 1818 | } |
c370783e RD |
1819 | else if (val) |
1820 | *val = (unsigned long)v; | |
1821 | return 1; | |
d55e5bfc RD |
1822 | } |
1823 | ||
1824 | ||
36ed4f51 | 1825 | SWIGINTERNSHORT unsigned long |
c370783e | 1826 | SWIG_As_unsigned_SS_long(PyObject* obj) |
d55e5bfc | 1827 | { |
c370783e RD |
1828 | unsigned long v; |
1829 | if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) { | |
1830 | /* | |
36ed4f51 | 1831 | this is needed to make valgrind/purify happier. |
c370783e RD |
1832 | */ |
1833 | memset((void*)&v, 0, sizeof(unsigned long)); | |
d55e5bfc | 1834 | } |
c370783e RD |
1835 | return v; |
1836 | } | |
1837 | ||
1838 | ||
36ed4f51 | 1839 | SWIGINTERNSHORT int |
c370783e RD |
1840 | SWIG_Check_unsigned_SS_long(PyObject* obj) |
1841 | { | |
1842 | return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); | |
d55e5bfc RD |
1843 | } |
1844 | ||
1845 | ||
36ed4f51 | 1846 | SWIGINTERNSHORT PyObject* |
c370783e | 1847 | SWIG_From_unsigned_SS_long(unsigned long value) |
d55e5bfc RD |
1848 | { |
1849 | return (value > LONG_MAX) ? | |
1850 | PyLong_FromUnsignedLong(value) | |
36ed4f51 | 1851 | : PyInt_FromLong((long)(value)); |
d55e5bfc RD |
1852 | } |
1853 | ||
1854 | ||
1855 | #include <wx/vlbox.h> | |
1856 | ||
1857 | static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr); | |
1858 | ||
1859 | class wxPyVListBox : public wxVListBox | |
1860 | { | |
1861 | DECLARE_ABSTRACT_CLASS(wxPyVListBox); | |
1862 | public: | |
1863 | wxPyVListBox() : wxVListBox() {} | |
1864 | ||
1865 | wxPyVListBox(wxWindow *parent, | |
1866 | wxWindowID id = wxID_ANY, | |
1867 | const wxPoint& pos = wxDefaultPosition, | |
1868 | const wxSize& size = wxDefaultSize, | |
1869 | long style = 0, | |
1870 | const wxString& name = wxPyVListBoxNameStr) | |
1871 | : wxVListBox(parent, id, pos, size, style, name) | |
1872 | {} | |
1873 | ||
1874 | // Overridable virtuals | |
1875 | ||
1876 | // the derived class must implement this function to actually draw the item | |
1877 | // with the given index on the provided DC | |
1878 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
1879 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
1880 | ||
1881 | ||
1882 | // the derived class must implement this method to return the height of the | |
1883 | // specified item | |
1884 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
1885 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
1886 | ||
1887 | ||
1888 | // this method may be used to draw separators between the lines; note that | |
1889 | // the rectangle may be modified, typically to deflate it a bit before | |
1890 | // passing to OnDrawItem() | |
1891 | // | |
1892 | // the base class version doesn't do anything | |
1893 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
1894 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
1895 | ||
1896 | ||
1897 | // this method is used to draw the items background and, maybe, a border | |
1898 | // around it | |
1899 | // | |
1900 | // the base class version implements a reasonable default behaviour which | |
1901 | // consists in drawing the selected item with the standard background | |
1902 | // colour and drawing a border around the item if it is either selected or | |
1903 | // current | |
1904 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
1905 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
1906 | ||
1907 | ||
1908 | PYPRIVATE; | |
1909 | }; | |
1910 | ||
1911 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
1912 | ||
1913 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
1914 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
1915 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
1916 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
1917 | ||
1918 | ||
36ed4f51 | 1919 | static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){ |
09c21d3b RD |
1920 | unsigned long cookie = 0; |
1921 | int selected = self->GetFirstSelected(cookie); | |
5a446332 | 1922 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
09c21d3b RD |
1923 | PyObject* tup = PyTuple_New(2); |
1924 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
1925 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
1926 | wxPyEndBlockThreads(blocked); | |
1927 | return tup; | |
1928 | } | |
36ed4f51 | 1929 | static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){ |
09c21d3b | 1930 | int selected = self->GetNextSelected(cookie); |
5a446332 | 1931 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
09c21d3b RD |
1932 | PyObject* tup = PyTuple_New(2); |
1933 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
1934 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
1935 | wxPyEndBlockThreads(blocked); | |
1936 | return tup; | |
1937 | } | |
d55e5bfc RD |
1938 | |
1939 | #include <wx/htmllbox.h> | |
1940 | ||
1941 | ||
1942 | class wxPyHtmlListBox : public wxHtmlListBox | |
1943 | { | |
1944 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); | |
1945 | public: | |
1946 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
1947 | ||
1948 | wxPyHtmlListBox(wxWindow *parent, | |
1949 | wxWindowID id = wxID_ANY, | |
1950 | const wxPoint& pos = wxDefaultPosition, | |
1951 | const wxSize& size = wxDefaultSize, | |
1952 | long style = 0, | |
1953 | const wxString& name = wxPyVListBoxNameStr) | |
1954 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
1955 | {} | |
1956 | ||
1957 | // Overridable virtuals | |
1958 | ||
1959 | // this method must be implemented in the derived class and should return | |
1960 | // the body (i.e. without <html>) of the HTML for the given item | |
1961 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
1962 | ||
1963 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
1964 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
1965 | ||
1966 | // TODO: | |
1967 | // // this method allows to customize the selection appearance: it may be used | |
1968 | // // to specify the colour of the text which normally has the given colour | |
1969 | // // colFg when it is inside the selection | |
1970 | // // | |
1971 | // // by default, the original colour is not used at all and all text has the | |
1972 | // // same (default for this system) colour inside selection | |
1973 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
1974 | ||
1975 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
1976 | // // background colour -- this is even more rarely used as you can change it | |
1977 | // // globally using SetSelectionBackground() | |
1978 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
1979 | ||
1980 | ||
1981 | PYPRIVATE; | |
1982 | }; | |
1983 | ||
1984 | ||
1985 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
1986 | ||
1987 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
1988 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
1989 | ||
1990 | ||
1991 | ||
1992 | ||
1993 | ||
b411df4a RD |
1994 | #ifndef wxHAS_TASK_BAR_ICON |
1995 | // implement dummy classes for platforms that don't have it | |
d55e5bfc RD |
1996 | |
1997 | class wxTaskBarIcon : public wxEvtHandler | |
1998 | { | |
1999 | public: | |
2000 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } | |
2001 | }; | |
09c21d3b | 2002 | |
d55e5bfc RD |
2003 | |
2004 | class wxTaskBarIconEvent : public wxEvent | |
2005 | { | |
2006 | public: | |
2007 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
2008 | { wxPyRaiseNotImplemented(); } | |
2009 | virtual wxEvent* Clone() const { return NULL; } | |
b411df4a RD |
2010 | bool IsOk() const { return false; } |
2011 | bool IsIconInstalled() const { return false; } | |
2012 | bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; } | |
2013 | bool RemoveIcon() { return false; } | |
2014 | bool PopupMenu(wxMenu *menu) { return false; } | |
d55e5bfc RD |
2015 | }; |
2016 | ||
2017 | enum { | |
2018 | wxEVT_TASKBAR_MOVE = 0, | |
2019 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
2020 | wxEVT_TASKBAR_LEFT_UP = 0, | |
2021 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
2022 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
2023 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
2024 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
2025 | }; | |
09c21d3b RD |
2026 | |
2027 | ||
2028 | #else | |
5e483524 RD |
2029 | // Otherwise make a class that can virtualize CreatePopupMenu |
2030 | class wxPyTaskBarIcon : public wxTaskBarIcon | |
2031 | { | |
2032 | DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon); | |
2033 | public: | |
2034 | wxPyTaskBarIcon() : wxTaskBarIcon() | |
2035 | {} | |
09c21d3b | 2036 | |
5e483524 RD |
2037 | wxMenu* CreatePopupMenu() { |
2038 | wxMenu *rval = NULL; | |
2039 | bool found; | |
5a446332 | 2040 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
5e483524 RD |
2041 | if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) { |
2042 | PyObject* ro; | |
2043 | wxMenu* ptr; | |
2044 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
2045 | if (ro) { | |
2046 | if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu"))) | |
2047 | rval = ptr; | |
2048 | Py_DECREF(ro); | |
2049 | } | |
2050 | } | |
2051 | wxPyEndBlockThreads(blocked); | |
2052 | if (! found) | |
2053 | rval = wxTaskBarIcon::CreatePopupMenu(); | |
2054 | return rval; | |
2055 | } | |
d55e5bfc | 2056 | |
5e483524 RD |
2057 | PYPRIVATE; |
2058 | }; | |
d55e5bfc | 2059 | |
5e483524 | 2060 | IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon); |
d55e5bfc | 2061 | |
5e483524 RD |
2062 | #endif |
2063 | ||
36ed4f51 | 2064 | static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){ |
5e483524 RD |
2065 | self->RemoveIcon(); |
2066 | delete self; | |
d55e5bfc RD |
2067 | } |
2068 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); | |
2069 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
2070 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
2071 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
2072 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
2073 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
36ed4f51 | 2074 | static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ |
d55e5bfc RD |
2075 | wxArrayString arr; |
2076 | self->GetFilenames(arr); | |
2077 | return wxArrayString2PyList_helper(arr); | |
2078 | } | |
36ed4f51 | 2079 | static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ |
d55e5bfc RD |
2080 | wxArrayString arr; |
2081 | self->GetPaths(arr); | |
2082 | return wxArrayString2PyList_helper(arr); | |
2083 | } | |
36ed4f51 | 2084 | static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ |
d55e5bfc RD |
2085 | return wxArrayInt2PyList_helper(self->GetSelections()); |
2086 | } | |
36ed4f51 | 2087 | 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 |
2088 | return new wxSingleChoiceDialog(parent, message, caption, |
2089 | choices, choices_array, NULL, style, pos); | |
2090 | } | |
070c48b4 | 2091 | static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr); |
d55e5bfc RD |
2092 | |
2093 | #include <wx/mdi.h> | |
2094 | ||
2095 | // C++ version of Python aware wxWindow | |
2096 | class wxPyWindow : public wxWindow | |
2097 | { | |
2098 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
2099 | public: | |
2100 | wxPyWindow() : wxWindow() {} | |
2101 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
2102 | const wxPoint& pos = wxDefaultPosition, | |
2103 | const wxSize& size = wxDefaultSize, | |
2104 | long style = 0, | |
2105 | const wxString& name = wxPyPanelNameStr) | |
2106 | : wxWindow(parent, id, pos, size, style, name) {} | |
2107 | ||
a5ee0656 | 2108 | void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); } |
d55e5bfc RD |
2109 | |
2110 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
2111 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2112 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2113 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2114 | ||
2115 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2116 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2117 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2118 | ||
2119 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2120 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2121 | ||
2122 | DEC_PYCALLBACK__(InitDialog); | |
2123 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2124 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2125 | DEC_PYCALLBACK_BOOL_(Validate); | |
2126 | ||
2127 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2128 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2129 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2130 | ||
2131 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2132 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2133 | ||
a5ee0656 | 2134 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
a5ee0656 | 2135 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc | 2136 | |
51b83b37 RD |
2137 | DEC_PYCALLBACK_BOOL_(HasTransparentBackground); |
2138 | ||
d55e5bfc RD |
2139 | PYPRIVATE; |
2140 | }; | |
2141 | ||
2142 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
2143 | ||
2144 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
2145 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
2146 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
2147 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
2148 | ||
2149 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
2150 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
2151 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
2152 | ||
2153 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
2154 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
2155 | ||
2156 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
2157 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
2158 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
2159 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
2160 | ||
2161 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
2162 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
2163 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
2164 | ||
2165 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
2166 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
2167 | ||
a5ee0656 | 2168 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours); |
a5ee0656 | 2169 | IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes); |
51b83b37 RD |
2170 | |
2171 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground); | |
d55e5bfc RD |
2172 | |
2173 | // C++ version of Python aware wxPanel | |
2174 | class wxPyPanel : public wxPanel | |
2175 | { | |
2176 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
2177 | public: | |
2178 | wxPyPanel() : wxPanel() {} | |
2179 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
2180 | const wxPoint& pos = wxDefaultPosition, | |
2181 | const wxSize& size = wxDefaultSize, | |
2182 | long style = 0, | |
2183 | const wxString& name = wxPyPanelNameStr) | |
2184 | : wxPanel(parent, id, pos, size, style, name) {} | |
2185 | ||
a5ee0656 RD |
2186 | void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); } |
2187 | ||
d55e5bfc RD |
2188 | |
2189 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
2190 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2191 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2192 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2193 | ||
2194 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2195 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2196 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2197 | ||
2198 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2199 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2200 | ||
2201 | DEC_PYCALLBACK__(InitDialog); | |
2202 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2203 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2204 | DEC_PYCALLBACK_BOOL_(Validate); | |
2205 | ||
2206 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2207 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2208 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2209 | ||
2210 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2211 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2212 | ||
a5ee0656 | 2213 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
a5ee0656 | 2214 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc | 2215 | |
51b83b37 RD |
2216 | DEC_PYCALLBACK_BOOL_(HasTransparentBackground); |
2217 | ||
d55e5bfc RD |
2218 | PYPRIVATE; |
2219 | }; | |
2220 | ||
2221 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
2222 | ||
2223 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
2224 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
2225 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
2226 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
2227 | ||
2228 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
2229 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
2230 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
2231 | ||
2232 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
2233 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
2234 | ||
2235 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
2236 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
2237 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
2238 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
2239 | ||
2240 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
2241 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
2242 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
2243 | ||
2244 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
2245 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
2246 | ||
a5ee0656 | 2247 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours); |
a5ee0656 | 2248 | IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes); |
d55e5bfc | 2249 | |
51b83b37 RD |
2250 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground); |
2251 | ||
d55e5bfc RD |
2252 | // C++ version of Python aware wxScrolledWindow |
2253 | class wxPyScrolledWindow : public wxScrolledWindow | |
2254 | { | |
2255 | DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow) | |
2256 | public: | |
2257 | wxPyScrolledWindow() : wxScrolledWindow() {} | |
2258 | wxPyScrolledWindow(wxWindow* parent, const wxWindowID id, | |
2259 | const wxPoint& pos = wxDefaultPosition, | |
2260 | const wxSize& size = wxDefaultSize, | |
2261 | long style = 0, | |
2262 | const wxString& name = wxPyPanelNameStr) | |
2263 | : wxScrolledWindow(parent, id, pos, size, style, name) {} | |
2264 | ||
a5ee0656 | 2265 | void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); } |
d55e5bfc RD |
2266 | |
2267 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
2268 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
2269 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
2270 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
2271 | ||
2272 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
2273 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
2274 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
2275 | ||
2276 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
2277 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
2278 | ||
2279 | DEC_PYCALLBACK__(InitDialog); | |
2280 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
2281 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
2282 | DEC_PYCALLBACK_BOOL_(Validate); | |
2283 | ||
2284 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
2285 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
2286 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
2287 | ||
2288 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
2289 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
2290 | ||
a5ee0656 | 2291 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
a5ee0656 | 2292 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
d55e5bfc | 2293 | |
51b83b37 RD |
2294 | DEC_PYCALLBACK_BOOL_(HasTransparentBackground); |
2295 | ||
d55e5bfc RD |
2296 | PYPRIVATE; |
2297 | }; | |
2298 | ||
2299 | IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow); | |
2300 | ||
2301 | IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow); | |
2302 | IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize); | |
2303 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize); | |
2304 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize); | |
2305 | ||
2306 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize); | |
2307 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize); | |
2308 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition); | |
2309 | ||
2310 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize); | |
2311 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize); | |
2312 | ||
2313 | IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog); | |
2314 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow); | |
2315 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow); | |
2316 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate); | |
2317 | ||
2318 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus); | |
2319 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard); | |
2320 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize); | |
2321 | ||
2322 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild); | |
2323 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild); | |
2324 | ||
a5ee0656 | 2325 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours); |
a5ee0656 RD |
2326 | IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes); |
2327 | ||
51b83b37 | 2328 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground); |
d55e5bfc RD |
2329 | |
2330 | ||
2331 | #include "wx/wxPython/printfw.h" | |
2332 | ||
2333 | ||
2334 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); | |
2335 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
7fbf8399 RD |
2336 | static PyObject *wxPrintData_GetPrivData(wxPrintData *self){ |
2337 | PyObject* data; | |
5a446332 | 2338 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
7fbf8399 RD |
2339 | data = PyString_FromStringAndSize(self->GetPrivData(), |
2340 | self->GetPrivDataLen()); | |
2341 | wxPyEndBlockThreads(blocked); | |
2342 | return data; | |
2343 | } | |
2344 | static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){ | |
2345 | if (! PyString_Check(data)) { | |
2346 | wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError, | |
2347 | "Expected string object")); | |
2348 | return /* NULL */ ; | |
2349 | } | |
2350 | ||
5a446332 | 2351 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
7fbf8399 RD |
2352 | self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data)); |
2353 | wxPyEndBlockThreads(blocked); | |
2354 | } | |
d55e5bfc RD |
2355 | |
2356 | ||
070c48b4 | 2357 | IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout); |
d55e5bfc RD |
2358 | |
2359 | // Since this one would be tough and ugly to do with the Macros... | |
2360 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
b411df4a | 2361 | bool hadErr = false; |
d55e5bfc RD |
2362 | bool found; |
2363 | ||
5a446332 | 2364 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d55e5bfc RD |
2365 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { |
2366 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
2367 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
2368 | PyObject* val; | |
2369 | ||
2370 | val = PyTuple_GetItem(result, 0); | |
2371 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
b411df4a | 2372 | else hadErr = true; |
d55e5bfc RD |
2373 | |
2374 | val = PyTuple_GetItem(result, 1); | |
2375 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
b411df4a | 2376 | else hadErr = true; |
d55e5bfc RD |
2377 | |
2378 | val = PyTuple_GetItem(result, 2); | |
2379 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
b411df4a | 2380 | else hadErr = true; |
d55e5bfc RD |
2381 | |
2382 | val = PyTuple_GetItem(result, 3); | |
2383 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
b411df4a | 2384 | else hadErr = true; |
d55e5bfc RD |
2385 | } |
2386 | else | |
b411df4a | 2387 | hadErr = true; |
d55e5bfc RD |
2388 | |
2389 | if (hadErr) { | |
2390 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
2391 | PyErr_Print(); | |
2392 | } | |
2393 | Py_DECREF(result); | |
2394 | } | |
2395 | wxPyEndBlockThreads(blocked); | |
2396 | if (! found) | |
2397 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
2398 | } | |
2399 | ||
2400 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
2401 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
2402 | } | |
2403 | ||
2404 | ||
2405 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
2406 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
2407 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
2408 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
2409 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
2410 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
2411 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
2412 | ||
2413 | ||
2414 | ||
2415 | ||
2416 | ||
b411df4a RD |
2417 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ |
2418 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
d55e5bfc RD |
2419 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) |
2420 | ||
2421 | ||
b411df4a RD |
2422 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ |
2423 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
2424 | bool rval=false; \ | |
2425 | bool found; \ | |
5a446332 | 2426 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); \ |
b411df4a RD |
2427 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
2428 | PyObject* win = wxPyMake_wxObject(a,false); \ | |
2429 | PyObject* dc = wxPyMake_wxObject(&b,false); \ | |
2430 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \ | |
2431 | Py_DECREF(win); \ | |
2432 | Py_DECREF(dc); \ | |
2433 | } \ | |
2434 | wxPyEndBlockThreads(blocked); \ | |
2435 | if (! found) \ | |
2436 | rval = PCLASS::CBNAME(a, b); \ | |
2437 | return rval; \ | |
2438 | } \ | |
2439 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
2440 | return PCLASS::CBNAME(a, b); \ | |
d55e5bfc RD |
2441 | } |
2442 | ||
2443 | ||
2444 | ||
2445 | ||
2446 | class wxPyPrintPreview : public wxPrintPreview | |
2447 | { | |
2448 | DECLARE_CLASS(wxPyPrintPreview) | |
2449 | public: | |
2450 | wxPyPrintPreview(wxPyPrintout* printout, | |
2451 | wxPyPrintout* printoutForPrinting, | |
2452 | wxPrintDialogData* data=NULL) | |
2453 | : wxPrintPreview(printout, printoutForPrinting, data) | |
2454 | {} | |
2455 | wxPyPrintPreview(wxPyPrintout* printout, | |
2456 | wxPyPrintout* printoutForPrinting, | |
2457 | wxPrintData* data=NULL) | |
2458 | : wxPrintPreview(printout, printoutForPrinting, data) | |
2459 | {} | |
2460 | ||
2461 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
2462 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
2463 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
2464 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
2465 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
2466 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
2467 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
2468 | ||
2469 | PYPRIVATE; | |
2470 | }; | |
2471 | ||
2472 | // Stupid renamed classes... Fix this in 2.5... | |
2473 | #if defined(__WXMSW__) | |
2474 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
2475 | #elif defined(__WXMAC__) | |
2476 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
2477 | #else | |
2478 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
2479 | #endif | |
2480 | ||
2481 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
2482 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
2483 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
2484 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
2485 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
2486 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
2487 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
2488 | ||
2489 | ||
2490 | class wxPyPreviewFrame : public wxPreviewFrame | |
2491 | { | |
2492 | DECLARE_CLASS(wxPyPreviewFrame); | |
2493 | public: | |
2494 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
2495 | const wxString& title, | |
2496 | const wxPoint& pos = wxDefaultPosition, | |
2497 | const wxSize& size = wxDefaultSize, | |
2498 | long style = wxDEFAULT_FRAME_STYLE, | |
2499 | const wxString& name = wxPyFrameNameStr) | |
2500 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
2501 | {} | |
2502 | ||
2503 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
2504 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
2505 | ||
2506 | DEC_PYCALLBACK_VOID_(Initialize); | |
2507 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
2508 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
2509 | ||
2510 | PYPRIVATE; | |
2511 | }; | |
2512 | ||
2513 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
2514 | ||
2515 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
2516 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
2517 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
2518 | ||
2519 | ||
2520 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
2521 | { | |
2522 | DECLARE_CLASS(wxPyPreviewControlBar); | |
2523 | public: | |
2524 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
2525 | long buttons, | |
2526 | wxWindow *parent, | |
2527 | const wxPoint& pos = wxDefaultPosition, | |
2528 | const wxSize& size = wxDefaultSize, | |
2529 | long style = 0, | |
2530 | const wxString& name = wxPyPanelNameStr) | |
2531 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
2532 | {} | |
2533 | ||
2534 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
2535 | ||
2536 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
2537 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
2538 | ||
2539 | PYPRIVATE; | |
2540 | }; | |
2541 | ||
2542 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
2543 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
2544 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
2545 | ||
2546 | #ifdef __cplusplus | |
2547 | extern "C" { | |
2548 | #endif | |
c370783e | 2549 | static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2550 | PyObject *resultobj; |
2551 | wxWindow *arg1 = (wxWindow *) 0 ; | |
2552 | int arg2 = (int) (int)-1 ; | |
2553 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
2554 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
2555 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
2556 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
2557 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
2558 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
2559 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
2560 | wxPanel *result; | |
2561 | wxPoint temp3 ; | |
2562 | wxSize temp4 ; | |
b411df4a | 2563 | bool temp6 = false ; |
d55e5bfc RD |
2564 | PyObject * obj0 = 0 ; |
2565 | PyObject * obj1 = 0 ; | |
2566 | PyObject * obj2 = 0 ; | |
2567 | PyObject * obj3 = 0 ; | |
2568 | PyObject * obj4 = 0 ; | |
2569 | PyObject * obj5 = 0 ; | |
2570 | char *kwnames[] = { | |
2571 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2572 | }; | |
2573 | ||
2574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
2575 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
2576 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 2577 | if (obj1) { |
36ed4f51 RD |
2578 | { |
2579 | arg2 = (int const)(SWIG_As_int(obj1)); | |
2580 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2581 | } | |
d55e5bfc RD |
2582 | } |
2583 | if (obj2) { | |
2584 | { | |
2585 | arg3 = &temp3; | |
2586 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
2587 | } | |
2588 | } | |
2589 | if (obj3) { | |
2590 | { | |
2591 | arg4 = &temp4; | |
2592 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
2593 | } | |
2594 | } | |
2595 | if (obj4) { | |
36ed4f51 RD |
2596 | { |
2597 | arg5 = (long)(SWIG_As_long(obj4)); | |
2598 | if (SWIG_arg_fail(5)) SWIG_fail; | |
2599 | } | |
d55e5bfc RD |
2600 | } |
2601 | if (obj5) { | |
2602 | { | |
2603 | arg6 = wxString_in_helper(obj5); | |
2604 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 2605 | temp6 = true; |
d55e5bfc RD |
2606 | } |
2607 | } | |
2608 | { | |
0439c23b | 2609 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
2610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2611 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
2612 | ||
2613 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2614 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 2615 | } |
b0f7404b | 2616 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d55e5bfc RD |
2617 | { |
2618 | if (temp6) | |
2619 | delete arg6; | |
2620 | } | |
2621 | return resultobj; | |
2622 | fail: | |
2623 | { | |
2624 | if (temp6) | |
2625 | delete arg6; | |
2626 | } | |
2627 | return NULL; | |
2628 | } | |
2629 | ||
2630 | ||
c370783e | 2631 | static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2632 | PyObject *resultobj; |
2633 | wxPanel *result; | |
2634 | char *kwnames[] = { | |
2635 | NULL | |
2636 | }; | |
2637 | ||
2638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
2639 | { | |
0439c23b | 2640 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
2641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2642 | result = (wxPanel *)new wxPanel(); | |
2643 | ||
2644 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2645 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 2646 | } |
b0f7404b | 2647 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d55e5bfc RD |
2648 | return resultobj; |
2649 | fail: | |
2650 | return NULL; | |
2651 | } | |
2652 | ||
2653 | ||
c370783e | 2654 | static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2655 | PyObject *resultobj; |
2656 | wxPanel *arg1 = (wxPanel *) 0 ; | |
2657 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2658 | int arg3 = (int) (int)-1 ; | |
2659 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2660 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2661 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2662 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2663 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
2664 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
2665 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2666 | bool result; | |
2667 | wxPoint temp4 ; | |
2668 | wxSize temp5 ; | |
b411df4a | 2669 | bool temp7 = false ; |
d55e5bfc RD |
2670 | PyObject * obj0 = 0 ; |
2671 | PyObject * obj1 = 0 ; | |
2672 | PyObject * obj2 = 0 ; | |
2673 | PyObject * obj3 = 0 ; | |
2674 | PyObject * obj4 = 0 ; | |
2675 | PyObject * obj5 = 0 ; | |
2676 | PyObject * obj6 = 0 ; | |
2677 | char *kwnames[] = { | |
2678 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2679 | }; | |
2680 | ||
2681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
2682 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2683 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2684 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2685 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 2686 | if (obj2) { |
36ed4f51 RD |
2687 | { |
2688 | arg3 = (int const)(SWIG_As_int(obj2)); | |
2689 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2690 | } | |
d55e5bfc RD |
2691 | } |
2692 | if (obj3) { | |
2693 | { | |
2694 | arg4 = &temp4; | |
2695 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2696 | } | |
2697 | } | |
2698 | if (obj4) { | |
2699 | { | |
2700 | arg5 = &temp5; | |
2701 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2702 | } | |
2703 | } | |
2704 | if (obj5) { | |
36ed4f51 RD |
2705 | { |
2706 | arg6 = (long)(SWIG_As_long(obj5)); | |
2707 | if (SWIG_arg_fail(6)) SWIG_fail; | |
2708 | } | |
d55e5bfc RD |
2709 | } |
2710 | if (obj6) { | |
2711 | { | |
2712 | arg7 = wxString_in_helper(obj6); | |
2713 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 2714 | temp7 = true; |
d55e5bfc RD |
2715 | } |
2716 | } | |
2717 | { | |
2718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2719 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2720 | ||
2721 | wxPyEndAllowThreads(__tstate); | |
2722 | if (PyErr_Occurred()) SWIG_fail; | |
2723 | } | |
2724 | { | |
2725 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2726 | } | |
2727 | { | |
2728 | if (temp7) | |
2729 | delete arg7; | |
2730 | } | |
2731 | return resultobj; | |
2732 | fail: | |
2733 | { | |
2734 | if (temp7) | |
2735 | delete arg7; | |
2736 | } | |
2737 | return NULL; | |
2738 | } | |
2739 | ||
2740 | ||
c370783e | 2741 | static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2742 | PyObject *resultobj; |
2743 | wxPanel *arg1 = (wxPanel *) 0 ; | |
2744 | PyObject * obj0 = 0 ; | |
2745 | char *kwnames[] = { | |
2746 | (char *) "self", NULL | |
2747 | }; | |
2748 | ||
2749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
2750 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2751 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
2752 | { |
2753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2754 | (arg1)->InitDialog(); | |
2755 | ||
2756 | wxPyEndAllowThreads(__tstate); | |
2757 | if (PyErr_Occurred()) SWIG_fail; | |
2758 | } | |
2759 | Py_INCREF(Py_None); resultobj = Py_None; | |
2760 | return resultobj; | |
2761 | fail: | |
2762 | return NULL; | |
2763 | } | |
2764 | ||
2765 | ||
5cbf236d RD |
2766 | static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
2767 | PyObject *resultobj; | |
2768 | wxPanel *arg1 = (wxPanel *) 0 ; | |
2769 | PyObject * obj0 = 0 ; | |
2770 | char *kwnames[] = { | |
2771 | (char *) "self", NULL | |
2772 | }; | |
2773 | ||
2774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
2775 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2776 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d RD |
2777 | { |
2778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2779 | (arg1)->SetFocus(); | |
2780 | ||
2781 | wxPyEndAllowThreads(__tstate); | |
2782 | if (PyErr_Occurred()) SWIG_fail; | |
2783 | } | |
2784 | Py_INCREF(Py_None); resultobj = Py_None; | |
2785 | return resultobj; | |
2786 | fail: | |
2787 | return NULL; | |
2788 | } | |
2789 | ||
2790 | ||
2791 | static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) { | |
2792 | PyObject *resultobj; | |
2793 | wxPanel *arg1 = (wxPanel *) 0 ; | |
2794 | PyObject * obj0 = 0 ; | |
2795 | char *kwnames[] = { | |
2796 | (char *) "self", NULL | |
2797 | }; | |
2798 | ||
2799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
2800 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0); |
2801 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d RD |
2802 | { |
2803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2804 | (arg1)->SetFocusIgnoringChildren(); | |
2805 | ||
2806 | wxPyEndAllowThreads(__tstate); | |
2807 | if (PyErr_Occurred()) SWIG_fail; | |
2808 | } | |
2809 | Py_INCREF(Py_None); resultobj = Py_None; | |
2810 | return resultobj; | |
2811 | fail: | |
2812 | return NULL; | |
2813 | } | |
2814 | ||
2815 | ||
c370783e | 2816 | static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 2817 | PyObject *resultobj; |
36ed4f51 | 2818 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
2819 | wxVisualAttributes result; |
2820 | PyObject * obj0 = 0 ; | |
2821 | char *kwnames[] = { | |
2822 | (char *) "variant", NULL | |
2823 | }; | |
2824 | ||
2825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
2826 | if (obj0) { | |
36ed4f51 RD |
2827 | { |
2828 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
2829 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2830 | } | |
f20a2e1f RD |
2831 | } |
2832 | { | |
0439c23b | 2833 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
2834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2835 | result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
2836 | ||
2837 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2838 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
2839 | } |
2840 | { | |
2841 | wxVisualAttributes * resultptr; | |
36ed4f51 | 2842 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
2843 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
2844 | } | |
2845 | return resultobj; | |
2846 | fail: | |
2847 | return NULL; | |
2848 | } | |
2849 | ||
2850 | ||
c370783e | 2851 | static PyObject * Panel_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
2852 | PyObject *obj; |
2853 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2854 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
2855 | Py_INCREF(obj); | |
2856 | return Py_BuildValue((char *)""); | |
2857 | } | |
c370783e | 2858 | static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2859 | PyObject *resultobj; |
2860 | wxWindow *arg1 = (wxWindow *) 0 ; | |
2861 | int arg2 = (int) (int)-1 ; | |
2862 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
2863 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
2864 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
2865 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
2866 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
2867 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
2868 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
2869 | wxScrolledWindow *result; | |
2870 | wxPoint temp3 ; | |
2871 | wxSize temp4 ; | |
b411df4a | 2872 | bool temp6 = false ; |
d55e5bfc RD |
2873 | PyObject * obj0 = 0 ; |
2874 | PyObject * obj1 = 0 ; | |
2875 | PyObject * obj2 = 0 ; | |
2876 | PyObject * obj3 = 0 ; | |
2877 | PyObject * obj4 = 0 ; | |
2878 | PyObject * obj5 = 0 ; | |
2879 | char *kwnames[] = { | |
2880 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2881 | }; | |
2882 | ||
2883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
2884 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
2885 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 2886 | if (obj1) { |
36ed4f51 RD |
2887 | { |
2888 | arg2 = (int const)(SWIG_As_int(obj1)); | |
2889 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2890 | } | |
d55e5bfc RD |
2891 | } |
2892 | if (obj2) { | |
2893 | { | |
2894 | arg3 = &temp3; | |
2895 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
2896 | } | |
2897 | } | |
2898 | if (obj3) { | |
2899 | { | |
2900 | arg4 = &temp4; | |
2901 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
2902 | } | |
2903 | } | |
2904 | if (obj4) { | |
36ed4f51 RD |
2905 | { |
2906 | arg5 = (long)(SWIG_As_long(obj4)); | |
2907 | if (SWIG_arg_fail(5)) SWIG_fail; | |
2908 | } | |
d55e5bfc RD |
2909 | } |
2910 | if (obj5) { | |
2911 | { | |
2912 | arg6 = wxString_in_helper(obj5); | |
2913 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 2914 | temp6 = true; |
d55e5bfc RD |
2915 | } |
2916 | } | |
2917 | { | |
0439c23b | 2918 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
2919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2920 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
2921 | ||
2922 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2923 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 2924 | } |
b0f7404b | 2925 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d55e5bfc RD |
2926 | { |
2927 | if (temp6) | |
2928 | delete arg6; | |
2929 | } | |
2930 | return resultobj; | |
2931 | fail: | |
2932 | { | |
2933 | if (temp6) | |
2934 | delete arg6; | |
2935 | } | |
2936 | return NULL; | |
2937 | } | |
2938 | ||
2939 | ||
c370783e | 2940 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2941 | PyObject *resultobj; |
2942 | wxScrolledWindow *result; | |
2943 | char *kwnames[] = { | |
2944 | NULL | |
2945 | }; | |
2946 | ||
2947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
2948 | { | |
0439c23b | 2949 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
2950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2951 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
2952 | ||
2953 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2954 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 2955 | } |
b0f7404b | 2956 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d55e5bfc RD |
2957 | return resultobj; |
2958 | fail: | |
2959 | return NULL; | |
2960 | } | |
2961 | ||
2962 | ||
c370783e | 2963 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
2964 | PyObject *resultobj; |
2965 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2966 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2967 | int arg3 = (int) (int)-1 ; | |
2968 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2969 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2970 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2971 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2972 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
2973 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
2974 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2975 | bool result; | |
2976 | wxPoint temp4 ; | |
2977 | wxSize temp5 ; | |
b411df4a | 2978 | bool temp7 = false ; |
d55e5bfc RD |
2979 | PyObject * obj0 = 0 ; |
2980 | PyObject * obj1 = 0 ; | |
2981 | PyObject * obj2 = 0 ; | |
2982 | PyObject * obj3 = 0 ; | |
2983 | PyObject * obj4 = 0 ; | |
2984 | PyObject * obj5 = 0 ; | |
2985 | PyObject * obj6 = 0 ; | |
2986 | char *kwnames[] = { | |
2987 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2988 | }; | |
2989 | ||
2990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
2991 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
2992 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2993 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2994 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 2995 | if (obj2) { |
36ed4f51 RD |
2996 | { |
2997 | arg3 = (int const)(SWIG_As_int(obj2)); | |
2998 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2999 | } | |
d55e5bfc RD |
3000 | } |
3001 | if (obj3) { | |
3002 | { | |
3003 | arg4 = &temp4; | |
3004 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3005 | } | |
3006 | } | |
3007 | if (obj4) { | |
3008 | { | |
3009 | arg5 = &temp5; | |
3010 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3011 | } | |
3012 | } | |
3013 | if (obj5) { | |
36ed4f51 RD |
3014 | { |
3015 | arg6 = (long)(SWIG_As_long(obj5)); | |
3016 | if (SWIG_arg_fail(6)) SWIG_fail; | |
3017 | } | |
d55e5bfc RD |
3018 | } |
3019 | if (obj6) { | |
3020 | { | |
3021 | arg7 = wxString_in_helper(obj6); | |
3022 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 3023 | temp7 = true; |
d55e5bfc RD |
3024 | } |
3025 | } | |
3026 | { | |
3027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3028 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3029 | ||
3030 | wxPyEndAllowThreads(__tstate); | |
3031 | if (PyErr_Occurred()) SWIG_fail; | |
3032 | } | |
3033 | { | |
3034 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3035 | } | |
3036 | { | |
3037 | if (temp7) | |
3038 | delete arg7; | |
3039 | } | |
3040 | return resultobj; | |
3041 | fail: | |
3042 | { | |
3043 | if (temp7) | |
3044 | delete arg7; | |
3045 | } | |
3046 | return NULL; | |
3047 | } | |
3048 | ||
3049 | ||
c370783e | 3050 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3051 | PyObject *resultobj; |
3052 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3053 | int arg2 ; | |
3054 | int arg3 ; | |
3055 | int arg4 ; | |
3056 | int arg5 ; | |
3057 | int arg6 = (int) 0 ; | |
3058 | int arg7 = (int) 0 ; | |
b411df4a | 3059 | bool arg8 = (bool) false ; |
d55e5bfc RD |
3060 | PyObject * obj0 = 0 ; |
3061 | PyObject * obj1 = 0 ; | |
3062 | PyObject * obj2 = 0 ; | |
3063 | PyObject * obj3 = 0 ; | |
3064 | PyObject * obj4 = 0 ; | |
3065 | PyObject * obj5 = 0 ; | |
3066 | PyObject * obj6 = 0 ; | |
3067 | PyObject * obj7 = 0 ; | |
3068 | char *kwnames[] = { | |
3069 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
3070 | }; | |
3071 | ||
3072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; | |
36ed4f51 RD |
3073 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3074 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3075 | { | |
3076 | arg2 = (int)(SWIG_As_int(obj1)); | |
3077 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3078 | } | |
3079 | { | |
3080 | arg3 = (int)(SWIG_As_int(obj2)); | |
3081 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3082 | } | |
3083 | { | |
3084 | arg4 = (int)(SWIG_As_int(obj3)); | |
3085 | if (SWIG_arg_fail(4)) SWIG_fail; | |
3086 | } | |
3087 | { | |
3088 | arg5 = (int)(SWIG_As_int(obj4)); | |
3089 | if (SWIG_arg_fail(5)) SWIG_fail; | |
3090 | } | |
d55e5bfc | 3091 | if (obj5) { |
36ed4f51 RD |
3092 | { |
3093 | arg6 = (int)(SWIG_As_int(obj5)); | |
3094 | if (SWIG_arg_fail(6)) SWIG_fail; | |
3095 | } | |
d55e5bfc RD |
3096 | } |
3097 | if (obj6) { | |
36ed4f51 RD |
3098 | { |
3099 | arg7 = (int)(SWIG_As_int(obj6)); | |
3100 | if (SWIG_arg_fail(7)) SWIG_fail; | |
3101 | } | |
d55e5bfc RD |
3102 | } |
3103 | if (obj7) { | |
36ed4f51 RD |
3104 | { |
3105 | arg8 = (bool)(SWIG_As_bool(obj7)); | |
3106 | if (SWIG_arg_fail(8)) SWIG_fail; | |
3107 | } | |
d55e5bfc RD |
3108 | } |
3109 | { | |
3110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3111 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
3112 | ||
3113 | wxPyEndAllowThreads(__tstate); | |
3114 | if (PyErr_Occurred()) SWIG_fail; | |
3115 | } | |
3116 | Py_INCREF(Py_None); resultobj = Py_None; | |
3117 | return resultobj; | |
3118 | fail: | |
3119 | return NULL; | |
3120 | } | |
3121 | ||
3122 | ||
c370783e | 3123 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3124 | PyObject *resultobj; |
3125 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3126 | int arg2 ; | |
3127 | int arg3 ; | |
3128 | PyObject * obj0 = 0 ; | |
3129 | PyObject * obj1 = 0 ; | |
3130 | PyObject * obj2 = 0 ; | |
3131 | char *kwnames[] = { | |
3132 | (char *) "self",(char *) "x",(char *) "y", NULL | |
3133 | }; | |
3134 | ||
3135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
3136 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3137 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3138 | { | |
3139 | arg2 = (int)(SWIG_As_int(obj1)); | |
3140 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3141 | } | |
3142 | { | |
3143 | arg3 = (int)(SWIG_As_int(obj2)); | |
3144 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3145 | } | |
d55e5bfc RD |
3146 | { |
3147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3148 | (arg1)->Scroll(arg2,arg3); | |
3149 | ||
3150 | wxPyEndAllowThreads(__tstate); | |
3151 | if (PyErr_Occurred()) SWIG_fail; | |
3152 | } | |
3153 | Py_INCREF(Py_None); resultobj = Py_None; | |
3154 | return resultobj; | |
3155 | fail: | |
3156 | return NULL; | |
3157 | } | |
3158 | ||
3159 | ||
c370783e | 3160 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3161 | PyObject *resultobj; |
3162 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3163 | int arg2 ; | |
3164 | int result; | |
3165 | PyObject * obj0 = 0 ; | |
3166 | PyObject * obj1 = 0 ; | |
3167 | char *kwnames[] = { | |
3168 | (char *) "self",(char *) "orient", NULL | |
3169 | }; | |
3170 | ||
3171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3172 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3173 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3174 | { | |
3175 | arg2 = (int)(SWIG_As_int(obj1)); | |
3176 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3177 | } | |
d55e5bfc RD |
3178 | { |
3179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3180 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
3181 | ||
3182 | wxPyEndAllowThreads(__tstate); | |
3183 | if (PyErr_Occurred()) SWIG_fail; | |
3184 | } | |
36ed4f51 RD |
3185 | { |
3186 | resultobj = SWIG_From_int((int)(result)); | |
3187 | } | |
d55e5bfc RD |
3188 | return resultobj; |
3189 | fail: | |
3190 | return NULL; | |
3191 | } | |
3192 | ||
3193 | ||
c370783e | 3194 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3195 | PyObject *resultobj; |
3196 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3197 | int arg2 ; | |
3198 | int arg3 ; | |
3199 | PyObject * obj0 = 0 ; | |
3200 | PyObject * obj1 = 0 ; | |
3201 | PyObject * obj2 = 0 ; | |
3202 | char *kwnames[] = { | |
3203 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
3204 | }; | |
3205 | ||
3206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
3207 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3208 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3209 | { | |
3210 | arg2 = (int)(SWIG_As_int(obj1)); | |
3211 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3212 | } | |
3213 | { | |
3214 | arg3 = (int)(SWIG_As_int(obj2)); | |
3215 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3216 | } | |
d55e5bfc RD |
3217 | { |
3218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3219 | (arg1)->SetScrollPageSize(arg2,arg3); | |
3220 | ||
3221 | wxPyEndAllowThreads(__tstate); | |
3222 | if (PyErr_Occurred()) SWIG_fail; | |
3223 | } | |
3224 | Py_INCREF(Py_None); resultobj = Py_None; | |
3225 | return resultobj; | |
3226 | fail: | |
3227 | return NULL; | |
3228 | } | |
3229 | ||
3230 | ||
c370783e | 3231 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3232 | PyObject *resultobj; |
3233 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3234 | int arg2 ; | |
3235 | int arg3 ; | |
3236 | PyObject * obj0 = 0 ; | |
3237 | PyObject * obj1 = 0 ; | |
3238 | PyObject * obj2 = 0 ; | |
3239 | char *kwnames[] = { | |
3240 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
3241 | }; | |
3242 | ||
3243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
3244 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3245 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3246 | { | |
3247 | arg2 = (int)(SWIG_As_int(obj1)); | |
3248 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3249 | } | |
3250 | { | |
3251 | arg3 = (int)(SWIG_As_int(obj2)); | |
3252 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3253 | } | |
d55e5bfc RD |
3254 | { |
3255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3256 | (arg1)->SetScrollRate(arg2,arg3); | |
3257 | ||
3258 | wxPyEndAllowThreads(__tstate); | |
3259 | if (PyErr_Occurred()) SWIG_fail; | |
3260 | } | |
3261 | Py_INCREF(Py_None); resultobj = Py_None; | |
3262 | return resultobj; | |
3263 | fail: | |
3264 | return NULL; | |
3265 | } | |
3266 | ||
3267 | ||
c370783e | 3268 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3269 | PyObject *resultobj; |
3270 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3271 | int *arg2 = (int *) 0 ; | |
3272 | int *arg3 = (int *) 0 ; | |
3273 | int temp2 ; | |
c370783e | 3274 | int res2 = 0 ; |
d55e5bfc | 3275 | int temp3 ; |
c370783e | 3276 | int res3 = 0 ; |
d55e5bfc RD |
3277 | PyObject * obj0 = 0 ; |
3278 | char *kwnames[] = { | |
3279 | (char *) "self", NULL | |
3280 | }; | |
3281 | ||
c370783e RD |
3282 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
3283 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 3284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
3285 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3286 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3287 | { |
3288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3289 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
3290 | ||
3291 | wxPyEndAllowThreads(__tstate); | |
3292 | if (PyErr_Occurred()) SWIG_fail; | |
3293 | } | |
3294 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
3295 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
3296 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
3297 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
3298 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
3299 | return resultobj; |
3300 | fail: | |
3301 | return NULL; | |
3302 | } | |
3303 | ||
3304 | ||
c370783e | 3305 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3306 | PyObject *resultobj; |
3307 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3308 | bool arg2 ; | |
3309 | bool arg3 ; | |
3310 | PyObject * obj0 = 0 ; | |
3311 | PyObject * obj1 = 0 ; | |
3312 | PyObject * obj2 = 0 ; | |
3313 | char *kwnames[] = { | |
3314 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
3315 | }; | |
3316 | ||
3317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
3318 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3319 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3320 | { | |
3321 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
3322 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3323 | } | |
3324 | { | |
3325 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
3326 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3327 | } | |
d55e5bfc RD |
3328 | { |
3329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3330 | (arg1)->EnableScrolling(arg2,arg3); | |
3331 | ||
3332 | wxPyEndAllowThreads(__tstate); | |
3333 | if (PyErr_Occurred()) SWIG_fail; | |
3334 | } | |
3335 | Py_INCREF(Py_None); resultobj = Py_None; | |
3336 | return resultobj; | |
3337 | fail: | |
3338 | return NULL; | |
3339 | } | |
3340 | ||
3341 | ||
c370783e | 3342 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3343 | PyObject *resultobj; |
3344 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3345 | int *arg2 = (int *) 0 ; | |
3346 | int *arg3 = (int *) 0 ; | |
3347 | int temp2 ; | |
c370783e | 3348 | int res2 = 0 ; |
d55e5bfc | 3349 | int temp3 ; |
c370783e | 3350 | int res3 = 0 ; |
d55e5bfc RD |
3351 | PyObject * obj0 = 0 ; |
3352 | char *kwnames[] = { | |
3353 | (char *) "self", NULL | |
3354 | }; | |
3355 | ||
c370783e RD |
3356 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
3357 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 3358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
3359 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3360 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3361 | { |
3362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3363 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
3364 | ||
3365 | wxPyEndAllowThreads(__tstate); | |
3366 | if (PyErr_Occurred()) SWIG_fail; | |
3367 | } | |
3368 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
3369 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
3370 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
3371 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
3372 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
3373 | return resultobj; |
3374 | fail: | |
3375 | return NULL; | |
3376 | } | |
3377 | ||
3378 | ||
c370783e | 3379 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3380 | PyObject *resultobj; |
3381 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3382 | double arg2 ; | |
3383 | double arg3 ; | |
3384 | PyObject * obj0 = 0 ; | |
3385 | PyObject * obj1 = 0 ; | |
3386 | PyObject * obj2 = 0 ; | |
3387 | char *kwnames[] = { | |
3388 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
3389 | }; | |
3390 | ||
3391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
3392 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3393 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3394 | { | |
3395 | arg2 = (double)(SWIG_As_double(obj1)); | |
3396 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3397 | } | |
3398 | { | |
3399 | arg3 = (double)(SWIG_As_double(obj2)); | |
3400 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3401 | } | |
d55e5bfc RD |
3402 | { |
3403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3404 | (arg1)->SetScale(arg2,arg3); | |
3405 | ||
3406 | wxPyEndAllowThreads(__tstate); | |
3407 | if (PyErr_Occurred()) SWIG_fail; | |
3408 | } | |
3409 | Py_INCREF(Py_None); resultobj = Py_None; | |
3410 | return resultobj; | |
3411 | fail: | |
3412 | return NULL; | |
3413 | } | |
3414 | ||
3415 | ||
c370783e | 3416 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3417 | PyObject *resultobj; |
3418 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3419 | double result; | |
3420 | PyObject * obj0 = 0 ; | |
3421 | char *kwnames[] = { | |
3422 | (char *) "self", NULL | |
3423 | }; | |
3424 | ||
3425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
3426 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3427 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3428 | { |
3429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3430 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
3431 | ||
3432 | wxPyEndAllowThreads(__tstate); | |
3433 | if (PyErr_Occurred()) SWIG_fail; | |
3434 | } | |
36ed4f51 RD |
3435 | { |
3436 | resultobj = SWIG_From_double((double)(result)); | |
3437 | } | |
d55e5bfc RD |
3438 | return resultobj; |
3439 | fail: | |
3440 | return NULL; | |
3441 | } | |
3442 | ||
3443 | ||
c370783e | 3444 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3445 | PyObject *resultobj; |
3446 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3447 | double result; | |
3448 | PyObject * obj0 = 0 ; | |
3449 | char *kwnames[] = { | |
3450 | (char *) "self", NULL | |
3451 | }; | |
3452 | ||
3453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
3454 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3455 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3456 | { |
3457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3458 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
3459 | ||
3460 | wxPyEndAllowThreads(__tstate); | |
3461 | if (PyErr_Occurred()) SWIG_fail; | |
3462 | } | |
36ed4f51 RD |
3463 | { |
3464 | resultobj = SWIG_From_double((double)(result)); | |
3465 | } | |
d55e5bfc RD |
3466 | return resultobj; |
3467 | fail: | |
3468 | return NULL; | |
3469 | } | |
3470 | ||
3471 | ||
c370783e | 3472 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
3473 | PyObject *resultobj; |
3474 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3475 | wxPoint *arg2 = 0 ; | |
3476 | wxPoint result; | |
3477 | wxPoint temp2 ; | |
3478 | PyObject * obj0 = 0 ; | |
3479 | PyObject * obj1 = 0 ; | |
3480 | ||
3481 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3482 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3483 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3484 | { |
3485 | arg2 = &temp2; | |
3486 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3487 | } | |
3488 | { | |
3489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3490 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); | |
3491 | ||
3492 | wxPyEndAllowThreads(__tstate); | |
3493 | if (PyErr_Occurred()) SWIG_fail; | |
3494 | } | |
3495 | { | |
3496 | wxPoint * resultptr; | |
36ed4f51 | 3497 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
3498 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
3499 | } | |
3500 | return resultobj; | |
3501 | fail: | |
3502 | return NULL; | |
3503 | } | |
3504 | ||
3505 | ||
c370783e | 3506 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
3507 | PyObject *resultobj; |
3508 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3509 | int arg2 ; | |
3510 | int arg3 ; | |
3511 | int *arg4 = (int *) 0 ; | |
3512 | int *arg5 = (int *) 0 ; | |
3513 | int temp4 ; | |
c370783e | 3514 | int res4 = 0 ; |
d55e5bfc | 3515 | int temp5 ; |
c370783e | 3516 | int res5 = 0 ; |
d55e5bfc RD |
3517 | PyObject * obj0 = 0 ; |
3518 | PyObject * obj1 = 0 ; | |
3519 | PyObject * obj2 = 0 ; | |
3520 | ||
c370783e RD |
3521 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
3522 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d55e5bfc | 3523 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
36ed4f51 RD |
3524 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3525 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3526 | { | |
3527 | arg2 = (int)(SWIG_As_int(obj1)); | |
3528 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3529 | } | |
3530 | { | |
3531 | arg3 = (int)(SWIG_As_int(obj2)); | |
3532 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3533 | } | |
d55e5bfc RD |
3534 | { |
3535 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3536 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); | |
3537 | ||
3538 | wxPyEndAllowThreads(__tstate); | |
3539 | if (PyErr_Occurred()) SWIG_fail; | |
3540 | } | |
3541 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
3542 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
3543 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
3544 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
3545 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
3546 | return resultobj; |
3547 | fail: | |
3548 | return NULL; | |
3549 | } | |
3550 | ||
3551 | ||
3552 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
3553 | int argc; | |
3554 | PyObject *argv[4]; | |
3555 | int ii; | |
3556 | ||
3557 | argc = PyObject_Length(args); | |
3558 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
3559 | argv[ii] = PyTuple_GetItem(args,ii); | |
3560 | } | |
3561 | if (argc == 2) { | |
3562 | int _v; | |
3563 | { | |
3564 | void *ptr; | |
3565 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
3566 | _v = 0; | |
3567 | PyErr_Clear(); | |
3568 | } else { | |
3569 | _v = 1; | |
3570 | } | |
3571 | } | |
3572 | if (_v) { | |
3573 | { | |
3574 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
3575 | } | |
3576 | if (_v) { | |
3577 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); | |
3578 | } | |
3579 | } | |
3580 | } | |
3581 | if (argc == 3) { | |
3582 | int _v; | |
3583 | { | |
3584 | void *ptr; | |
3585 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
3586 | _v = 0; | |
3587 | PyErr_Clear(); | |
3588 | } else { | |
3589 | _v = 1; | |
3590 | } | |
3591 | } | |
3592 | if (_v) { | |
c370783e | 3593 | _v = SWIG_Check_int(argv[1]); |
d55e5bfc | 3594 | if (_v) { |
c370783e | 3595 | _v = SWIG_Check_int(argv[2]); |
d55e5bfc RD |
3596 | if (_v) { |
3597 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); | |
3598 | } | |
3599 | } | |
3600 | } | |
3601 | } | |
3602 | ||
36ed4f51 | 3603 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); |
d55e5bfc RD |
3604 | return NULL; |
3605 | } | |
3606 | ||
3607 | ||
c370783e | 3608 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
3609 | PyObject *resultobj; |
3610 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3611 | wxPoint *arg2 = 0 ; | |
3612 | wxPoint result; | |
3613 | wxPoint temp2 ; | |
3614 | PyObject * obj0 = 0 ; | |
3615 | PyObject * obj1 = 0 ; | |
3616 | ||
3617 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3618 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3619 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3620 | { |
3621 | arg2 = &temp2; | |
3622 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3623 | } | |
3624 | { | |
3625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3626 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); | |
3627 | ||
3628 | wxPyEndAllowThreads(__tstate); | |
3629 | if (PyErr_Occurred()) SWIG_fail; | |
3630 | } | |
3631 | { | |
3632 | wxPoint * resultptr; | |
36ed4f51 | 3633 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
3634 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
3635 | } | |
3636 | return resultobj; | |
3637 | fail: | |
3638 | return NULL; | |
3639 | } | |
3640 | ||
3641 | ||
c370783e | 3642 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
3643 | PyObject *resultobj; |
3644 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3645 | int arg2 ; | |
3646 | int arg3 ; | |
3647 | int *arg4 = (int *) 0 ; | |
3648 | int *arg5 = (int *) 0 ; | |
3649 | int temp4 ; | |
c370783e | 3650 | int res4 = 0 ; |
d55e5bfc | 3651 | int temp5 ; |
c370783e | 3652 | int res5 = 0 ; |
d55e5bfc RD |
3653 | PyObject * obj0 = 0 ; |
3654 | PyObject * obj1 = 0 ; | |
3655 | PyObject * obj2 = 0 ; | |
3656 | ||
c370783e RD |
3657 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
3658 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d55e5bfc | 3659 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
36ed4f51 RD |
3660 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3661 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3662 | { | |
3663 | arg2 = (int)(SWIG_As_int(obj1)); | |
3664 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3665 | } | |
3666 | { | |
3667 | arg3 = (int)(SWIG_As_int(obj2)); | |
3668 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3669 | } | |
d55e5bfc RD |
3670 | { |
3671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3672 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); | |
3673 | ||
3674 | wxPyEndAllowThreads(__tstate); | |
3675 | if (PyErr_Occurred()) SWIG_fail; | |
3676 | } | |
3677 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
3678 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
3679 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
3680 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
3681 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
3682 | return resultobj; |
3683 | fail: | |
3684 | return NULL; | |
3685 | } | |
3686 | ||
3687 | ||
3688 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
3689 | int argc; | |
3690 | PyObject *argv[4]; | |
3691 | int ii; | |
3692 | ||
3693 | argc = PyObject_Length(args); | |
3694 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
3695 | argv[ii] = PyTuple_GetItem(args,ii); | |
3696 | } | |
3697 | if (argc == 2) { | |
3698 | int _v; | |
3699 | { | |
3700 | void *ptr; | |
3701 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
3702 | _v = 0; | |
3703 | PyErr_Clear(); | |
3704 | } else { | |
3705 | _v = 1; | |
3706 | } | |
3707 | } | |
3708 | if (_v) { | |
3709 | { | |
3710 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
3711 | } | |
3712 | if (_v) { | |
3713 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); | |
3714 | } | |
3715 | } | |
3716 | } | |
3717 | if (argc == 3) { | |
3718 | int _v; | |
3719 | { | |
3720 | void *ptr; | |
3721 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
3722 | _v = 0; | |
3723 | PyErr_Clear(); | |
3724 | } else { | |
3725 | _v = 1; | |
3726 | } | |
3727 | } | |
3728 | if (_v) { | |
c370783e | 3729 | _v = SWIG_Check_int(argv[1]); |
d55e5bfc | 3730 | if (_v) { |
c370783e | 3731 | _v = SWIG_Check_int(argv[2]); |
d55e5bfc RD |
3732 | if (_v) { |
3733 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); | |
3734 | } | |
3735 | } | |
3736 | } | |
3737 | } | |
3738 | ||
36ed4f51 | 3739 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); |
d55e5bfc RD |
3740 | return NULL; |
3741 | } | |
3742 | ||
3743 | ||
c370783e | 3744 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3745 | PyObject *resultobj; |
3746 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3747 | PyObject * obj0 = 0 ; | |
3748 | char *kwnames[] = { | |
3749 | (char *) "self", NULL | |
3750 | }; | |
3751 | ||
3752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
3753 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3754 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3755 | { |
3756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3757 | (arg1)->AdjustScrollbars(); | |
3758 | ||
3759 | wxPyEndAllowThreads(__tstate); | |
3760 | if (PyErr_Occurred()) SWIG_fail; | |
3761 | } | |
3762 | Py_INCREF(Py_None); resultobj = Py_None; | |
3763 | return resultobj; | |
3764 | fail: | |
3765 | return NULL; | |
3766 | } | |
3767 | ||
3768 | ||
c370783e | 3769 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3770 | PyObject *resultobj; |
3771 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3772 | wxScrollWinEvent *arg2 = 0 ; | |
3773 | int result; | |
3774 | PyObject * obj0 = 0 ; | |
3775 | PyObject * obj1 = 0 ; | |
3776 | char *kwnames[] = { | |
3777 | (char *) "self",(char *) "event", NULL | |
3778 | }; | |
3779 | ||
3780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3781 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3782 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3783 | { | |
3784 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0); | |
3785 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3786 | if (arg2 == NULL) { | |
3787 | SWIG_null_ref("wxScrollWinEvent"); | |
3788 | } | |
3789 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
3790 | } |
3791 | { | |
3792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3793 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
3794 | ||
3795 | wxPyEndAllowThreads(__tstate); | |
3796 | if (PyErr_Occurred()) SWIG_fail; | |
3797 | } | |
36ed4f51 RD |
3798 | { |
3799 | resultobj = SWIG_From_int((int)(result)); | |
3800 | } | |
d55e5bfc RD |
3801 | return resultobj; |
3802 | fail: | |
3803 | return NULL; | |
3804 | } | |
3805 | ||
3806 | ||
c370783e | 3807 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3808 | PyObject *resultobj; |
3809 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3810 | wxWindow *arg2 = (wxWindow *) 0 ; | |
3811 | PyObject * obj0 = 0 ; | |
3812 | PyObject * obj1 = 0 ; | |
3813 | char *kwnames[] = { | |
3814 | (char *) "self",(char *) "target", NULL | |
3815 | }; | |
3816 | ||
3817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3818 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3819 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3820 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
3821 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
3822 | { |
3823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3824 | (arg1)->SetTargetWindow(arg2); | |
3825 | ||
3826 | wxPyEndAllowThreads(__tstate); | |
3827 | if (PyErr_Occurred()) SWIG_fail; | |
3828 | } | |
3829 | Py_INCREF(Py_None); resultobj = Py_None; | |
3830 | return resultobj; | |
3831 | fail: | |
3832 | return NULL; | |
3833 | } | |
3834 | ||
3835 | ||
c370783e | 3836 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3837 | PyObject *resultobj; |
3838 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3839 | wxWindow *result; | |
3840 | PyObject * obj0 = 0 ; | |
3841 | char *kwnames[] = { | |
3842 | (char *) "self", NULL | |
3843 | }; | |
3844 | ||
3845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
3846 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3847 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3848 | { |
3849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3850 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
3851 | ||
3852 | wxPyEndAllowThreads(__tstate); | |
3853 | if (PyErr_Occurred()) SWIG_fail; | |
3854 | } | |
3855 | { | |
412d302d | 3856 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
3857 | } |
3858 | return resultobj; | |
3859 | fail: | |
3860 | return NULL; | |
3861 | } | |
3862 | ||
3863 | ||
c370783e | 3864 | static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3865 | PyObject *resultobj; |
3866 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3867 | wxRect *arg2 = 0 ; | |
3868 | wxRect temp2 ; | |
3869 | PyObject * obj0 = 0 ; | |
3870 | PyObject * obj1 = 0 ; | |
3871 | char *kwnames[] = { | |
3872 | (char *) "self",(char *) "rect", NULL | |
3873 | }; | |
3874 | ||
3875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3876 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3877 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3878 | { |
3879 | arg2 = &temp2; | |
3880 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
3881 | } | |
3882 | { | |
3883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3884 | (arg1)->SetTargetRect((wxRect const &)*arg2); | |
3885 | ||
3886 | wxPyEndAllowThreads(__tstate); | |
3887 | if (PyErr_Occurred()) SWIG_fail; | |
3888 | } | |
3889 | Py_INCREF(Py_None); resultobj = Py_None; | |
3890 | return resultobj; | |
3891 | fail: | |
3892 | return NULL; | |
3893 | } | |
3894 | ||
3895 | ||
c370783e | 3896 | static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
3897 | PyObject *resultobj; |
3898 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3899 | wxRect result; | |
3900 | PyObject * obj0 = 0 ; | |
3901 | char *kwnames[] = { | |
3902 | (char *) "self", NULL | |
3903 | }; | |
3904 | ||
3905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
3906 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3907 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
3908 | { |
3909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3910 | result = ((wxScrolledWindow const *)arg1)->GetTargetRect(); | |
3911 | ||
3912 | wxPyEndAllowThreads(__tstate); | |
3913 | if (PyErr_Occurred()) SWIG_fail; | |
3914 | } | |
3915 | { | |
3916 | wxRect * resultptr; | |
36ed4f51 | 3917 | resultptr = new wxRect((wxRect &)(result)); |
d55e5bfc RD |
3918 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
3919 | } | |
3920 | return resultobj; | |
3921 | fail: | |
3922 | return NULL; | |
3923 | } | |
3924 | ||
3925 | ||
c370783e | 3926 | static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) { |
f5b96ee1 RD |
3927 | PyObject *resultobj; |
3928 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
3929 | wxDC *arg2 = 0 ; | |
3930 | PyObject * obj0 = 0 ; | |
3931 | PyObject * obj1 = 0 ; | |
3932 | char *kwnames[] = { | |
3933 | (char *) "self",(char *) "dc", NULL | |
3934 | }; | |
3935 | ||
3936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
3937 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
3938 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3939 | { | |
3940 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
3941 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3942 | if (arg2 == NULL) { | |
3943 | SWIG_null_ref("wxDC"); | |
3944 | } | |
3945 | if (SWIG_arg_fail(2)) SWIG_fail; | |
f5b96ee1 RD |
3946 | } |
3947 | { | |
3948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3949 | (arg1)->DoPrepareDC(*arg2); | |
3950 | ||
3951 | wxPyEndAllowThreads(__tstate); | |
3952 | if (PyErr_Occurred()) SWIG_fail; | |
3953 | } | |
3954 | Py_INCREF(Py_None); resultobj = Py_None; | |
3955 | return resultobj; | |
3956 | fail: | |
3957 | return NULL; | |
3958 | } | |
3959 | ||
3960 | ||
c370783e | 3961 | static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 3962 | PyObject *resultobj; |
36ed4f51 | 3963 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
3964 | wxVisualAttributes result; |
3965 | PyObject * obj0 = 0 ; | |
3966 | char *kwnames[] = { | |
3967 | (char *) "variant", NULL | |
3968 | }; | |
3969 | ||
3970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
3971 | if (obj0) { | |
36ed4f51 RD |
3972 | { |
3973 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
3974 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3975 | } | |
f20a2e1f RD |
3976 | } |
3977 | { | |
0439c23b | 3978 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
3979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3980 | result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
3981 | ||
3982 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3983 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
3984 | } |
3985 | { | |
3986 | wxVisualAttributes * resultptr; | |
36ed4f51 | 3987 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
3988 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
3989 | } | |
3990 | return resultobj; | |
3991 | fail: | |
3992 | return NULL; | |
3993 | } | |
3994 | ||
3995 | ||
c370783e | 3996 | static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
3997 | PyObject *obj; |
3998 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3999 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
4000 | Py_INCREF(obj); | |
4001 | return Py_BuildValue((char *)""); | |
4002 | } | |
c370783e | 4003 | static int _wrap_FrameNameStr_set(PyObject *) { |
d55e5bfc RD |
4004 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); |
4005 | return 1; | |
4006 | } | |
4007 | ||
4008 | ||
36ed4f51 | 4009 | static PyObject *_wrap_FrameNameStr_get(void) { |
d55e5bfc RD |
4010 | PyObject *pyobj; |
4011 | ||
4012 | { | |
4013 | #if wxUSE_UNICODE | |
4014 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
4015 | #else | |
4016 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
4017 | #endif | |
4018 | } | |
4019 | return pyobj; | |
4020 | } | |
4021 | ||
4022 | ||
c370783e | 4023 | static int _wrap_DialogNameStr_set(PyObject *) { |
d55e5bfc RD |
4024 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); |
4025 | return 1; | |
4026 | } | |
4027 | ||
4028 | ||
36ed4f51 | 4029 | static PyObject *_wrap_DialogNameStr_get(void) { |
d55e5bfc RD |
4030 | PyObject *pyobj; |
4031 | ||
4032 | { | |
4033 | #if wxUSE_UNICODE | |
4034 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
4035 | #else | |
4036 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
4037 | #endif | |
4038 | } | |
4039 | return pyobj; | |
4040 | } | |
4041 | ||
4042 | ||
c370783e | 4043 | static int _wrap_StatusLineNameStr_set(PyObject *) { |
d55e5bfc RD |
4044 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); |
4045 | return 1; | |
4046 | } | |
4047 | ||
4048 | ||
36ed4f51 | 4049 | static PyObject *_wrap_StatusLineNameStr_get(void) { |
d55e5bfc RD |
4050 | PyObject *pyobj; |
4051 | ||
4052 | { | |
4053 | #if wxUSE_UNICODE | |
4054 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
4055 | #else | |
4056 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
4057 | #endif | |
4058 | } | |
4059 | return pyobj; | |
4060 | } | |
4061 | ||
4062 | ||
c370783e | 4063 | static int _wrap_ToolBarNameStr_set(PyObject *) { |
d55e5bfc RD |
4064 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); |
4065 | return 1; | |
4066 | } | |
4067 | ||
4068 | ||
36ed4f51 | 4069 | static PyObject *_wrap_ToolBarNameStr_get(void) { |
d55e5bfc RD |
4070 | PyObject *pyobj; |
4071 | ||
4072 | { | |
4073 | #if wxUSE_UNICODE | |
4074 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
4075 | #else | |
4076 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
4077 | #endif | |
4078 | } | |
4079 | return pyobj; | |
4080 | } | |
4081 | ||
4082 | ||
c370783e | 4083 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4084 | PyObject *resultobj; |
4085 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
b411df4a | 4086 | bool arg2 = (bool) true ; |
d55e5bfc RD |
4087 | PyObject * obj0 = 0 ; |
4088 | PyObject * obj1 = 0 ; | |
4089 | char *kwnames[] = { | |
4090 | (char *) "self",(char *) "maximize", NULL | |
4091 | }; | |
4092 | ||
4093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4094 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4095 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 4096 | if (obj1) { |
36ed4f51 RD |
4097 | { |
4098 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4099 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4100 | } | |
d55e5bfc RD |
4101 | } |
4102 | { | |
4103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4104 | (arg1)->Maximize(arg2); | |
4105 | ||
4106 | wxPyEndAllowThreads(__tstate); | |
4107 | if (PyErr_Occurred()) SWIG_fail; | |
4108 | } | |
4109 | Py_INCREF(Py_None); resultobj = Py_None; | |
4110 | return resultobj; | |
4111 | fail: | |
4112 | return NULL; | |
4113 | } | |
4114 | ||
4115 | ||
c370783e | 4116 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4117 | PyObject *resultobj; |
4118 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4119 | PyObject * obj0 = 0 ; | |
4120 | char *kwnames[] = { | |
4121 | (char *) "self", NULL | |
4122 | }; | |
4123 | ||
4124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4125 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4126 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4127 | { |
4128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4129 | (arg1)->Restore(); | |
4130 | ||
4131 | wxPyEndAllowThreads(__tstate); | |
4132 | if (PyErr_Occurred()) SWIG_fail; | |
4133 | } | |
4134 | Py_INCREF(Py_None); resultobj = Py_None; | |
4135 | return resultobj; | |
4136 | fail: | |
4137 | return NULL; | |
4138 | } | |
4139 | ||
4140 | ||
c370783e | 4141 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4142 | PyObject *resultobj; |
4143 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
b411df4a | 4144 | bool arg2 = (bool) true ; |
d55e5bfc RD |
4145 | PyObject * obj0 = 0 ; |
4146 | PyObject * obj1 = 0 ; | |
4147 | char *kwnames[] = { | |
4148 | (char *) "self",(char *) "iconize", NULL | |
4149 | }; | |
4150 | ||
4151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4152 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4153 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 4154 | if (obj1) { |
36ed4f51 RD |
4155 | { |
4156 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4157 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4158 | } | |
d55e5bfc RD |
4159 | } |
4160 | { | |
4161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4162 | (arg1)->Iconize(arg2); | |
4163 | ||
4164 | wxPyEndAllowThreads(__tstate); | |
4165 | if (PyErr_Occurred()) SWIG_fail; | |
4166 | } | |
4167 | Py_INCREF(Py_None); resultobj = Py_None; | |
4168 | return resultobj; | |
4169 | fail: | |
4170 | return NULL; | |
4171 | } | |
4172 | ||
4173 | ||
c370783e | 4174 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4175 | PyObject *resultobj; |
4176 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4177 | bool result; | |
4178 | PyObject * obj0 = 0 ; | |
4179 | char *kwnames[] = { | |
4180 | (char *) "self", NULL | |
4181 | }; | |
4182 | ||
4183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4184 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4185 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4186 | { |
4187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4188 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
4189 | ||
4190 | wxPyEndAllowThreads(__tstate); | |
4191 | if (PyErr_Occurred()) SWIG_fail; | |
4192 | } | |
4193 | { | |
4194 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4195 | } | |
4196 | return resultobj; | |
4197 | fail: | |
4198 | return NULL; | |
4199 | } | |
4200 | ||
4201 | ||
c370783e | 4202 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4203 | PyObject *resultobj; |
4204 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4205 | bool result; | |
4206 | PyObject * obj0 = 0 ; | |
4207 | char *kwnames[] = { | |
4208 | (char *) "self", NULL | |
4209 | }; | |
4210 | ||
4211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4212 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4213 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4214 | { |
4215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4216 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
4217 | ||
4218 | wxPyEndAllowThreads(__tstate); | |
4219 | if (PyErr_Occurred()) SWIG_fail; | |
4220 | } | |
4221 | { | |
4222 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4223 | } | |
4224 | return resultobj; | |
4225 | fail: | |
4226 | return NULL; | |
4227 | } | |
4228 | ||
4229 | ||
c370783e | 4230 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4231 | PyObject *resultobj; |
4232 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4233 | wxIcon result; | |
4234 | PyObject * obj0 = 0 ; | |
4235 | char *kwnames[] = { | |
4236 | (char *) "self", NULL | |
4237 | }; | |
4238 | ||
4239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4240 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4241 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4242 | { |
4243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4244 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
4245 | ||
4246 | wxPyEndAllowThreads(__tstate); | |
4247 | if (PyErr_Occurred()) SWIG_fail; | |
4248 | } | |
4249 | { | |
4250 | wxIcon * resultptr; | |
36ed4f51 | 4251 | resultptr = new wxIcon((wxIcon &)(result)); |
d55e5bfc RD |
4252 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); |
4253 | } | |
4254 | return resultobj; | |
4255 | fail: | |
4256 | return NULL; | |
4257 | } | |
4258 | ||
4259 | ||
c370783e | 4260 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4261 | PyObject *resultobj; |
4262 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4263 | wxIcon *arg2 = 0 ; | |
4264 | PyObject * obj0 = 0 ; | |
4265 | PyObject * obj1 = 0 ; | |
4266 | char *kwnames[] = { | |
4267 | (char *) "self",(char *) "icon", NULL | |
4268 | }; | |
4269 | ||
4270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4271 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4272 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4273 | { | |
4274 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); | |
4275 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4276 | if (arg2 == NULL) { | |
4277 | SWIG_null_ref("wxIcon"); | |
4278 | } | |
4279 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
4280 | } |
4281 | { | |
4282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4283 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
4284 | ||
4285 | wxPyEndAllowThreads(__tstate); | |
4286 | if (PyErr_Occurred()) SWIG_fail; | |
4287 | } | |
4288 | Py_INCREF(Py_None); resultobj = Py_None; | |
4289 | return resultobj; | |
4290 | fail: | |
4291 | return NULL; | |
4292 | } | |
4293 | ||
4294 | ||
c370783e | 4295 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4296 | PyObject *resultobj; |
4297 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4298 | wxIconBundle *arg2 = 0 ; | |
4299 | PyObject * obj0 = 0 ; | |
4300 | PyObject * obj1 = 0 ; | |
4301 | char *kwnames[] = { | |
4302 | (char *) "self",(char *) "icons", NULL | |
4303 | }; | |
4304 | ||
4305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4306 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4307 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4308 | { | |
4309 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0); | |
4310 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4311 | if (arg2 == NULL) { | |
4312 | SWIG_null_ref("wxIconBundle"); | |
4313 | } | |
4314 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
4315 | } |
4316 | { | |
4317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4318 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
4319 | ||
4320 | wxPyEndAllowThreads(__tstate); | |
4321 | if (PyErr_Occurred()) SWIG_fail; | |
4322 | } | |
4323 | Py_INCREF(Py_None); resultobj = Py_None; | |
4324 | return resultobj; | |
4325 | fail: | |
4326 | return NULL; | |
4327 | } | |
4328 | ||
4329 | ||
c370783e | 4330 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4331 | PyObject *resultobj; |
4332 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4333 | bool arg2 ; | |
4334 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
4335 | bool result; | |
4336 | PyObject * obj0 = 0 ; | |
4337 | PyObject * obj1 = 0 ; | |
4338 | PyObject * obj2 = 0 ; | |
4339 | char *kwnames[] = { | |
4340 | (char *) "self",(char *) "show",(char *) "style", NULL | |
4341 | }; | |
4342 | ||
4343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
4344 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4345 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4346 | { | |
4347 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4348 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4349 | } | |
d55e5bfc | 4350 | if (obj2) { |
36ed4f51 RD |
4351 | { |
4352 | arg3 = (long)(SWIG_As_long(obj2)); | |
4353 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4354 | } | |
d55e5bfc RD |
4355 | } |
4356 | { | |
4357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4358 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
4359 | ||
4360 | wxPyEndAllowThreads(__tstate); | |
4361 | if (PyErr_Occurred()) SWIG_fail; | |
4362 | } | |
4363 | { | |
4364 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4365 | } | |
4366 | return resultobj; | |
4367 | fail: | |
4368 | return NULL; | |
4369 | } | |
4370 | ||
4371 | ||
c370783e | 4372 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4373 | PyObject *resultobj; |
4374 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4375 | bool result; | |
4376 | PyObject * obj0 = 0 ; | |
4377 | char *kwnames[] = { | |
4378 | (char *) "self", NULL | |
4379 | }; | |
4380 | ||
4381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4382 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4383 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4384 | { |
4385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4386 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
4387 | ||
4388 | wxPyEndAllowThreads(__tstate); | |
4389 | if (PyErr_Occurred()) SWIG_fail; | |
4390 | } | |
4391 | { | |
4392 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4393 | } | |
4394 | return resultobj; | |
4395 | fail: | |
4396 | return NULL; | |
4397 | } | |
4398 | ||
4399 | ||
c370783e | 4400 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4401 | PyObject *resultobj; |
4402 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4403 | wxString *arg2 = 0 ; | |
b411df4a | 4404 | bool temp2 = false ; |
d55e5bfc RD |
4405 | PyObject * obj0 = 0 ; |
4406 | PyObject * obj1 = 0 ; | |
4407 | char *kwnames[] = { | |
4408 | (char *) "self",(char *) "title", NULL | |
4409 | }; | |
4410 | ||
4411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4412 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4413 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4414 | { |
4415 | arg2 = wxString_in_helper(obj1); | |
4416 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 4417 | temp2 = true; |
d55e5bfc RD |
4418 | } |
4419 | { | |
4420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4421 | (arg1)->SetTitle((wxString const &)*arg2); | |
4422 | ||
4423 | wxPyEndAllowThreads(__tstate); | |
4424 | if (PyErr_Occurred()) SWIG_fail; | |
4425 | } | |
4426 | Py_INCREF(Py_None); resultobj = Py_None; | |
4427 | { | |
4428 | if (temp2) | |
4429 | delete arg2; | |
4430 | } | |
4431 | return resultobj; | |
4432 | fail: | |
4433 | { | |
4434 | if (temp2) | |
4435 | delete arg2; | |
4436 | } | |
4437 | return NULL; | |
4438 | } | |
4439 | ||
4440 | ||
c370783e | 4441 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4442 | PyObject *resultobj; |
4443 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4444 | wxString result; | |
4445 | PyObject * obj0 = 0 ; | |
4446 | char *kwnames[] = { | |
4447 | (char *) "self", NULL | |
4448 | }; | |
4449 | ||
4450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4451 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4452 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4453 | { |
4454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4455 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
4456 | ||
4457 | wxPyEndAllowThreads(__tstate); | |
4458 | if (PyErr_Occurred()) SWIG_fail; | |
4459 | } | |
4460 | { | |
4461 | #if wxUSE_UNICODE | |
4462 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4463 | #else | |
4464 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4465 | #endif | |
4466 | } | |
4467 | return resultobj; | |
4468 | fail: | |
4469 | return NULL; | |
4470 | } | |
4471 | ||
4472 | ||
c370783e | 4473 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4474 | PyObject *resultobj; |
4475 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4476 | wxRegion *arg2 = 0 ; | |
4477 | bool result; | |
4478 | PyObject * obj0 = 0 ; | |
4479 | PyObject * obj1 = 0 ; | |
4480 | char *kwnames[] = { | |
4481 | (char *) "self",(char *) "region", NULL | |
4482 | }; | |
4483 | ||
4484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4485 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4486 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4487 | { | |
4488 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); | |
4489 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4490 | if (arg2 == NULL) { | |
4491 | SWIG_null_ref("wxRegion"); | |
4492 | } | |
4493 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
4494 | } |
4495 | { | |
4496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4497 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
4498 | ||
4499 | wxPyEndAllowThreads(__tstate); | |
4500 | if (PyErr_Occurred()) SWIG_fail; | |
4501 | } | |
4502 | { | |
4503 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4504 | } | |
4505 | return resultobj; | |
4506 | fail: | |
4507 | return NULL; | |
4508 | } | |
4509 | ||
4510 | ||
c370783e RD |
4511 | static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) { |
4512 | PyObject *resultobj; | |
4513 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4514 | int arg2 = (int) wxUSER_ATTENTION_INFO ; | |
4515 | PyObject * obj0 = 0 ; | |
4516 | PyObject * obj1 = 0 ; | |
4517 | char *kwnames[] = { | |
4518 | (char *) "self",(char *) "flags", NULL | |
4519 | }; | |
4520 | ||
4521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4522 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4523 | if (SWIG_arg_fail(1)) SWIG_fail; | |
c370783e | 4524 | if (obj1) { |
36ed4f51 RD |
4525 | { |
4526 | arg2 = (int)(SWIG_As_int(obj1)); | |
4527 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4528 | } | |
c370783e RD |
4529 | } |
4530 | { | |
4531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4532 | (arg1)->RequestUserAttention(arg2); | |
4533 | ||
4534 | wxPyEndAllowThreads(__tstate); | |
4535 | if (PyErr_Occurred()) SWIG_fail; | |
4536 | } | |
4537 | Py_INCREF(Py_None); resultobj = Py_None; | |
4538 | return resultobj; | |
4539 | fail: | |
4540 | return NULL; | |
4541 | } | |
4542 | ||
4543 | ||
5e483524 RD |
4544 | static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { |
4545 | PyObject *resultobj; | |
4546 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4547 | bool result; | |
4548 | PyObject * obj0 = 0 ; | |
4549 | char *kwnames[] = { | |
4550 | (char *) "self", NULL | |
4551 | }; | |
4552 | ||
4553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4554 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4555 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5e483524 RD |
4556 | { |
4557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4558 | result = (bool)(arg1)->IsActive(); | |
4559 | ||
4560 | wxPyEndAllowThreads(__tstate); | |
4561 | if (PyErr_Occurred()) SWIG_fail; | |
4562 | } | |
4563 | { | |
4564 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4565 | } | |
4566 | return resultobj; | |
4567 | fail: | |
4568 | return NULL; | |
4569 | } | |
4570 | ||
4571 | ||
c370783e | 4572 | static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4573 | PyObject *resultobj; |
4574 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4575 | bool arg2 ; | |
4576 | PyObject * obj0 = 0 ; | |
4577 | PyObject * obj1 = 0 ; | |
4578 | char *kwnames[] = { | |
4579 | (char *) "self",(char *) "on", NULL | |
4580 | }; | |
4581 | ||
4582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4583 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4584 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4585 | { | |
4586 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4587 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4588 | } | |
d55e5bfc RD |
4589 | { |
4590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4591 | (arg1)->MacSetMetalAppearance(arg2); | |
4592 | ||
4593 | wxPyEndAllowThreads(__tstate); | |
4594 | if (PyErr_Occurred()) SWIG_fail; | |
4595 | } | |
4596 | Py_INCREF(Py_None); resultobj = Py_None; | |
4597 | return resultobj; | |
4598 | fail: | |
4599 | return NULL; | |
4600 | } | |
4601 | ||
4602 | ||
c370783e | 4603 | static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4604 | PyObject *resultobj; |
4605 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
4606 | bool result; | |
4607 | PyObject * obj0 = 0 ; | |
4608 | char *kwnames[] = { | |
4609 | (char *) "self", NULL | |
4610 | }; | |
4611 | ||
4612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4613 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); |
4614 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4615 | { |
4616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4617 | result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance(); | |
4618 | ||
4619 | wxPyEndAllowThreads(__tstate); | |
4620 | if (PyErr_Occurred()) SWIG_fail; | |
4621 | } | |
4622 | { | |
4623 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4624 | } | |
4625 | return resultobj; | |
4626 | fail: | |
4627 | return NULL; | |
4628 | } | |
4629 | ||
4630 | ||
c370783e | 4631 | static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
4632 | PyObject *obj; |
4633 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4634 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
4635 | Py_INCREF(obj); | |
4636 | return Py_BuildValue((char *)""); | |
4637 | } | |
c370783e | 4638 | static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4639 | PyObject *resultobj; |
4640 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 RD |
4641 | int arg2 = (int) (int)-1 ; |
4642 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4643 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
4644 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4645 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4646 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4647 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4648 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4649 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4650 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4651 | wxFrame *result; | |
b411df4a | 4652 | bool temp3 = false ; |
d55e5bfc RD |
4653 | wxPoint temp4 ; |
4654 | wxSize temp5 ; | |
b411df4a | 4655 | bool temp7 = false ; |
d55e5bfc RD |
4656 | PyObject * obj0 = 0 ; |
4657 | PyObject * obj1 = 0 ; | |
4658 | PyObject * obj2 = 0 ; | |
4659 | PyObject * obj3 = 0 ; | |
4660 | PyObject * obj4 = 0 ; | |
4661 | PyObject * obj5 = 0 ; | |
4662 | PyObject * obj6 = 0 ; | |
4663 | char *kwnames[] = { | |
4664 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4665 | }; | |
4666 | ||
bfddbb17 | 4667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
4668 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
4669 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 4670 | if (obj1) { |
36ed4f51 RD |
4671 | { |
4672 | arg2 = (int const)(SWIG_As_int(obj1)); | |
4673 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4674 | } | |
bfddbb17 RD |
4675 | } |
4676 | if (obj2) { | |
4677 | { | |
4678 | arg3 = wxString_in_helper(obj2); | |
4679 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 4680 | temp3 = true; |
bfddbb17 | 4681 | } |
d55e5bfc RD |
4682 | } |
4683 | if (obj3) { | |
4684 | { | |
4685 | arg4 = &temp4; | |
4686 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4687 | } | |
4688 | } | |
4689 | if (obj4) { | |
4690 | { | |
4691 | arg5 = &temp5; | |
4692 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4693 | } | |
4694 | } | |
4695 | if (obj5) { | |
36ed4f51 RD |
4696 | { |
4697 | arg6 = (long)(SWIG_As_long(obj5)); | |
4698 | if (SWIG_arg_fail(6)) SWIG_fail; | |
4699 | } | |
d55e5bfc RD |
4700 | } |
4701 | if (obj6) { | |
4702 | { | |
4703 | arg7 = wxString_in_helper(obj6); | |
4704 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 4705 | temp7 = true; |
d55e5bfc RD |
4706 | } |
4707 | } | |
4708 | { | |
0439c23b | 4709 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4711 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4712 | ||
4713 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4714 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 4715 | } |
b0f7404b | 4716 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d55e5bfc RD |
4717 | { |
4718 | if (temp3) | |
4719 | delete arg3; | |
4720 | } | |
4721 | { | |
4722 | if (temp7) | |
4723 | delete arg7; | |
4724 | } | |
4725 | return resultobj; | |
4726 | fail: | |
4727 | { | |
4728 | if (temp3) | |
4729 | delete arg3; | |
4730 | } | |
4731 | { | |
4732 | if (temp7) | |
4733 | delete arg7; | |
4734 | } | |
4735 | return NULL; | |
4736 | } | |
4737 | ||
4738 | ||
c370783e | 4739 | static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4740 | PyObject *resultobj; |
4741 | wxFrame *result; | |
4742 | char *kwnames[] = { | |
4743 | NULL | |
4744 | }; | |
4745 | ||
4746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
4747 | { | |
0439c23b | 4748 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
4749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4750 | result = (wxFrame *)new wxFrame(); | |
4751 | ||
4752 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4753 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 4754 | } |
b0f7404b | 4755 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d55e5bfc RD |
4756 | return resultobj; |
4757 | fail: | |
4758 | return NULL; | |
4759 | } | |
4760 | ||
4761 | ||
c370783e | 4762 | static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4763 | PyObject *resultobj; |
4764 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4765 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 RD |
4766 | int arg3 = (int) (int)-1 ; |
4767 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4768 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
4769 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
4770 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4771 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4772 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4773 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4774 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4775 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4776 | bool result; | |
b411df4a | 4777 | bool temp4 = false ; |
d55e5bfc RD |
4778 | wxPoint temp5 ; |
4779 | wxSize temp6 ; | |
b411df4a | 4780 | bool temp8 = false ; |
d55e5bfc RD |
4781 | PyObject * obj0 = 0 ; |
4782 | PyObject * obj1 = 0 ; | |
4783 | PyObject * obj2 = 0 ; | |
4784 | PyObject * obj3 = 0 ; | |
4785 | PyObject * obj4 = 0 ; | |
4786 | PyObject * obj5 = 0 ; | |
4787 | PyObject * obj6 = 0 ; | |
4788 | PyObject * obj7 = 0 ; | |
4789 | char *kwnames[] = { | |
4790 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4791 | }; | |
4792 | ||
bfddbb17 | 4793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
4794 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4795 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4796 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
4797 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 4798 | if (obj2) { |
36ed4f51 RD |
4799 | { |
4800 | arg3 = (int const)(SWIG_As_int(obj2)); | |
4801 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4802 | } | |
bfddbb17 RD |
4803 | } |
4804 | if (obj3) { | |
4805 | { | |
4806 | arg4 = wxString_in_helper(obj3); | |
4807 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 4808 | temp4 = true; |
bfddbb17 | 4809 | } |
d55e5bfc RD |
4810 | } |
4811 | if (obj4) { | |
4812 | { | |
4813 | arg5 = &temp5; | |
4814 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4815 | } | |
4816 | } | |
4817 | if (obj5) { | |
4818 | { | |
4819 | arg6 = &temp6; | |
4820 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4821 | } | |
4822 | } | |
4823 | if (obj6) { | |
36ed4f51 RD |
4824 | { |
4825 | arg7 = (long)(SWIG_As_long(obj6)); | |
4826 | if (SWIG_arg_fail(7)) SWIG_fail; | |
4827 | } | |
d55e5bfc RD |
4828 | } |
4829 | if (obj7) { | |
4830 | { | |
4831 | arg8 = wxString_in_helper(obj7); | |
4832 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 4833 | temp8 = true; |
d55e5bfc RD |
4834 | } |
4835 | } | |
4836 | { | |
4837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4838 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4839 | ||
4840 | wxPyEndAllowThreads(__tstate); | |
4841 | if (PyErr_Occurred()) SWIG_fail; | |
4842 | } | |
4843 | { | |
4844 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4845 | } | |
4846 | { | |
4847 | if (temp4) | |
4848 | delete arg4; | |
4849 | } | |
4850 | { | |
4851 | if (temp8) | |
4852 | delete arg8; | |
4853 | } | |
4854 | return resultobj; | |
4855 | fail: | |
4856 | { | |
4857 | if (temp4) | |
4858 | delete arg4; | |
4859 | } | |
4860 | { | |
4861 | if (temp8) | |
4862 | delete arg8; | |
4863 | } | |
4864 | return NULL; | |
4865 | } | |
4866 | ||
4867 | ||
c370783e | 4868 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4869 | PyObject *resultobj; |
4870 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4871 | wxPoint result; | |
4872 | PyObject * obj0 = 0 ; | |
4873 | char *kwnames[] = { | |
4874 | (char *) "self", NULL | |
4875 | }; | |
4876 | ||
4877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4878 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4879 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4880 | { |
4881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4882 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
4883 | ||
4884 | wxPyEndAllowThreads(__tstate); | |
4885 | if (PyErr_Occurred()) SWIG_fail; | |
4886 | } | |
4887 | { | |
4888 | wxPoint * resultptr; | |
36ed4f51 | 4889 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
4890 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
4891 | } | |
4892 | return resultobj; | |
4893 | fail: | |
4894 | return NULL; | |
4895 | } | |
4896 | ||
4897 | ||
c370783e | 4898 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4899 | PyObject *resultobj; |
4900 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4901 | PyObject * obj0 = 0 ; | |
4902 | char *kwnames[] = { | |
4903 | (char *) "self", NULL | |
4904 | }; | |
4905 | ||
4906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4907 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4908 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4909 | { |
4910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4911 | (arg1)->SendSizeEvent(); | |
4912 | ||
4913 | wxPyEndAllowThreads(__tstate); | |
4914 | if (PyErr_Occurred()) SWIG_fail; | |
4915 | } | |
4916 | Py_INCREF(Py_None); resultobj = Py_None; | |
4917 | return resultobj; | |
4918 | fail: | |
4919 | return NULL; | |
4920 | } | |
4921 | ||
4922 | ||
c370783e | 4923 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4924 | PyObject *resultobj; |
4925 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4926 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
4927 | PyObject * obj0 = 0 ; | |
4928 | PyObject * obj1 = 0 ; | |
4929 | char *kwnames[] = { | |
4930 | (char *) "self",(char *) "menubar", NULL | |
4931 | }; | |
4932 | ||
4933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4934 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4935 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4936 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); | |
4937 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
4938 | { |
4939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4940 | (arg1)->SetMenuBar(arg2); | |
4941 | ||
4942 | wxPyEndAllowThreads(__tstate); | |
4943 | if (PyErr_Occurred()) SWIG_fail; | |
4944 | } | |
4945 | Py_INCREF(Py_None); resultobj = Py_None; | |
4946 | return resultobj; | |
4947 | fail: | |
4948 | return NULL; | |
4949 | } | |
4950 | ||
4951 | ||
c370783e | 4952 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4953 | PyObject *resultobj; |
4954 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4955 | wxMenuBar *result; | |
4956 | PyObject * obj0 = 0 ; | |
4957 | char *kwnames[] = { | |
4958 | (char *) "self", NULL | |
4959 | }; | |
4960 | ||
4961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
4962 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4963 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
4964 | { |
4965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4966 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
4967 | ||
4968 | wxPyEndAllowThreads(__tstate); | |
4969 | if (PyErr_Occurred()) SWIG_fail; | |
4970 | } | |
4971 | { | |
412d302d | 4972 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
4973 | } |
4974 | return resultobj; | |
4975 | fail: | |
4976 | return NULL; | |
4977 | } | |
4978 | ||
4979 | ||
c370783e | 4980 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
4981 | PyObject *resultobj; |
4982 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4983 | int arg2 ; | |
4984 | bool result; | |
4985 | PyObject * obj0 = 0 ; | |
4986 | PyObject * obj1 = 0 ; | |
4987 | char *kwnames[] = { | |
4988 | (char *) "self",(char *) "winid", NULL | |
4989 | }; | |
4990 | ||
4991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
4992 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
4993 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4994 | { | |
4995 | arg2 = (int)(SWIG_As_int(obj1)); | |
4996 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4997 | } | |
d55e5bfc RD |
4998 | { |
4999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5000 | result = (bool)(arg1)->ProcessCommand(arg2); | |
5001 | ||
5002 | wxPyEndAllowThreads(__tstate); | |
5003 | if (PyErr_Occurred()) SWIG_fail; | |
5004 | } | |
5005 | { | |
5006 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5007 | } | |
5008 | return resultobj; | |
5009 | fail: | |
5010 | return NULL; | |
5011 | } | |
5012 | ||
5013 | ||
c370783e | 5014 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5015 | PyObject *resultobj; |
5016 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5017 | int arg2 = (int) 1 ; | |
6d88e192 | 5018 | long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ; |
d55e5bfc RD |
5019 | int arg4 = (int) 0 ; |
5020 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
5021 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
5022 | wxStatusBar *result; | |
b411df4a | 5023 | bool temp5 = false ; |
d55e5bfc RD |
5024 | PyObject * obj0 = 0 ; |
5025 | PyObject * obj1 = 0 ; | |
5026 | PyObject * obj2 = 0 ; | |
5027 | PyObject * obj3 = 0 ; | |
5028 | PyObject * obj4 = 0 ; | |
5029 | char *kwnames[] = { | |
5030 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
5031 | }; | |
5032 | ||
5033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
5034 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5035 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 5036 | if (obj1) { |
36ed4f51 RD |
5037 | { |
5038 | arg2 = (int)(SWIG_As_int(obj1)); | |
5039 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5040 | } | |
d55e5bfc RD |
5041 | } |
5042 | if (obj2) { | |
36ed4f51 RD |
5043 | { |
5044 | arg3 = (long)(SWIG_As_long(obj2)); | |
5045 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5046 | } | |
d55e5bfc RD |
5047 | } |
5048 | if (obj3) { | |
36ed4f51 RD |
5049 | { |
5050 | arg4 = (int)(SWIG_As_int(obj3)); | |
5051 | if (SWIG_arg_fail(4)) SWIG_fail; | |
5052 | } | |
d55e5bfc RD |
5053 | } |
5054 | if (obj4) { | |
5055 | { | |
5056 | arg5 = wxString_in_helper(obj4); | |
5057 | if (arg5 == NULL) SWIG_fail; | |
b411df4a | 5058 | temp5 = true; |
d55e5bfc RD |
5059 | } |
5060 | } | |
5061 | { | |
5062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5063 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
5064 | ||
5065 | wxPyEndAllowThreads(__tstate); | |
5066 | if (PyErr_Occurred()) SWIG_fail; | |
5067 | } | |
5068 | { | |
412d302d | 5069 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5070 | } |
5071 | { | |
5072 | if (temp5) | |
5073 | delete arg5; | |
5074 | } | |
5075 | return resultobj; | |
5076 | fail: | |
5077 | { | |
5078 | if (temp5) | |
5079 | delete arg5; | |
5080 | } | |
5081 | return NULL; | |
5082 | } | |
5083 | ||
5084 | ||
c370783e | 5085 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5086 | PyObject *resultobj; |
5087 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5088 | wxStatusBar *result; | |
5089 | PyObject * obj0 = 0 ; | |
5090 | char *kwnames[] = { | |
5091 | (char *) "self", NULL | |
5092 | }; | |
5093 | ||
5094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
5095 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5096 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5097 | { |
5098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5099 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
5100 | ||
5101 | wxPyEndAllowThreads(__tstate); | |
5102 | if (PyErr_Occurred()) SWIG_fail; | |
5103 | } | |
5104 | { | |
412d302d | 5105 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5106 | } |
5107 | return resultobj; | |
5108 | fail: | |
5109 | return NULL; | |
5110 | } | |
5111 | ||
5112 | ||
c370783e | 5113 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5114 | PyObject *resultobj; |
5115 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5116 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
5117 | PyObject * obj0 = 0 ; | |
5118 | PyObject * obj1 = 0 ; | |
5119 | char *kwnames[] = { | |
5120 | (char *) "self",(char *) "statBar", NULL | |
5121 | }; | |
5122 | ||
5123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5124 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5125 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5126 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); | |
5127 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
5128 | { |
5129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5130 | (arg1)->SetStatusBar(arg2); | |
5131 | ||
5132 | wxPyEndAllowThreads(__tstate); | |
5133 | if (PyErr_Occurred()) SWIG_fail; | |
5134 | } | |
5135 | Py_INCREF(Py_None); resultobj = Py_None; | |
5136 | return resultobj; | |
5137 | fail: | |
5138 | return NULL; | |
5139 | } | |
5140 | ||
5141 | ||
c370783e | 5142 | static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5143 | PyObject *resultobj; |
5144 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5145 | wxString *arg2 = 0 ; | |
5146 | int arg3 = (int) 0 ; | |
b411df4a | 5147 | bool temp2 = false ; |
d55e5bfc RD |
5148 | PyObject * obj0 = 0 ; |
5149 | PyObject * obj1 = 0 ; | |
5150 | PyObject * obj2 = 0 ; | |
5151 | char *kwnames[] = { | |
5152 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5153 | }; | |
5154 | ||
5155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
5156 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5157 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5158 | { |
5159 | arg2 = wxString_in_helper(obj1); | |
5160 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 5161 | temp2 = true; |
d55e5bfc RD |
5162 | } |
5163 | if (obj2) { | |
36ed4f51 RD |
5164 | { |
5165 | arg3 = (int)(SWIG_As_int(obj2)); | |
5166 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5167 | } | |
d55e5bfc RD |
5168 | } |
5169 | { | |
5170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5171 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
5172 | ||
5173 | wxPyEndAllowThreads(__tstate); | |
5174 | if (PyErr_Occurred()) SWIG_fail; | |
5175 | } | |
5176 | Py_INCREF(Py_None); resultobj = Py_None; | |
5177 | { | |
5178 | if (temp2) | |
5179 | delete arg2; | |
5180 | } | |
5181 | return resultobj; | |
5182 | fail: | |
5183 | { | |
5184 | if (temp2) | |
5185 | delete arg2; | |
5186 | } | |
5187 | return NULL; | |
5188 | } | |
5189 | ||
5190 | ||
c370783e | 5191 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5192 | PyObject *resultobj; |
5193 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5194 | int arg2 ; | |
5195 | int *arg3 = (int *) 0 ; | |
5196 | PyObject * obj0 = 0 ; | |
5197 | PyObject * obj1 = 0 ; | |
5198 | char *kwnames[] = { | |
5199 | (char *) "self",(char *) "widths", NULL | |
5200 | }; | |
5201 | ||
5202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5203 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5204 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5205 | { |
5206 | arg2 = PyList_Size(obj1); | |
5207 | arg3 = int_LIST_helper(obj1); | |
5208 | if (arg3 == NULL) SWIG_fail; | |
5209 | } | |
5210 | { | |
5211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5212 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5213 | ||
5214 | wxPyEndAllowThreads(__tstate); | |
5215 | if (PyErr_Occurred()) SWIG_fail; | |
5216 | } | |
5217 | Py_INCREF(Py_None); resultobj = Py_None; | |
5218 | { | |
5219 | if (arg3) delete [] arg3; | |
5220 | } | |
5221 | return resultobj; | |
5222 | fail: | |
5223 | { | |
5224 | if (arg3) delete [] arg3; | |
5225 | } | |
5226 | return NULL; | |
5227 | } | |
5228 | ||
5229 | ||
c370783e | 5230 | static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5231 | PyObject *resultobj; |
5232 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5233 | wxString *arg2 = 0 ; | |
5234 | int arg3 = (int) 0 ; | |
b411df4a | 5235 | bool temp2 = false ; |
d55e5bfc RD |
5236 | PyObject * obj0 = 0 ; |
5237 | PyObject * obj1 = 0 ; | |
5238 | PyObject * obj2 = 0 ; | |
5239 | char *kwnames[] = { | |
5240 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5241 | }; | |
5242 | ||
5243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
5244 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5245 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5246 | { |
5247 | arg2 = wxString_in_helper(obj1); | |
5248 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 5249 | temp2 = true; |
d55e5bfc RD |
5250 | } |
5251 | if (obj2) { | |
36ed4f51 RD |
5252 | { |
5253 | arg3 = (int)(SWIG_As_int(obj2)); | |
5254 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5255 | } | |
d55e5bfc RD |
5256 | } |
5257 | { | |
5258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5259 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5260 | ||
5261 | wxPyEndAllowThreads(__tstate); | |
5262 | if (PyErr_Occurred()) SWIG_fail; | |
5263 | } | |
5264 | Py_INCREF(Py_None); resultobj = Py_None; | |
5265 | { | |
5266 | if (temp2) | |
5267 | delete arg2; | |
5268 | } | |
5269 | return resultobj; | |
5270 | fail: | |
5271 | { | |
5272 | if (temp2) | |
5273 | delete arg2; | |
5274 | } | |
5275 | return NULL; | |
5276 | } | |
5277 | ||
5278 | ||
c370783e | 5279 | static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5280 | PyObject *resultobj; |
5281 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5282 | int arg2 = (int) 0 ; | |
5283 | PyObject * obj0 = 0 ; | |
5284 | PyObject * obj1 = 0 ; | |
5285 | char *kwnames[] = { | |
5286 | (char *) "self",(char *) "number", NULL | |
5287 | }; | |
5288 | ||
5289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5290 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5291 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 5292 | if (obj1) { |
36ed4f51 RD |
5293 | { |
5294 | arg2 = (int)(SWIG_As_int(obj1)); | |
5295 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5296 | } | |
d55e5bfc RD |
5297 | } |
5298 | { | |
5299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5300 | (arg1)->PopStatusText(arg2); | |
5301 | ||
5302 | wxPyEndAllowThreads(__tstate); | |
5303 | if (PyErr_Occurred()) SWIG_fail; | |
5304 | } | |
5305 | Py_INCREF(Py_None); resultobj = Py_None; | |
5306 | return resultobj; | |
5307 | fail: | |
5308 | return NULL; | |
5309 | } | |
5310 | ||
5311 | ||
c370783e | 5312 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5313 | PyObject *resultobj; |
5314 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5315 | int arg2 ; | |
5316 | PyObject * obj0 = 0 ; | |
5317 | PyObject * obj1 = 0 ; | |
5318 | char *kwnames[] = { | |
5319 | (char *) "self",(char *) "n", NULL | |
5320 | }; | |
5321 | ||
5322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5323 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5324 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5325 | { | |
5326 | arg2 = (int)(SWIG_As_int(obj1)); | |
5327 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5328 | } | |
d55e5bfc RD |
5329 | { |
5330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5331 | (arg1)->SetStatusBarPane(arg2); | |
5332 | ||
5333 | wxPyEndAllowThreads(__tstate); | |
5334 | if (PyErr_Occurred()) SWIG_fail; | |
5335 | } | |
5336 | Py_INCREF(Py_None); resultobj = Py_None; | |
5337 | return resultobj; | |
5338 | fail: | |
5339 | return NULL; | |
5340 | } | |
5341 | ||
5342 | ||
c370783e | 5343 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5344 | PyObject *resultobj; |
5345 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5346 | int result; | |
5347 | PyObject * obj0 = 0 ; | |
5348 | char *kwnames[] = { | |
5349 | (char *) "self", NULL | |
5350 | }; | |
5351 | ||
5352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
5353 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5354 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5355 | { |
5356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5357 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
5358 | ||
5359 | wxPyEndAllowThreads(__tstate); | |
5360 | if (PyErr_Occurred()) SWIG_fail; | |
5361 | } | |
36ed4f51 RD |
5362 | { |
5363 | resultobj = SWIG_From_int((int)(result)); | |
5364 | } | |
d55e5bfc RD |
5365 | return resultobj; |
5366 | fail: | |
5367 | return NULL; | |
5368 | } | |
5369 | ||
5370 | ||
c370783e | 5371 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5372 | PyObject *resultobj; |
5373 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5374 | long arg2 = (long) -1 ; | |
5375 | int arg3 = (int) -1 ; | |
5376 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; | |
5377 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
5378 | wxToolBar *result; | |
b411df4a | 5379 | bool temp4 = false ; |
d55e5bfc RD |
5380 | PyObject * obj0 = 0 ; |
5381 | PyObject * obj1 = 0 ; | |
5382 | PyObject * obj2 = 0 ; | |
5383 | PyObject * obj3 = 0 ; | |
5384 | char *kwnames[] = { | |
5385 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
5386 | }; | |
5387 | ||
5388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
5389 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5390 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 5391 | if (obj1) { |
36ed4f51 RD |
5392 | { |
5393 | arg2 = (long)(SWIG_As_long(obj1)); | |
5394 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5395 | } | |
d55e5bfc RD |
5396 | } |
5397 | if (obj2) { | |
36ed4f51 RD |
5398 | { |
5399 | arg3 = (int)(SWIG_As_int(obj2)); | |
5400 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5401 | } | |
d55e5bfc RD |
5402 | } |
5403 | if (obj3) { | |
5404 | { | |
5405 | arg4 = wxString_in_helper(obj3); | |
5406 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 5407 | temp4 = true; |
d55e5bfc RD |
5408 | } |
5409 | } | |
5410 | { | |
5411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5412 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
5413 | ||
5414 | wxPyEndAllowThreads(__tstate); | |
5415 | if (PyErr_Occurred()) SWIG_fail; | |
5416 | } | |
5417 | { | |
412d302d | 5418 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5419 | } |
5420 | { | |
5421 | if (temp4) | |
5422 | delete arg4; | |
5423 | } | |
5424 | return resultobj; | |
5425 | fail: | |
5426 | { | |
5427 | if (temp4) | |
5428 | delete arg4; | |
5429 | } | |
5430 | return NULL; | |
5431 | } | |
5432 | ||
5433 | ||
c370783e | 5434 | static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5435 | PyObject *resultobj; |
5436 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5437 | wxToolBar *result; | |
5438 | PyObject * obj0 = 0 ; | |
5439 | char *kwnames[] = { | |
5440 | (char *) "self", NULL | |
5441 | }; | |
5442 | ||
5443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
5444 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5445 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5446 | { |
5447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5448 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
5449 | ||
5450 | wxPyEndAllowThreads(__tstate); | |
5451 | if (PyErr_Occurred()) SWIG_fail; | |
5452 | } | |
5453 | { | |
412d302d | 5454 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
5455 | } |
5456 | return resultobj; | |
5457 | fail: | |
5458 | return NULL; | |
5459 | } | |
5460 | ||
5461 | ||
c370783e | 5462 | static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5463 | PyObject *resultobj; |
5464 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5465 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
5466 | PyObject * obj0 = 0 ; | |
5467 | PyObject * obj1 = 0 ; | |
5468 | char *kwnames[] = { | |
5469 | (char *) "self",(char *) "toolbar", NULL | |
5470 | }; | |
5471 | ||
5472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5473 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5474 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5475 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0); | |
5476 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
5477 | { |
5478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5479 | (arg1)->SetToolBar(arg2); | |
5480 | ||
5481 | wxPyEndAllowThreads(__tstate); | |
5482 | if (PyErr_Occurred()) SWIG_fail; | |
5483 | } | |
5484 | Py_INCREF(Py_None); resultobj = Py_None; | |
5485 | return resultobj; | |
5486 | fail: | |
5487 | return NULL; | |
5488 | } | |
5489 | ||
5490 | ||
c370783e | 5491 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5492 | PyObject *resultobj; |
5493 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5494 | wxString *arg2 = 0 ; | |
5495 | bool arg3 ; | |
b411df4a | 5496 | bool temp2 = false ; |
d55e5bfc RD |
5497 | PyObject * obj0 = 0 ; |
5498 | PyObject * obj1 = 0 ; | |
5499 | PyObject * obj2 = 0 ; | |
5500 | char *kwnames[] = { | |
5501 | (char *) "self",(char *) "text",(char *) "show", NULL | |
5502 | }; | |
5503 | ||
5504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
5505 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5506 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5507 | { |
5508 | arg2 = wxString_in_helper(obj1); | |
5509 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 5510 | temp2 = true; |
d55e5bfc | 5511 | } |
36ed4f51 RD |
5512 | { |
5513 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
5514 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5515 | } | |
d55e5bfc RD |
5516 | { |
5517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5518 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
5519 | ||
5520 | wxPyEndAllowThreads(__tstate); | |
5521 | if (PyErr_Occurred()) SWIG_fail; | |
5522 | } | |
5523 | Py_INCREF(Py_None); resultobj = Py_None; | |
5524 | { | |
5525 | if (temp2) | |
5526 | delete arg2; | |
5527 | } | |
5528 | return resultobj; | |
5529 | fail: | |
5530 | { | |
5531 | if (temp2) | |
5532 | delete arg2; | |
5533 | } | |
5534 | return NULL; | |
5535 | } | |
5536 | ||
5537 | ||
c370783e | 5538 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5539 | PyObject *resultobj; |
5540 | wxFrame *arg1 = (wxFrame *) 0 ; | |
5541 | wxMenu *arg2 = (wxMenu *) NULL ; | |
5542 | PyObject * obj0 = 0 ; | |
5543 | PyObject * obj1 = 0 ; | |
5544 | char *kwnames[] = { | |
5545 | (char *) "self",(char *) "menu", NULL | |
5546 | }; | |
5547 | ||
5548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5549 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); |
5550 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 5551 | if (obj1) { |
36ed4f51 RD |
5552 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); |
5553 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
5554 | } |
5555 | { | |
5556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5557 | (arg1)->DoMenuUpdates(arg2); | |
5558 | ||
5559 | wxPyEndAllowThreads(__tstate); | |
5560 | if (PyErr_Occurred()) SWIG_fail; | |
5561 | } | |
5562 | Py_INCREF(Py_None); resultobj = Py_None; | |
5563 | return resultobj; | |
5564 | fail: | |
5565 | return NULL; | |
5566 | } | |
5567 | ||
5568 | ||
c370783e | 5569 | static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 5570 | PyObject *resultobj; |
36ed4f51 | 5571 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
5572 | wxVisualAttributes result; |
5573 | PyObject * obj0 = 0 ; | |
5574 | char *kwnames[] = { | |
5575 | (char *) "variant", NULL | |
5576 | }; | |
5577 | ||
5578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
5579 | if (obj0) { | |
36ed4f51 RD |
5580 | { |
5581 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
5582 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5583 | } | |
f20a2e1f RD |
5584 | } |
5585 | { | |
0439c23b | 5586 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
5587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5588 | result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
5589 | ||
5590 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5591 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
5592 | } |
5593 | { | |
5594 | wxVisualAttributes * resultptr; | |
36ed4f51 | 5595 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
5596 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
5597 | } | |
5598 | return resultobj; | |
5599 | fail: | |
5600 | return NULL; | |
5601 | } | |
5602 | ||
5603 | ||
c370783e | 5604 | static PyObject * Frame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
5605 | PyObject *obj; |
5606 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5607 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
5608 | Py_INCREF(obj); | |
5609 | return Py_BuildValue((char *)""); | |
5610 | } | |
c370783e | 5611 | static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5612 | PyObject *resultobj; |
5613 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 RD |
5614 | int arg2 = (int) (int)-1 ; |
5615 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
5616 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
5617 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5618 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5619 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5620 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5621 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
5622 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
5623 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5624 | wxDialog *result; | |
b411df4a | 5625 | bool temp3 = false ; |
d55e5bfc RD |
5626 | wxPoint temp4 ; |
5627 | wxSize temp5 ; | |
b411df4a | 5628 | bool temp7 = false ; |
d55e5bfc RD |
5629 | PyObject * obj0 = 0 ; |
5630 | PyObject * obj1 = 0 ; | |
5631 | PyObject * obj2 = 0 ; | |
5632 | PyObject * obj3 = 0 ; | |
5633 | PyObject * obj4 = 0 ; | |
5634 | PyObject * obj5 = 0 ; | |
5635 | PyObject * obj6 = 0 ; | |
5636 | char *kwnames[] = { | |
5637 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5638 | }; | |
5639 | ||
bfddbb17 | 5640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
5641 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
5642 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 5643 | if (obj1) { |
36ed4f51 RD |
5644 | { |
5645 | arg2 = (int const)(SWIG_As_int(obj1)); | |
5646 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5647 | } | |
bfddbb17 RD |
5648 | } |
5649 | if (obj2) { | |
5650 | { | |
5651 | arg3 = wxString_in_helper(obj2); | |
5652 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 5653 | temp3 = true; |
bfddbb17 | 5654 | } |
d55e5bfc RD |
5655 | } |
5656 | if (obj3) { | |
5657 | { | |
5658 | arg4 = &temp4; | |
5659 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5660 | } | |
5661 | } | |
5662 | if (obj4) { | |
5663 | { | |
5664 | arg5 = &temp5; | |
5665 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5666 | } | |
5667 | } | |
5668 | if (obj5) { | |
36ed4f51 RD |
5669 | { |
5670 | arg6 = (long)(SWIG_As_long(obj5)); | |
5671 | if (SWIG_arg_fail(6)) SWIG_fail; | |
5672 | } | |
d55e5bfc RD |
5673 | } |
5674 | if (obj6) { | |
5675 | { | |
5676 | arg7 = wxString_in_helper(obj6); | |
5677 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 5678 | temp7 = true; |
d55e5bfc RD |
5679 | } |
5680 | } | |
5681 | { | |
0439c23b | 5682 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5684 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5685 | ||
5686 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5687 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 5688 | } |
b0f7404b | 5689 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d55e5bfc RD |
5690 | { |
5691 | if (temp3) | |
5692 | delete arg3; | |
5693 | } | |
5694 | { | |
5695 | if (temp7) | |
5696 | delete arg7; | |
5697 | } | |
5698 | return resultobj; | |
5699 | fail: | |
5700 | { | |
5701 | if (temp3) | |
5702 | delete arg3; | |
5703 | } | |
5704 | { | |
5705 | if (temp7) | |
5706 | delete arg7; | |
5707 | } | |
5708 | return NULL; | |
5709 | } | |
5710 | ||
5711 | ||
c370783e | 5712 | static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5713 | PyObject *resultobj; |
5714 | wxDialog *result; | |
5715 | char *kwnames[] = { | |
5716 | NULL | |
5717 | }; | |
5718 | ||
5719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
5720 | { | |
0439c23b | 5721 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
5722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5723 | result = (wxDialog *)new wxDialog(); | |
5724 | ||
5725 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5726 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 5727 | } |
b0f7404b | 5728 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d55e5bfc RD |
5729 | return resultobj; |
5730 | fail: | |
5731 | return NULL; | |
5732 | } | |
5733 | ||
5734 | ||
c370783e | 5735 | static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5736 | PyObject *resultobj; |
5737 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5738 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 RD |
5739 | int arg3 = (int) (int)-1 ; |
5740 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
5741 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
5742 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
5743 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
5744 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
5745 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
5746 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
5747 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
5748 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
5749 | bool result; | |
b411df4a | 5750 | bool temp4 = false ; |
d55e5bfc RD |
5751 | wxPoint temp5 ; |
5752 | wxSize temp6 ; | |
b411df4a | 5753 | bool temp8 = false ; |
d55e5bfc RD |
5754 | PyObject * obj0 = 0 ; |
5755 | PyObject * obj1 = 0 ; | |
5756 | PyObject * obj2 = 0 ; | |
5757 | PyObject * obj3 = 0 ; | |
5758 | PyObject * obj4 = 0 ; | |
5759 | PyObject * obj5 = 0 ; | |
5760 | PyObject * obj6 = 0 ; | |
5761 | PyObject * obj7 = 0 ; | |
5762 | char *kwnames[] = { | |
5763 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5764 | }; | |
5765 | ||
bfddbb17 | 5766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
5767 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5768 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5769 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
5770 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 5771 | if (obj2) { |
36ed4f51 RD |
5772 | { |
5773 | arg3 = (int const)(SWIG_As_int(obj2)); | |
5774 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5775 | } | |
bfddbb17 RD |
5776 | } |
5777 | if (obj3) { | |
5778 | { | |
5779 | arg4 = wxString_in_helper(obj3); | |
5780 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 5781 | temp4 = true; |
bfddbb17 | 5782 | } |
d55e5bfc RD |
5783 | } |
5784 | if (obj4) { | |
5785 | { | |
5786 | arg5 = &temp5; | |
5787 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
5788 | } | |
5789 | } | |
5790 | if (obj5) { | |
5791 | { | |
5792 | arg6 = &temp6; | |
5793 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
5794 | } | |
5795 | } | |
5796 | if (obj6) { | |
36ed4f51 RD |
5797 | { |
5798 | arg7 = (long)(SWIG_As_long(obj6)); | |
5799 | if (SWIG_arg_fail(7)) SWIG_fail; | |
5800 | } | |
d55e5bfc RD |
5801 | } |
5802 | if (obj7) { | |
5803 | { | |
5804 | arg8 = wxString_in_helper(obj7); | |
5805 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 5806 | temp8 = true; |
d55e5bfc RD |
5807 | } |
5808 | } | |
5809 | { | |
5810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5811 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
5812 | ||
5813 | wxPyEndAllowThreads(__tstate); | |
5814 | if (PyErr_Occurred()) SWIG_fail; | |
5815 | } | |
5816 | { | |
5817 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5818 | } | |
5819 | { | |
5820 | if (temp4) | |
5821 | delete arg4; | |
5822 | } | |
5823 | { | |
5824 | if (temp8) | |
5825 | delete arg8; | |
5826 | } | |
5827 | return resultobj; | |
5828 | fail: | |
5829 | { | |
5830 | if (temp4) | |
5831 | delete arg4; | |
5832 | } | |
5833 | { | |
5834 | if (temp8) | |
5835 | delete arg8; | |
5836 | } | |
5837 | return NULL; | |
5838 | } | |
5839 | ||
5840 | ||
c370783e | 5841 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5842 | PyObject *resultobj; |
5843 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5844 | int arg2 ; | |
5845 | PyObject * obj0 = 0 ; | |
5846 | PyObject * obj1 = 0 ; | |
5847 | char *kwnames[] = { | |
5848 | (char *) "self",(char *) "returnCode", NULL | |
5849 | }; | |
5850 | ||
5851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5852 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5853 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5854 | { | |
5855 | arg2 = (int)(SWIG_As_int(obj1)); | |
5856 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5857 | } | |
d55e5bfc RD |
5858 | { |
5859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5860 | (arg1)->SetReturnCode(arg2); | |
5861 | ||
5862 | wxPyEndAllowThreads(__tstate); | |
5863 | if (PyErr_Occurred()) SWIG_fail; | |
5864 | } | |
5865 | Py_INCREF(Py_None); resultobj = Py_None; | |
5866 | return resultobj; | |
5867 | fail: | |
5868 | return NULL; | |
5869 | } | |
5870 | ||
5871 | ||
c370783e | 5872 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5873 | PyObject *resultobj; |
5874 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5875 | int result; | |
5876 | PyObject * obj0 = 0 ; | |
5877 | char *kwnames[] = { | |
5878 | (char *) "self", NULL | |
5879 | }; | |
5880 | ||
5881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
5882 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5883 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5884 | { |
5885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5886 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
5887 | ||
5888 | wxPyEndAllowThreads(__tstate); | |
5889 | if (PyErr_Occurred()) SWIG_fail; | |
5890 | } | |
36ed4f51 RD |
5891 | { |
5892 | resultobj = SWIG_From_int((int)(result)); | |
5893 | } | |
d55e5bfc RD |
5894 | return resultobj; |
5895 | fail: | |
5896 | return NULL; | |
5897 | } | |
5898 | ||
5899 | ||
c370783e | 5900 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5901 | PyObject *resultobj; |
5902 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5903 | wxString *arg2 = 0 ; | |
5904 | wxSizer *result; | |
b411df4a | 5905 | bool temp2 = false ; |
d55e5bfc RD |
5906 | PyObject * obj0 = 0 ; |
5907 | PyObject * obj1 = 0 ; | |
5908 | char *kwnames[] = { | |
5909 | (char *) "self",(char *) "message", NULL | |
5910 | }; | |
5911 | ||
5912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5913 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5914 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
5915 | { |
5916 | arg2 = wxString_in_helper(obj1); | |
5917 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 5918 | temp2 = true; |
d55e5bfc RD |
5919 | } |
5920 | { | |
5921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5922 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
5923 | ||
5924 | wxPyEndAllowThreads(__tstate); | |
5925 | if (PyErr_Occurred()) SWIG_fail; | |
5926 | } | |
5927 | { | |
412d302d | 5928 | resultobj = wxPyMake_wxSizer(result, 0); |
d55e5bfc RD |
5929 | } |
5930 | { | |
5931 | if (temp2) | |
5932 | delete arg2; | |
5933 | } | |
5934 | return resultobj; | |
5935 | fail: | |
5936 | { | |
5937 | if (temp2) | |
5938 | delete arg2; | |
5939 | } | |
5940 | return NULL; | |
5941 | } | |
5942 | ||
5943 | ||
c370783e | 5944 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
5945 | PyObject *resultobj; |
5946 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5947 | long arg2 ; | |
5948 | wxSizer *result; | |
5949 | PyObject * obj0 = 0 ; | |
5950 | PyObject * obj1 = 0 ; | |
5951 | char *kwnames[] = { | |
5952 | (char *) "self",(char *) "flags", NULL | |
5953 | }; | |
5954 | ||
5955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
5956 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
5957 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5958 | { | |
5959 | arg2 = (long)(SWIG_As_long(obj1)); | |
5960 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5961 | } | |
d55e5bfc RD |
5962 | { |
5963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5964 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
5965 | ||
5966 | wxPyEndAllowThreads(__tstate); | |
5967 | if (PyErr_Occurred()) SWIG_fail; | |
5968 | } | |
5969 | { | |
412d302d | 5970 | resultobj = wxPyMake_wxSizer(result, 0); |
d55e5bfc RD |
5971 | } |
5972 | return resultobj; | |
5973 | fail: | |
5974 | return NULL; | |
5975 | } | |
5976 | ||
5977 | ||
62d32a5f RD |
5978 | static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
5979 | PyObject *resultobj; | |
5980 | wxDialog *arg1 = (wxDialog *) 0 ; | |
5981 | long arg2 ; | |
5982 | wxStdDialogButtonSizer *result; | |
5983 | PyObject * obj0 = 0 ; | |
5984 | PyObject * obj1 = 0 ; | |
5985 | char *kwnames[] = { | |
5986 | (char *) "self",(char *) "flags", NULL | |
5987 | }; | |
5988 | ||
5989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail; | |
5990 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); | |
5991 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5992 | { | |
5993 | arg2 = (long)(SWIG_As_long(obj1)); | |
5994 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5995 | } | |
5996 | { | |
5997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5998 | result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2); | |
5999 | ||
6000 | wxPyEndAllowThreads(__tstate); | |
6001 | if (PyErr_Occurred()) SWIG_fail; | |
6002 | } | |
6003 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0); | |
6004 | return resultobj; | |
6005 | fail: | |
6006 | return NULL; | |
6007 | } | |
6008 | ||
6009 | ||
c370783e | 6010 | static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6011 | PyObject *resultobj; |
6012 | wxDialog *arg1 = (wxDialog *) 0 ; | |
6013 | bool result; | |
6014 | PyObject * obj0 = 0 ; | |
6015 | char *kwnames[] = { | |
6016 | (char *) "self", NULL | |
6017 | }; | |
6018 | ||
6019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6020 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6021 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6022 | { |
6023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6024 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
6025 | ||
6026 | wxPyEndAllowThreads(__tstate); | |
6027 | if (PyErr_Occurred()) SWIG_fail; | |
6028 | } | |
6029 | { | |
6030 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6031 | } | |
6032 | return resultobj; | |
6033 | fail: | |
6034 | return NULL; | |
6035 | } | |
6036 | ||
6037 | ||
c370783e | 6038 | static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6039 | PyObject *resultobj; |
6040 | wxDialog *arg1 = (wxDialog *) 0 ; | |
6041 | int result; | |
6042 | PyObject * obj0 = 0 ; | |
6043 | char *kwnames[] = { | |
6044 | (char *) "self", NULL | |
6045 | }; | |
6046 | ||
6047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6048 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6049 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6050 | { |
6051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6052 | result = (int)(arg1)->ShowModal(); | |
6053 | ||
6054 | wxPyEndAllowThreads(__tstate); | |
6055 | if (PyErr_Occurred()) SWIG_fail; | |
6056 | } | |
36ed4f51 RD |
6057 | { |
6058 | resultobj = SWIG_From_int((int)(result)); | |
6059 | } | |
d55e5bfc RD |
6060 | return resultobj; |
6061 | fail: | |
6062 | return NULL; | |
6063 | } | |
6064 | ||
6065 | ||
c370783e | 6066 | static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6067 | PyObject *resultobj; |
6068 | wxDialog *arg1 = (wxDialog *) 0 ; | |
6069 | int arg2 ; | |
6070 | PyObject * obj0 = 0 ; | |
6071 | PyObject * obj1 = 0 ; | |
6072 | char *kwnames[] = { | |
6073 | (char *) "self",(char *) "retCode", NULL | |
6074 | }; | |
6075 | ||
6076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
6077 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); |
6078 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6079 | { | |
6080 | arg2 = (int)(SWIG_As_int(obj1)); | |
6081 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6082 | } | |
d55e5bfc RD |
6083 | { |
6084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6085 | (arg1)->EndModal(arg2); | |
6086 | ||
6087 | wxPyEndAllowThreads(__tstate); | |
6088 | if (PyErr_Occurred()) SWIG_fail; | |
6089 | } | |
6090 | Py_INCREF(Py_None); resultobj = Py_None; | |
6091 | return resultobj; | |
6092 | fail: | |
6093 | return NULL; | |
6094 | } | |
6095 | ||
6096 | ||
c370783e | 6097 | static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 6098 | PyObject *resultobj; |
36ed4f51 | 6099 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
6100 | wxVisualAttributes result; |
6101 | PyObject * obj0 = 0 ; | |
6102 | char *kwnames[] = { | |
6103 | (char *) "variant", NULL | |
6104 | }; | |
6105 | ||
6106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
6107 | if (obj0) { | |
36ed4f51 RD |
6108 | { |
6109 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
6110 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6111 | } | |
f20a2e1f RD |
6112 | } |
6113 | { | |
0439c23b | 6114 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
6115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6116 | result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
6117 | ||
6118 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6119 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
6120 | } |
6121 | { | |
6122 | wxVisualAttributes * resultptr; | |
36ed4f51 | 6123 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
6124 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
6125 | } | |
6126 | return resultobj; | |
6127 | fail: | |
6128 | return NULL; | |
6129 | } | |
6130 | ||
6131 | ||
c370783e | 6132 | static PyObject * Dialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6133 | PyObject *obj; |
6134 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6135 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
6136 | Py_INCREF(obj); | |
6137 | return Py_BuildValue((char *)""); | |
6138 | } | |
c370783e | 6139 | static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6140 | PyObject *resultobj; |
6141 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 RD |
6142 | int arg2 = (int) (int)-1 ; |
6143 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6144 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
6145 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6146 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6147 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6148 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6149 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
6150 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
6151 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6152 | wxMiniFrame *result; | |
b411df4a | 6153 | bool temp3 = false ; |
d55e5bfc RD |
6154 | wxPoint temp4 ; |
6155 | wxSize temp5 ; | |
b411df4a | 6156 | bool temp7 = false ; |
d55e5bfc RD |
6157 | PyObject * obj0 = 0 ; |
6158 | PyObject * obj1 = 0 ; | |
6159 | PyObject * obj2 = 0 ; | |
6160 | PyObject * obj3 = 0 ; | |
6161 | PyObject * obj4 = 0 ; | |
6162 | PyObject * obj5 = 0 ; | |
6163 | PyObject * obj6 = 0 ; | |
6164 | char *kwnames[] = { | |
6165 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6166 | }; | |
6167 | ||
bfddbb17 | 6168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
6169 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
6170 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 6171 | if (obj1) { |
36ed4f51 RD |
6172 | { |
6173 | arg2 = (int const)(SWIG_As_int(obj1)); | |
6174 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6175 | } | |
bfddbb17 RD |
6176 | } |
6177 | if (obj2) { | |
6178 | { | |
6179 | arg3 = wxString_in_helper(obj2); | |
6180 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 6181 | temp3 = true; |
bfddbb17 | 6182 | } |
d55e5bfc RD |
6183 | } |
6184 | if (obj3) { | |
6185 | { | |
6186 | arg4 = &temp4; | |
6187 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6188 | } | |
6189 | } | |
6190 | if (obj4) { | |
6191 | { | |
6192 | arg5 = &temp5; | |
6193 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6194 | } | |
6195 | } | |
6196 | if (obj5) { | |
36ed4f51 RD |
6197 | { |
6198 | arg6 = (long)(SWIG_As_long(obj5)); | |
6199 | if (SWIG_arg_fail(6)) SWIG_fail; | |
6200 | } | |
d55e5bfc RD |
6201 | } |
6202 | if (obj6) { | |
6203 | { | |
6204 | arg7 = wxString_in_helper(obj6); | |
6205 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 6206 | temp7 = true; |
d55e5bfc RD |
6207 | } |
6208 | } | |
6209 | { | |
0439c23b | 6210 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6212 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6213 | ||
6214 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6215 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6216 | } |
6217 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); | |
6218 | { | |
6219 | if (temp3) | |
6220 | delete arg3; | |
6221 | } | |
6222 | { | |
6223 | if (temp7) | |
6224 | delete arg7; | |
6225 | } | |
6226 | return resultobj; | |
6227 | fail: | |
6228 | { | |
6229 | if (temp3) | |
6230 | delete arg3; | |
6231 | } | |
6232 | { | |
6233 | if (temp7) | |
6234 | delete arg7; | |
6235 | } | |
6236 | return NULL; | |
6237 | } | |
6238 | ||
6239 | ||
c370783e | 6240 | static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6241 | PyObject *resultobj; |
6242 | wxMiniFrame *result; | |
6243 | char *kwnames[] = { | |
6244 | NULL | |
6245 | }; | |
6246 | ||
6247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
6248 | { | |
0439c23b | 6249 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6251 | result = (wxMiniFrame *)new wxMiniFrame(); | |
6252 | ||
6253 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6254 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6255 | } |
6256 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); | |
6257 | return resultobj; | |
6258 | fail: | |
6259 | return NULL; | |
6260 | } | |
6261 | ||
6262 | ||
c370783e | 6263 | static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6264 | PyObject *resultobj; |
6265 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
6266 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 RD |
6267 | int arg3 = (int) (int)-1 ; |
6268 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
6269 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
6270 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
6271 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
6272 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
6273 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
6274 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
6275 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
6276 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
6277 | bool result; | |
b411df4a | 6278 | bool temp4 = false ; |
d55e5bfc RD |
6279 | wxPoint temp5 ; |
6280 | wxSize temp6 ; | |
b411df4a | 6281 | bool temp8 = false ; |
d55e5bfc RD |
6282 | PyObject * obj0 = 0 ; |
6283 | PyObject * obj1 = 0 ; | |
6284 | PyObject * obj2 = 0 ; | |
6285 | PyObject * obj3 = 0 ; | |
6286 | PyObject * obj4 = 0 ; | |
6287 | PyObject * obj5 = 0 ; | |
6288 | PyObject * obj6 = 0 ; | |
6289 | PyObject * obj7 = 0 ; | |
6290 | char *kwnames[] = { | |
6291 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6292 | }; | |
6293 | ||
bfddbb17 | 6294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
6295 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0); |
6296 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6297 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6298 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 6299 | if (obj2) { |
36ed4f51 RD |
6300 | { |
6301 | arg3 = (int const)(SWIG_As_int(obj2)); | |
6302 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6303 | } | |
bfddbb17 RD |
6304 | } |
6305 | if (obj3) { | |
6306 | { | |
6307 | arg4 = wxString_in_helper(obj3); | |
6308 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 6309 | temp4 = true; |
bfddbb17 | 6310 | } |
d55e5bfc RD |
6311 | } |
6312 | if (obj4) { | |
6313 | { | |
6314 | arg5 = &temp5; | |
6315 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
6316 | } | |
6317 | } | |
6318 | if (obj5) { | |
6319 | { | |
6320 | arg6 = &temp6; | |
6321 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
6322 | } | |
6323 | } | |
6324 | if (obj6) { | |
36ed4f51 RD |
6325 | { |
6326 | arg7 = (long)(SWIG_As_long(obj6)); | |
6327 | if (SWIG_arg_fail(7)) SWIG_fail; | |
6328 | } | |
d55e5bfc RD |
6329 | } |
6330 | if (obj7) { | |
6331 | { | |
6332 | arg8 = wxString_in_helper(obj7); | |
6333 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 6334 | temp8 = true; |
d55e5bfc RD |
6335 | } |
6336 | } | |
6337 | { | |
6338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6339 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
6340 | ||
6341 | wxPyEndAllowThreads(__tstate); | |
6342 | if (PyErr_Occurred()) SWIG_fail; | |
6343 | } | |
6344 | { | |
6345 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6346 | } | |
6347 | { | |
6348 | if (temp4) | |
6349 | delete arg4; | |
6350 | } | |
6351 | { | |
6352 | if (temp8) | |
6353 | delete arg8; | |
6354 | } | |
6355 | return resultobj; | |
6356 | fail: | |
6357 | { | |
6358 | if (temp4) | |
6359 | delete arg4; | |
6360 | } | |
6361 | { | |
6362 | if (temp8) | |
6363 | delete arg8; | |
6364 | } | |
6365 | return NULL; | |
6366 | } | |
6367 | ||
6368 | ||
c370783e | 6369 | static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6370 | PyObject *obj; |
6371 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6372 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
6373 | Py_INCREF(obj); | |
6374 | return Py_BuildValue((char *)""); | |
6375 | } | |
c370783e | 6376 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6377 | PyObject *resultobj; |
6378 | wxBitmap *arg1 = 0 ; | |
6379 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6380 | int arg3 ; | |
6381 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
6382 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6383 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6384 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6385 | long arg6 = (long) wxNO_BORDER ; | |
6386 | wxSplashScreenWindow *result; | |
6387 | wxPoint temp4 ; | |
6388 | wxSize temp5 ; | |
6389 | PyObject * obj0 = 0 ; | |
6390 | PyObject * obj1 = 0 ; | |
6391 | PyObject * obj2 = 0 ; | |
6392 | PyObject * obj3 = 0 ; | |
6393 | PyObject * obj4 = 0 ; | |
6394 | PyObject * obj5 = 0 ; | |
6395 | char *kwnames[] = { | |
6396 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
6397 | }; | |
6398 | ||
6399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
6400 | { |
6401 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6402 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6403 | if (arg1 == NULL) { | |
6404 | SWIG_null_ref("wxBitmap"); | |
6405 | } | |
6406 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6407 | } | |
6408 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6409 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6410 | { | |
6411 | arg3 = (int)(SWIG_As_int(obj2)); | |
6412 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6413 | } | |
d55e5bfc RD |
6414 | if (obj3) { |
6415 | { | |
6416 | arg4 = &temp4; | |
6417 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6418 | } | |
6419 | } | |
6420 | if (obj4) { | |
6421 | { | |
6422 | arg5 = &temp5; | |
6423 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6424 | } | |
6425 | } | |
6426 | if (obj5) { | |
36ed4f51 RD |
6427 | { |
6428 | arg6 = (long)(SWIG_As_long(obj5)); | |
6429 | if (SWIG_arg_fail(6)) SWIG_fail; | |
6430 | } | |
d55e5bfc RD |
6431 | } |
6432 | { | |
0439c23b | 6433 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6435 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
6436 | ||
6437 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6438 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6439 | } |
6440 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); | |
6441 | return resultobj; | |
6442 | fail: | |
6443 | return NULL; | |
6444 | } | |
6445 | ||
6446 | ||
c370783e | 6447 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6448 | PyObject *resultobj; |
6449 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
6450 | wxBitmap *arg2 = 0 ; | |
6451 | PyObject * obj0 = 0 ; | |
6452 | PyObject * obj1 = 0 ; | |
6453 | char *kwnames[] = { | |
6454 | (char *) "self",(char *) "bitmap", NULL | |
6455 | }; | |
6456 | ||
6457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
6458 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0); |
6459 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6460 | { | |
6461 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6462 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6463 | if (arg2 == NULL) { | |
6464 | SWIG_null_ref("wxBitmap"); | |
6465 | } | |
6466 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
6467 | } |
6468 | { | |
6469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6470 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
6471 | ||
6472 | wxPyEndAllowThreads(__tstate); | |
6473 | if (PyErr_Occurred()) SWIG_fail; | |
6474 | } | |
6475 | Py_INCREF(Py_None); resultobj = Py_None; | |
6476 | return resultobj; | |
6477 | fail: | |
6478 | return NULL; | |
6479 | } | |
6480 | ||
6481 | ||
c370783e | 6482 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6483 | PyObject *resultobj; |
6484 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
6485 | wxBitmap *result; | |
6486 | PyObject * obj0 = 0 ; | |
6487 | char *kwnames[] = { | |
6488 | (char *) "self", NULL | |
6489 | }; | |
6490 | ||
6491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6492 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0); |
6493 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6494 | { |
6495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6496 | { | |
6497 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
6498 | result = (wxBitmap *) &_result_ref; | |
6499 | } | |
6500 | ||
6501 | wxPyEndAllowThreads(__tstate); | |
6502 | if (PyErr_Occurred()) SWIG_fail; | |
6503 | } | |
6504 | { | |
6505 | wxBitmap* resultptr = new wxBitmap(*result); | |
6506 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
6507 | } | |
6508 | return resultobj; | |
6509 | fail: | |
6510 | return NULL; | |
6511 | } | |
6512 | ||
6513 | ||
c370783e | 6514 | static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6515 | PyObject *obj; |
6516 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6517 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
6518 | Py_INCREF(obj); | |
6519 | return Py_BuildValue((char *)""); | |
6520 | } | |
c370783e | 6521 | static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6522 | PyObject *resultobj; |
6523 | wxBitmap *arg1 = 0 ; | |
6524 | long arg2 ; | |
6525 | int arg3 ; | |
6526 | wxWindow *arg4 = (wxWindow *) 0 ; | |
bfddbb17 | 6527 | int arg5 = (int) -1 ; |
d55e5bfc RD |
6528 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
6529 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
6530 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
6531 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
6532 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
6533 | wxSplashScreen *result; | |
6534 | wxPoint temp6 ; | |
6535 | wxSize temp7 ; | |
6536 | PyObject * obj0 = 0 ; | |
6537 | PyObject * obj1 = 0 ; | |
6538 | PyObject * obj2 = 0 ; | |
6539 | PyObject * obj3 = 0 ; | |
6540 | PyObject * obj4 = 0 ; | |
6541 | PyObject * obj5 = 0 ; | |
6542 | PyObject * obj6 = 0 ; | |
6543 | PyObject * obj7 = 0 ; | |
6544 | char *kwnames[] = { | |
6545 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
6546 | }; | |
6547 | ||
bfddbb17 | 6548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
6549 | { |
6550 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6551 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6552 | if (arg1 == NULL) { | |
6553 | SWIG_null_ref("wxBitmap"); | |
6554 | } | |
6555 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6556 | } | |
6557 | { | |
6558 | arg2 = (long)(SWIG_As_long(obj1)); | |
6559 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6560 | } | |
6561 | { | |
6562 | arg3 = (int)(SWIG_As_int(obj2)); | |
6563 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6564 | } | |
6565 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6566 | if (SWIG_arg_fail(4)) SWIG_fail; | |
bfddbb17 | 6567 | if (obj4) { |
36ed4f51 RD |
6568 | { |
6569 | arg5 = (int)(SWIG_As_int(obj4)); | |
6570 | if (SWIG_arg_fail(5)) SWIG_fail; | |
6571 | } | |
bfddbb17 | 6572 | } |
d55e5bfc RD |
6573 | if (obj5) { |
6574 | { | |
6575 | arg6 = &temp6; | |
6576 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
6577 | } | |
6578 | } | |
6579 | if (obj6) { | |
6580 | { | |
6581 | arg7 = &temp7; | |
6582 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
6583 | } | |
6584 | } | |
6585 | if (obj7) { | |
36ed4f51 RD |
6586 | { |
6587 | arg8 = (long)(SWIG_As_long(obj7)); | |
6588 | if (SWIG_arg_fail(8)) SWIG_fail; | |
6589 | } | |
d55e5bfc RD |
6590 | } |
6591 | { | |
0439c23b | 6592 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6594 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
6595 | ||
6596 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6597 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
6598 | } |
6599 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); | |
6600 | return resultobj; | |
6601 | fail: | |
6602 | return NULL; | |
6603 | } | |
6604 | ||
6605 | ||
c370783e | 6606 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6607 | PyObject *resultobj; |
6608 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
6609 | long result; | |
6610 | PyObject * obj0 = 0 ; | |
6611 | char *kwnames[] = { | |
6612 | (char *) "self", NULL | |
6613 | }; | |
6614 | ||
6615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6616 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6617 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6618 | { |
6619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6620 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
6621 | ||
6622 | wxPyEndAllowThreads(__tstate); | |
6623 | if (PyErr_Occurred()) SWIG_fail; | |
6624 | } | |
36ed4f51 RD |
6625 | { |
6626 | resultobj = SWIG_From_long((long)(result)); | |
6627 | } | |
d55e5bfc RD |
6628 | return resultobj; |
6629 | fail: | |
6630 | return NULL; | |
6631 | } | |
6632 | ||
6633 | ||
c370783e | 6634 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6635 | PyObject *resultobj; |
6636 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
6637 | wxSplashScreenWindow *result; | |
6638 | PyObject * obj0 = 0 ; | |
6639 | char *kwnames[] = { | |
6640 | (char *) "self", NULL | |
6641 | }; | |
6642 | ||
6643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6644 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6645 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6646 | { |
6647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6648 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
6649 | ||
6650 | wxPyEndAllowThreads(__tstate); | |
6651 | if (PyErr_Occurred()) SWIG_fail; | |
6652 | } | |
6653 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); | |
6654 | return resultobj; | |
6655 | fail: | |
6656 | return NULL; | |
6657 | } | |
6658 | ||
6659 | ||
c370783e | 6660 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6661 | PyObject *resultobj; |
6662 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
6663 | int result; | |
6664 | PyObject * obj0 = 0 ; | |
6665 | char *kwnames[] = { | |
6666 | (char *) "self", NULL | |
6667 | }; | |
6668 | ||
6669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6670 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0); |
6671 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6672 | { |
6673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6674 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
6675 | ||
6676 | wxPyEndAllowThreads(__tstate); | |
6677 | if (PyErr_Occurred()) SWIG_fail; | |
6678 | } | |
36ed4f51 RD |
6679 | { |
6680 | resultobj = SWIG_From_int((int)(result)); | |
6681 | } | |
d55e5bfc RD |
6682 | return resultobj; |
6683 | fail: | |
6684 | return NULL; | |
6685 | } | |
6686 | ||
6687 | ||
c370783e | 6688 | static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
6689 | PyObject *obj; |
6690 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6691 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
6692 | Py_INCREF(obj); | |
6693 | return Py_BuildValue((char *)""); | |
6694 | } | |
c370783e | 6695 | static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6696 | PyObject *resultobj; |
6697 | wxWindow *arg1 = (wxWindow *) 0 ; | |
6698 | int arg2 = (int) -1 ; | |
6d88e192 | 6699 | long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ; |
d55e5bfc RD |
6700 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; |
6701 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
6702 | wxStatusBar *result; | |
b411df4a | 6703 | bool temp4 = false ; |
d55e5bfc RD |
6704 | PyObject * obj0 = 0 ; |
6705 | PyObject * obj1 = 0 ; | |
6706 | PyObject * obj2 = 0 ; | |
6707 | PyObject * obj3 = 0 ; | |
6708 | char *kwnames[] = { | |
6709 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
6710 | }; | |
6711 | ||
6712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
6713 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
6714 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 6715 | if (obj1) { |
36ed4f51 RD |
6716 | { |
6717 | arg2 = (int)(SWIG_As_int(obj1)); | |
6718 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6719 | } | |
d55e5bfc RD |
6720 | } |
6721 | if (obj2) { | |
36ed4f51 RD |
6722 | { |
6723 | arg3 = (long)(SWIG_As_long(obj2)); | |
6724 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6725 | } | |
d55e5bfc RD |
6726 | } |
6727 | if (obj3) { | |
6728 | { | |
6729 | arg4 = wxString_in_helper(obj3); | |
6730 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 6731 | temp4 = true; |
d55e5bfc RD |
6732 | } |
6733 | } | |
6734 | { | |
0439c23b | 6735 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6737 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
6738 | ||
6739 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6740 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 6741 | } |
b0f7404b | 6742 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d55e5bfc RD |
6743 | { |
6744 | if (temp4) | |
6745 | delete arg4; | |
6746 | } | |
6747 | return resultobj; | |
6748 | fail: | |
6749 | { | |
6750 | if (temp4) | |
6751 | delete arg4; | |
6752 | } | |
6753 | return NULL; | |
6754 | } | |
6755 | ||
6756 | ||
c370783e | 6757 | static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6758 | PyObject *resultobj; |
6759 | wxStatusBar *result; | |
6760 | char *kwnames[] = { | |
6761 | NULL | |
6762 | }; | |
6763 | ||
6764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
6765 | { | |
0439c23b | 6766 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
6767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6768 | result = (wxStatusBar *)new wxStatusBar(); | |
6769 | ||
6770 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6771 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 6772 | } |
b0f7404b | 6773 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d55e5bfc RD |
6774 | return resultobj; |
6775 | fail: | |
6776 | return NULL; | |
6777 | } | |
6778 | ||
6779 | ||
c370783e | 6780 | static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6781 | PyObject *resultobj; |
6782 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6783 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 | 6784 | int arg3 = (int) -1 ; |
d55e5bfc RD |
6785 | long arg4 = (long) wxST_SIZEGRIP ; |
6786 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
6787 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
6788 | bool result; | |
b411df4a | 6789 | bool temp5 = false ; |
d55e5bfc RD |
6790 | PyObject * obj0 = 0 ; |
6791 | PyObject * obj1 = 0 ; | |
6792 | PyObject * obj2 = 0 ; | |
6793 | PyObject * obj3 = 0 ; | |
6794 | PyObject * obj4 = 0 ; | |
6795 | char *kwnames[] = { | |
6796 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
6797 | }; | |
6798 | ||
bfddbb17 | 6799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
36ed4f51 RD |
6800 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6801 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6802 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
6803 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 6804 | if (obj2) { |
36ed4f51 RD |
6805 | { |
6806 | arg3 = (int)(SWIG_As_int(obj2)); | |
6807 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6808 | } | |
bfddbb17 | 6809 | } |
d55e5bfc | 6810 | if (obj3) { |
36ed4f51 RD |
6811 | { |
6812 | arg4 = (long)(SWIG_As_long(obj3)); | |
6813 | if (SWIG_arg_fail(4)) SWIG_fail; | |
6814 | } | |
d55e5bfc RD |
6815 | } |
6816 | if (obj4) { | |
6817 | { | |
6818 | arg5 = wxString_in_helper(obj4); | |
6819 | if (arg5 == NULL) SWIG_fail; | |
b411df4a | 6820 | temp5 = true; |
d55e5bfc RD |
6821 | } |
6822 | } | |
6823 | { | |
6824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6825 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
6826 | ||
6827 | wxPyEndAllowThreads(__tstate); | |
6828 | if (PyErr_Occurred()) SWIG_fail; | |
6829 | } | |
6830 | { | |
6831 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6832 | } | |
6833 | { | |
6834 | if (temp5) | |
6835 | delete arg5; | |
6836 | } | |
6837 | return resultobj; | |
6838 | fail: | |
6839 | { | |
6840 | if (temp5) | |
6841 | delete arg5; | |
6842 | } | |
6843 | return NULL; | |
6844 | } | |
6845 | ||
6846 | ||
c370783e | 6847 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6848 | PyObject *resultobj; |
6849 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6850 | int arg2 = (int) 1 ; | |
6851 | PyObject * obj0 = 0 ; | |
6852 | PyObject * obj1 = 0 ; | |
6853 | char *kwnames[] = { | |
6854 | (char *) "self",(char *) "number", NULL | |
6855 | }; | |
6856 | ||
6857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
6858 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6859 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 6860 | if (obj1) { |
36ed4f51 RD |
6861 | { |
6862 | arg2 = (int)(SWIG_As_int(obj1)); | |
6863 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6864 | } | |
d55e5bfc RD |
6865 | } |
6866 | { | |
6867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6868 | (arg1)->SetFieldsCount(arg2); | |
6869 | ||
6870 | wxPyEndAllowThreads(__tstate); | |
6871 | if (PyErr_Occurred()) SWIG_fail; | |
6872 | } | |
6873 | Py_INCREF(Py_None); resultobj = Py_None; | |
6874 | return resultobj; | |
6875 | fail: | |
6876 | return NULL; | |
6877 | } | |
6878 | ||
6879 | ||
c370783e | 6880 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6881 | PyObject *resultobj; |
6882 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6883 | int result; | |
6884 | PyObject * obj0 = 0 ; | |
6885 | char *kwnames[] = { | |
6886 | (char *) "self", NULL | |
6887 | }; | |
6888 | ||
6889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
6890 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6891 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6892 | { |
6893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6894 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
6895 | ||
6896 | wxPyEndAllowThreads(__tstate); | |
6897 | if (PyErr_Occurred()) SWIG_fail; | |
6898 | } | |
36ed4f51 RD |
6899 | { |
6900 | resultobj = SWIG_From_int((int)(result)); | |
6901 | } | |
d55e5bfc RD |
6902 | return resultobj; |
6903 | fail: | |
6904 | return NULL; | |
6905 | } | |
6906 | ||
6907 | ||
c370783e | 6908 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6909 | PyObject *resultobj; |
6910 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6911 | wxString *arg2 = 0 ; | |
6912 | int arg3 = (int) 0 ; | |
b411df4a | 6913 | bool temp2 = false ; |
d55e5bfc RD |
6914 | PyObject * obj0 = 0 ; |
6915 | PyObject * obj1 = 0 ; | |
6916 | PyObject * obj2 = 0 ; | |
6917 | char *kwnames[] = { | |
6918 | (char *) "self",(char *) "text",(char *) "number", NULL | |
6919 | }; | |
6920 | ||
6921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
6922 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6923 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
6924 | { |
6925 | arg2 = wxString_in_helper(obj1); | |
6926 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 6927 | temp2 = true; |
d55e5bfc RD |
6928 | } |
6929 | if (obj2) { | |
36ed4f51 RD |
6930 | { |
6931 | arg3 = (int)(SWIG_As_int(obj2)); | |
6932 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6933 | } | |
d55e5bfc RD |
6934 | } |
6935 | { | |
6936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6937 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
6938 | ||
6939 | wxPyEndAllowThreads(__tstate); | |
6940 | if (PyErr_Occurred()) SWIG_fail; | |
6941 | } | |
6942 | Py_INCREF(Py_None); resultobj = Py_None; | |
6943 | { | |
6944 | if (temp2) | |
6945 | delete arg2; | |
6946 | } | |
6947 | return resultobj; | |
6948 | fail: | |
6949 | { | |
6950 | if (temp2) | |
6951 | delete arg2; | |
6952 | } | |
6953 | return NULL; | |
6954 | } | |
6955 | ||
6956 | ||
c370783e | 6957 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6958 | PyObject *resultobj; |
6959 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
6960 | int arg2 = (int) 0 ; | |
6961 | wxString result; | |
6962 | PyObject * obj0 = 0 ; | |
6963 | PyObject * obj1 = 0 ; | |
6964 | char *kwnames[] = { | |
6965 | (char *) "self",(char *) "number", NULL | |
6966 | }; | |
6967 | ||
6968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
6969 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
6970 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 6971 | if (obj1) { |
36ed4f51 RD |
6972 | { |
6973 | arg2 = (int)(SWIG_As_int(obj1)); | |
6974 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6975 | } | |
d55e5bfc RD |
6976 | } |
6977 | { | |
6978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6979 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
6980 | ||
6981 | wxPyEndAllowThreads(__tstate); | |
6982 | if (PyErr_Occurred()) SWIG_fail; | |
6983 | } | |
6984 | { | |
6985 | #if wxUSE_UNICODE | |
6986 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6987 | #else | |
6988 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6989 | #endif | |
6990 | } | |
6991 | return resultobj; | |
6992 | fail: | |
6993 | return NULL; | |
6994 | } | |
6995 | ||
6996 | ||
c370783e | 6997 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
6998 | PyObject *resultobj; |
6999 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7000 | wxString *arg2 = 0 ; | |
7001 | int arg3 = (int) 0 ; | |
b411df4a | 7002 | bool temp2 = false ; |
d55e5bfc RD |
7003 | PyObject * obj0 = 0 ; |
7004 | PyObject * obj1 = 0 ; | |
7005 | PyObject * obj2 = 0 ; | |
7006 | char *kwnames[] = { | |
7007 | (char *) "self",(char *) "text",(char *) "number", NULL | |
7008 | }; | |
7009 | ||
7010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
7011 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7012 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7013 | { |
7014 | arg2 = wxString_in_helper(obj1); | |
7015 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 7016 | temp2 = true; |
d55e5bfc RD |
7017 | } |
7018 | if (obj2) { | |
36ed4f51 RD |
7019 | { |
7020 | arg3 = (int)(SWIG_As_int(obj2)); | |
7021 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7022 | } | |
d55e5bfc RD |
7023 | } |
7024 | { | |
7025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7026 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
7027 | ||
7028 | wxPyEndAllowThreads(__tstate); | |
7029 | if (PyErr_Occurred()) SWIG_fail; | |
7030 | } | |
7031 | Py_INCREF(Py_None); resultobj = Py_None; | |
7032 | { | |
7033 | if (temp2) | |
7034 | delete arg2; | |
7035 | } | |
7036 | return resultobj; | |
7037 | fail: | |
7038 | { | |
7039 | if (temp2) | |
7040 | delete arg2; | |
7041 | } | |
7042 | return NULL; | |
7043 | } | |
7044 | ||
7045 | ||
c370783e | 7046 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7047 | PyObject *resultobj; |
7048 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7049 | int arg2 = (int) 0 ; | |
7050 | PyObject * obj0 = 0 ; | |
7051 | PyObject * obj1 = 0 ; | |
7052 | char *kwnames[] = { | |
7053 | (char *) "self",(char *) "number", NULL | |
7054 | }; | |
7055 | ||
7056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7057 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7058 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 7059 | if (obj1) { |
36ed4f51 RD |
7060 | { |
7061 | arg2 = (int)(SWIG_As_int(obj1)); | |
7062 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7063 | } | |
d55e5bfc RD |
7064 | } |
7065 | { | |
7066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7067 | (arg1)->PopStatusText(arg2); | |
7068 | ||
7069 | wxPyEndAllowThreads(__tstate); | |
7070 | if (PyErr_Occurred()) SWIG_fail; | |
7071 | } | |
7072 | Py_INCREF(Py_None); resultobj = Py_None; | |
7073 | return resultobj; | |
7074 | fail: | |
7075 | return NULL; | |
7076 | } | |
7077 | ||
7078 | ||
c370783e | 7079 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7080 | PyObject *resultobj; |
7081 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7082 | int arg2 ; | |
7083 | int *arg3 = (int *) 0 ; | |
7084 | PyObject * obj0 = 0 ; | |
7085 | PyObject * obj1 = 0 ; | |
7086 | char *kwnames[] = { | |
7087 | (char *) "self",(char *) "widths", NULL | |
7088 | }; | |
7089 | ||
7090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7091 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7092 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7093 | { |
7094 | arg2 = PyList_Size(obj1); | |
7095 | arg3 = int_LIST_helper(obj1); | |
7096 | if (arg3 == NULL) SWIG_fail; | |
7097 | } | |
7098 | { | |
7099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7100 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
7101 | ||
7102 | wxPyEndAllowThreads(__tstate); | |
7103 | if (PyErr_Occurred()) SWIG_fail; | |
7104 | } | |
7105 | Py_INCREF(Py_None); resultobj = Py_None; | |
7106 | { | |
7107 | if (arg3) delete [] arg3; | |
7108 | } | |
7109 | return resultobj; | |
7110 | fail: | |
7111 | { | |
7112 | if (arg3) delete [] arg3; | |
7113 | } | |
7114 | return NULL; | |
7115 | } | |
7116 | ||
7117 | ||
c370783e | 7118 | static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) { |
03837c5c RD |
7119 | PyObject *resultobj; |
7120 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7121 | int arg2 ; | |
7122 | int *arg3 = (int *) 0 ; | |
7123 | PyObject * obj0 = 0 ; | |
7124 | PyObject * obj1 = 0 ; | |
7125 | char *kwnames[] = { | |
7126 | (char *) "self",(char *) "styles", NULL | |
7127 | }; | |
7128 | ||
7129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7130 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7131 | if (SWIG_arg_fail(1)) SWIG_fail; | |
03837c5c RD |
7132 | { |
7133 | arg2 = PyList_Size(obj1); | |
7134 | arg3 = int_LIST_helper(obj1); | |
7135 | if (arg3 == NULL) SWIG_fail; | |
7136 | } | |
7137 | { | |
7138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7139 | (arg1)->SetStatusStyles(arg2,(int const *)arg3); | |
7140 | ||
7141 | wxPyEndAllowThreads(__tstate); | |
7142 | if (PyErr_Occurred()) SWIG_fail; | |
7143 | } | |
7144 | Py_INCREF(Py_None); resultobj = Py_None; | |
7145 | { | |
7146 | if (arg3) delete [] arg3; | |
7147 | } | |
7148 | return resultobj; | |
7149 | fail: | |
7150 | { | |
7151 | if (arg3) delete [] arg3; | |
7152 | } | |
7153 | return NULL; | |
7154 | } | |
7155 | ||
7156 | ||
c370783e | 7157 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7158 | PyObject *resultobj; |
7159 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7160 | int arg2 ; | |
7161 | wxRect result; | |
7162 | PyObject * obj0 = 0 ; | |
7163 | PyObject * obj1 = 0 ; | |
7164 | char *kwnames[] = { | |
7165 | (char *) "self",(char *) "i", NULL | |
7166 | }; | |
7167 | ||
7168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7169 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7170 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7171 | { | |
7172 | arg2 = (int)(SWIG_As_int(obj1)); | |
7173 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7174 | } | |
d55e5bfc RD |
7175 | { |
7176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7177 | result = wxStatusBar_GetFieldRect(arg1,arg2); | |
7178 | ||
7179 | wxPyEndAllowThreads(__tstate); | |
7180 | if (PyErr_Occurred()) SWIG_fail; | |
7181 | } | |
7182 | { | |
7183 | wxRect * resultptr; | |
36ed4f51 | 7184 | resultptr = new wxRect((wxRect &)(result)); |
d55e5bfc RD |
7185 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
7186 | } | |
7187 | return resultobj; | |
7188 | fail: | |
7189 | return NULL; | |
7190 | } | |
7191 | ||
7192 | ||
c370783e | 7193 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7194 | PyObject *resultobj; |
7195 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7196 | int arg2 ; | |
7197 | PyObject * obj0 = 0 ; | |
7198 | PyObject * obj1 = 0 ; | |
7199 | char *kwnames[] = { | |
7200 | (char *) "self",(char *) "height", NULL | |
7201 | }; | |
7202 | ||
7203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7204 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7205 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7206 | { | |
7207 | arg2 = (int)(SWIG_As_int(obj1)); | |
7208 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7209 | } | |
d55e5bfc RD |
7210 | { |
7211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7212 | (arg1)->SetMinHeight(arg2); | |
7213 | ||
7214 | wxPyEndAllowThreads(__tstate); | |
7215 | if (PyErr_Occurred()) SWIG_fail; | |
7216 | } | |
7217 | Py_INCREF(Py_None); resultobj = Py_None; | |
7218 | return resultobj; | |
7219 | fail: | |
7220 | return NULL; | |
7221 | } | |
7222 | ||
7223 | ||
c370783e | 7224 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7225 | PyObject *resultobj; |
7226 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7227 | int result; | |
7228 | PyObject * obj0 = 0 ; | |
7229 | char *kwnames[] = { | |
7230 | (char *) "self", NULL | |
7231 | }; | |
7232 | ||
7233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7234 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7235 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7236 | { |
7237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7238 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
7239 | ||
7240 | wxPyEndAllowThreads(__tstate); | |
7241 | if (PyErr_Occurred()) SWIG_fail; | |
7242 | } | |
36ed4f51 RD |
7243 | { |
7244 | resultobj = SWIG_From_int((int)(result)); | |
7245 | } | |
d55e5bfc RD |
7246 | return resultobj; |
7247 | fail: | |
7248 | return NULL; | |
7249 | } | |
7250 | ||
7251 | ||
c370783e | 7252 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7253 | PyObject *resultobj; |
7254 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
7255 | int result; | |
7256 | PyObject * obj0 = 0 ; | |
7257 | char *kwnames[] = { | |
7258 | (char *) "self", NULL | |
7259 | }; | |
7260 | ||
7261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7262 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); |
7263 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7264 | { |
7265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7266 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
7267 | ||
7268 | wxPyEndAllowThreads(__tstate); | |
7269 | if (PyErr_Occurred()) SWIG_fail; | |
7270 | } | |
36ed4f51 RD |
7271 | { |
7272 | resultobj = SWIG_From_int((int)(result)); | |
7273 | } | |
d55e5bfc RD |
7274 | return resultobj; |
7275 | fail: | |
7276 | return NULL; | |
7277 | } | |
7278 | ||
7279 | ||
c370783e | 7280 | static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 7281 | PyObject *resultobj; |
36ed4f51 | 7282 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
7283 | wxVisualAttributes result; |
7284 | PyObject * obj0 = 0 ; | |
7285 | char *kwnames[] = { | |
7286 | (char *) "variant", NULL | |
7287 | }; | |
7288 | ||
7289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
7290 | if (obj0) { | |
36ed4f51 RD |
7291 | { |
7292 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
7293 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7294 | } | |
f20a2e1f RD |
7295 | } |
7296 | { | |
0439c23b | 7297 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
7298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7299 | result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
7300 | ||
7301 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7302 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
7303 | } |
7304 | { | |
7305 | wxVisualAttributes * resultptr; | |
36ed4f51 | 7306 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
7307 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
7308 | } | |
7309 | return resultobj; | |
7310 | fail: | |
7311 | return NULL; | |
7312 | } | |
7313 | ||
7314 | ||
c370783e | 7315 | static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
7316 | PyObject *obj; |
7317 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7318 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
7319 | Py_INCREF(obj); | |
7320 | return Py_BuildValue((char *)""); | |
7321 | } | |
c370783e | 7322 | static int _wrap_SplitterNameStr_set(PyObject *) { |
d55e5bfc RD |
7323 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); |
7324 | return 1; | |
7325 | } | |
7326 | ||
7327 | ||
36ed4f51 | 7328 | static PyObject *_wrap_SplitterNameStr_get(void) { |
d55e5bfc RD |
7329 | PyObject *pyobj; |
7330 | ||
7331 | { | |
7332 | #if wxUSE_UNICODE | |
7333 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
7334 | #else | |
7335 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
7336 | #endif | |
7337 | } | |
7338 | return pyobj; | |
7339 | } | |
7340 | ||
7341 | ||
c370783e | 7342 | static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7343 | PyObject *resultobj; |
7344 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7345 | int arg2 = (int) -1 ; | |
7346 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
7347 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7348 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7349 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7350 | long arg5 = (long) wxSP_3D ; | |
7351 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
7352 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7353 | wxSplitterWindow *result; | |
7354 | wxPoint temp3 ; | |
7355 | wxSize temp4 ; | |
b411df4a | 7356 | bool temp6 = false ; |
d55e5bfc RD |
7357 | PyObject * obj0 = 0 ; |
7358 | PyObject * obj1 = 0 ; | |
7359 | PyObject * obj2 = 0 ; | |
7360 | PyObject * obj3 = 0 ; | |
7361 | PyObject * obj4 = 0 ; | |
7362 | PyObject * obj5 = 0 ; | |
7363 | char *kwnames[] = { | |
7364 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7365 | }; | |
7366 | ||
7367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
7368 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
7369 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 7370 | if (obj1) { |
36ed4f51 RD |
7371 | { |
7372 | arg2 = (int)(SWIG_As_int(obj1)); | |
7373 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7374 | } | |
d55e5bfc RD |
7375 | } |
7376 | if (obj2) { | |
7377 | { | |
7378 | arg3 = &temp3; | |
7379 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7380 | } | |
7381 | } | |
7382 | if (obj3) { | |
7383 | { | |
7384 | arg4 = &temp4; | |
7385 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7386 | } | |
7387 | } | |
7388 | if (obj4) { | |
36ed4f51 RD |
7389 | { |
7390 | arg5 = (long)(SWIG_As_long(obj4)); | |
7391 | if (SWIG_arg_fail(5)) SWIG_fail; | |
7392 | } | |
d55e5bfc RD |
7393 | } |
7394 | if (obj5) { | |
7395 | { | |
7396 | arg6 = wxString_in_helper(obj5); | |
7397 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 7398 | temp6 = true; |
d55e5bfc RD |
7399 | } |
7400 | } | |
7401 | { | |
0439c23b | 7402 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
7403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7404 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7405 | ||
7406 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7407 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
7408 | } |
7409 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); | |
7410 | { | |
7411 | if (temp6) | |
7412 | delete arg6; | |
7413 | } | |
7414 | return resultobj; | |
7415 | fail: | |
7416 | { | |
7417 | if (temp6) | |
7418 | delete arg6; | |
7419 | } | |
7420 | return NULL; | |
7421 | } | |
7422 | ||
7423 | ||
c370783e | 7424 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7425 | PyObject *resultobj; |
7426 | wxSplitterWindow *result; | |
7427 | char *kwnames[] = { | |
7428 | NULL | |
7429 | }; | |
7430 | ||
7431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
7432 | { | |
0439c23b | 7433 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
7434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7435 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
7436 | ||
7437 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7438 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
7439 | } |
7440 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); | |
7441 | return resultobj; | |
7442 | fail: | |
7443 | return NULL; | |
7444 | } | |
7445 | ||
7446 | ||
c370783e | 7447 | static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7448 | PyObject *resultobj; |
7449 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7450 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7451 | int arg3 = (int) -1 ; | |
7452 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
7453 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7454 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7455 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7456 | long arg6 = (long) wxSP_3D ; | |
7457 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
7458 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7459 | bool result; | |
7460 | wxPoint temp4 ; | |
7461 | wxSize temp5 ; | |
b411df4a | 7462 | bool temp7 = false ; |
d55e5bfc RD |
7463 | PyObject * obj0 = 0 ; |
7464 | PyObject * obj1 = 0 ; | |
7465 | PyObject * obj2 = 0 ; | |
7466 | PyObject * obj3 = 0 ; | |
7467 | PyObject * obj4 = 0 ; | |
7468 | PyObject * obj5 = 0 ; | |
7469 | PyObject * obj6 = 0 ; | |
7470 | char *kwnames[] = { | |
7471 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7472 | }; | |
7473 | ||
7474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
7475 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7476 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7477 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7478 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 7479 | if (obj2) { |
36ed4f51 RD |
7480 | { |
7481 | arg3 = (int)(SWIG_As_int(obj2)); | |
7482 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7483 | } | |
d55e5bfc RD |
7484 | } |
7485 | if (obj3) { | |
7486 | { | |
7487 | arg4 = &temp4; | |
7488 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7489 | } | |
7490 | } | |
7491 | if (obj4) { | |
7492 | { | |
7493 | arg5 = &temp5; | |
7494 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7495 | } | |
7496 | } | |
7497 | if (obj5) { | |
36ed4f51 RD |
7498 | { |
7499 | arg6 = (long)(SWIG_As_long(obj5)); | |
7500 | if (SWIG_arg_fail(6)) SWIG_fail; | |
7501 | } | |
d55e5bfc RD |
7502 | } |
7503 | if (obj6) { | |
7504 | { | |
7505 | arg7 = wxString_in_helper(obj6); | |
7506 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 7507 | temp7 = true; |
d55e5bfc RD |
7508 | } |
7509 | } | |
7510 | { | |
7511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7512 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7513 | ||
7514 | wxPyEndAllowThreads(__tstate); | |
7515 | if (PyErr_Occurred()) SWIG_fail; | |
7516 | } | |
7517 | { | |
7518 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7519 | } | |
7520 | { | |
7521 | if (temp7) | |
7522 | delete arg7; | |
7523 | } | |
7524 | return resultobj; | |
7525 | fail: | |
7526 | { | |
7527 | if (temp7) | |
7528 | delete arg7; | |
7529 | } | |
7530 | return NULL; | |
7531 | } | |
7532 | ||
7533 | ||
c370783e | 7534 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7535 | PyObject *resultobj; |
7536 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7537 | wxWindow *result; | |
7538 | PyObject * obj0 = 0 ; | |
7539 | char *kwnames[] = { | |
7540 | (char *) "self", NULL | |
7541 | }; | |
7542 | ||
7543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7544 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7545 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7546 | { |
7547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7548 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
7549 | ||
7550 | wxPyEndAllowThreads(__tstate); | |
7551 | if (PyErr_Occurred()) SWIG_fail; | |
7552 | } | |
7553 | { | |
412d302d | 7554 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
7555 | } |
7556 | return resultobj; | |
7557 | fail: | |
7558 | return NULL; | |
7559 | } | |
7560 | ||
7561 | ||
c370783e | 7562 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7563 | PyObject *resultobj; |
7564 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7565 | wxWindow *result; | |
7566 | PyObject * obj0 = 0 ; | |
7567 | char *kwnames[] = { | |
7568 | (char *) "self", NULL | |
7569 | }; | |
7570 | ||
7571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7572 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7573 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7574 | { |
7575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7576 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
7577 | ||
7578 | wxPyEndAllowThreads(__tstate); | |
7579 | if (PyErr_Occurred()) SWIG_fail; | |
7580 | } | |
7581 | { | |
412d302d | 7582 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
7583 | } |
7584 | return resultobj; | |
7585 | fail: | |
7586 | return NULL; | |
7587 | } | |
7588 | ||
7589 | ||
c370783e | 7590 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7591 | PyObject *resultobj; |
7592 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7593 | int arg2 ; | |
7594 | PyObject * obj0 = 0 ; | |
7595 | PyObject * obj1 = 0 ; | |
7596 | char *kwnames[] = { | |
7597 | (char *) "self",(char *) "mode", NULL | |
7598 | }; | |
7599 | ||
7600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7601 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7602 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7603 | { | |
7604 | arg2 = (int)(SWIG_As_int(obj1)); | |
7605 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7606 | } | |
d55e5bfc RD |
7607 | { |
7608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7609 | (arg1)->SetSplitMode(arg2); | |
7610 | ||
7611 | wxPyEndAllowThreads(__tstate); | |
7612 | if (PyErr_Occurred()) SWIG_fail; | |
7613 | } | |
7614 | Py_INCREF(Py_None); resultobj = Py_None; | |
7615 | return resultobj; | |
7616 | fail: | |
7617 | return NULL; | |
7618 | } | |
7619 | ||
7620 | ||
c370783e | 7621 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7622 | PyObject *resultobj; |
7623 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
36ed4f51 | 7624 | wxSplitMode result; |
d55e5bfc RD |
7625 | PyObject * obj0 = 0 ; |
7626 | char *kwnames[] = { | |
7627 | (char *) "self", NULL | |
7628 | }; | |
7629 | ||
7630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7631 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7632 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7633 | { |
7634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7635 | result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode(); |
d55e5bfc RD |
7636 | |
7637 | wxPyEndAllowThreads(__tstate); | |
7638 | if (PyErr_Occurred()) SWIG_fail; | |
7639 | } | |
36ed4f51 | 7640 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
7641 | return resultobj; |
7642 | fail: | |
7643 | return NULL; | |
7644 | } | |
7645 | ||
7646 | ||
c370783e | 7647 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7648 | PyObject *resultobj; |
7649 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7650 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7651 | PyObject * obj0 = 0 ; | |
7652 | PyObject * obj1 = 0 ; | |
7653 | char *kwnames[] = { | |
7654 | (char *) "self",(char *) "window", NULL | |
7655 | }; | |
7656 | ||
7657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7658 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7659 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7660 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7661 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
7662 | { |
7663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7664 | (arg1)->Initialize(arg2); | |
7665 | ||
7666 | wxPyEndAllowThreads(__tstate); | |
7667 | if (PyErr_Occurred()) SWIG_fail; | |
7668 | } | |
7669 | Py_INCREF(Py_None); resultobj = Py_None; | |
7670 | return resultobj; | |
7671 | fail: | |
7672 | return NULL; | |
7673 | } | |
7674 | ||
7675 | ||
c370783e | 7676 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7677 | PyObject *resultobj; |
7678 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7679 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7680 | wxWindow *arg3 = (wxWindow *) 0 ; | |
7681 | int arg4 = (int) 0 ; | |
7682 | bool result; | |
7683 | PyObject * obj0 = 0 ; | |
7684 | PyObject * obj1 = 0 ; | |
7685 | PyObject * obj2 = 0 ; | |
7686 | PyObject * obj3 = 0 ; | |
7687 | char *kwnames[] = { | |
7688 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
7689 | }; | |
7690 | ||
7691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
7692 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7693 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7694 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7695 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7696 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7697 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc | 7698 | if (obj3) { |
36ed4f51 RD |
7699 | { |
7700 | arg4 = (int)(SWIG_As_int(obj3)); | |
7701 | if (SWIG_arg_fail(4)) SWIG_fail; | |
7702 | } | |
d55e5bfc RD |
7703 | } |
7704 | { | |
7705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7706 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
7707 | ||
7708 | wxPyEndAllowThreads(__tstate); | |
7709 | if (PyErr_Occurred()) SWIG_fail; | |
7710 | } | |
7711 | { | |
7712 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7713 | } | |
7714 | return resultobj; | |
7715 | fail: | |
7716 | return NULL; | |
7717 | } | |
7718 | ||
7719 | ||
c370783e | 7720 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7721 | PyObject *resultobj; |
7722 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7723 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7724 | wxWindow *arg3 = (wxWindow *) 0 ; | |
7725 | int arg4 = (int) 0 ; | |
7726 | bool result; | |
7727 | PyObject * obj0 = 0 ; | |
7728 | PyObject * obj1 = 0 ; | |
7729 | PyObject * obj2 = 0 ; | |
7730 | PyObject * obj3 = 0 ; | |
7731 | char *kwnames[] = { | |
7732 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
7733 | }; | |
7734 | ||
7735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
7736 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7737 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7738 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7739 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7740 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7741 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc | 7742 | if (obj3) { |
36ed4f51 RD |
7743 | { |
7744 | arg4 = (int)(SWIG_As_int(obj3)); | |
7745 | if (SWIG_arg_fail(4)) SWIG_fail; | |
7746 | } | |
d55e5bfc RD |
7747 | } |
7748 | { | |
7749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7750 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
7751 | ||
7752 | wxPyEndAllowThreads(__tstate); | |
7753 | if (PyErr_Occurred()) SWIG_fail; | |
7754 | } | |
7755 | { | |
7756 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7757 | } | |
7758 | return resultobj; | |
7759 | fail: | |
7760 | return NULL; | |
7761 | } | |
7762 | ||
7763 | ||
c370783e | 7764 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7765 | PyObject *resultobj; |
7766 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7767 | wxWindow *arg2 = (wxWindow *) NULL ; | |
7768 | bool result; | |
7769 | PyObject * obj0 = 0 ; | |
7770 | PyObject * obj1 = 0 ; | |
7771 | char *kwnames[] = { | |
7772 | (char *) "self",(char *) "toRemove", NULL | |
7773 | }; | |
7774 | ||
7775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7776 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7777 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 7778 | if (obj1) { |
36ed4f51 RD |
7779 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
7780 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
7781 | } |
7782 | { | |
7783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7784 | result = (bool)(arg1)->Unsplit(arg2); | |
7785 | ||
7786 | wxPyEndAllowThreads(__tstate); | |
7787 | if (PyErr_Occurred()) SWIG_fail; | |
7788 | } | |
7789 | { | |
7790 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7791 | } | |
7792 | return resultobj; | |
7793 | fail: | |
7794 | return NULL; | |
7795 | } | |
7796 | ||
7797 | ||
c370783e | 7798 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7799 | PyObject *resultobj; |
7800 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7801 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7802 | wxWindow *arg3 = (wxWindow *) 0 ; | |
7803 | bool result; | |
7804 | PyObject * obj0 = 0 ; | |
7805 | PyObject * obj1 = 0 ; | |
7806 | PyObject * obj2 = 0 ; | |
7807 | char *kwnames[] = { | |
7808 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
7809 | }; | |
7810 | ||
7811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
7812 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7813 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7814 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7815 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7816 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
7817 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
7818 | { |
7819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7820 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
7821 | ||
7822 | wxPyEndAllowThreads(__tstate); | |
7823 | if (PyErr_Occurred()) SWIG_fail; | |
7824 | } | |
7825 | { | |
7826 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7827 | } | |
7828 | return resultobj; | |
7829 | fail: | |
7830 | return NULL; | |
7831 | } | |
7832 | ||
7833 | ||
c370783e | 7834 | static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7835 | PyObject *resultobj; |
7836 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7837 | PyObject * obj0 = 0 ; | |
7838 | char *kwnames[] = { | |
7839 | (char *) "self", NULL | |
7840 | }; | |
7841 | ||
7842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7843 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7844 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7845 | { |
7846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7847 | (arg1)->UpdateSize(); | |
7848 | ||
7849 | wxPyEndAllowThreads(__tstate); | |
7850 | if (PyErr_Occurred()) SWIG_fail; | |
7851 | } | |
7852 | Py_INCREF(Py_None); resultobj = Py_None; | |
7853 | return resultobj; | |
7854 | fail: | |
7855 | return NULL; | |
7856 | } | |
7857 | ||
7858 | ||
c370783e | 7859 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7860 | PyObject *resultobj; |
7861 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7862 | bool result; | |
7863 | PyObject * obj0 = 0 ; | |
7864 | char *kwnames[] = { | |
7865 | (char *) "self", NULL | |
7866 | }; | |
7867 | ||
7868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7869 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7870 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7871 | { |
7872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7873 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
7874 | ||
7875 | wxPyEndAllowThreads(__tstate); | |
7876 | if (PyErr_Occurred()) SWIG_fail; | |
7877 | } | |
7878 | { | |
7879 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7880 | } | |
7881 | return resultobj; | |
7882 | fail: | |
7883 | return NULL; | |
7884 | } | |
7885 | ||
7886 | ||
c370783e | 7887 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7888 | PyObject *resultobj; |
7889 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7890 | int arg2 ; | |
7891 | PyObject * obj0 = 0 ; | |
7892 | PyObject * obj1 = 0 ; | |
7893 | char *kwnames[] = { | |
7894 | (char *) "self",(char *) "width", NULL | |
7895 | }; | |
7896 | ||
7897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7898 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7899 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7900 | { | |
7901 | arg2 = (int)(SWIG_As_int(obj1)); | |
7902 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7903 | } | |
d55e5bfc RD |
7904 | { |
7905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7906 | (arg1)->SetSashSize(arg2); | |
7907 | ||
7908 | wxPyEndAllowThreads(__tstate); | |
7909 | if (PyErr_Occurred()) SWIG_fail; | |
7910 | } | |
7911 | Py_INCREF(Py_None); resultobj = Py_None; | |
7912 | return resultobj; | |
7913 | fail: | |
7914 | return NULL; | |
7915 | } | |
7916 | ||
7917 | ||
c370783e | 7918 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7919 | PyObject *resultobj; |
7920 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7921 | int arg2 ; | |
7922 | PyObject * obj0 = 0 ; | |
7923 | PyObject * obj1 = 0 ; | |
7924 | char *kwnames[] = { | |
7925 | (char *) "self",(char *) "width", NULL | |
7926 | }; | |
7927 | ||
7928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
7929 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7930 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7931 | { | |
7932 | arg2 = (int)(SWIG_As_int(obj1)); | |
7933 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7934 | } | |
d55e5bfc RD |
7935 | { |
7936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7937 | (arg1)->SetBorderSize(arg2); | |
7938 | ||
7939 | wxPyEndAllowThreads(__tstate); | |
7940 | if (PyErr_Occurred()) SWIG_fail; | |
7941 | } | |
7942 | Py_INCREF(Py_None); resultobj = Py_None; | |
7943 | return resultobj; | |
7944 | fail: | |
7945 | return NULL; | |
7946 | } | |
7947 | ||
7948 | ||
c370783e | 7949 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7950 | PyObject *resultobj; |
7951 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7952 | int result; | |
7953 | PyObject * obj0 = 0 ; | |
7954 | char *kwnames[] = { | |
7955 | (char *) "self", NULL | |
7956 | }; | |
7957 | ||
7958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7959 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7960 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7961 | { |
7962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7963 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
7964 | ||
7965 | wxPyEndAllowThreads(__tstate); | |
7966 | if (PyErr_Occurred()) SWIG_fail; | |
7967 | } | |
36ed4f51 RD |
7968 | { |
7969 | resultobj = SWIG_From_int((int)(result)); | |
7970 | } | |
d55e5bfc RD |
7971 | return resultobj; |
7972 | fail: | |
7973 | return NULL; | |
7974 | } | |
7975 | ||
7976 | ||
c370783e | 7977 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
7978 | PyObject *resultobj; |
7979 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
7980 | int result; | |
7981 | PyObject * obj0 = 0 ; | |
7982 | char *kwnames[] = { | |
7983 | (char *) "self", NULL | |
7984 | }; | |
7985 | ||
7986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
7987 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
7988 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
7989 | { |
7990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7991 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
7992 | ||
7993 | wxPyEndAllowThreads(__tstate); | |
7994 | if (PyErr_Occurred()) SWIG_fail; | |
7995 | } | |
36ed4f51 RD |
7996 | { |
7997 | resultobj = SWIG_From_int((int)(result)); | |
7998 | } | |
d55e5bfc RD |
7999 | return resultobj; |
8000 | fail: | |
8001 | return NULL; | |
8002 | } | |
8003 | ||
8004 | ||
c370783e | 8005 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8006 | PyObject *resultobj; |
8007 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8008 | int arg2 ; | |
b411df4a | 8009 | bool arg3 = (bool) true ; |
d55e5bfc RD |
8010 | PyObject * obj0 = 0 ; |
8011 | PyObject * obj1 = 0 ; | |
8012 | PyObject * obj2 = 0 ; | |
8013 | char *kwnames[] = { | |
8014 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
8015 | }; | |
8016 | ||
8017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
8018 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8019 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8020 | { | |
8021 | arg2 = (int)(SWIG_As_int(obj1)); | |
8022 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8023 | } | |
d55e5bfc | 8024 | if (obj2) { |
36ed4f51 RD |
8025 | { |
8026 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
8027 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8028 | } | |
d55e5bfc RD |
8029 | } |
8030 | { | |
8031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8032 | (arg1)->SetSashPosition(arg2,arg3); | |
8033 | ||
8034 | wxPyEndAllowThreads(__tstate); | |
8035 | if (PyErr_Occurred()) SWIG_fail; | |
8036 | } | |
8037 | Py_INCREF(Py_None); resultobj = Py_None; | |
8038 | return resultobj; | |
8039 | fail: | |
8040 | return NULL; | |
8041 | } | |
8042 | ||
8043 | ||
c370783e | 8044 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8045 | PyObject *resultobj; |
8046 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8047 | int result; | |
8048 | PyObject * obj0 = 0 ; | |
8049 | char *kwnames[] = { | |
8050 | (char *) "self", NULL | |
8051 | }; | |
8052 | ||
8053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8054 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8055 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8056 | { |
8057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8058 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
8059 | ||
8060 | wxPyEndAllowThreads(__tstate); | |
8061 | if (PyErr_Occurred()) SWIG_fail; | |
8062 | } | |
36ed4f51 RD |
8063 | { |
8064 | resultobj = SWIG_From_int((int)(result)); | |
8065 | } | |
d55e5bfc RD |
8066 | return resultobj; |
8067 | fail: | |
8068 | return NULL; | |
8069 | } | |
8070 | ||
8071 | ||
5cbf236d RD |
8072 | static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) { |
8073 | PyObject *resultobj; | |
8074 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8075 | double arg2 ; | |
8076 | PyObject * obj0 = 0 ; | |
8077 | PyObject * obj1 = 0 ; | |
8078 | char *kwnames[] = { | |
8079 | (char *) "self",(char *) "gravity", NULL | |
8080 | }; | |
8081 | ||
8082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8083 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8084 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8085 | { | |
8086 | arg2 = (double)(SWIG_As_double(obj1)); | |
8087 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8088 | } | |
5cbf236d RD |
8089 | { |
8090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8091 | (arg1)->SetSashGravity(arg2); | |
8092 | ||
8093 | wxPyEndAllowThreads(__tstate); | |
8094 | if (PyErr_Occurred()) SWIG_fail; | |
8095 | } | |
8096 | Py_INCREF(Py_None); resultobj = Py_None; | |
8097 | return resultobj; | |
8098 | fail: | |
8099 | return NULL; | |
8100 | } | |
8101 | ||
8102 | ||
8103 | static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) { | |
8104 | PyObject *resultobj; | |
8105 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8106 | double result; | |
8107 | PyObject * obj0 = 0 ; | |
8108 | char *kwnames[] = { | |
8109 | (char *) "self", NULL | |
8110 | }; | |
8111 | ||
8112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8113 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8114 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d RD |
8115 | { |
8116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8117 | result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity(); | |
8118 | ||
8119 | wxPyEndAllowThreads(__tstate); | |
8120 | if (PyErr_Occurred()) SWIG_fail; | |
8121 | } | |
36ed4f51 RD |
8122 | { |
8123 | resultobj = SWIG_From_double((double)(result)); | |
8124 | } | |
5cbf236d RD |
8125 | return resultobj; |
8126 | fail: | |
8127 | return NULL; | |
8128 | } | |
8129 | ||
8130 | ||
c370783e | 8131 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8132 | PyObject *resultobj; |
8133 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8134 | int arg2 ; | |
8135 | PyObject * obj0 = 0 ; | |
8136 | PyObject * obj1 = 0 ; | |
8137 | char *kwnames[] = { | |
8138 | (char *) "self",(char *) "min", NULL | |
8139 | }; | |
8140 | ||
8141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8142 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8143 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8144 | { | |
8145 | arg2 = (int)(SWIG_As_int(obj1)); | |
8146 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8147 | } | |
d55e5bfc RD |
8148 | { |
8149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8150 | (arg1)->SetMinimumPaneSize(arg2); | |
8151 | ||
8152 | wxPyEndAllowThreads(__tstate); | |
8153 | if (PyErr_Occurred()) SWIG_fail; | |
8154 | } | |
8155 | Py_INCREF(Py_None); resultobj = Py_None; | |
8156 | return resultobj; | |
8157 | fail: | |
8158 | return NULL; | |
8159 | } | |
8160 | ||
8161 | ||
c370783e | 8162 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8163 | PyObject *resultobj; |
8164 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8165 | int result; | |
8166 | PyObject * obj0 = 0 ; | |
8167 | char *kwnames[] = { | |
8168 | (char *) "self", NULL | |
8169 | }; | |
8170 | ||
8171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8172 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8173 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8174 | { |
8175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8176 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
8177 | ||
8178 | wxPyEndAllowThreads(__tstate); | |
8179 | if (PyErr_Occurred()) SWIG_fail; | |
8180 | } | |
36ed4f51 RD |
8181 | { |
8182 | resultobj = SWIG_From_int((int)(result)); | |
8183 | } | |
d55e5bfc RD |
8184 | return resultobj; |
8185 | fail: | |
8186 | return NULL; | |
8187 | } | |
8188 | ||
8189 | ||
c370783e | 8190 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8191 | PyObject *resultobj; |
8192 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8193 | int arg2 ; | |
8194 | int arg3 ; | |
8195 | int arg4 = (int) 5 ; | |
8196 | bool result; | |
8197 | PyObject * obj0 = 0 ; | |
8198 | PyObject * obj1 = 0 ; | |
8199 | PyObject * obj2 = 0 ; | |
8200 | PyObject * obj3 = 0 ; | |
8201 | char *kwnames[] = { | |
8202 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
8203 | }; | |
8204 | ||
8205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
8206 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8207 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8208 | { | |
8209 | arg2 = (int)(SWIG_As_int(obj1)); | |
8210 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8211 | } | |
8212 | { | |
8213 | arg3 = (int)(SWIG_As_int(obj2)); | |
8214 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8215 | } | |
d55e5bfc | 8216 | if (obj3) { |
36ed4f51 RD |
8217 | { |
8218 | arg4 = (int)(SWIG_As_int(obj3)); | |
8219 | if (SWIG_arg_fail(4)) SWIG_fail; | |
8220 | } | |
d55e5bfc RD |
8221 | } |
8222 | { | |
8223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8224 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
8225 | ||
8226 | wxPyEndAllowThreads(__tstate); | |
8227 | if (PyErr_Occurred()) SWIG_fail; | |
8228 | } | |
8229 | { | |
8230 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8231 | } | |
8232 | return resultobj; | |
8233 | fail: | |
8234 | return NULL; | |
8235 | } | |
8236 | ||
8237 | ||
c370783e | 8238 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8239 | PyObject *resultobj; |
8240 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8241 | PyObject * obj0 = 0 ; | |
8242 | char *kwnames[] = { | |
8243 | (char *) "self", NULL | |
8244 | }; | |
8245 | ||
8246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8247 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8248 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8249 | { |
8250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8251 | (arg1)->SizeWindows(); | |
8252 | ||
8253 | wxPyEndAllowThreads(__tstate); | |
8254 | if (PyErr_Occurred()) SWIG_fail; | |
8255 | } | |
8256 | Py_INCREF(Py_None); resultobj = Py_None; | |
8257 | return resultobj; | |
8258 | fail: | |
8259 | return NULL; | |
8260 | } | |
8261 | ||
8262 | ||
c370783e | 8263 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8264 | PyObject *resultobj; |
8265 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8266 | bool arg2 ; | |
8267 | PyObject * obj0 = 0 ; | |
8268 | PyObject * obj1 = 0 ; | |
8269 | char *kwnames[] = { | |
8270 | (char *) "self",(char *) "needUpdating", NULL | |
8271 | }; | |
8272 | ||
8273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8274 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8275 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8276 | { | |
8277 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
8278 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8279 | } | |
d55e5bfc RD |
8280 | { |
8281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8282 | (arg1)->SetNeedUpdating(arg2); | |
8283 | ||
8284 | wxPyEndAllowThreads(__tstate); | |
8285 | if (PyErr_Occurred()) SWIG_fail; | |
8286 | } | |
8287 | Py_INCREF(Py_None); resultobj = Py_None; | |
8288 | return resultobj; | |
8289 | fail: | |
8290 | return NULL; | |
8291 | } | |
8292 | ||
8293 | ||
c370783e | 8294 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8295 | PyObject *resultobj; |
8296 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
8297 | bool result; | |
8298 | PyObject * obj0 = 0 ; | |
8299 | char *kwnames[] = { | |
8300 | (char *) "self", NULL | |
8301 | }; | |
8302 | ||
8303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8304 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8305 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8306 | { |
8307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8308 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
8309 | ||
8310 | wxPyEndAllowThreads(__tstate); | |
8311 | if (PyErr_Occurred()) SWIG_fail; | |
8312 | } | |
8313 | { | |
8314 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8315 | } | |
8316 | return resultobj; | |
8317 | fail: | |
8318 | return NULL; | |
8319 | } | |
8320 | ||
8321 | ||
c370783e | 8322 | static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f | 8323 | PyObject *resultobj; |
36ed4f51 | 8324 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; |
f20a2e1f RD |
8325 | wxVisualAttributes result; |
8326 | PyObject * obj0 = 0 ; | |
8327 | char *kwnames[] = { | |
8328 | (char *) "variant", NULL | |
8329 | }; | |
8330 | ||
8331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
8332 | if (obj0) { | |
36ed4f51 RD |
8333 | { |
8334 | arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); | |
8335 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8336 | } | |
f20a2e1f RD |
8337 | } |
8338 | { | |
0439c23b | 8339 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
8340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8341 | result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
8342 | ||
8343 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8344 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
8345 | } |
8346 | { | |
8347 | wxVisualAttributes * resultptr; | |
36ed4f51 | 8348 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
f20a2e1f RD |
8349 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
8350 | } | |
8351 | return resultobj; | |
8352 | fail: | |
8353 | return NULL; | |
8354 | } | |
8355 | ||
8356 | ||
c370783e | 8357 | static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
8358 | PyObject *obj; |
8359 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8360 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
8361 | Py_INCREF(obj); | |
8362 | return Py_BuildValue((char *)""); | |
8363 | } | |
c370783e | 8364 | static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8365 | PyObject *resultobj; |
8366 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
8367 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
8368 | wxSplitterEvent *result; | |
8369 | PyObject * obj0 = 0 ; | |
8370 | PyObject * obj1 = 0 ; | |
8371 | char *kwnames[] = { | |
8372 | (char *) "type",(char *) "splitter", NULL | |
8373 | }; | |
8374 | ||
8375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; | |
8376 | if (obj0) { | |
36ed4f51 RD |
8377 | { |
8378 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
8379 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8380 | } | |
d55e5bfc RD |
8381 | } |
8382 | if (obj1) { | |
36ed4f51 RD |
8383 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); |
8384 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
8385 | } |
8386 | { | |
8387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8388 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
8389 | ||
8390 | wxPyEndAllowThreads(__tstate); | |
8391 | if (PyErr_Occurred()) SWIG_fail; | |
8392 | } | |
8393 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); | |
8394 | return resultobj; | |
8395 | fail: | |
8396 | return NULL; | |
8397 | } | |
8398 | ||
8399 | ||
c370783e | 8400 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8401 | PyObject *resultobj; |
8402 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8403 | int arg2 ; | |
8404 | PyObject * obj0 = 0 ; | |
8405 | PyObject * obj1 = 0 ; | |
8406 | char *kwnames[] = { | |
8407 | (char *) "self",(char *) "pos", NULL | |
8408 | }; | |
8409 | ||
8410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8411 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8412 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8413 | { | |
8414 | arg2 = (int)(SWIG_As_int(obj1)); | |
8415 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8416 | } | |
d55e5bfc RD |
8417 | { |
8418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8419 | (arg1)->SetSashPosition(arg2); | |
8420 | ||
8421 | wxPyEndAllowThreads(__tstate); | |
8422 | if (PyErr_Occurred()) SWIG_fail; | |
8423 | } | |
8424 | Py_INCREF(Py_None); resultobj = Py_None; | |
8425 | return resultobj; | |
8426 | fail: | |
8427 | return NULL; | |
8428 | } | |
8429 | ||
8430 | ||
c370783e | 8431 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8432 | PyObject *resultobj; |
8433 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8434 | int result; | |
8435 | PyObject * obj0 = 0 ; | |
8436 | char *kwnames[] = { | |
8437 | (char *) "self", NULL | |
8438 | }; | |
8439 | ||
8440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8441 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8442 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8443 | { |
8444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8445 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
8446 | ||
8447 | wxPyEndAllowThreads(__tstate); | |
8448 | if (PyErr_Occurred()) SWIG_fail; | |
8449 | } | |
36ed4f51 RD |
8450 | { |
8451 | resultobj = SWIG_From_int((int)(result)); | |
8452 | } | |
d55e5bfc RD |
8453 | return resultobj; |
8454 | fail: | |
8455 | return NULL; | |
8456 | } | |
8457 | ||
8458 | ||
c370783e | 8459 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8460 | PyObject *resultobj; |
8461 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8462 | wxWindow *result; | |
8463 | PyObject * obj0 = 0 ; | |
8464 | char *kwnames[] = { | |
8465 | (char *) "self", NULL | |
8466 | }; | |
8467 | ||
8468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8469 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8470 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8471 | { |
8472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8473 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
8474 | ||
8475 | wxPyEndAllowThreads(__tstate); | |
8476 | if (PyErr_Occurred()) SWIG_fail; | |
8477 | } | |
8478 | { | |
412d302d | 8479 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
8480 | } |
8481 | return resultobj; | |
8482 | fail: | |
8483 | return NULL; | |
8484 | } | |
8485 | ||
8486 | ||
c370783e | 8487 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8488 | PyObject *resultobj; |
8489 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8490 | int result; | |
8491 | PyObject * obj0 = 0 ; | |
8492 | char *kwnames[] = { | |
8493 | (char *) "self", NULL | |
8494 | }; | |
8495 | ||
8496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8497 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8498 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8499 | { |
8500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8501 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
8502 | ||
8503 | wxPyEndAllowThreads(__tstate); | |
8504 | if (PyErr_Occurred()) SWIG_fail; | |
8505 | } | |
36ed4f51 RD |
8506 | { |
8507 | resultobj = SWIG_From_int((int)(result)); | |
8508 | } | |
d55e5bfc RD |
8509 | return resultobj; |
8510 | fail: | |
8511 | return NULL; | |
8512 | } | |
8513 | ||
8514 | ||
c370783e | 8515 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8516 | PyObject *resultobj; |
8517 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
8518 | int result; | |
8519 | PyObject * obj0 = 0 ; | |
8520 | char *kwnames[] = { | |
8521 | (char *) "self", NULL | |
8522 | }; | |
8523 | ||
8524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8525 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); |
8526 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
8527 | { |
8528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8529 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
8530 | ||
8531 | wxPyEndAllowThreads(__tstate); | |
8532 | if (PyErr_Occurred()) SWIG_fail; | |
8533 | } | |
36ed4f51 RD |
8534 | { |
8535 | resultobj = SWIG_From_int((int)(result)); | |
8536 | } | |
d55e5bfc RD |
8537 | return resultobj; |
8538 | fail: | |
8539 | return NULL; | |
8540 | } | |
8541 | ||
8542 | ||
c370783e | 8543 | static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
8544 | PyObject *obj; |
8545 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8546 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
8547 | Py_INCREF(obj); | |
8548 | return Py_BuildValue((char *)""); | |
8549 | } | |
c370783e | 8550 | static int _wrap_SashNameStr_set(PyObject *) { |
d55e5bfc RD |
8551 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); |
8552 | return 1; | |
8553 | } | |
8554 | ||
8555 | ||
36ed4f51 | 8556 | static PyObject *_wrap_SashNameStr_get(void) { |
d55e5bfc RD |
8557 | PyObject *pyobj; |
8558 | ||
8559 | { | |
8560 | #if wxUSE_UNICODE | |
8561 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
8562 | #else | |
8563 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
8564 | #endif | |
8565 | } | |
8566 | return pyobj; | |
8567 | } | |
8568 | ||
8569 | ||
c370783e | 8570 | static int _wrap_SashLayoutNameStr_set(PyObject *) { |
d55e5bfc RD |
8571 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); |
8572 | return 1; | |
8573 | } | |
8574 | ||
8575 | ||
36ed4f51 | 8576 | static PyObject *_wrap_SashLayoutNameStr_get(void) { |
d55e5bfc RD |
8577 | PyObject *pyobj; |
8578 | ||
8579 | { | |
8580 | #if wxUSE_UNICODE | |
8581 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
8582 | #else | |
8583 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
8584 | #endif | |
8585 | } | |
8586 | return pyobj; | |
8587 | } | |
8588 | ||
8589 | ||
c370783e | 8590 | static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8591 | PyObject *resultobj; |
8592 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 8593 | int arg2 = (int) -1 ; |
d55e5bfc RD |
8594 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8595 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8596 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8597 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8598 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8599 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
8600 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8601 | wxSashWindow *result; | |
8602 | wxPoint temp3 ; | |
8603 | wxSize temp4 ; | |
b411df4a | 8604 | bool temp6 = false ; |
d55e5bfc RD |
8605 | PyObject * obj0 = 0 ; |
8606 | PyObject * obj1 = 0 ; | |
8607 | PyObject * obj2 = 0 ; | |
8608 | PyObject * obj3 = 0 ; | |
8609 | PyObject * obj4 = 0 ; | |
8610 | PyObject * obj5 = 0 ; | |
8611 | char *kwnames[] = { | |
8612 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8613 | }; | |
8614 | ||
bfddbb17 | 8615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
36ed4f51 RD |
8616 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
8617 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 8618 | if (obj1) { |
36ed4f51 RD |
8619 | { |
8620 | arg2 = (int)(SWIG_As_int(obj1)); | |
8621 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8622 | } | |
bfddbb17 | 8623 | } |
d55e5bfc RD |
8624 | if (obj2) { |
8625 | { | |
8626 | arg3 = &temp3; | |
8627 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8628 | } | |
8629 | } | |
8630 | if (obj3) { | |
8631 | { | |
8632 | arg4 = &temp4; | |
8633 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8634 | } | |
8635 | } | |
8636 | if (obj4) { | |
36ed4f51 RD |
8637 | { |
8638 | arg5 = (long)(SWIG_As_long(obj4)); | |
8639 | if (SWIG_arg_fail(5)) SWIG_fail; | |
8640 | } | |
d55e5bfc RD |
8641 | } |
8642 | if (obj5) { | |
8643 | { | |
8644 | arg6 = wxString_in_helper(obj5); | |
8645 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 8646 | temp6 = true; |
d55e5bfc RD |
8647 | } |
8648 | } | |
8649 | { | |
0439c23b | 8650 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
8651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8652 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8653 | ||
8654 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8655 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
8656 | } |
8657 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); | |
8658 | { | |
8659 | if (temp6) | |
8660 | delete arg6; | |
8661 | } | |
8662 | return resultobj; | |
8663 | fail: | |
8664 | { | |
8665 | if (temp6) | |
8666 | delete arg6; | |
8667 | } | |
8668 | return NULL; | |
8669 | } | |
8670 | ||
8671 | ||
c370783e | 8672 | static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8673 | PyObject *resultobj; |
8674 | wxSashWindow *result; | |
8675 | char *kwnames[] = { | |
8676 | NULL | |
8677 | }; | |
8678 | ||
8679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
8680 | { | |
0439c23b | 8681 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
8682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8683 | result = (wxSashWindow *)new wxSashWindow(); | |
8684 | ||
8685 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8686 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
8687 | } |
8688 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); | |
8689 | return resultobj; | |
8690 | fail: | |
8691 | return NULL; | |
8692 | } | |
8693 | ||
8694 | ||
c370783e | 8695 | static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8696 | PyObject *resultobj; |
8697 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
8698 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 | 8699 | int arg3 = (int) -1 ; |
d55e5bfc RD |
8700 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8701 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8702 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8703 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8704 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8705 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
8706 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8707 | bool result; | |
8708 | wxPoint temp4 ; | |
8709 | wxSize temp5 ; | |
b411df4a | 8710 | bool temp7 = false ; |
d55e5bfc RD |
8711 | PyObject * obj0 = 0 ; |
8712 | PyObject * obj1 = 0 ; | |
8713 | PyObject * obj2 = 0 ; | |
8714 | PyObject * obj3 = 0 ; | |
8715 | PyObject * obj4 = 0 ; | |
8716 | PyObject * obj5 = 0 ; | |
8717 | PyObject * obj6 = 0 ; | |
8718 | char *kwnames[] = { | |
8719 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8720 | }; | |
8721 | ||
bfddbb17 | 8722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
8723 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8724 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8725 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
8726 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 8727 | if (obj2) { |
36ed4f51 RD |
8728 | { |
8729 | arg3 = (int)(SWIG_As_int(obj2)); | |
8730 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8731 | } | |
bfddbb17 | 8732 | } |
d55e5bfc RD |
8733 | if (obj3) { |
8734 | { | |
8735 | arg4 = &temp4; | |
8736 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8737 | } | |
8738 | } | |
8739 | if (obj4) { | |
8740 | { | |
8741 | arg5 = &temp5; | |
8742 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8743 | } | |
8744 | } | |
8745 | if (obj5) { | |
36ed4f51 RD |
8746 | { |
8747 | arg6 = (long)(SWIG_As_long(obj5)); | |
8748 | if (SWIG_arg_fail(6)) SWIG_fail; | |
8749 | } | |
d55e5bfc RD |
8750 | } |
8751 | if (obj6) { | |
8752 | { | |
8753 | arg7 = wxString_in_helper(obj6); | |
8754 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 8755 | temp7 = true; |
d55e5bfc RD |
8756 | } |
8757 | } | |
8758 | { | |
8759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8760 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8761 | ||
8762 | wxPyEndAllowThreads(__tstate); | |
8763 | if (PyErr_Occurred()) SWIG_fail; | |
8764 | } | |
8765 | { | |
8766 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8767 | } | |
8768 | { | |
8769 | if (temp7) | |
8770 | delete arg7; | |
8771 | } | |
8772 | return resultobj; | |
8773 | fail: | |
8774 | { | |
8775 | if (temp7) | |
8776 | delete arg7; | |
8777 | } | |
8778 | return NULL; | |
8779 | } | |
8780 | ||
8781 | ||
c370783e | 8782 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8783 | PyObject *resultobj; |
8784 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
36ed4f51 | 8785 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8786 | bool arg3 ; |
8787 | PyObject * obj0 = 0 ; | |
8788 | PyObject * obj1 = 0 ; | |
8789 | PyObject * obj2 = 0 ; | |
8790 | char *kwnames[] = { | |
8791 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
8792 | }; | |
8793 | ||
8794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
8795 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8796 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8797 | { | |
8798 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8799 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8800 | } | |
8801 | { | |
8802 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
8803 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8804 | } | |
d55e5bfc RD |
8805 | { |
8806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8807 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
8808 | ||
8809 | wxPyEndAllowThreads(__tstate); | |
8810 | if (PyErr_Occurred()) SWIG_fail; | |
8811 | } | |
8812 | Py_INCREF(Py_None); resultobj = Py_None; | |
8813 | return resultobj; | |
8814 | fail: | |
8815 | return NULL; | |
8816 | } | |
8817 | ||
8818 | ||
c370783e | 8819 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8820 | PyObject *resultobj; |
8821 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
36ed4f51 | 8822 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8823 | bool result; |
8824 | PyObject * obj0 = 0 ; | |
8825 | PyObject * obj1 = 0 ; | |
8826 | char *kwnames[] = { | |
8827 | (char *) "self",(char *) "edge", NULL | |
8828 | }; | |
8829 | ||
8830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8831 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8832 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8833 | { | |
8834 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8835 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8836 | } | |
d55e5bfc RD |
8837 | { |
8838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8839 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
8840 | ||
8841 | wxPyEndAllowThreads(__tstate); | |
8842 | if (PyErr_Occurred()) SWIG_fail; | |
8843 | } | |
8844 | { | |
8845 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8846 | } | |
8847 | return resultobj; | |
8848 | fail: | |
8849 | return NULL; | |
8850 | } | |
8851 | ||
8852 | ||
c370783e | 8853 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8854 | PyObject *resultobj; |
8855 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
36ed4f51 | 8856 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8857 | bool arg3 ; |
8858 | PyObject * obj0 = 0 ; | |
8859 | PyObject * obj1 = 0 ; | |
8860 | PyObject * obj2 = 0 ; | |
8861 | char *kwnames[] = { | |
8862 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
8863 | }; | |
8864 | ||
8865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
8866 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8867 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8868 | { | |
8869 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8870 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8871 | } | |
8872 | { | |
8873 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
8874 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8875 | } | |
d55e5bfc RD |
8876 | { |
8877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8878 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
8879 | ||
8880 | wxPyEndAllowThreads(__tstate); | |
8881 | if (PyErr_Occurred()) SWIG_fail; | |
8882 | } | |
8883 | Py_INCREF(Py_None); resultobj = Py_None; | |
8884 | return resultobj; | |
8885 | fail: | |
8886 | return NULL; | |
8887 | } | |
8888 | ||
8889 | ||
c370783e | 8890 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8891 | PyObject *resultobj; |
8892 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
36ed4f51 | 8893 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8894 | bool result; |
8895 | PyObject * obj0 = 0 ; | |
8896 | PyObject * obj1 = 0 ; | |
8897 | char *kwnames[] = { | |
8898 | (char *) "self",(char *) "edge", NULL | |
8899 | }; | |
8900 | ||
8901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8902 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8903 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8904 | { | |
8905 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8906 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8907 | } | |
d55e5bfc RD |
8908 | { |
8909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8910 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
8911 | ||
8912 | wxPyEndAllowThreads(__tstate); | |
8913 | if (PyErr_Occurred()) SWIG_fail; | |
8914 | } | |
8915 | { | |
8916 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8917 | } | |
8918 | return resultobj; | |
8919 | fail: | |
8920 | return NULL; | |
8921 | } | |
8922 | ||
8923 | ||
c370783e | 8924 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8925 | PyObject *resultobj; |
8926 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
36ed4f51 | 8927 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
8928 | int result; |
8929 | PyObject * obj0 = 0 ; | |
8930 | PyObject * obj1 = 0 ; | |
8931 | char *kwnames[] = { | |
8932 | (char *) "self",(char *) "edge", NULL | |
8933 | }; | |
8934 | ||
8935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8936 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8937 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8938 | { | |
8939 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
8940 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8941 | } | |
d55e5bfc RD |
8942 | { |
8943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8944 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
8945 | ||
8946 | wxPyEndAllowThreads(__tstate); | |
8947 | if (PyErr_Occurred()) SWIG_fail; | |
8948 | } | |
36ed4f51 RD |
8949 | { |
8950 | resultobj = SWIG_From_int((int)(result)); | |
8951 | } | |
d55e5bfc RD |
8952 | return resultobj; |
8953 | fail: | |
8954 | return NULL; | |
8955 | } | |
8956 | ||
8957 | ||
c370783e | 8958 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8959 | PyObject *resultobj; |
8960 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
8961 | int arg2 ; | |
8962 | PyObject * obj0 = 0 ; | |
8963 | PyObject * obj1 = 0 ; | |
8964 | char *kwnames[] = { | |
8965 | (char *) "self",(char *) "width", NULL | |
8966 | }; | |
8967 | ||
8968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
8969 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
8970 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8971 | { | |
8972 | arg2 = (int)(SWIG_As_int(obj1)); | |
8973 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8974 | } | |
d55e5bfc RD |
8975 | { |
8976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8977 | (arg1)->SetDefaultBorderSize(arg2); | |
8978 | ||
8979 | wxPyEndAllowThreads(__tstate); | |
8980 | if (PyErr_Occurred()) SWIG_fail; | |
8981 | } | |
8982 | Py_INCREF(Py_None); resultobj = Py_None; | |
8983 | return resultobj; | |
8984 | fail: | |
8985 | return NULL; | |
8986 | } | |
8987 | ||
8988 | ||
c370783e | 8989 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
8990 | PyObject *resultobj; |
8991 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
8992 | int result; | |
8993 | PyObject * obj0 = 0 ; | |
8994 | char *kwnames[] = { | |
8995 | (char *) "self", NULL | |
8996 | }; | |
8997 | ||
8998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
8999 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9000 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9001 | { |
9002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9003 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
9004 | ||
9005 | wxPyEndAllowThreads(__tstate); | |
9006 | if (PyErr_Occurred()) SWIG_fail; | |
9007 | } | |
36ed4f51 RD |
9008 | { |
9009 | resultobj = SWIG_From_int((int)(result)); | |
9010 | } | |
d55e5bfc RD |
9011 | return resultobj; |
9012 | fail: | |
9013 | return NULL; | |
9014 | } | |
9015 | ||
9016 | ||
c370783e | 9017 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9018 | PyObject *resultobj; |
9019 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9020 | int arg2 ; | |
9021 | PyObject * obj0 = 0 ; | |
9022 | PyObject * obj1 = 0 ; | |
9023 | char *kwnames[] = { | |
9024 | (char *) "self",(char *) "width", NULL | |
9025 | }; | |
9026 | ||
9027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9028 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9029 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9030 | { | |
9031 | arg2 = (int)(SWIG_As_int(obj1)); | |
9032 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9033 | } | |
d55e5bfc RD |
9034 | { |
9035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9036 | (arg1)->SetExtraBorderSize(arg2); | |
9037 | ||
9038 | wxPyEndAllowThreads(__tstate); | |
9039 | if (PyErr_Occurred()) SWIG_fail; | |
9040 | } | |
9041 | Py_INCREF(Py_None); resultobj = Py_None; | |
9042 | return resultobj; | |
9043 | fail: | |
9044 | return NULL; | |
9045 | } | |
9046 | ||
9047 | ||
c370783e | 9048 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9049 | PyObject *resultobj; |
9050 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9051 | int result; | |
9052 | PyObject * obj0 = 0 ; | |
9053 | char *kwnames[] = { | |
9054 | (char *) "self", NULL | |
9055 | }; | |
9056 | ||
9057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9058 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9059 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9060 | { |
9061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9062 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
9063 | ||
9064 | wxPyEndAllowThreads(__tstate); | |
9065 | if (PyErr_Occurred()) SWIG_fail; | |
9066 | } | |
36ed4f51 RD |
9067 | { |
9068 | resultobj = SWIG_From_int((int)(result)); | |
9069 | } | |
d55e5bfc RD |
9070 | return resultobj; |
9071 | fail: | |
9072 | return NULL; | |
9073 | } | |
9074 | ||
9075 | ||
c370783e | 9076 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9077 | PyObject *resultobj; |
9078 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9079 | int arg2 ; | |
9080 | PyObject * obj0 = 0 ; | |
9081 | PyObject * obj1 = 0 ; | |
9082 | char *kwnames[] = { | |
9083 | (char *) "self",(char *) "min", NULL | |
9084 | }; | |
9085 | ||
9086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9087 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9088 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9089 | { | |
9090 | arg2 = (int)(SWIG_As_int(obj1)); | |
9091 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9092 | } | |
d55e5bfc RD |
9093 | { |
9094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9095 | (arg1)->SetMinimumSizeX(arg2); | |
9096 | ||
9097 | wxPyEndAllowThreads(__tstate); | |
9098 | if (PyErr_Occurred()) SWIG_fail; | |
9099 | } | |
9100 | Py_INCREF(Py_None); resultobj = Py_None; | |
9101 | return resultobj; | |
9102 | fail: | |
9103 | return NULL; | |
9104 | } | |
9105 | ||
9106 | ||
c370783e | 9107 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9108 | PyObject *resultobj; |
9109 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9110 | int arg2 ; | |
9111 | PyObject * obj0 = 0 ; | |
9112 | PyObject * obj1 = 0 ; | |
9113 | char *kwnames[] = { | |
9114 | (char *) "self",(char *) "min", NULL | |
9115 | }; | |
9116 | ||
9117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9118 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9119 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9120 | { | |
9121 | arg2 = (int)(SWIG_As_int(obj1)); | |
9122 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9123 | } | |
d55e5bfc RD |
9124 | { |
9125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9126 | (arg1)->SetMinimumSizeY(arg2); | |
9127 | ||
9128 | wxPyEndAllowThreads(__tstate); | |
9129 | if (PyErr_Occurred()) SWIG_fail; | |
9130 | } | |
9131 | Py_INCREF(Py_None); resultobj = Py_None; | |
9132 | return resultobj; | |
9133 | fail: | |
9134 | return NULL; | |
9135 | } | |
9136 | ||
9137 | ||
c370783e | 9138 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9139 | PyObject *resultobj; |
9140 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9141 | int result; | |
9142 | PyObject * obj0 = 0 ; | |
9143 | char *kwnames[] = { | |
9144 | (char *) "self", NULL | |
9145 | }; | |
9146 | ||
9147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9148 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9149 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9150 | { |
9151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9152 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
9153 | ||
9154 | wxPyEndAllowThreads(__tstate); | |
9155 | if (PyErr_Occurred()) SWIG_fail; | |
9156 | } | |
36ed4f51 RD |
9157 | { |
9158 | resultobj = SWIG_From_int((int)(result)); | |
9159 | } | |
d55e5bfc RD |
9160 | return resultobj; |
9161 | fail: | |
9162 | return NULL; | |
9163 | } | |
9164 | ||
9165 | ||
c370783e | 9166 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9167 | PyObject *resultobj; |
9168 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9169 | int result; | |
9170 | PyObject * obj0 = 0 ; | |
9171 | char *kwnames[] = { | |
9172 | (char *) "self", NULL | |
9173 | }; | |
9174 | ||
9175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9176 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9177 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9178 | { |
9179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9180 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
9181 | ||
9182 | wxPyEndAllowThreads(__tstate); | |
9183 | if (PyErr_Occurred()) SWIG_fail; | |
9184 | } | |
36ed4f51 RD |
9185 | { |
9186 | resultobj = SWIG_From_int((int)(result)); | |
9187 | } | |
d55e5bfc RD |
9188 | return resultobj; |
9189 | fail: | |
9190 | return NULL; | |
9191 | } | |
9192 | ||
9193 | ||
c370783e | 9194 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9195 | PyObject *resultobj; |
9196 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9197 | int arg2 ; | |
9198 | PyObject * obj0 = 0 ; | |
9199 | PyObject * obj1 = 0 ; | |
9200 | char *kwnames[] = { | |
9201 | (char *) "self",(char *) "max", NULL | |
9202 | }; | |
9203 | ||
9204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9205 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9206 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9207 | { | |
9208 | arg2 = (int)(SWIG_As_int(obj1)); | |
9209 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9210 | } | |
d55e5bfc RD |
9211 | { |
9212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9213 | (arg1)->SetMaximumSizeX(arg2); | |
9214 | ||
9215 | wxPyEndAllowThreads(__tstate); | |
9216 | if (PyErr_Occurred()) SWIG_fail; | |
9217 | } | |
9218 | Py_INCREF(Py_None); resultobj = Py_None; | |
9219 | return resultobj; | |
9220 | fail: | |
9221 | return NULL; | |
9222 | } | |
9223 | ||
9224 | ||
c370783e | 9225 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9226 | PyObject *resultobj; |
9227 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9228 | int arg2 ; | |
9229 | PyObject * obj0 = 0 ; | |
9230 | PyObject * obj1 = 0 ; | |
9231 | char *kwnames[] = { | |
9232 | (char *) "self",(char *) "max", NULL | |
9233 | }; | |
9234 | ||
9235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9236 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9237 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9238 | { | |
9239 | arg2 = (int)(SWIG_As_int(obj1)); | |
9240 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9241 | } | |
d55e5bfc RD |
9242 | { |
9243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9244 | (arg1)->SetMaximumSizeY(arg2); | |
9245 | ||
9246 | wxPyEndAllowThreads(__tstate); | |
9247 | if (PyErr_Occurred()) SWIG_fail; | |
9248 | } | |
9249 | Py_INCREF(Py_None); resultobj = Py_None; | |
9250 | return resultobj; | |
9251 | fail: | |
9252 | return NULL; | |
9253 | } | |
9254 | ||
9255 | ||
c370783e | 9256 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9257 | PyObject *resultobj; |
9258 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9259 | int result; | |
9260 | PyObject * obj0 = 0 ; | |
9261 | char *kwnames[] = { | |
9262 | (char *) "self", NULL | |
9263 | }; | |
9264 | ||
9265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9266 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9267 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9268 | { |
9269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9270 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
9271 | ||
9272 | wxPyEndAllowThreads(__tstate); | |
9273 | if (PyErr_Occurred()) SWIG_fail; | |
9274 | } | |
36ed4f51 RD |
9275 | { |
9276 | resultobj = SWIG_From_int((int)(result)); | |
9277 | } | |
d55e5bfc RD |
9278 | return resultobj; |
9279 | fail: | |
9280 | return NULL; | |
9281 | } | |
9282 | ||
9283 | ||
c370783e | 9284 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9285 | PyObject *resultobj; |
9286 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9287 | int result; | |
9288 | PyObject * obj0 = 0 ; | |
9289 | char *kwnames[] = { | |
9290 | (char *) "self", NULL | |
9291 | }; | |
9292 | ||
9293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9294 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9295 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9296 | { |
9297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9298 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
9299 | ||
9300 | wxPyEndAllowThreads(__tstate); | |
9301 | if (PyErr_Occurred()) SWIG_fail; | |
9302 | } | |
36ed4f51 RD |
9303 | { |
9304 | resultobj = SWIG_From_int((int)(result)); | |
9305 | } | |
d55e5bfc RD |
9306 | return resultobj; |
9307 | fail: | |
9308 | return NULL; | |
9309 | } | |
9310 | ||
9311 | ||
c370783e | 9312 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9313 | PyObject *resultobj; |
9314 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9315 | int arg2 ; | |
9316 | int arg3 ; | |
9317 | int arg4 = (int) 2 ; | |
36ed4f51 | 9318 | wxSashEdgePosition result; |
d55e5bfc RD |
9319 | PyObject * obj0 = 0 ; |
9320 | PyObject * obj1 = 0 ; | |
9321 | PyObject * obj2 = 0 ; | |
9322 | PyObject * obj3 = 0 ; | |
9323 | char *kwnames[] = { | |
9324 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
9325 | }; | |
9326 | ||
9327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
9328 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9329 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9330 | { | |
9331 | arg2 = (int)(SWIG_As_int(obj1)); | |
9332 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9333 | } | |
9334 | { | |
9335 | arg3 = (int)(SWIG_As_int(obj2)); | |
9336 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9337 | } | |
d55e5bfc | 9338 | if (obj3) { |
36ed4f51 RD |
9339 | { |
9340 | arg4 = (int)(SWIG_As_int(obj3)); | |
9341 | if (SWIG_arg_fail(4)) SWIG_fail; | |
9342 | } | |
d55e5bfc RD |
9343 | } |
9344 | { | |
9345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9346 | result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4); |
d55e5bfc RD |
9347 | |
9348 | wxPyEndAllowThreads(__tstate); | |
9349 | if (PyErr_Occurred()) SWIG_fail; | |
9350 | } | |
36ed4f51 | 9351 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9352 | return resultobj; |
9353 | fail: | |
9354 | return NULL; | |
9355 | } | |
9356 | ||
9357 | ||
c370783e | 9358 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9359 | PyObject *resultobj; |
9360 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
9361 | PyObject * obj0 = 0 ; | |
9362 | char *kwnames[] = { | |
9363 | (char *) "self", NULL | |
9364 | }; | |
9365 | ||
9366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9367 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); |
9368 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9369 | { |
9370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9371 | (arg1)->SizeWindows(); | |
9372 | ||
9373 | wxPyEndAllowThreads(__tstate); | |
9374 | if (PyErr_Occurred()) SWIG_fail; | |
9375 | } | |
9376 | Py_INCREF(Py_None); resultobj = Py_None; | |
9377 | return resultobj; | |
9378 | fail: | |
9379 | return NULL; | |
9380 | } | |
9381 | ||
9382 | ||
c370783e | 9383 | static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9384 | PyObject *obj; |
9385 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9386 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
9387 | Py_INCREF(obj); | |
9388 | return Py_BuildValue((char *)""); | |
9389 | } | |
c370783e | 9390 | static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9391 | PyObject *resultobj; |
9392 | int arg1 = (int) 0 ; | |
36ed4f51 | 9393 | wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ; |
d55e5bfc RD |
9394 | wxSashEvent *result; |
9395 | PyObject * obj0 = 0 ; | |
9396 | PyObject * obj1 = 0 ; | |
9397 | char *kwnames[] = { | |
9398 | (char *) "id",(char *) "edge", NULL | |
9399 | }; | |
9400 | ||
9401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; | |
9402 | if (obj0) { | |
36ed4f51 RD |
9403 | { |
9404 | arg1 = (int)(SWIG_As_int(obj0)); | |
9405 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9406 | } | |
d55e5bfc RD |
9407 | } |
9408 | if (obj1) { | |
36ed4f51 RD |
9409 | { |
9410 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
9411 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9412 | } | |
d55e5bfc RD |
9413 | } |
9414 | { | |
9415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9416 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
9417 | ||
9418 | wxPyEndAllowThreads(__tstate); | |
9419 | if (PyErr_Occurred()) SWIG_fail; | |
9420 | } | |
9421 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); | |
9422 | return resultobj; | |
9423 | fail: | |
9424 | return NULL; | |
9425 | } | |
9426 | ||
9427 | ||
c370783e | 9428 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9429 | PyObject *resultobj; |
9430 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
36ed4f51 | 9431 | wxSashEdgePosition arg2 ; |
d55e5bfc RD |
9432 | PyObject * obj0 = 0 ; |
9433 | PyObject * obj1 = 0 ; | |
9434 | char *kwnames[] = { | |
9435 | (char *) "self",(char *) "edge", NULL | |
9436 | }; | |
9437 | ||
9438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9439 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9440 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9441 | { | |
9442 | arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); | |
9443 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9444 | } | |
d55e5bfc RD |
9445 | { |
9446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9447 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
9448 | ||
9449 | wxPyEndAllowThreads(__tstate); | |
9450 | if (PyErr_Occurred()) SWIG_fail; | |
9451 | } | |
9452 | Py_INCREF(Py_None); resultobj = Py_None; | |
9453 | return resultobj; | |
9454 | fail: | |
9455 | return NULL; | |
9456 | } | |
9457 | ||
9458 | ||
c370783e | 9459 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9460 | PyObject *resultobj; |
9461 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
36ed4f51 | 9462 | wxSashEdgePosition result; |
d55e5bfc RD |
9463 | PyObject * obj0 = 0 ; |
9464 | char *kwnames[] = { | |
9465 | (char *) "self", NULL | |
9466 | }; | |
9467 | ||
9468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9469 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9470 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9471 | { |
9472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9473 | result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge(); |
d55e5bfc RD |
9474 | |
9475 | wxPyEndAllowThreads(__tstate); | |
9476 | if (PyErr_Occurred()) SWIG_fail; | |
9477 | } | |
36ed4f51 | 9478 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9479 | return resultobj; |
9480 | fail: | |
9481 | return NULL; | |
9482 | } | |
9483 | ||
9484 | ||
c370783e | 9485 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9486 | PyObject *resultobj; |
9487 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
9488 | wxRect *arg2 = 0 ; | |
9489 | wxRect temp2 ; | |
9490 | PyObject * obj0 = 0 ; | |
9491 | PyObject * obj1 = 0 ; | |
9492 | char *kwnames[] = { | |
9493 | (char *) "self",(char *) "rect", NULL | |
9494 | }; | |
9495 | ||
9496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9497 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9498 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9499 | { |
9500 | arg2 = &temp2; | |
9501 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
9502 | } | |
9503 | { | |
9504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9505 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
9506 | ||
9507 | wxPyEndAllowThreads(__tstate); | |
9508 | if (PyErr_Occurred()) SWIG_fail; | |
9509 | } | |
9510 | Py_INCREF(Py_None); resultobj = Py_None; | |
9511 | return resultobj; | |
9512 | fail: | |
9513 | return NULL; | |
9514 | } | |
9515 | ||
9516 | ||
c370783e | 9517 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9518 | PyObject *resultobj; |
9519 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
9520 | wxRect result; | |
9521 | PyObject * obj0 = 0 ; | |
9522 | char *kwnames[] = { | |
9523 | (char *) "self", NULL | |
9524 | }; | |
9525 | ||
9526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9527 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9528 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9529 | { |
9530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9531 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
9532 | ||
9533 | wxPyEndAllowThreads(__tstate); | |
9534 | if (PyErr_Occurred()) SWIG_fail; | |
9535 | } | |
9536 | { | |
9537 | wxRect * resultptr; | |
36ed4f51 | 9538 | resultptr = new wxRect((wxRect &)(result)); |
d55e5bfc RD |
9539 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
9540 | } | |
9541 | return resultobj; | |
9542 | fail: | |
9543 | return NULL; | |
9544 | } | |
9545 | ||
9546 | ||
c370783e | 9547 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9548 | PyObject *resultobj; |
9549 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
36ed4f51 | 9550 | wxSashDragStatus arg2 ; |
d55e5bfc RD |
9551 | PyObject * obj0 = 0 ; |
9552 | PyObject * obj1 = 0 ; | |
9553 | char *kwnames[] = { | |
9554 | (char *) "self",(char *) "status", NULL | |
9555 | }; | |
9556 | ||
9557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9558 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9559 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9560 | { | |
9561 | arg2 = (wxSashDragStatus)(SWIG_As_int(obj1)); | |
9562 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9563 | } | |
d55e5bfc RD |
9564 | { |
9565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9566 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
9567 | ||
9568 | wxPyEndAllowThreads(__tstate); | |
9569 | if (PyErr_Occurred()) SWIG_fail; | |
9570 | } | |
9571 | Py_INCREF(Py_None); resultobj = Py_None; | |
9572 | return resultobj; | |
9573 | fail: | |
9574 | return NULL; | |
9575 | } | |
9576 | ||
9577 | ||
c370783e | 9578 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9579 | PyObject *resultobj; |
9580 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
36ed4f51 | 9581 | wxSashDragStatus result; |
d55e5bfc RD |
9582 | PyObject * obj0 = 0 ; |
9583 | char *kwnames[] = { | |
9584 | (char *) "self", NULL | |
9585 | }; | |
9586 | ||
9587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9588 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); |
9589 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9590 | { |
9591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9592 | result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus(); |
d55e5bfc RD |
9593 | |
9594 | wxPyEndAllowThreads(__tstate); | |
9595 | if (PyErr_Occurred()) SWIG_fail; | |
9596 | } | |
36ed4f51 | 9597 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9598 | return resultobj; |
9599 | fail: | |
9600 | return NULL; | |
9601 | } | |
9602 | ||
9603 | ||
c370783e | 9604 | static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9605 | PyObject *obj; |
9606 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9607 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
9608 | Py_INCREF(obj); | |
9609 | return Py_BuildValue((char *)""); | |
9610 | } | |
c370783e | 9611 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9612 | PyObject *resultobj; |
9613 | int arg1 = (int) 0 ; | |
9614 | wxQueryLayoutInfoEvent *result; | |
9615 | PyObject * obj0 = 0 ; | |
9616 | char *kwnames[] = { | |
9617 | (char *) "id", NULL | |
9618 | }; | |
9619 | ||
9620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; | |
9621 | if (obj0) { | |
36ed4f51 RD |
9622 | { |
9623 | arg1 = (int)(SWIG_As_int(obj0)); | |
9624 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9625 | } | |
d55e5bfc RD |
9626 | } |
9627 | { | |
9628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9629 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
9630 | ||
9631 | wxPyEndAllowThreads(__tstate); | |
9632 | if (PyErr_Occurred()) SWIG_fail; | |
9633 | } | |
9634 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); | |
9635 | return resultobj; | |
9636 | fail: | |
9637 | return NULL; | |
9638 | } | |
9639 | ||
9640 | ||
c370783e | 9641 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9642 | PyObject *resultobj; |
9643 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9644 | int arg2 ; | |
9645 | PyObject * obj0 = 0 ; | |
9646 | PyObject * obj1 = 0 ; | |
9647 | char *kwnames[] = { | |
9648 | (char *) "self",(char *) "length", NULL | |
9649 | }; | |
9650 | ||
9651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9652 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9653 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9654 | { | |
9655 | arg2 = (int)(SWIG_As_int(obj1)); | |
9656 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9657 | } | |
d55e5bfc RD |
9658 | { |
9659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9660 | (arg1)->SetRequestedLength(arg2); | |
9661 | ||
9662 | wxPyEndAllowThreads(__tstate); | |
9663 | if (PyErr_Occurred()) SWIG_fail; | |
9664 | } | |
9665 | Py_INCREF(Py_None); resultobj = Py_None; | |
9666 | return resultobj; | |
9667 | fail: | |
9668 | return NULL; | |
9669 | } | |
9670 | ||
9671 | ||
c370783e | 9672 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9673 | PyObject *resultobj; |
9674 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9675 | int result; | |
9676 | PyObject * obj0 = 0 ; | |
9677 | char *kwnames[] = { | |
9678 | (char *) "self", NULL | |
9679 | }; | |
9680 | ||
9681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9682 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9683 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9684 | { |
9685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9686 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
9687 | ||
9688 | wxPyEndAllowThreads(__tstate); | |
9689 | if (PyErr_Occurred()) SWIG_fail; | |
9690 | } | |
36ed4f51 RD |
9691 | { |
9692 | resultobj = SWIG_From_int((int)(result)); | |
9693 | } | |
d55e5bfc RD |
9694 | return resultobj; |
9695 | fail: | |
9696 | return NULL; | |
9697 | } | |
9698 | ||
9699 | ||
c370783e | 9700 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9701 | PyObject *resultobj; |
9702 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9703 | int arg2 ; | |
9704 | PyObject * obj0 = 0 ; | |
9705 | PyObject * obj1 = 0 ; | |
9706 | char *kwnames[] = { | |
9707 | (char *) "self",(char *) "flags", NULL | |
9708 | }; | |
9709 | ||
9710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9711 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9712 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9713 | { | |
9714 | arg2 = (int)(SWIG_As_int(obj1)); | |
9715 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9716 | } | |
d55e5bfc RD |
9717 | { |
9718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9719 | (arg1)->SetFlags(arg2); | |
9720 | ||
9721 | wxPyEndAllowThreads(__tstate); | |
9722 | if (PyErr_Occurred()) SWIG_fail; | |
9723 | } | |
9724 | Py_INCREF(Py_None); resultobj = Py_None; | |
9725 | return resultobj; | |
9726 | fail: | |
9727 | return NULL; | |
9728 | } | |
9729 | ||
9730 | ||
c370783e | 9731 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9732 | PyObject *resultobj; |
9733 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9734 | int result; | |
9735 | PyObject * obj0 = 0 ; | |
9736 | char *kwnames[] = { | |
9737 | (char *) "self", NULL | |
9738 | }; | |
9739 | ||
9740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9741 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9742 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9743 | { |
9744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9745 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
9746 | ||
9747 | wxPyEndAllowThreads(__tstate); | |
9748 | if (PyErr_Occurred()) SWIG_fail; | |
9749 | } | |
36ed4f51 RD |
9750 | { |
9751 | resultobj = SWIG_From_int((int)(result)); | |
9752 | } | |
d55e5bfc RD |
9753 | return resultobj; |
9754 | fail: | |
9755 | return NULL; | |
9756 | } | |
9757 | ||
9758 | ||
c370783e | 9759 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9760 | PyObject *resultobj; |
9761 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9762 | wxSize *arg2 = 0 ; | |
9763 | wxSize temp2 ; | |
9764 | PyObject * obj0 = 0 ; | |
9765 | PyObject * obj1 = 0 ; | |
9766 | char *kwnames[] = { | |
9767 | (char *) "self",(char *) "size", NULL | |
9768 | }; | |
9769 | ||
9770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9771 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9772 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9773 | { |
9774 | arg2 = &temp2; | |
9775 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
9776 | } | |
9777 | { | |
9778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9779 | (arg1)->SetSize((wxSize const &)*arg2); | |
9780 | ||
9781 | wxPyEndAllowThreads(__tstate); | |
9782 | if (PyErr_Occurred()) SWIG_fail; | |
9783 | } | |
9784 | Py_INCREF(Py_None); resultobj = Py_None; | |
9785 | return resultobj; | |
9786 | fail: | |
9787 | return NULL; | |
9788 | } | |
9789 | ||
9790 | ||
c370783e | 9791 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9792 | PyObject *resultobj; |
9793 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
9794 | wxSize result; | |
9795 | PyObject * obj0 = 0 ; | |
9796 | char *kwnames[] = { | |
9797 | (char *) "self", NULL | |
9798 | }; | |
9799 | ||
9800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9801 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9802 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9803 | { |
9804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9805 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
9806 | ||
9807 | wxPyEndAllowThreads(__tstate); | |
9808 | if (PyErr_Occurred()) SWIG_fail; | |
9809 | } | |
9810 | { | |
9811 | wxSize * resultptr; | |
36ed4f51 | 9812 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
9813 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
9814 | } | |
9815 | return resultobj; | |
9816 | fail: | |
9817 | return NULL; | |
9818 | } | |
9819 | ||
9820 | ||
c370783e | 9821 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9822 | PyObject *resultobj; |
9823 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
36ed4f51 | 9824 | wxLayoutOrientation arg2 ; |
d55e5bfc RD |
9825 | PyObject * obj0 = 0 ; |
9826 | PyObject * obj1 = 0 ; | |
9827 | char *kwnames[] = { | |
9828 | (char *) "self",(char *) "orient", NULL | |
9829 | }; | |
9830 | ||
9831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9832 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9833 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9834 | { | |
9835 | arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1)); | |
9836 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9837 | } | |
d55e5bfc RD |
9838 | { |
9839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9840 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
9841 | ||
9842 | wxPyEndAllowThreads(__tstate); | |
9843 | if (PyErr_Occurred()) SWIG_fail; | |
9844 | } | |
9845 | Py_INCREF(Py_None); resultobj = Py_None; | |
9846 | return resultobj; | |
9847 | fail: | |
9848 | return NULL; | |
9849 | } | |
9850 | ||
9851 | ||
c370783e | 9852 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9853 | PyObject *resultobj; |
9854 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
36ed4f51 | 9855 | wxLayoutOrientation result; |
d55e5bfc RD |
9856 | PyObject * obj0 = 0 ; |
9857 | char *kwnames[] = { | |
9858 | (char *) "self", NULL | |
9859 | }; | |
9860 | ||
9861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9862 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9863 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9864 | { |
9865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9866 | result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); |
d55e5bfc RD |
9867 | |
9868 | wxPyEndAllowThreads(__tstate); | |
9869 | if (PyErr_Occurred()) SWIG_fail; | |
9870 | } | |
36ed4f51 | 9871 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9872 | return resultobj; |
9873 | fail: | |
9874 | return NULL; | |
9875 | } | |
9876 | ||
9877 | ||
c370783e | 9878 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9879 | PyObject *resultobj; |
9880 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
36ed4f51 | 9881 | wxLayoutAlignment arg2 ; |
d55e5bfc RD |
9882 | PyObject * obj0 = 0 ; |
9883 | PyObject * obj1 = 0 ; | |
9884 | char *kwnames[] = { | |
9885 | (char *) "self",(char *) "align", NULL | |
9886 | }; | |
9887 | ||
9888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9889 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9890 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9891 | { | |
9892 | arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1)); | |
9893 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9894 | } | |
d55e5bfc RD |
9895 | { |
9896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9897 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
9898 | ||
9899 | wxPyEndAllowThreads(__tstate); | |
9900 | if (PyErr_Occurred()) SWIG_fail; | |
9901 | } | |
9902 | Py_INCREF(Py_None); resultobj = Py_None; | |
9903 | return resultobj; | |
9904 | fail: | |
9905 | return NULL; | |
9906 | } | |
9907 | ||
9908 | ||
c370783e | 9909 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9910 | PyObject *resultobj; |
9911 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
36ed4f51 | 9912 | wxLayoutAlignment result; |
d55e5bfc RD |
9913 | PyObject * obj0 = 0 ; |
9914 | char *kwnames[] = { | |
9915 | (char *) "self", NULL | |
9916 | }; | |
9917 | ||
9918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
9919 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); |
9920 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
9921 | { |
9922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9923 | result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); |
d55e5bfc RD |
9924 | |
9925 | wxPyEndAllowThreads(__tstate); | |
9926 | if (PyErr_Occurred()) SWIG_fail; | |
9927 | } | |
36ed4f51 | 9928 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
9929 | return resultobj; |
9930 | fail: | |
9931 | return NULL; | |
9932 | } | |
9933 | ||
9934 | ||
c370783e | 9935 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
9936 | PyObject *obj; |
9937 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9938 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
9939 | Py_INCREF(obj); | |
9940 | return Py_BuildValue((char *)""); | |
9941 | } | |
c370783e | 9942 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9943 | PyObject *resultobj; |
9944 | int arg1 = (int) 0 ; | |
9945 | wxCalculateLayoutEvent *result; | |
9946 | PyObject * obj0 = 0 ; | |
9947 | char *kwnames[] = { | |
9948 | (char *) "id", NULL | |
9949 | }; | |
9950 | ||
9951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; | |
9952 | if (obj0) { | |
36ed4f51 RD |
9953 | { |
9954 | arg1 = (int)(SWIG_As_int(obj0)); | |
9955 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9956 | } | |
d55e5bfc RD |
9957 | } |
9958 | { | |
9959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9960 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
9961 | ||
9962 | wxPyEndAllowThreads(__tstate); | |
9963 | if (PyErr_Occurred()) SWIG_fail; | |
9964 | } | |
9965 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); | |
9966 | return resultobj; | |
9967 | fail: | |
9968 | return NULL; | |
9969 | } | |
9970 | ||
9971 | ||
c370783e | 9972 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
9973 | PyObject *resultobj; |
9974 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
9975 | int arg2 ; | |
9976 | PyObject * obj0 = 0 ; | |
9977 | PyObject * obj1 = 0 ; | |
9978 | char *kwnames[] = { | |
9979 | (char *) "self",(char *) "flags", NULL | |
9980 | }; | |
9981 | ||
9982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
9983 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
9984 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9985 | { | |
9986 | arg2 = (int)(SWIG_As_int(obj1)); | |
9987 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9988 | } | |
d55e5bfc RD |
9989 | { |
9990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9991 | (arg1)->SetFlags(arg2); | |
9992 | ||
9993 | wxPyEndAllowThreads(__tstate); | |
9994 | if (PyErr_Occurred()) SWIG_fail; | |
9995 | } | |
9996 | Py_INCREF(Py_None); resultobj = Py_None; | |
9997 | return resultobj; | |
9998 | fail: | |
9999 | return NULL; | |
10000 | } | |
10001 | ||
10002 | ||
c370783e | 10003 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10004 | PyObject *resultobj; |
10005 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
10006 | int result; | |
10007 | PyObject * obj0 = 0 ; | |
10008 | char *kwnames[] = { | |
10009 | (char *) "self", NULL | |
10010 | }; | |
10011 | ||
10012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10013 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10014 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10015 | { |
10016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10017 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
10018 | ||
10019 | wxPyEndAllowThreads(__tstate); | |
10020 | if (PyErr_Occurred()) SWIG_fail; | |
10021 | } | |
36ed4f51 RD |
10022 | { |
10023 | resultobj = SWIG_From_int((int)(result)); | |
10024 | } | |
d55e5bfc RD |
10025 | return resultobj; |
10026 | fail: | |
10027 | return NULL; | |
10028 | } | |
10029 | ||
10030 | ||
c370783e | 10031 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10032 | PyObject *resultobj; |
10033 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
10034 | wxRect *arg2 = 0 ; | |
10035 | wxRect temp2 ; | |
10036 | PyObject * obj0 = 0 ; | |
10037 | PyObject * obj1 = 0 ; | |
10038 | char *kwnames[] = { | |
10039 | (char *) "self",(char *) "rect", NULL | |
10040 | }; | |
10041 | ||
10042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10043 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10044 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10045 | { |
10046 | arg2 = &temp2; | |
10047 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
10048 | } | |
10049 | { | |
10050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10051 | (arg1)->SetRect((wxRect const &)*arg2); | |
10052 | ||
10053 | wxPyEndAllowThreads(__tstate); | |
10054 | if (PyErr_Occurred()) SWIG_fail; | |
10055 | } | |
10056 | Py_INCREF(Py_None); resultobj = Py_None; | |
10057 | return resultobj; | |
10058 | fail: | |
10059 | return NULL; | |
10060 | } | |
10061 | ||
10062 | ||
c370783e | 10063 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10064 | PyObject *resultobj; |
10065 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
10066 | wxRect result; | |
10067 | PyObject * obj0 = 0 ; | |
10068 | char *kwnames[] = { | |
10069 | (char *) "self", NULL | |
10070 | }; | |
10071 | ||
10072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10073 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); |
10074 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10075 | { |
10076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10077 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
10078 | ||
10079 | wxPyEndAllowThreads(__tstate); | |
10080 | if (PyErr_Occurred()) SWIG_fail; | |
10081 | } | |
10082 | { | |
10083 | wxRect * resultptr; | |
36ed4f51 | 10084 | resultptr = new wxRect((wxRect &)(result)); |
d55e5bfc RD |
10085 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
10086 | } | |
10087 | return resultobj; | |
10088 | fail: | |
10089 | return NULL; | |
10090 | } | |
10091 | ||
10092 | ||
c370783e | 10093 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10094 | PyObject *obj; |
10095 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10096 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
10097 | Py_INCREF(obj); | |
10098 | return Py_BuildValue((char *)""); | |
10099 | } | |
c370783e | 10100 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10101 | PyObject *resultobj; |
10102 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 10103 | int arg2 = (int) -1 ; |
d55e5bfc RD |
10104 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10105 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10106 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10107 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10108 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
10109 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
10110 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10111 | wxSashLayoutWindow *result; | |
10112 | wxPoint temp3 ; | |
10113 | wxSize temp4 ; | |
b411df4a | 10114 | bool temp6 = false ; |
d55e5bfc RD |
10115 | PyObject * obj0 = 0 ; |
10116 | PyObject * obj1 = 0 ; | |
10117 | PyObject * obj2 = 0 ; | |
10118 | PyObject * obj3 = 0 ; | |
10119 | PyObject * obj4 = 0 ; | |
10120 | PyObject * obj5 = 0 ; | |
10121 | char *kwnames[] = { | |
10122 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10123 | }; | |
10124 | ||
bfddbb17 | 10125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
36ed4f51 RD |
10126 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10127 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 10128 | if (obj1) { |
36ed4f51 RD |
10129 | { |
10130 | arg2 = (int)(SWIG_As_int(obj1)); | |
10131 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10132 | } | |
bfddbb17 | 10133 | } |
d55e5bfc RD |
10134 | if (obj2) { |
10135 | { | |
10136 | arg3 = &temp3; | |
10137 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10138 | } | |
10139 | } | |
10140 | if (obj3) { | |
10141 | { | |
10142 | arg4 = &temp4; | |
10143 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10144 | } | |
10145 | } | |
10146 | if (obj4) { | |
36ed4f51 RD |
10147 | { |
10148 | arg5 = (long)(SWIG_As_long(obj4)); | |
10149 | if (SWIG_arg_fail(5)) SWIG_fail; | |
10150 | } | |
d55e5bfc RD |
10151 | } |
10152 | if (obj5) { | |
10153 | { | |
10154 | arg6 = wxString_in_helper(obj5); | |
10155 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 10156 | temp6 = true; |
d55e5bfc RD |
10157 | } |
10158 | } | |
10159 | { | |
0439c23b | 10160 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10162 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10163 | ||
10164 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10165 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10166 | } |
10167 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); | |
10168 | { | |
10169 | if (temp6) | |
10170 | delete arg6; | |
10171 | } | |
10172 | return resultobj; | |
10173 | fail: | |
10174 | { | |
10175 | if (temp6) | |
10176 | delete arg6; | |
10177 | } | |
10178 | return NULL; | |
10179 | } | |
10180 | ||
10181 | ||
c370783e | 10182 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10183 | PyObject *resultobj; |
10184 | wxSashLayoutWindow *result; | |
10185 | char *kwnames[] = { | |
10186 | NULL | |
10187 | }; | |
10188 | ||
10189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
10190 | { | |
0439c23b | 10191 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10193 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
10194 | ||
10195 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10196 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10197 | } |
10198 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); | |
10199 | return resultobj; | |
10200 | fail: | |
10201 | return NULL; | |
10202 | } | |
10203 | ||
10204 | ||
c370783e | 10205 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10206 | PyObject *resultobj; |
10207 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
10208 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 | 10209 | int arg3 = (int) -1 ; |
d55e5bfc RD |
10210 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10211 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10212 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10213 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10214 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
10215 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
10216 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10217 | bool result; | |
10218 | wxPoint temp4 ; | |
10219 | wxSize temp5 ; | |
b411df4a | 10220 | bool temp7 = false ; |
d55e5bfc RD |
10221 | PyObject * obj0 = 0 ; |
10222 | PyObject * obj1 = 0 ; | |
10223 | PyObject * obj2 = 0 ; | |
10224 | PyObject * obj3 = 0 ; | |
10225 | PyObject * obj4 = 0 ; | |
10226 | PyObject * obj5 = 0 ; | |
10227 | PyObject * obj6 = 0 ; | |
10228 | char *kwnames[] = { | |
10229 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10230 | }; | |
10231 | ||
bfddbb17 | 10232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
10233 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10234 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10235 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
10236 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 10237 | if (obj2) { |
36ed4f51 RD |
10238 | { |
10239 | arg3 = (int)(SWIG_As_int(obj2)); | |
10240 | if (SWIG_arg_fail(3)) SWIG_fail; | |
10241 | } | |
bfddbb17 | 10242 | } |
d55e5bfc RD |
10243 | if (obj3) { |
10244 | { | |
10245 | arg4 = &temp4; | |
10246 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10247 | } | |
10248 | } | |
10249 | if (obj4) { | |
10250 | { | |
10251 | arg5 = &temp5; | |
10252 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10253 | } | |
10254 | } | |
10255 | if (obj5) { | |
36ed4f51 RD |
10256 | { |
10257 | arg6 = (long)(SWIG_As_long(obj5)); | |
10258 | if (SWIG_arg_fail(6)) SWIG_fail; | |
10259 | } | |
d55e5bfc RD |
10260 | } |
10261 | if (obj6) { | |
10262 | { | |
10263 | arg7 = wxString_in_helper(obj6); | |
10264 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 10265 | temp7 = true; |
d55e5bfc RD |
10266 | } |
10267 | } | |
10268 | { | |
10269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10270 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10271 | ||
10272 | wxPyEndAllowThreads(__tstate); | |
10273 | if (PyErr_Occurred()) SWIG_fail; | |
10274 | } | |
10275 | { | |
10276 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10277 | } | |
10278 | { | |
10279 | if (temp7) | |
10280 | delete arg7; | |
10281 | } | |
10282 | return resultobj; | |
10283 | fail: | |
10284 | { | |
10285 | if (temp7) | |
10286 | delete arg7; | |
10287 | } | |
10288 | return NULL; | |
10289 | } | |
10290 | ||
10291 | ||
c370783e | 10292 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10293 | PyObject *resultobj; |
10294 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
36ed4f51 | 10295 | wxLayoutAlignment result; |
d55e5bfc RD |
10296 | PyObject * obj0 = 0 ; |
10297 | char *kwnames[] = { | |
10298 | (char *) "self", NULL | |
10299 | }; | |
10300 | ||
10301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10302 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10303 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10304 | { |
10305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10306 | result = (wxLayoutAlignment)(arg1)->GetAlignment(); |
d55e5bfc RD |
10307 | |
10308 | wxPyEndAllowThreads(__tstate); | |
10309 | if (PyErr_Occurred()) SWIG_fail; | |
10310 | } | |
36ed4f51 | 10311 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
10312 | return resultobj; |
10313 | fail: | |
10314 | return NULL; | |
10315 | } | |
10316 | ||
10317 | ||
c370783e | 10318 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10319 | PyObject *resultobj; |
10320 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
36ed4f51 | 10321 | wxLayoutOrientation result; |
d55e5bfc RD |
10322 | PyObject * obj0 = 0 ; |
10323 | char *kwnames[] = { | |
10324 | (char *) "self", NULL | |
10325 | }; | |
10326 | ||
10327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10328 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10329 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10330 | { |
10331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10332 | result = (wxLayoutOrientation)(arg1)->GetOrientation(); |
d55e5bfc RD |
10333 | |
10334 | wxPyEndAllowThreads(__tstate); | |
10335 | if (PyErr_Occurred()) SWIG_fail; | |
10336 | } | |
36ed4f51 | 10337 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
10338 | return resultobj; |
10339 | fail: | |
10340 | return NULL; | |
10341 | } | |
10342 | ||
10343 | ||
c370783e | 10344 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10345 | PyObject *resultobj; |
10346 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
36ed4f51 | 10347 | wxLayoutAlignment arg2 ; |
d55e5bfc RD |
10348 | PyObject * obj0 = 0 ; |
10349 | PyObject * obj1 = 0 ; | |
10350 | char *kwnames[] = { | |
10351 | (char *) "self",(char *) "alignment", NULL | |
10352 | }; | |
10353 | ||
10354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10355 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10356 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10357 | { | |
10358 | arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1)); | |
10359 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10360 | } | |
d55e5bfc RD |
10361 | { |
10362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10363 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
10364 | ||
10365 | wxPyEndAllowThreads(__tstate); | |
10366 | if (PyErr_Occurred()) SWIG_fail; | |
10367 | } | |
10368 | Py_INCREF(Py_None); resultobj = Py_None; | |
10369 | return resultobj; | |
10370 | fail: | |
10371 | return NULL; | |
10372 | } | |
10373 | ||
10374 | ||
c370783e | 10375 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10376 | PyObject *resultobj; |
10377 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
10378 | wxSize *arg2 = 0 ; | |
10379 | wxSize temp2 ; | |
10380 | PyObject * obj0 = 0 ; | |
10381 | PyObject * obj1 = 0 ; | |
10382 | char *kwnames[] = { | |
10383 | (char *) "self",(char *) "size", NULL | |
10384 | }; | |
10385 | ||
10386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10387 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10388 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10389 | { |
10390 | arg2 = &temp2; | |
10391 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
10392 | } | |
10393 | { | |
10394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10395 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
10396 | ||
10397 | wxPyEndAllowThreads(__tstate); | |
10398 | if (PyErr_Occurred()) SWIG_fail; | |
10399 | } | |
10400 | Py_INCREF(Py_None); resultobj = Py_None; | |
10401 | return resultobj; | |
10402 | fail: | |
10403 | return NULL; | |
10404 | } | |
10405 | ||
10406 | ||
c370783e | 10407 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10408 | PyObject *resultobj; |
10409 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
36ed4f51 | 10410 | wxLayoutOrientation arg2 ; |
d55e5bfc RD |
10411 | PyObject * obj0 = 0 ; |
10412 | PyObject * obj1 = 0 ; | |
10413 | char *kwnames[] = { | |
10414 | (char *) "self",(char *) "orientation", NULL | |
10415 | }; | |
10416 | ||
10417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10418 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); |
10419 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10420 | { | |
10421 | arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1)); | |
10422 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10423 | } | |
d55e5bfc RD |
10424 | { |
10425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10426 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
10427 | ||
10428 | wxPyEndAllowThreads(__tstate); | |
10429 | if (PyErr_Occurred()) SWIG_fail; | |
10430 | } | |
10431 | Py_INCREF(Py_None); resultobj = Py_None; | |
10432 | return resultobj; | |
10433 | fail: | |
10434 | return NULL; | |
10435 | } | |
10436 | ||
10437 | ||
c370783e | 10438 | static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10439 | PyObject *obj; |
10440 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10441 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
10442 | Py_INCREF(obj); | |
10443 | return Py_BuildValue((char *)""); | |
10444 | } | |
c370783e | 10445 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10446 | PyObject *resultobj; |
10447 | wxLayoutAlgorithm *result; | |
10448 | char *kwnames[] = { | |
10449 | NULL | |
10450 | }; | |
10451 | ||
10452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
10453 | { | |
10454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10455 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
10456 | ||
10457 | wxPyEndAllowThreads(__tstate); | |
10458 | if (PyErr_Occurred()) SWIG_fail; | |
10459 | } | |
10460 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); | |
10461 | return resultobj; | |
10462 | fail: | |
10463 | return NULL; | |
10464 | } | |
10465 | ||
10466 | ||
c370783e | 10467 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10468 | PyObject *resultobj; |
10469 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
10470 | PyObject * obj0 = 0 ; | |
10471 | char *kwnames[] = { | |
10472 | (char *) "self", NULL | |
10473 | }; | |
10474 | ||
10475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10476 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10477 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10478 | { |
10479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10480 | delete arg1; | |
10481 | ||
10482 | wxPyEndAllowThreads(__tstate); | |
10483 | if (PyErr_Occurred()) SWIG_fail; | |
10484 | } | |
10485 | Py_INCREF(Py_None); resultobj = Py_None; | |
10486 | return resultobj; | |
10487 | fail: | |
10488 | return NULL; | |
10489 | } | |
10490 | ||
10491 | ||
c370783e | 10492 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10493 | PyObject *resultobj; |
10494 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
10495 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
10496 | wxRect *arg3 = (wxRect *) NULL ; | |
10497 | bool result; | |
10498 | PyObject * obj0 = 0 ; | |
10499 | PyObject * obj1 = 0 ; | |
10500 | PyObject * obj2 = 0 ; | |
10501 | char *kwnames[] = { | |
10502 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
10503 | }; | |
10504 | ||
10505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
10506 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10507 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10508 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
10509 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 10510 | if (obj2) { |
36ed4f51 RD |
10511 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); |
10512 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
10513 | } |
10514 | { | |
10515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10516 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
10517 | ||
10518 | wxPyEndAllowThreads(__tstate); | |
10519 | if (PyErr_Occurred()) SWIG_fail; | |
10520 | } | |
10521 | { | |
10522 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10523 | } | |
10524 | return resultobj; | |
10525 | fail: | |
10526 | return NULL; | |
10527 | } | |
10528 | ||
10529 | ||
c370783e | 10530 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10531 | PyObject *resultobj; |
10532 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
10533 | wxFrame *arg2 = (wxFrame *) 0 ; | |
10534 | wxWindow *arg3 = (wxWindow *) NULL ; | |
10535 | bool result; | |
10536 | PyObject * obj0 = 0 ; | |
10537 | PyObject * obj1 = 0 ; | |
10538 | PyObject * obj2 = 0 ; | |
10539 | char *kwnames[] = { | |
10540 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
10541 | }; | |
10542 | ||
10543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
10544 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10545 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10546 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
10547 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 10548 | if (obj2) { |
36ed4f51 RD |
10549 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10550 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
10551 | } |
10552 | { | |
10553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10554 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
10555 | ||
10556 | wxPyEndAllowThreads(__tstate); | |
10557 | if (PyErr_Occurred()) SWIG_fail; | |
10558 | } | |
10559 | { | |
10560 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10561 | } | |
10562 | return resultobj; | |
10563 | fail: | |
10564 | return NULL; | |
10565 | } | |
10566 | ||
10567 | ||
c370783e | 10568 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10569 | PyObject *resultobj; |
10570 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
10571 | wxWindow *arg2 = (wxWindow *) 0 ; | |
10572 | wxWindow *arg3 = (wxWindow *) NULL ; | |
10573 | bool result; | |
10574 | PyObject * obj0 = 0 ; | |
10575 | PyObject * obj1 = 0 ; | |
10576 | PyObject * obj2 = 0 ; | |
10577 | char *kwnames[] = { | |
10578 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
10579 | }; | |
10580 | ||
10581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
10582 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0); |
10583 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10584 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
10585 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 10586 | if (obj2) { |
36ed4f51 RD |
10587 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10588 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
10589 | } |
10590 | { | |
10591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10592 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
10593 | ||
10594 | wxPyEndAllowThreads(__tstate); | |
10595 | if (PyErr_Occurred()) SWIG_fail; | |
10596 | } | |
10597 | { | |
10598 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10599 | } | |
10600 | return resultobj; | |
10601 | fail: | |
10602 | return NULL; | |
10603 | } | |
10604 | ||
10605 | ||
c370783e | 10606 | static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10607 | PyObject *obj; |
10608 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10609 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
10610 | Py_INCREF(obj); | |
10611 | return Py_BuildValue((char *)""); | |
10612 | } | |
c370783e | 10613 | static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10614 | PyObject *resultobj; |
10615 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10616 | int arg2 = (int) wxBORDER_NONE ; | |
10617 | wxPopupWindow *result; | |
10618 | PyObject * obj0 = 0 ; | |
10619 | PyObject * obj1 = 0 ; | |
10620 | char *kwnames[] = { | |
10621 | (char *) "parent",(char *) "flags", NULL | |
10622 | }; | |
10623 | ||
10624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10625 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10626 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 10627 | if (obj1) { |
36ed4f51 RD |
10628 | { |
10629 | arg2 = (int)(SWIG_As_int(obj1)); | |
10630 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10631 | } | |
d55e5bfc RD |
10632 | } |
10633 | { | |
10634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10635 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
10636 | ||
10637 | wxPyEndAllowThreads(__tstate); | |
10638 | if (PyErr_Occurred()) SWIG_fail; | |
10639 | } | |
10640 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); | |
10641 | return resultobj; | |
10642 | fail: | |
10643 | return NULL; | |
10644 | } | |
10645 | ||
10646 | ||
c370783e | 10647 | static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10648 | PyObject *resultobj; |
10649 | wxPopupWindow *result; | |
10650 | char *kwnames[] = { | |
10651 | NULL | |
10652 | }; | |
10653 | ||
10654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
10655 | { | |
10656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10657 | result = (wxPopupWindow *)new wxPopupWindow(); | |
10658 | ||
10659 | wxPyEndAllowThreads(__tstate); | |
10660 | if (PyErr_Occurred()) SWIG_fail; | |
10661 | } | |
10662 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); | |
10663 | return resultobj; | |
10664 | fail: | |
10665 | return NULL; | |
10666 | } | |
10667 | ||
10668 | ||
c370783e | 10669 | static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10670 | PyObject *obj; |
10671 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10672 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
10673 | Py_INCREF(obj); | |
10674 | return Py_BuildValue((char *)""); | |
10675 | } | |
c370783e | 10676 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10677 | PyObject *resultobj; |
10678 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10679 | int arg2 = (int) wxBORDER_NONE ; | |
10680 | wxPyPopupTransientWindow *result; | |
10681 | PyObject * obj0 = 0 ; | |
10682 | PyObject * obj1 = 0 ; | |
10683 | char *kwnames[] = { | |
10684 | (char *) "parent",(char *) "style", NULL | |
10685 | }; | |
10686 | ||
10687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10688 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10689 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 10690 | if (obj1) { |
36ed4f51 RD |
10691 | { |
10692 | arg2 = (int)(SWIG_As_int(obj1)); | |
10693 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10694 | } | |
d55e5bfc RD |
10695 | } |
10696 | { | |
10697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10698 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
10699 | ||
10700 | wxPyEndAllowThreads(__tstate); | |
10701 | if (PyErr_Occurred()) SWIG_fail; | |
10702 | } | |
10703 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
10704 | return resultobj; | |
10705 | fail: | |
10706 | return NULL; | |
10707 | } | |
10708 | ||
10709 | ||
c370783e | 10710 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10711 | PyObject *resultobj; |
10712 | wxPyPopupTransientWindow *result; | |
10713 | char *kwnames[] = { | |
10714 | NULL | |
10715 | }; | |
10716 | ||
10717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
10718 | { | |
10719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10720 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
10721 | ||
10722 | wxPyEndAllowThreads(__tstate); | |
10723 | if (PyErr_Occurred()) SWIG_fail; | |
10724 | } | |
10725 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
10726 | return resultobj; | |
10727 | fail: | |
10728 | return NULL; | |
10729 | } | |
10730 | ||
10731 | ||
c370783e | 10732 | static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10733 | PyObject *obj; |
10734 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10735 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
10736 | Py_INCREF(obj); | |
10737 | return Py_BuildValue((char *)""); | |
10738 | } | |
c370783e | 10739 | static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10740 | PyObject *resultobj; |
10741 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10742 | wxString *arg2 = 0 ; | |
10743 | int arg3 = (int) 100 ; | |
10744 | wxRect *arg4 = (wxRect *) NULL ; | |
10745 | wxTipWindow *result; | |
b411df4a | 10746 | bool temp2 = false ; |
d55e5bfc RD |
10747 | PyObject * obj0 = 0 ; |
10748 | PyObject * obj1 = 0 ; | |
10749 | PyObject * obj2 = 0 ; | |
10750 | PyObject * obj3 = 0 ; | |
10751 | char *kwnames[] = { | |
10752 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
10753 | }; | |
10754 | ||
10755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
10756 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10757 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10758 | { |
10759 | arg2 = wxString_in_helper(obj1); | |
10760 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 10761 | temp2 = true; |
d55e5bfc RD |
10762 | } |
10763 | if (obj2) { | |
36ed4f51 RD |
10764 | { |
10765 | arg3 = (int)(SWIG_As_int(obj2)); | |
10766 | if (SWIG_arg_fail(3)) SWIG_fail; | |
10767 | } | |
d55e5bfc RD |
10768 | } |
10769 | if (obj3) { | |
36ed4f51 RD |
10770 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); |
10771 | if (SWIG_arg_fail(4)) SWIG_fail; | |
d55e5bfc RD |
10772 | } |
10773 | { | |
0439c23b | 10774 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10776 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); | |
10777 | ||
10778 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10779 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10780 | } |
10781 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); | |
10782 | { | |
10783 | if (temp2) | |
10784 | delete arg2; | |
10785 | } | |
10786 | return resultobj; | |
10787 | fail: | |
10788 | { | |
10789 | if (temp2) | |
10790 | delete arg2; | |
10791 | } | |
10792 | return NULL; | |
10793 | } | |
10794 | ||
10795 | ||
c370783e | 10796 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10797 | PyObject *resultobj; |
10798 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
10799 | wxRect *arg2 = 0 ; | |
10800 | wxRect temp2 ; | |
10801 | PyObject * obj0 = 0 ; | |
10802 | PyObject * obj1 = 0 ; | |
10803 | char *kwnames[] = { | |
10804 | (char *) "self",(char *) "rectBound", NULL | |
10805 | }; | |
10806 | ||
10807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
10808 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0); |
10809 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10810 | { |
10811 | arg2 = &temp2; | |
10812 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
10813 | } | |
10814 | { | |
10815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10816 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
10817 | ||
10818 | wxPyEndAllowThreads(__tstate); | |
10819 | if (PyErr_Occurred()) SWIG_fail; | |
10820 | } | |
10821 | Py_INCREF(Py_None); resultobj = Py_None; | |
10822 | return resultobj; | |
10823 | fail: | |
10824 | return NULL; | |
10825 | } | |
10826 | ||
10827 | ||
c370783e | 10828 | static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10829 | PyObject *resultobj; |
10830 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
10831 | PyObject * obj0 = 0 ; | |
10832 | char *kwnames[] = { | |
10833 | (char *) "self", NULL | |
10834 | }; | |
10835 | ||
10836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
10837 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0); |
10838 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10839 | { |
10840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10841 | (arg1)->Close(); | |
10842 | ||
10843 | wxPyEndAllowThreads(__tstate); | |
10844 | if (PyErr_Occurred()) SWIG_fail; | |
10845 | } | |
10846 | Py_INCREF(Py_None); resultobj = Py_None; | |
10847 | return resultobj; | |
10848 | fail: | |
10849 | return NULL; | |
10850 | } | |
10851 | ||
10852 | ||
c370783e | 10853 | static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
10854 | PyObject *obj; |
10855 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10856 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
10857 | Py_INCREF(obj); | |
10858 | return Py_BuildValue((char *)""); | |
10859 | } | |
c370783e | 10860 | static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10861 | PyObject *resultobj; |
10862 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10863 | int arg2 = (int) wxID_ANY ; | |
10864 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
10865 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10866 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10867 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10868 | long arg5 = (long) 0 ; | |
10869 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
10870 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10871 | wxPyVScrolledWindow *result; | |
10872 | wxPoint temp3 ; | |
10873 | wxSize temp4 ; | |
b411df4a | 10874 | bool temp6 = false ; |
d55e5bfc RD |
10875 | PyObject * obj0 = 0 ; |
10876 | PyObject * obj1 = 0 ; | |
10877 | PyObject * obj2 = 0 ; | |
10878 | PyObject * obj3 = 0 ; | |
10879 | PyObject * obj4 = 0 ; | |
10880 | PyObject * obj5 = 0 ; | |
10881 | char *kwnames[] = { | |
10882 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10883 | }; | |
10884 | ||
10885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
10886 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
10887 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 10888 | if (obj1) { |
36ed4f51 RD |
10889 | { |
10890 | arg2 = (int)(SWIG_As_int(obj1)); | |
10891 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10892 | } | |
d55e5bfc RD |
10893 | } |
10894 | if (obj2) { | |
10895 | { | |
10896 | arg3 = &temp3; | |
10897 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10898 | } | |
10899 | } | |
10900 | if (obj3) { | |
10901 | { | |
10902 | arg4 = &temp4; | |
10903 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10904 | } | |
10905 | } | |
10906 | if (obj4) { | |
36ed4f51 RD |
10907 | { |
10908 | arg5 = (long)(SWIG_As_long(obj4)); | |
10909 | if (SWIG_arg_fail(5)) SWIG_fail; | |
10910 | } | |
d55e5bfc RD |
10911 | } |
10912 | if (obj5) { | |
10913 | { | |
10914 | arg6 = wxString_in_helper(obj5); | |
10915 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 10916 | temp6 = true; |
d55e5bfc RD |
10917 | } |
10918 | } | |
10919 | { | |
0439c23b | 10920 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10922 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10923 | ||
10924 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10925 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10926 | } |
10927 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
10928 | { | |
10929 | if (temp6) | |
10930 | delete arg6; | |
10931 | } | |
10932 | return resultobj; | |
10933 | fail: | |
10934 | { | |
10935 | if (temp6) | |
10936 | delete arg6; | |
10937 | } | |
10938 | return NULL; | |
10939 | } | |
10940 | ||
10941 | ||
c370783e | 10942 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10943 | PyObject *resultobj; |
10944 | wxPyVScrolledWindow *result; | |
10945 | char *kwnames[] = { | |
10946 | NULL | |
10947 | }; | |
10948 | ||
10949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
10950 | { | |
0439c23b | 10951 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
10952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10953 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
10954 | ||
10955 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10956 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
10957 | } |
10958 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
10959 | return resultobj; | |
10960 | fail: | |
10961 | return NULL; | |
10962 | } | |
10963 | ||
10964 | ||
c370783e | 10965 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10966 | PyObject *resultobj; |
10967 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
10968 | PyObject *arg2 = (PyObject *) 0 ; | |
10969 | PyObject *arg3 = (PyObject *) 0 ; | |
10970 | PyObject * obj0 = 0 ; | |
10971 | PyObject * obj1 = 0 ; | |
10972 | PyObject * obj2 = 0 ; | |
10973 | char *kwnames[] = { | |
10974 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10975 | }; | |
10976 | ||
10977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
10978 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
10979 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
10980 | arg2 = obj1; |
10981 | arg3 = obj2; | |
10982 | { | |
10983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10984 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10985 | ||
10986 | wxPyEndAllowThreads(__tstate); | |
10987 | if (PyErr_Occurred()) SWIG_fail; | |
10988 | } | |
10989 | Py_INCREF(Py_None); resultobj = Py_None; | |
10990 | return resultobj; | |
10991 | fail: | |
10992 | return NULL; | |
10993 | } | |
10994 | ||
10995 | ||
c370783e | 10996 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
10997 | PyObject *resultobj; |
10998 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
10999 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11000 | int arg3 = (int) wxID_ANY ; | |
11001 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
11002 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
11003 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
11004 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
11005 | long arg6 = (long) 0 ; | |
11006 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
11007 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11008 | bool result; | |
11009 | wxPoint temp4 ; | |
11010 | wxSize temp5 ; | |
b411df4a | 11011 | bool temp7 = false ; |
d55e5bfc RD |
11012 | PyObject * obj0 = 0 ; |
11013 | PyObject * obj1 = 0 ; | |
11014 | PyObject * obj2 = 0 ; | |
11015 | PyObject * obj3 = 0 ; | |
11016 | PyObject * obj4 = 0 ; | |
11017 | PyObject * obj5 = 0 ; | |
11018 | PyObject * obj6 = 0 ; | |
11019 | char *kwnames[] = { | |
11020 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11021 | }; | |
11022 | ||
11023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
11024 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11025 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11026 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
11027 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 11028 | if (obj2) { |
36ed4f51 RD |
11029 | { |
11030 | arg3 = (int)(SWIG_As_int(obj2)); | |
11031 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11032 | } | |
d55e5bfc RD |
11033 | } |
11034 | if (obj3) { | |
11035 | { | |
11036 | arg4 = &temp4; | |
11037 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
11038 | } | |
11039 | } | |
11040 | if (obj4) { | |
11041 | { | |
11042 | arg5 = &temp5; | |
11043 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
11044 | } | |
11045 | } | |
11046 | if (obj5) { | |
36ed4f51 RD |
11047 | { |
11048 | arg6 = (long)(SWIG_As_long(obj5)); | |
11049 | if (SWIG_arg_fail(6)) SWIG_fail; | |
11050 | } | |
d55e5bfc RD |
11051 | } |
11052 | if (obj6) { | |
11053 | { | |
11054 | arg7 = wxString_in_helper(obj6); | |
11055 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 11056 | temp7 = true; |
d55e5bfc RD |
11057 | } |
11058 | } | |
11059 | { | |
11060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11061 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
11062 | ||
11063 | wxPyEndAllowThreads(__tstate); | |
11064 | if (PyErr_Occurred()) SWIG_fail; | |
11065 | } | |
11066 | { | |
11067 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11068 | } | |
11069 | { | |
11070 | if (temp7) | |
11071 | delete arg7; | |
11072 | } | |
11073 | return resultobj; | |
11074 | fail: | |
11075 | { | |
11076 | if (temp7) | |
11077 | delete arg7; | |
11078 | } | |
11079 | return NULL; | |
11080 | } | |
11081 | ||
11082 | ||
c370783e | 11083 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11084 | PyObject *resultobj; |
11085 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11086 | size_t arg2 ; | |
11087 | PyObject * obj0 = 0 ; | |
11088 | PyObject * obj1 = 0 ; | |
11089 | char *kwnames[] = { | |
11090 | (char *) "self",(char *) "count", NULL | |
11091 | }; | |
11092 | ||
11093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11094 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11095 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11096 | { | |
11097 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11098 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11099 | } | |
d55e5bfc RD |
11100 | { |
11101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11102 | (arg1)->SetLineCount(arg2); | |
11103 | ||
11104 | wxPyEndAllowThreads(__tstate); | |
11105 | if (PyErr_Occurred()) SWIG_fail; | |
11106 | } | |
11107 | Py_INCREF(Py_None); resultobj = Py_None; | |
11108 | return resultobj; | |
11109 | fail: | |
11110 | return NULL; | |
11111 | } | |
11112 | ||
11113 | ||
c370783e | 11114 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11115 | PyObject *resultobj; |
11116 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11117 | size_t arg2 ; | |
11118 | bool result; | |
11119 | PyObject * obj0 = 0 ; | |
11120 | PyObject * obj1 = 0 ; | |
11121 | char *kwnames[] = { | |
11122 | (char *) "self",(char *) "line", NULL | |
11123 | }; | |
11124 | ||
11125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11126 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11127 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11128 | { | |
11129 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11130 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11131 | } | |
d55e5bfc RD |
11132 | { |
11133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11134 | result = (bool)(arg1)->ScrollToLine(arg2); | |
11135 | ||
11136 | wxPyEndAllowThreads(__tstate); | |
11137 | if (PyErr_Occurred()) SWIG_fail; | |
11138 | } | |
11139 | { | |
11140 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11141 | } | |
11142 | return resultobj; | |
11143 | fail: | |
11144 | return NULL; | |
11145 | } | |
11146 | ||
11147 | ||
c370783e | 11148 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11149 | PyObject *resultobj; |
11150 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11151 | int arg2 ; | |
11152 | bool result; | |
11153 | PyObject * obj0 = 0 ; | |
11154 | PyObject * obj1 = 0 ; | |
11155 | char *kwnames[] = { | |
11156 | (char *) "self",(char *) "lines", NULL | |
11157 | }; | |
11158 | ||
11159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11160 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11161 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11162 | { | |
11163 | arg2 = (int)(SWIG_As_int(obj1)); | |
11164 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11165 | } | |
d55e5bfc RD |
11166 | { |
11167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11168 | result = (bool)(arg1)->ScrollLines(arg2); | |
11169 | ||
11170 | wxPyEndAllowThreads(__tstate); | |
11171 | if (PyErr_Occurred()) SWIG_fail; | |
11172 | } | |
11173 | { | |
11174 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11175 | } | |
11176 | return resultobj; | |
11177 | fail: | |
11178 | return NULL; | |
11179 | } | |
11180 | ||
11181 | ||
c370783e | 11182 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11183 | PyObject *resultobj; |
11184 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11185 | int arg2 ; | |
11186 | bool result; | |
11187 | PyObject * obj0 = 0 ; | |
11188 | PyObject * obj1 = 0 ; | |
11189 | char *kwnames[] = { | |
11190 | (char *) "self",(char *) "pages", NULL | |
11191 | }; | |
11192 | ||
11193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11194 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11195 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11196 | { | |
11197 | arg2 = (int)(SWIG_As_int(obj1)); | |
11198 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11199 | } | |
d55e5bfc RD |
11200 | { |
11201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11202 | result = (bool)(arg1)->ScrollPages(arg2); | |
11203 | ||
11204 | wxPyEndAllowThreads(__tstate); | |
11205 | if (PyErr_Occurred()) SWIG_fail; | |
11206 | } | |
11207 | { | |
11208 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11209 | } | |
11210 | return resultobj; | |
11211 | fail: | |
11212 | return NULL; | |
11213 | } | |
11214 | ||
11215 | ||
c370783e | 11216 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11217 | PyObject *resultobj; |
11218 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11219 | size_t arg2 ; | |
11220 | PyObject * obj0 = 0 ; | |
11221 | PyObject * obj1 = 0 ; | |
11222 | char *kwnames[] = { | |
11223 | (char *) "self",(char *) "line", NULL | |
11224 | }; | |
11225 | ||
11226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11227 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11228 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11229 | { | |
11230 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11231 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11232 | } | |
d55e5bfc RD |
11233 | { |
11234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11235 | (arg1)->RefreshLine(arg2); | |
11236 | ||
11237 | wxPyEndAllowThreads(__tstate); | |
11238 | if (PyErr_Occurred()) SWIG_fail; | |
11239 | } | |
11240 | Py_INCREF(Py_None); resultobj = Py_None; | |
11241 | return resultobj; | |
11242 | fail: | |
11243 | return NULL; | |
11244 | } | |
11245 | ||
11246 | ||
c370783e | 11247 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11248 | PyObject *resultobj; |
11249 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11250 | size_t arg2 ; | |
11251 | size_t arg3 ; | |
11252 | PyObject * obj0 = 0 ; | |
11253 | PyObject * obj1 = 0 ; | |
11254 | PyObject * obj2 = 0 ; | |
11255 | char *kwnames[] = { | |
11256 | (char *) "self",(char *) "from",(char *) "to", NULL | |
11257 | }; | |
11258 | ||
11259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
11260 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11261 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11262 | { | |
11263 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11264 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11265 | } | |
11266 | { | |
11267 | arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); | |
11268 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11269 | } | |
d55e5bfc RD |
11270 | { |
11271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11272 | (arg1)->RefreshLines(arg2,arg3); | |
11273 | ||
11274 | wxPyEndAllowThreads(__tstate); | |
11275 | if (PyErr_Occurred()) SWIG_fail; | |
11276 | } | |
11277 | Py_INCREF(Py_None); resultobj = Py_None; | |
11278 | return resultobj; | |
11279 | fail: | |
11280 | return NULL; | |
11281 | } | |
11282 | ||
11283 | ||
c370783e | 11284 | static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11285 | PyObject *resultobj; |
11286 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11287 | int arg2 ; | |
11288 | int arg3 ; | |
11289 | int result; | |
11290 | PyObject * obj0 = 0 ; | |
11291 | PyObject * obj1 = 0 ; | |
11292 | PyObject * obj2 = 0 ; | |
11293 | char *kwnames[] = { | |
11294 | (char *) "self",(char *) "x",(char *) "y", NULL | |
11295 | }; | |
11296 | ||
03ee685a | 11297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
36ed4f51 RD |
11298 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11299 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11300 | { | |
11301 | arg2 = (int)(SWIG_As_int(obj1)); | |
11302 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11303 | } | |
11304 | { | |
11305 | arg3 = (int)(SWIG_As_int(obj2)); | |
11306 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11307 | } | |
d55e5bfc RD |
11308 | { |
11309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11310 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
11311 | ||
11312 | wxPyEndAllowThreads(__tstate); | |
11313 | if (PyErr_Occurred()) SWIG_fail; | |
11314 | } | |
36ed4f51 RD |
11315 | { |
11316 | resultobj = SWIG_From_int((int)(result)); | |
11317 | } | |
d55e5bfc RD |
11318 | return resultobj; |
11319 | fail: | |
11320 | return NULL; | |
11321 | } | |
11322 | ||
11323 | ||
c370783e | 11324 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11325 | PyObject *resultobj; |
11326 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11327 | wxPoint *arg2 = 0 ; | |
11328 | int result; | |
11329 | wxPoint temp2 ; | |
11330 | PyObject * obj0 = 0 ; | |
11331 | PyObject * obj1 = 0 ; | |
11332 | char *kwnames[] = { | |
11333 | (char *) "self",(char *) "pt", NULL | |
11334 | }; | |
11335 | ||
11336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11337 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11338 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11339 | { |
11340 | arg2 = &temp2; | |
11341 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
11342 | } | |
11343 | { | |
11344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11345 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
11346 | ||
11347 | wxPyEndAllowThreads(__tstate); | |
11348 | if (PyErr_Occurred()) SWIG_fail; | |
11349 | } | |
36ed4f51 RD |
11350 | { |
11351 | resultobj = SWIG_From_int((int)(result)); | |
11352 | } | |
d55e5bfc RD |
11353 | return resultobj; |
11354 | fail: | |
11355 | return NULL; | |
11356 | } | |
11357 | ||
11358 | ||
c370783e | 11359 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11360 | PyObject *resultobj; |
11361 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11362 | PyObject * obj0 = 0 ; | |
11363 | char *kwnames[] = { | |
11364 | (char *) "self", NULL | |
11365 | }; | |
11366 | ||
11367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11368 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11369 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11370 | { |
11371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11372 | (arg1)->RefreshAll(); | |
11373 | ||
11374 | wxPyEndAllowThreads(__tstate); | |
11375 | if (PyErr_Occurred()) SWIG_fail; | |
11376 | } | |
11377 | Py_INCREF(Py_None); resultobj = Py_None; | |
11378 | return resultobj; | |
11379 | fail: | |
11380 | return NULL; | |
11381 | } | |
11382 | ||
11383 | ||
c370783e | 11384 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11385 | PyObject *resultobj; |
11386 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11387 | size_t result; | |
11388 | PyObject * obj0 = 0 ; | |
11389 | char *kwnames[] = { | |
11390 | (char *) "self", NULL | |
11391 | }; | |
11392 | ||
11393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11394 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11395 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11396 | { |
11397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11398 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
11399 | ||
11400 | wxPyEndAllowThreads(__tstate); | |
11401 | if (PyErr_Occurred()) SWIG_fail; | |
11402 | } | |
36ed4f51 RD |
11403 | { |
11404 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11405 | } | |
d55e5bfc RD |
11406 | return resultobj; |
11407 | fail: | |
11408 | return NULL; | |
11409 | } | |
11410 | ||
11411 | ||
7993762b | 11412 | static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11413 | PyObject *resultobj; |
11414 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11415 | size_t result; | |
11416 | PyObject * obj0 = 0 ; | |
11417 | char *kwnames[] = { | |
11418 | (char *) "self", NULL | |
11419 | }; | |
11420 | ||
7993762b | 11421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
11422 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11423 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11424 | { |
11425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7993762b | 11426 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin(); |
d55e5bfc RD |
11427 | |
11428 | wxPyEndAllowThreads(__tstate); | |
11429 | if (PyErr_Occurred()) SWIG_fail; | |
11430 | } | |
36ed4f51 RD |
11431 | { |
11432 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11433 | } | |
d55e5bfc RD |
11434 | return resultobj; |
11435 | fail: | |
11436 | return NULL; | |
11437 | } | |
11438 | ||
11439 | ||
7993762b | 11440 | static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11441 | PyObject *resultobj; |
11442 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11443 | size_t result; | |
11444 | PyObject * obj0 = 0 ; | |
11445 | char *kwnames[] = { | |
11446 | (char *) "self", NULL | |
11447 | }; | |
11448 | ||
7993762b | 11449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
11450 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11451 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11452 | { |
11453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7993762b | 11454 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd(); |
d55e5bfc RD |
11455 | |
11456 | wxPyEndAllowThreads(__tstate); | |
11457 | if (PyErr_Occurred()) SWIG_fail; | |
11458 | } | |
36ed4f51 RD |
11459 | { |
11460 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11461 | } | |
d55e5bfc RD |
11462 | return resultobj; |
11463 | fail: | |
11464 | return NULL; | |
11465 | } | |
11466 | ||
11467 | ||
c370783e | 11468 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11469 | PyObject *resultobj; |
11470 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11471 | size_t arg2 ; | |
11472 | bool result; | |
11473 | PyObject * obj0 = 0 ; | |
11474 | PyObject * obj1 = 0 ; | |
11475 | char *kwnames[] = { | |
11476 | (char *) "self",(char *) "line", NULL | |
11477 | }; | |
11478 | ||
11479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11480 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
11481 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11482 | { | |
11483 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11484 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11485 | } | |
d55e5bfc RD |
11486 | { |
11487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11488 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
11489 | ||
11490 | wxPyEndAllowThreads(__tstate); | |
11491 | if (PyErr_Occurred()) SWIG_fail; | |
11492 | } | |
11493 | { | |
11494 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11495 | } | |
11496 | return resultobj; | |
11497 | fail: | |
11498 | return NULL; | |
11499 | } | |
11500 | ||
11501 | ||
7993762b RD |
11502 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
11503 | PyObject *resultobj; | |
11504 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11505 | size_t result; | |
11506 | PyObject * obj0 = 0 ; | |
11507 | char *kwnames[] = { | |
11508 | (char *) "self", NULL | |
11509 | }; | |
11510 | ||
11511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
11512 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); | |
11513 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11514 | { | |
11515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11516 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
11517 | ||
11518 | wxPyEndAllowThreads(__tstate); | |
11519 | if (PyErr_Occurred()) SWIG_fail; | |
11520 | } | |
11521 | { | |
11522 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11523 | } | |
11524 | return resultobj; | |
11525 | fail: | |
11526 | return NULL; | |
11527 | } | |
11528 | ||
11529 | ||
11530 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
11531 | PyObject *resultobj; | |
11532 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
11533 | size_t result; | |
11534 | PyObject * obj0 = 0 ; | |
11535 | char *kwnames[] = { | |
11536 | (char *) "self", NULL | |
11537 | }; | |
11538 | ||
11539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
11540 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); | |
11541 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11542 | { | |
11543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11544 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
11545 | ||
11546 | wxPyEndAllowThreads(__tstate); | |
11547 | if (PyErr_Occurred()) SWIG_fail; | |
11548 | } | |
11549 | { | |
11550 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11551 | } | |
11552 | return resultobj; | |
11553 | fail: | |
11554 | return NULL; | |
11555 | } | |
11556 | ||
11557 | ||
c370783e | 11558 | static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
11559 | PyObject *obj; |
11560 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11561 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
11562 | Py_INCREF(obj); | |
11563 | return Py_BuildValue((char *)""); | |
11564 | } | |
c370783e | 11565 | static int _wrap_VListBoxNameStr_set(PyObject *) { |
d55e5bfc RD |
11566 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); |
11567 | return 1; | |
11568 | } | |
11569 | ||
11570 | ||
36ed4f51 | 11571 | static PyObject *_wrap_VListBoxNameStr_get(void) { |
d55e5bfc RD |
11572 | PyObject *pyobj; |
11573 | ||
11574 | { | |
11575 | #if wxUSE_UNICODE | |
11576 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
11577 | #else | |
11578 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
11579 | #endif | |
11580 | } | |
11581 | return pyobj; | |
11582 | } | |
11583 | ||
11584 | ||
c370783e | 11585 | static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11586 | PyObject *resultobj; |
11587 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11588 | int arg2 = (int) wxID_ANY ; | |
11589 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
11590 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
11591 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
11592 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
11593 | long arg5 = (long) 0 ; | |
11594 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
11595 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
11596 | wxPyVListBox *result; | |
11597 | wxPoint temp3 ; | |
11598 | wxSize temp4 ; | |
b411df4a | 11599 | bool temp6 = false ; |
d55e5bfc RD |
11600 | PyObject * obj0 = 0 ; |
11601 | PyObject * obj1 = 0 ; | |
11602 | PyObject * obj2 = 0 ; | |
11603 | PyObject * obj3 = 0 ; | |
11604 | PyObject * obj4 = 0 ; | |
11605 | PyObject * obj5 = 0 ; | |
11606 | char *kwnames[] = { | |
11607 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11608 | }; | |
11609 | ||
11610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
11611 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
11612 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 11613 | if (obj1) { |
36ed4f51 RD |
11614 | { |
11615 | arg2 = (int)(SWIG_As_int(obj1)); | |
11616 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11617 | } | |
d55e5bfc RD |
11618 | } |
11619 | if (obj2) { | |
11620 | { | |
11621 | arg3 = &temp3; | |
11622 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
11623 | } | |
11624 | } | |
11625 | if (obj3) { | |
11626 | { | |
11627 | arg4 = &temp4; | |
11628 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
11629 | } | |
11630 | } | |
11631 | if (obj4) { | |
36ed4f51 RD |
11632 | { |
11633 | arg5 = (long)(SWIG_As_long(obj4)); | |
11634 | if (SWIG_arg_fail(5)) SWIG_fail; | |
11635 | } | |
d55e5bfc RD |
11636 | } |
11637 | if (obj5) { | |
11638 | { | |
11639 | arg6 = wxString_in_helper(obj5); | |
11640 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 11641 | temp6 = true; |
d55e5bfc RD |
11642 | } |
11643 | } | |
11644 | { | |
0439c23b | 11645 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
11646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11647 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
11648 | ||
11649 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11650 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
11651 | } |
11652 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); | |
11653 | { | |
11654 | if (temp6) | |
11655 | delete arg6; | |
11656 | } | |
11657 | return resultobj; | |
11658 | fail: | |
11659 | { | |
11660 | if (temp6) | |
11661 | delete arg6; | |
11662 | } | |
11663 | return NULL; | |
11664 | } | |
11665 | ||
11666 | ||
c370783e | 11667 | static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11668 | PyObject *resultobj; |
11669 | wxPyVListBox *result; | |
11670 | char *kwnames[] = { | |
11671 | NULL | |
11672 | }; | |
11673 | ||
11674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
11675 | { | |
0439c23b | 11676 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
11677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11678 | result = (wxPyVListBox *)new wxPyVListBox(); | |
11679 | ||
11680 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11681 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
11682 | } |
11683 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); | |
11684 | return resultobj; | |
11685 | fail: | |
11686 | return NULL; | |
11687 | } | |
11688 | ||
11689 | ||
c370783e | 11690 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11691 | PyObject *resultobj; |
11692 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11693 | PyObject *arg2 = (PyObject *) 0 ; | |
11694 | PyObject *arg3 = (PyObject *) 0 ; | |
11695 | PyObject * obj0 = 0 ; | |
11696 | PyObject * obj1 = 0 ; | |
11697 | PyObject * obj2 = 0 ; | |
11698 | char *kwnames[] = { | |
11699 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
11700 | }; | |
11701 | ||
11702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
11703 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11704 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11705 | arg2 = obj1; |
11706 | arg3 = obj2; | |
11707 | { | |
11708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11709 | (arg1)->_setCallbackInfo(arg2,arg3); | |
11710 | ||
11711 | wxPyEndAllowThreads(__tstate); | |
11712 | if (PyErr_Occurred()) SWIG_fail; | |
11713 | } | |
11714 | Py_INCREF(Py_None); resultobj = Py_None; | |
11715 | return resultobj; | |
11716 | fail: | |
11717 | return NULL; | |
11718 | } | |
11719 | ||
11720 | ||
c370783e | 11721 | static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11722 | PyObject *resultobj; |
11723 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11724 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11725 | int arg3 = (int) wxID_ANY ; | |
11726 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
11727 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
11728 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
11729 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
11730 | long arg6 = (long) 0 ; | |
11731 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
11732 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11733 | bool result; | |
11734 | wxPoint temp4 ; | |
11735 | wxSize temp5 ; | |
b411df4a | 11736 | bool temp7 = false ; |
d55e5bfc RD |
11737 | PyObject * obj0 = 0 ; |
11738 | PyObject * obj1 = 0 ; | |
11739 | PyObject * obj2 = 0 ; | |
11740 | PyObject * obj3 = 0 ; | |
11741 | PyObject * obj4 = 0 ; | |
11742 | PyObject * obj5 = 0 ; | |
11743 | PyObject * obj6 = 0 ; | |
11744 | char *kwnames[] = { | |
11745 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11746 | }; | |
11747 | ||
11748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
11749 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11750 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11751 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
11752 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 11753 | if (obj2) { |
36ed4f51 RD |
11754 | { |
11755 | arg3 = (int)(SWIG_As_int(obj2)); | |
11756 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11757 | } | |
d55e5bfc RD |
11758 | } |
11759 | if (obj3) { | |
11760 | { | |
11761 | arg4 = &temp4; | |
11762 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
11763 | } | |
11764 | } | |
11765 | if (obj4) { | |
11766 | { | |
11767 | arg5 = &temp5; | |
11768 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
11769 | } | |
11770 | } | |
11771 | if (obj5) { | |
36ed4f51 RD |
11772 | { |
11773 | arg6 = (long)(SWIG_As_long(obj5)); | |
11774 | if (SWIG_arg_fail(6)) SWIG_fail; | |
11775 | } | |
d55e5bfc RD |
11776 | } |
11777 | if (obj6) { | |
11778 | { | |
11779 | arg7 = wxString_in_helper(obj6); | |
11780 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 11781 | temp7 = true; |
d55e5bfc RD |
11782 | } |
11783 | } | |
11784 | { | |
11785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11786 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
11787 | ||
11788 | wxPyEndAllowThreads(__tstate); | |
11789 | if (PyErr_Occurred()) SWIG_fail; | |
11790 | } | |
11791 | { | |
11792 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11793 | } | |
11794 | { | |
11795 | if (temp7) | |
11796 | delete arg7; | |
11797 | } | |
11798 | return resultobj; | |
11799 | fail: | |
11800 | { | |
11801 | if (temp7) | |
11802 | delete arg7; | |
11803 | } | |
11804 | return NULL; | |
11805 | } | |
11806 | ||
11807 | ||
c370783e | 11808 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11809 | PyObject *resultobj; |
11810 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11811 | size_t result; | |
11812 | PyObject * obj0 = 0 ; | |
11813 | char *kwnames[] = { | |
11814 | (char *) "self", NULL | |
11815 | }; | |
11816 | ||
11817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11818 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11819 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11820 | { |
11821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11822 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
11823 | ||
11824 | wxPyEndAllowThreads(__tstate); | |
11825 | if (PyErr_Occurred()) SWIG_fail; | |
11826 | } | |
36ed4f51 RD |
11827 | { |
11828 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11829 | } | |
d55e5bfc RD |
11830 | return resultobj; |
11831 | fail: | |
11832 | return NULL; | |
11833 | } | |
11834 | ||
11835 | ||
c370783e | 11836 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11837 | PyObject *resultobj; |
11838 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11839 | bool result; | |
11840 | PyObject * obj0 = 0 ; | |
11841 | char *kwnames[] = { | |
11842 | (char *) "self", NULL | |
11843 | }; | |
11844 | ||
11845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11846 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11847 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11848 | { |
11849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11850 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
11851 | ||
11852 | wxPyEndAllowThreads(__tstate); | |
11853 | if (PyErr_Occurred()) SWIG_fail; | |
11854 | } | |
11855 | { | |
11856 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11857 | } | |
11858 | return resultobj; | |
11859 | fail: | |
11860 | return NULL; | |
11861 | } | |
11862 | ||
11863 | ||
c370783e | 11864 | static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11865 | PyObject *resultobj; |
11866 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11867 | int result; | |
11868 | PyObject * obj0 = 0 ; | |
11869 | char *kwnames[] = { | |
11870 | (char *) "self", NULL | |
11871 | }; | |
11872 | ||
11873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11874 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11875 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11876 | { |
11877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11878 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
11879 | ||
11880 | wxPyEndAllowThreads(__tstate); | |
11881 | if (PyErr_Occurred()) SWIG_fail; | |
11882 | } | |
36ed4f51 RD |
11883 | { |
11884 | resultobj = SWIG_From_int((int)(result)); | |
11885 | } | |
d55e5bfc RD |
11886 | return resultobj; |
11887 | fail: | |
11888 | return NULL; | |
11889 | } | |
11890 | ||
11891 | ||
c370783e | 11892 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11893 | PyObject *resultobj; |
11894 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11895 | size_t arg2 ; | |
11896 | bool result; | |
11897 | PyObject * obj0 = 0 ; | |
11898 | PyObject * obj1 = 0 ; | |
11899 | char *kwnames[] = { | |
11900 | (char *) "self",(char *) "item", NULL | |
11901 | }; | |
11902 | ||
11903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11904 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11905 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11906 | { | |
11907 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11908 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11909 | } | |
d55e5bfc RD |
11910 | { |
11911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11912 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
11913 | ||
11914 | wxPyEndAllowThreads(__tstate); | |
11915 | if (PyErr_Occurred()) SWIG_fail; | |
11916 | } | |
11917 | { | |
11918 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11919 | } | |
11920 | return resultobj; | |
11921 | fail: | |
11922 | return NULL; | |
11923 | } | |
11924 | ||
11925 | ||
c370783e | 11926 | static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11927 | PyObject *resultobj; |
11928 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11929 | size_t arg2 ; | |
11930 | bool result; | |
11931 | PyObject * obj0 = 0 ; | |
11932 | PyObject * obj1 = 0 ; | |
11933 | char *kwnames[] = { | |
11934 | (char *) "self",(char *) "item", NULL | |
11935 | }; | |
11936 | ||
11937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
11938 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11939 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11940 | { | |
11941 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
11942 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11943 | } | |
d55e5bfc RD |
11944 | { |
11945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11946 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
11947 | ||
11948 | wxPyEndAllowThreads(__tstate); | |
11949 | if (PyErr_Occurred()) SWIG_fail; | |
11950 | } | |
11951 | { | |
11952 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11953 | } | |
11954 | return resultobj; | |
11955 | fail: | |
11956 | return NULL; | |
11957 | } | |
11958 | ||
11959 | ||
c370783e | 11960 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11961 | PyObject *resultobj; |
11962 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
11963 | size_t result; | |
11964 | PyObject * obj0 = 0 ; | |
11965 | char *kwnames[] = { | |
11966 | (char *) "self", NULL | |
11967 | }; | |
11968 | ||
11969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
11970 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11971 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
11972 | { |
11973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11974 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
11975 | ||
11976 | wxPyEndAllowThreads(__tstate); | |
11977 | if (PyErr_Occurred()) SWIG_fail; | |
11978 | } | |
36ed4f51 RD |
11979 | { |
11980 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
11981 | } | |
d55e5bfc RD |
11982 | return resultobj; |
11983 | fail: | |
11984 | return NULL; | |
11985 | } | |
11986 | ||
11987 | ||
c370783e | 11988 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
11989 | PyObject *resultobj; |
11990 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b | 11991 | PyObject *result; |
d55e5bfc | 11992 | PyObject * obj0 = 0 ; |
d55e5bfc | 11993 | char *kwnames[] = { |
09c21d3b | 11994 | (char *) "self", NULL |
d55e5bfc RD |
11995 | }; |
11996 | ||
09c21d3b | 11997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
11998 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
11999 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12000 | { |
12001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 12002 | result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1); |
d55e5bfc RD |
12003 | |
12004 | wxPyEndAllowThreads(__tstate); | |
12005 | if (PyErr_Occurred()) SWIG_fail; | |
12006 | } | |
09c21d3b | 12007 | resultobj = result; |
d55e5bfc RD |
12008 | return resultobj; |
12009 | fail: | |
12010 | return NULL; | |
12011 | } | |
12012 | ||
12013 | ||
c370783e | 12014 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12015 | PyObject *resultobj; |
12016 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b RD |
12017 | unsigned long arg2 ; |
12018 | PyObject *result; | |
d55e5bfc RD |
12019 | PyObject * obj0 = 0 ; |
12020 | PyObject * obj1 = 0 ; | |
12021 | char *kwnames[] = { | |
12022 | (char *) "self",(char *) "cookie", NULL | |
12023 | }; | |
12024 | ||
12025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12026 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12027 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12028 | { | |
12029 | arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1)); | |
12030 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12031 | } | |
d55e5bfc RD |
12032 | { |
12033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 12034 | result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2); |
d55e5bfc RD |
12035 | |
12036 | wxPyEndAllowThreads(__tstate); | |
12037 | if (PyErr_Occurred()) SWIG_fail; | |
12038 | } | |
09c21d3b | 12039 | resultobj = result; |
d55e5bfc RD |
12040 | return resultobj; |
12041 | fail: | |
12042 | return NULL; | |
12043 | } | |
12044 | ||
12045 | ||
c370783e | 12046 | static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12047 | PyObject *resultobj; |
12048 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12049 | wxPoint result; | |
12050 | PyObject * obj0 = 0 ; | |
12051 | char *kwnames[] = { | |
12052 | (char *) "self", NULL | |
12053 | }; | |
12054 | ||
12055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12056 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12057 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12058 | { |
12059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12060 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
12061 | ||
12062 | wxPyEndAllowThreads(__tstate); | |
12063 | if (PyErr_Occurred()) SWIG_fail; | |
12064 | } | |
12065 | { | |
12066 | wxPoint * resultptr; | |
36ed4f51 | 12067 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
12068 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
12069 | } | |
12070 | return resultobj; | |
12071 | fail: | |
12072 | return NULL; | |
12073 | } | |
12074 | ||
12075 | ||
c370783e | 12076 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12077 | PyObject *resultobj; |
12078 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12079 | wxColour *result; | |
12080 | PyObject * obj0 = 0 ; | |
12081 | char *kwnames[] = { | |
12082 | (char *) "self", NULL | |
12083 | }; | |
12084 | ||
12085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12086 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12087 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12088 | { |
12089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12090 | { | |
12091 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
12092 | result = (wxColour *) &_result_ref; | |
12093 | } | |
12094 | ||
12095 | wxPyEndAllowThreads(__tstate); | |
12096 | if (PyErr_Occurred()) SWIG_fail; | |
12097 | } | |
12098 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); | |
12099 | return resultobj; | |
12100 | fail: | |
12101 | return NULL; | |
12102 | } | |
12103 | ||
12104 | ||
c370783e | 12105 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12106 | PyObject *resultobj; |
12107 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12108 | size_t arg2 ; | |
12109 | PyObject * obj0 = 0 ; | |
12110 | PyObject * obj1 = 0 ; | |
12111 | char *kwnames[] = { | |
12112 | (char *) "self",(char *) "count", NULL | |
12113 | }; | |
12114 | ||
12115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12116 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12117 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12118 | { | |
12119 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12120 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12121 | } | |
d55e5bfc RD |
12122 | { |
12123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12124 | (arg1)->SetItemCount(arg2); | |
12125 | ||
12126 | wxPyEndAllowThreads(__tstate); | |
12127 | if (PyErr_Occurred()) SWIG_fail; | |
12128 | } | |
12129 | Py_INCREF(Py_None); resultobj = Py_None; | |
12130 | return resultobj; | |
12131 | fail: | |
12132 | return NULL; | |
12133 | } | |
12134 | ||
12135 | ||
c370783e | 12136 | static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12137 | PyObject *resultobj; |
12138 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12139 | PyObject * obj0 = 0 ; | |
12140 | char *kwnames[] = { | |
12141 | (char *) "self", NULL | |
12142 | }; | |
12143 | ||
12144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12145 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12146 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12147 | { |
12148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12149 | (arg1)->Clear(); | |
12150 | ||
12151 | wxPyEndAllowThreads(__tstate); | |
12152 | if (PyErr_Occurred()) SWIG_fail; | |
12153 | } | |
12154 | Py_INCREF(Py_None); resultobj = Py_None; | |
12155 | return resultobj; | |
12156 | fail: | |
12157 | return NULL; | |
12158 | } | |
12159 | ||
12160 | ||
c370783e | 12161 | static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12162 | PyObject *resultobj; |
12163 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12164 | int arg2 ; | |
12165 | PyObject * obj0 = 0 ; | |
12166 | PyObject * obj1 = 0 ; | |
12167 | char *kwnames[] = { | |
12168 | (char *) "self",(char *) "selection", NULL | |
12169 | }; | |
12170 | ||
12171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12172 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12173 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12174 | { | |
12175 | arg2 = (int)(SWIG_As_int(obj1)); | |
12176 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12177 | } | |
d55e5bfc RD |
12178 | { |
12179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12180 | (arg1)->SetSelection(arg2); | |
12181 | ||
12182 | wxPyEndAllowThreads(__tstate); | |
12183 | if (PyErr_Occurred()) SWIG_fail; | |
12184 | } | |
12185 | Py_INCREF(Py_None); resultobj = Py_None; | |
12186 | return resultobj; | |
12187 | fail: | |
12188 | return NULL; | |
12189 | } | |
12190 | ||
12191 | ||
c370783e | 12192 | static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12193 | PyObject *resultobj; |
12194 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12195 | size_t arg2 ; | |
b411df4a | 12196 | bool arg3 = (bool) true ; |
d55e5bfc RD |
12197 | bool result; |
12198 | PyObject * obj0 = 0 ; | |
12199 | PyObject * obj1 = 0 ; | |
12200 | PyObject * obj2 = 0 ; | |
12201 | char *kwnames[] = { | |
12202 | (char *) "self",(char *) "item",(char *) "select", NULL | |
12203 | }; | |
12204 | ||
12205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
12206 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12207 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12208 | { | |
12209 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12210 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12211 | } | |
d55e5bfc | 12212 | if (obj2) { |
36ed4f51 RD |
12213 | { |
12214 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
12215 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12216 | } | |
d55e5bfc RD |
12217 | } |
12218 | { | |
12219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12220 | result = (bool)(arg1)->Select(arg2,arg3); | |
12221 | ||
12222 | wxPyEndAllowThreads(__tstate); | |
12223 | if (PyErr_Occurred()) SWIG_fail; | |
12224 | } | |
12225 | { | |
12226 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12227 | } | |
12228 | return resultobj; | |
12229 | fail: | |
12230 | return NULL; | |
12231 | } | |
12232 | ||
12233 | ||
c370783e | 12234 | static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12235 | PyObject *resultobj; |
12236 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12237 | size_t arg2 ; | |
12238 | size_t arg3 ; | |
12239 | bool result; | |
12240 | PyObject * obj0 = 0 ; | |
12241 | PyObject * obj1 = 0 ; | |
12242 | PyObject * obj2 = 0 ; | |
12243 | char *kwnames[] = { | |
12244 | (char *) "self",(char *) "from",(char *) "to", NULL | |
12245 | }; | |
12246 | ||
12247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
12248 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12249 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12250 | { | |
12251 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12252 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12253 | } | |
12254 | { | |
12255 | arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); | |
12256 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12257 | } | |
d55e5bfc RD |
12258 | { |
12259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12260 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
12261 | ||
12262 | wxPyEndAllowThreads(__tstate); | |
12263 | if (PyErr_Occurred()) SWIG_fail; | |
12264 | } | |
12265 | { | |
12266 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12267 | } | |
12268 | return resultobj; | |
12269 | fail: | |
12270 | return NULL; | |
12271 | } | |
12272 | ||
12273 | ||
c370783e | 12274 | static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12275 | PyObject *resultobj; |
12276 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12277 | size_t arg2 ; | |
12278 | PyObject * obj0 = 0 ; | |
12279 | PyObject * obj1 = 0 ; | |
12280 | char *kwnames[] = { | |
12281 | (char *) "self",(char *) "item", NULL | |
12282 | }; | |
12283 | ||
12284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12285 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12286 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12287 | { | |
12288 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12289 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12290 | } | |
d55e5bfc RD |
12291 | { |
12292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12293 | (arg1)->Toggle(arg2); | |
12294 | ||
12295 | wxPyEndAllowThreads(__tstate); | |
12296 | if (PyErr_Occurred()) SWIG_fail; | |
12297 | } | |
12298 | Py_INCREF(Py_None); resultobj = Py_None; | |
12299 | return resultobj; | |
12300 | fail: | |
12301 | return NULL; | |
12302 | } | |
12303 | ||
12304 | ||
c370783e | 12305 | static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12306 | PyObject *resultobj; |
12307 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12308 | bool result; | |
12309 | PyObject * obj0 = 0 ; | |
12310 | char *kwnames[] = { | |
12311 | (char *) "self", NULL | |
12312 | }; | |
12313 | ||
12314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12315 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12316 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12317 | { |
12318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12319 | result = (bool)(arg1)->SelectAll(); | |
12320 | ||
12321 | wxPyEndAllowThreads(__tstate); | |
12322 | if (PyErr_Occurred()) SWIG_fail; | |
12323 | } | |
12324 | { | |
12325 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12326 | } | |
12327 | return resultobj; | |
12328 | fail: | |
12329 | return NULL; | |
12330 | } | |
12331 | ||
12332 | ||
c370783e | 12333 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12334 | PyObject *resultobj; |
12335 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12336 | bool result; | |
12337 | PyObject * obj0 = 0 ; | |
12338 | char *kwnames[] = { | |
12339 | (char *) "self", NULL | |
12340 | }; | |
12341 | ||
12342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12343 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12344 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12345 | { |
12346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12347 | result = (bool)(arg1)->DeselectAll(); | |
12348 | ||
12349 | wxPyEndAllowThreads(__tstate); | |
12350 | if (PyErr_Occurred()) SWIG_fail; | |
12351 | } | |
12352 | { | |
12353 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12354 | } | |
12355 | return resultobj; | |
12356 | fail: | |
12357 | return NULL; | |
12358 | } | |
12359 | ||
12360 | ||
c370783e | 12361 | static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12362 | PyObject *resultobj; |
12363 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12364 | wxPoint *arg2 = 0 ; | |
12365 | wxPoint temp2 ; | |
12366 | PyObject * obj0 = 0 ; | |
12367 | PyObject * obj1 = 0 ; | |
12368 | char *kwnames[] = { | |
12369 | (char *) "self",(char *) "pt", NULL | |
12370 | }; | |
12371 | ||
12372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12373 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12374 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12375 | { |
12376 | arg2 = &temp2; | |
12377 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
12378 | } | |
12379 | { | |
12380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12381 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
12382 | ||
12383 | wxPyEndAllowThreads(__tstate); | |
12384 | if (PyErr_Occurred()) SWIG_fail; | |
12385 | } | |
12386 | Py_INCREF(Py_None); resultobj = Py_None; | |
12387 | return resultobj; | |
12388 | fail: | |
12389 | return NULL; | |
12390 | } | |
12391 | ||
12392 | ||
c370783e | 12393 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12394 | PyObject *resultobj; |
12395 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12396 | int arg2 ; | |
12397 | int arg3 ; | |
12398 | PyObject * obj0 = 0 ; | |
12399 | PyObject * obj1 = 0 ; | |
12400 | PyObject * obj2 = 0 ; | |
12401 | char *kwnames[] = { | |
12402 | (char *) "self",(char *) "x",(char *) "y", NULL | |
12403 | }; | |
12404 | ||
12405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
12406 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12407 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12408 | { | |
12409 | arg2 = (int)(SWIG_As_int(obj1)); | |
12410 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12411 | } | |
12412 | { | |
12413 | arg3 = (int)(SWIG_As_int(obj2)); | |
12414 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12415 | } | |
d55e5bfc RD |
12416 | { |
12417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12418 | (arg1)->SetMargins(arg2,arg3); | |
12419 | ||
12420 | wxPyEndAllowThreads(__tstate); | |
12421 | if (PyErr_Occurred()) SWIG_fail; | |
12422 | } | |
12423 | Py_INCREF(Py_None); resultobj = Py_None; | |
12424 | return resultobj; | |
12425 | fail: | |
12426 | return NULL; | |
12427 | } | |
12428 | ||
12429 | ||
c370783e | 12430 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12431 | PyObject *resultobj; |
12432 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
12433 | wxColour *arg2 = 0 ; | |
12434 | wxColour temp2 ; | |
12435 | PyObject * obj0 = 0 ; | |
12436 | PyObject * obj1 = 0 ; | |
12437 | char *kwnames[] = { | |
12438 | (char *) "self",(char *) "col", NULL | |
12439 | }; | |
12440 | ||
12441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12442 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); |
12443 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12444 | { |
12445 | arg2 = &temp2; | |
12446 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12447 | } | |
12448 | { | |
12449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12450 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
12451 | ||
12452 | wxPyEndAllowThreads(__tstate); | |
12453 | if (PyErr_Occurred()) SWIG_fail; | |
12454 | } | |
12455 | Py_INCREF(Py_None); resultobj = Py_None; | |
12456 | return resultobj; | |
12457 | fail: | |
12458 | return NULL; | |
12459 | } | |
12460 | ||
12461 | ||
c370783e | 12462 | static PyObject * VListBox_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
12463 | PyObject *obj; |
12464 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12465 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
12466 | Py_INCREF(obj); | |
12467 | return Py_BuildValue((char *)""); | |
12468 | } | |
c370783e | 12469 | static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12470 | PyObject *resultobj; |
12471 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12472 | int arg2 = (int) wxID_ANY ; | |
12473 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
12474 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
12475 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
12476 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
12477 | long arg5 = (long) 0 ; | |
12478 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
12479 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
12480 | wxPyHtmlListBox *result; | |
12481 | wxPoint temp3 ; | |
12482 | wxSize temp4 ; | |
b411df4a | 12483 | bool temp6 = false ; |
d55e5bfc RD |
12484 | PyObject * obj0 = 0 ; |
12485 | PyObject * obj1 = 0 ; | |
12486 | PyObject * obj2 = 0 ; | |
12487 | PyObject * obj3 = 0 ; | |
12488 | PyObject * obj4 = 0 ; | |
12489 | PyObject * obj5 = 0 ; | |
12490 | char *kwnames[] = { | |
12491 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12492 | }; | |
12493 | ||
12494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
12495 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
12496 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 12497 | if (obj1) { |
36ed4f51 RD |
12498 | { |
12499 | arg2 = (int)(SWIG_As_int(obj1)); | |
12500 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12501 | } | |
d55e5bfc RD |
12502 | } |
12503 | if (obj2) { | |
12504 | { | |
12505 | arg3 = &temp3; | |
12506 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
12507 | } | |
12508 | } | |
12509 | if (obj3) { | |
12510 | { | |
12511 | arg4 = &temp4; | |
12512 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
12513 | } | |
12514 | } | |
12515 | if (obj4) { | |
36ed4f51 RD |
12516 | { |
12517 | arg5 = (long)(SWIG_As_long(obj4)); | |
12518 | if (SWIG_arg_fail(5)) SWIG_fail; | |
12519 | } | |
d55e5bfc RD |
12520 | } |
12521 | if (obj5) { | |
12522 | { | |
12523 | arg6 = wxString_in_helper(obj5); | |
12524 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 12525 | temp6 = true; |
d55e5bfc RD |
12526 | } |
12527 | } | |
12528 | { | |
0439c23b | 12529 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
12530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12531 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
12532 | ||
12533 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12534 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
12535 | } |
12536 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); | |
12537 | { | |
12538 | if (temp6) | |
12539 | delete arg6; | |
12540 | } | |
12541 | return resultobj; | |
12542 | fail: | |
12543 | { | |
12544 | if (temp6) | |
12545 | delete arg6; | |
12546 | } | |
12547 | return NULL; | |
12548 | } | |
12549 | ||
12550 | ||
c370783e | 12551 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12552 | PyObject *resultobj; |
12553 | wxPyHtmlListBox *result; | |
12554 | char *kwnames[] = { | |
12555 | NULL | |
12556 | }; | |
12557 | ||
12558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
12559 | { | |
0439c23b | 12560 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
12561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12562 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
12563 | ||
12564 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12565 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
12566 | } |
12567 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); | |
12568 | return resultobj; | |
12569 | fail: | |
12570 | return NULL; | |
12571 | } | |
12572 | ||
12573 | ||
c370783e | 12574 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12575 | PyObject *resultobj; |
12576 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12577 | PyObject *arg2 = (PyObject *) 0 ; | |
12578 | PyObject *arg3 = (PyObject *) 0 ; | |
12579 | PyObject * obj0 = 0 ; | |
12580 | PyObject * obj1 = 0 ; | |
12581 | PyObject * obj2 = 0 ; | |
12582 | char *kwnames[] = { | |
12583 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
12584 | }; | |
12585 | ||
12586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
12587 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12588 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12589 | arg2 = obj1; |
12590 | arg3 = obj2; | |
12591 | { | |
12592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12593 | (arg1)->_setCallbackInfo(arg2,arg3); | |
12594 | ||
12595 | wxPyEndAllowThreads(__tstate); | |
12596 | if (PyErr_Occurred()) SWIG_fail; | |
12597 | } | |
12598 | Py_INCREF(Py_None); resultobj = Py_None; | |
12599 | return resultobj; | |
12600 | fail: | |
12601 | return NULL; | |
12602 | } | |
12603 | ||
12604 | ||
c370783e | 12605 | static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12606 | PyObject *resultobj; |
12607 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12608 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12609 | int arg3 = (int) wxID_ANY ; | |
12610 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
12611 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
12612 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
12613 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
12614 | long arg6 = (long) 0 ; | |
12615 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
12616 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
12617 | bool result; | |
12618 | wxPoint temp4 ; | |
12619 | wxSize temp5 ; | |
b411df4a | 12620 | bool temp7 = false ; |
d55e5bfc RD |
12621 | PyObject * obj0 = 0 ; |
12622 | PyObject * obj1 = 0 ; | |
12623 | PyObject * obj2 = 0 ; | |
12624 | PyObject * obj3 = 0 ; | |
12625 | PyObject * obj4 = 0 ; | |
12626 | PyObject * obj5 = 0 ; | |
12627 | PyObject * obj6 = 0 ; | |
12628 | char *kwnames[] = { | |
12629 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12630 | }; | |
12631 | ||
12632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
12633 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12634 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12635 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
12636 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 12637 | if (obj2) { |
36ed4f51 RD |
12638 | { |
12639 | arg3 = (int)(SWIG_As_int(obj2)); | |
12640 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12641 | } | |
d55e5bfc RD |
12642 | } |
12643 | if (obj3) { | |
12644 | { | |
12645 | arg4 = &temp4; | |
12646 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
12647 | } | |
12648 | } | |
12649 | if (obj4) { | |
12650 | { | |
12651 | arg5 = &temp5; | |
12652 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
12653 | } | |
12654 | } | |
12655 | if (obj5) { | |
36ed4f51 RD |
12656 | { |
12657 | arg6 = (long)(SWIG_As_long(obj5)); | |
12658 | if (SWIG_arg_fail(6)) SWIG_fail; | |
12659 | } | |
d55e5bfc RD |
12660 | } |
12661 | if (obj6) { | |
12662 | { | |
12663 | arg7 = wxString_in_helper(obj6); | |
12664 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 12665 | temp7 = true; |
d55e5bfc RD |
12666 | } |
12667 | } | |
12668 | { | |
12669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12670 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
12671 | ||
12672 | wxPyEndAllowThreads(__tstate); | |
12673 | if (PyErr_Occurred()) SWIG_fail; | |
12674 | } | |
12675 | { | |
12676 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12677 | } | |
12678 | { | |
12679 | if (temp7) | |
12680 | delete arg7; | |
12681 | } | |
12682 | return resultobj; | |
12683 | fail: | |
12684 | { | |
12685 | if (temp7) | |
12686 | delete arg7; | |
12687 | } | |
12688 | return NULL; | |
12689 | } | |
12690 | ||
12691 | ||
c370783e | 12692 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12693 | PyObject *resultobj; |
12694 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12695 | PyObject * obj0 = 0 ; | |
12696 | char *kwnames[] = { | |
12697 | (char *) "self", NULL | |
12698 | }; | |
12699 | ||
12700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12701 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12702 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12703 | { |
12704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12705 | (arg1)->RefreshAll(); | |
12706 | ||
12707 | wxPyEndAllowThreads(__tstate); | |
12708 | if (PyErr_Occurred()) SWIG_fail; | |
12709 | } | |
12710 | Py_INCREF(Py_None); resultobj = Py_None; | |
12711 | return resultobj; | |
12712 | fail: | |
12713 | return NULL; | |
12714 | } | |
12715 | ||
12716 | ||
c370783e | 12717 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
12718 | PyObject *resultobj; |
12719 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12720 | size_t arg2 ; | |
12721 | PyObject * obj0 = 0 ; | |
12722 | PyObject * obj1 = 0 ; | |
12723 | char *kwnames[] = { | |
12724 | (char *) "self",(char *) "count", NULL | |
12725 | }; | |
12726 | ||
12727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
12728 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12729 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12730 | { | |
12731 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
12732 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12733 | } | |
d55e5bfc RD |
12734 | { |
12735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12736 | (arg1)->SetItemCount(arg2); | |
12737 | ||
12738 | wxPyEndAllowThreads(__tstate); | |
12739 | if (PyErr_Occurred()) SWIG_fail; | |
12740 | } | |
12741 | Py_INCREF(Py_None); resultobj = Py_None; | |
12742 | return resultobj; | |
12743 | fail: | |
12744 | return NULL; | |
12745 | } | |
12746 | ||
12747 | ||
c370783e | 12748 | static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) { |
d6c14a4c RD |
12749 | PyObject *resultobj; |
12750 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
12751 | wxFileSystem *result; | |
12752 | PyObject * obj0 = 0 ; | |
12753 | char *kwnames[] = { | |
12754 | (char *) "self", NULL | |
12755 | }; | |
12756 | ||
12757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12758 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); |
12759 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d6c14a4c RD |
12760 | { |
12761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12762 | { | |
12763 | wxFileSystem &_result_ref = (arg1)->GetFileSystem(); | |
12764 | result = (wxFileSystem *) &_result_ref; | |
12765 | } | |
12766 | ||
12767 | wxPyEndAllowThreads(__tstate); | |
12768 | if (PyErr_Occurred()) SWIG_fail; | |
12769 | } | |
12770 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0); | |
12771 | return resultobj; | |
12772 | fail: | |
12773 | return NULL; | |
12774 | } | |
12775 | ||
12776 | ||
c370783e | 12777 | static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
12778 | PyObject *obj; |
12779 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12780 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
12781 | Py_INCREF(obj); | |
12782 | return Py_BuildValue((char *)""); | |
12783 | } | |
c370783e | 12784 | static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 12785 | PyObject *resultobj; |
5e483524 | 12786 | wxPyTaskBarIcon *result; |
d55e5bfc RD |
12787 | char *kwnames[] = { |
12788 | NULL | |
12789 | }; | |
12790 | ||
12791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
12792 | { | |
0439c23b | 12793 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc | 12794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5e483524 | 12795 | result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon(); |
d55e5bfc RD |
12796 | |
12797 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12798 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 12799 | } |
5e483524 | 12800 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1); |
d55e5bfc RD |
12801 | return resultobj; |
12802 | fail: | |
12803 | return NULL; | |
12804 | } | |
12805 | ||
12806 | ||
5e483524 | 12807 | static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 12808 | PyObject *resultobj; |
5e483524 RD |
12809 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
12810 | PyObject *arg2 = (PyObject *) 0 ; | |
12811 | PyObject *arg3 = (PyObject *) 0 ; | |
12812 | int arg4 ; | |
d55e5bfc | 12813 | PyObject * obj0 = 0 ; |
5e483524 RD |
12814 | PyObject * obj1 = 0 ; |
12815 | PyObject * obj2 = 0 ; | |
12816 | PyObject * obj3 = 0 ; | |
d55e5bfc | 12817 | char *kwnames[] = { |
5e483524 | 12818 | (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL |
d55e5bfc RD |
12819 | }; |
12820 | ||
5e483524 | 12821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
36ed4f51 RD |
12822 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12823 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5e483524 RD |
12824 | arg2 = obj1; |
12825 | arg3 = obj2; | |
36ed4f51 RD |
12826 | { |
12827 | arg4 = (int)(SWIG_As_int(obj3)); | |
12828 | if (SWIG_arg_fail(4)) SWIG_fail; | |
12829 | } | |
d55e5bfc RD |
12830 | { |
12831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 12832 | (arg1)->_setCallbackInfo(arg2,arg3,arg4); |
d55e5bfc RD |
12833 | |
12834 | wxPyEndAllowThreads(__tstate); | |
12835 | if (PyErr_Occurred()) SWIG_fail; | |
12836 | } | |
12837 | Py_INCREF(Py_None); resultobj = Py_None; | |
12838 | return resultobj; | |
12839 | fail: | |
12840 | return NULL; | |
12841 | } | |
12842 | ||
12843 | ||
c370783e | 12844 | static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 12845 | PyObject *resultobj; |
5e483524 | 12846 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d55e5bfc RD |
12847 | PyObject * obj0 = 0 ; |
12848 | char *kwnames[] = { | |
12849 | (char *) "self", NULL | |
12850 | }; | |
12851 | ||
12852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12853 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12854 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
12855 | { |
12856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 12857 | wxPyTaskBarIcon_Destroy(arg1); |
d55e5bfc RD |
12858 | |
12859 | wxPyEndAllowThreads(__tstate); | |
12860 | if (PyErr_Occurred()) SWIG_fail; | |
12861 | } | |
12862 | Py_INCREF(Py_None); resultobj = Py_None; | |
12863 | return resultobj; | |
12864 | fail: | |
12865 | return NULL; | |
12866 | } | |
12867 | ||
12868 | ||
b411df4a RD |
12869 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { |
12870 | PyObject *resultobj; | |
5e483524 | 12871 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
12872 | bool result; |
12873 | PyObject * obj0 = 0 ; | |
12874 | char *kwnames[] = { | |
12875 | (char *) "self", NULL | |
12876 | }; | |
12877 | ||
12878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12879 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12880 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b411df4a RD |
12881 | { |
12882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 12883 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk(); |
b411df4a RD |
12884 | |
12885 | wxPyEndAllowThreads(__tstate); | |
12886 | if (PyErr_Occurred()) SWIG_fail; | |
12887 | } | |
12888 | { | |
12889 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12890 | } | |
12891 | return resultobj; | |
12892 | fail: | |
12893 | return NULL; | |
12894 | } | |
12895 | ||
12896 | ||
12897 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) { | |
12898 | PyObject *resultobj; | |
5e483524 | 12899 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
12900 | bool result; |
12901 | PyObject * obj0 = 0 ; | |
12902 | char *kwnames[] = { | |
12903 | (char *) "self", NULL | |
12904 | }; | |
12905 | ||
12906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12907 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12908 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b411df4a RD |
12909 | { |
12910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 12911 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled(); |
b411df4a RD |
12912 | |
12913 | wxPyEndAllowThreads(__tstate); | |
12914 | if (PyErr_Occurred()) SWIG_fail; | |
12915 | } | |
12916 | { | |
12917 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12918 | } | |
12919 | return resultobj; | |
12920 | fail: | |
12921 | return NULL; | |
12922 | } | |
12923 | ||
12924 | ||
12925 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { | |
12926 | PyObject *resultobj; | |
5e483524 | 12927 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
12928 | wxIcon *arg2 = 0 ; |
12929 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12930 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12931 | bool result; | |
12932 | bool temp3 = false ; | |
12933 | PyObject * obj0 = 0 ; | |
12934 | PyObject * obj1 = 0 ; | |
12935 | PyObject * obj2 = 0 ; | |
12936 | char *kwnames[] = { | |
12937 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
12938 | }; | |
12939 | ||
12940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
12941 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12942 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12943 | { | |
12944 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); | |
12945 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12946 | if (arg2 == NULL) { | |
12947 | SWIG_null_ref("wxIcon"); | |
12948 | } | |
12949 | if (SWIG_arg_fail(2)) SWIG_fail; | |
b411df4a RD |
12950 | } |
12951 | if (obj2) { | |
12952 | { | |
12953 | arg3 = wxString_in_helper(obj2); | |
12954 | if (arg3 == NULL) SWIG_fail; | |
12955 | temp3 = true; | |
12956 | } | |
12957 | } | |
12958 | { | |
12959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12960 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
12961 | ||
12962 | wxPyEndAllowThreads(__tstate); | |
12963 | if (PyErr_Occurred()) SWIG_fail; | |
12964 | } | |
12965 | { | |
12966 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12967 | } | |
12968 | { | |
12969 | if (temp3) | |
12970 | delete arg3; | |
12971 | } | |
12972 | return resultobj; | |
12973 | fail: | |
12974 | { | |
12975 | if (temp3) | |
12976 | delete arg3; | |
12977 | } | |
12978 | return NULL; | |
12979 | } | |
12980 | ||
12981 | ||
12982 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) { | |
12983 | PyObject *resultobj; | |
5e483524 | 12984 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
12985 | bool result; |
12986 | PyObject * obj0 = 0 ; | |
12987 | char *kwnames[] = { | |
12988 | (char *) "self", NULL | |
12989 | }; | |
12990 | ||
12991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
12992 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
12993 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b411df4a RD |
12994 | { |
12995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12996 | result = (bool)(arg1)->RemoveIcon(); | |
12997 | ||
12998 | wxPyEndAllowThreads(__tstate); | |
12999 | if (PyErr_Occurred()) SWIG_fail; | |
13000 | } | |
13001 | { | |
13002 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13003 | } | |
13004 | return resultobj; | |
13005 | fail: | |
13006 | return NULL; | |
13007 | } | |
13008 | ||
13009 | ||
13010 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) { | |
13011 | PyObject *resultobj; | |
5e483524 | 13012 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
b411df4a RD |
13013 | wxMenu *arg2 = (wxMenu *) 0 ; |
13014 | bool result; | |
13015 | PyObject * obj0 = 0 ; | |
13016 | PyObject * obj1 = 0 ; | |
13017 | char *kwnames[] = { | |
13018 | (char *) "self",(char *) "menu", NULL | |
13019 | }; | |
13020 | ||
13021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13022 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); |
13023 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13024 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); | |
13025 | if (SWIG_arg_fail(2)) SWIG_fail; | |
b411df4a RD |
13026 | { |
13027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13028 | result = (bool)(arg1)->PopupMenu(arg2); | |
13029 | ||
13030 | wxPyEndAllowThreads(__tstate); | |
13031 | if (PyErr_Occurred()) SWIG_fail; | |
13032 | } | |
13033 | { | |
13034 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13035 | } | |
13036 | return resultobj; | |
13037 | fail: | |
13038 | return NULL; | |
13039 | } | |
13040 | ||
13041 | ||
c370783e | 13042 | static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13043 | PyObject *obj; |
13044 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5e483524 | 13045 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj); |
d55e5bfc RD |
13046 | Py_INCREF(obj); |
13047 | return Py_BuildValue((char *)""); | |
13048 | } | |
c370783e | 13049 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13050 | PyObject *resultobj; |
13051 | wxEventType arg1 ; | |
13052 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
13053 | wxTaskBarIconEvent *result; | |
13054 | PyObject * obj0 = 0 ; | |
13055 | PyObject * obj1 = 0 ; | |
13056 | char *kwnames[] = { | |
13057 | (char *) "evtType",(char *) "tbIcon", NULL | |
13058 | }; | |
13059 | ||
13060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13061 | { |
13062 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
13063 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13064 | } | |
13065 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); | |
13066 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
13067 | { |
13068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13069 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
13070 | ||
13071 | wxPyEndAllowThreads(__tstate); | |
13072 | if (PyErr_Occurred()) SWIG_fail; | |
13073 | } | |
13074 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); | |
13075 | return resultobj; | |
13076 | fail: | |
13077 | return NULL; | |
13078 | } | |
13079 | ||
13080 | ||
c370783e | 13081 | static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13082 | PyObject *obj; |
13083 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13084 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
13085 | Py_INCREF(obj); | |
13086 | return Py_BuildValue((char *)""); | |
13087 | } | |
c370783e | 13088 | static int _wrap_FileSelectorPromptStr_set(PyObject *) { |
d55e5bfc RD |
13089 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); |
13090 | return 1; | |
13091 | } | |
13092 | ||
13093 | ||
36ed4f51 | 13094 | static PyObject *_wrap_FileSelectorPromptStr_get(void) { |
d55e5bfc RD |
13095 | PyObject *pyobj; |
13096 | ||
13097 | { | |
13098 | #if wxUSE_UNICODE | |
13099 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
13100 | #else | |
13101 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
13102 | #endif | |
13103 | } | |
13104 | return pyobj; | |
13105 | } | |
13106 | ||
13107 | ||
c370783e | 13108 | static int _wrap_DirSelectorPromptStr_set(PyObject *) { |
d55e5bfc RD |
13109 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); |
13110 | return 1; | |
13111 | } | |
13112 | ||
13113 | ||
36ed4f51 | 13114 | static PyObject *_wrap_DirSelectorPromptStr_get(void) { |
d55e5bfc RD |
13115 | PyObject *pyobj; |
13116 | ||
13117 | { | |
13118 | #if wxUSE_UNICODE | |
13119 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
13120 | #else | |
13121 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
13122 | #endif | |
13123 | } | |
13124 | return pyobj; | |
13125 | } | |
13126 | ||
13127 | ||
c370783e | 13128 | static int _wrap_DirDialogNameStr_set(PyObject *) { |
d55e5bfc RD |
13129 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); |
13130 | return 1; | |
13131 | } | |
13132 | ||
13133 | ||
36ed4f51 | 13134 | static PyObject *_wrap_DirDialogNameStr_get(void) { |
d55e5bfc RD |
13135 | PyObject *pyobj; |
13136 | ||
13137 | { | |
13138 | #if wxUSE_UNICODE | |
13139 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
13140 | #else | |
13141 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
13142 | #endif | |
13143 | } | |
13144 | return pyobj; | |
13145 | } | |
13146 | ||
13147 | ||
c370783e | 13148 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { |
d55e5bfc RD |
13149 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); |
13150 | return 1; | |
13151 | } | |
13152 | ||
13153 | ||
36ed4f51 | 13154 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) { |
d55e5bfc RD |
13155 | PyObject *pyobj; |
13156 | ||
13157 | { | |
13158 | #if wxUSE_UNICODE | |
13159 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
13160 | #else | |
13161 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
13162 | #endif | |
13163 | } | |
13164 | return pyobj; | |
13165 | } | |
13166 | ||
13167 | ||
c370783e | 13168 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *) { |
d55e5bfc RD |
13169 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); |
13170 | return 1; | |
13171 | } | |
13172 | ||
13173 | ||
36ed4f51 | 13174 | static PyObject *_wrap_GetTextFromUserPromptStr_get(void) { |
d55e5bfc RD |
13175 | PyObject *pyobj; |
13176 | ||
13177 | { | |
13178 | #if wxUSE_UNICODE | |
13179 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
13180 | #else | |
13181 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
13182 | #endif | |
13183 | } | |
13184 | return pyobj; | |
13185 | } | |
13186 | ||
13187 | ||
c370783e | 13188 | static int _wrap_MessageBoxCaptionStr_set(PyObject *) { |
d55e5bfc RD |
13189 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); |
13190 | return 1; | |
13191 | } | |
13192 | ||
13193 | ||
36ed4f51 | 13194 | static PyObject *_wrap_MessageBoxCaptionStr_get(void) { |
d55e5bfc RD |
13195 | PyObject *pyobj; |
13196 | ||
13197 | { | |
13198 | #if wxUSE_UNICODE | |
13199 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
13200 | #else | |
13201 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
13202 | #endif | |
13203 | } | |
13204 | return pyobj; | |
13205 | } | |
13206 | ||
13207 | ||
c370783e | 13208 | static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13209 | PyObject *resultobj; |
13210 | wxColourData *result; | |
13211 | char *kwnames[] = { | |
13212 | NULL | |
13213 | }; | |
13214 | ||
13215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
13216 | { | |
13217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13218 | result = (wxColourData *)new wxColourData(); | |
13219 | ||
13220 | wxPyEndAllowThreads(__tstate); | |
13221 | if (PyErr_Occurred()) SWIG_fail; | |
13222 | } | |
13223 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); | |
13224 | return resultobj; | |
13225 | fail: | |
13226 | return NULL; | |
13227 | } | |
13228 | ||
13229 | ||
c370783e | 13230 | static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13231 | PyObject *resultobj; |
13232 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13233 | PyObject * obj0 = 0 ; | |
13234 | char *kwnames[] = { | |
13235 | (char *) "self", NULL | |
13236 | }; | |
13237 | ||
13238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13239 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13240 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13241 | { |
13242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13243 | delete arg1; | |
13244 | ||
13245 | wxPyEndAllowThreads(__tstate); | |
13246 | if (PyErr_Occurred()) SWIG_fail; | |
13247 | } | |
13248 | Py_INCREF(Py_None); resultobj = Py_None; | |
13249 | return resultobj; | |
13250 | fail: | |
13251 | return NULL; | |
13252 | } | |
13253 | ||
13254 | ||
c370783e | 13255 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13256 | PyObject *resultobj; |
13257 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13258 | bool result; | |
13259 | PyObject * obj0 = 0 ; | |
13260 | char *kwnames[] = { | |
13261 | (char *) "self", NULL | |
13262 | }; | |
13263 | ||
13264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13265 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13266 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13267 | { |
13268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13269 | result = (bool)(arg1)->GetChooseFull(); | |
13270 | ||
13271 | wxPyEndAllowThreads(__tstate); | |
13272 | if (PyErr_Occurred()) SWIG_fail; | |
13273 | } | |
13274 | { | |
13275 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13276 | } | |
13277 | return resultobj; | |
13278 | fail: | |
13279 | return NULL; | |
13280 | } | |
13281 | ||
13282 | ||
c370783e | 13283 | static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13284 | PyObject *resultobj; |
13285 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13286 | wxColour result; | |
13287 | PyObject * obj0 = 0 ; | |
13288 | char *kwnames[] = { | |
13289 | (char *) "self", NULL | |
13290 | }; | |
13291 | ||
13292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13293 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13294 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13295 | { |
13296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13297 | result = (arg1)->GetColour(); | |
13298 | ||
13299 | wxPyEndAllowThreads(__tstate); | |
13300 | if (PyErr_Occurred()) SWIG_fail; | |
13301 | } | |
13302 | { | |
13303 | wxColour * resultptr; | |
36ed4f51 | 13304 | resultptr = new wxColour((wxColour &)(result)); |
d55e5bfc RD |
13305 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
13306 | } | |
13307 | return resultobj; | |
13308 | fail: | |
13309 | return NULL; | |
13310 | } | |
13311 | ||
13312 | ||
c370783e | 13313 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13314 | PyObject *resultobj; |
13315 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13316 | int arg2 ; | |
13317 | wxColour result; | |
13318 | PyObject * obj0 = 0 ; | |
13319 | PyObject * obj1 = 0 ; | |
13320 | char *kwnames[] = { | |
13321 | (char *) "self",(char *) "i", NULL | |
13322 | }; | |
13323 | ||
13324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13325 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13326 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13327 | { | |
13328 | arg2 = (int)(SWIG_As_int(obj1)); | |
13329 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13330 | } | |
d55e5bfc RD |
13331 | { |
13332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13333 | result = (arg1)->GetCustomColour(arg2); | |
13334 | ||
13335 | wxPyEndAllowThreads(__tstate); | |
13336 | if (PyErr_Occurred()) SWIG_fail; | |
13337 | } | |
13338 | { | |
13339 | wxColour * resultptr; | |
36ed4f51 | 13340 | resultptr = new wxColour((wxColour &)(result)); |
d55e5bfc RD |
13341 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
13342 | } | |
13343 | return resultobj; | |
13344 | fail: | |
13345 | return NULL; | |
13346 | } | |
13347 | ||
13348 | ||
c370783e | 13349 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13350 | PyObject *resultobj; |
13351 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13352 | int arg2 ; | |
13353 | PyObject * obj0 = 0 ; | |
13354 | PyObject * obj1 = 0 ; | |
13355 | char *kwnames[] = { | |
13356 | (char *) "self",(char *) "flag", NULL | |
13357 | }; | |
13358 | ||
13359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13360 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13361 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13362 | { | |
13363 | arg2 = (int)(SWIG_As_int(obj1)); | |
13364 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13365 | } | |
d55e5bfc RD |
13366 | { |
13367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13368 | (arg1)->SetChooseFull(arg2); | |
13369 | ||
13370 | wxPyEndAllowThreads(__tstate); | |
13371 | if (PyErr_Occurred()) SWIG_fail; | |
13372 | } | |
13373 | Py_INCREF(Py_None); resultobj = Py_None; | |
13374 | return resultobj; | |
13375 | fail: | |
13376 | return NULL; | |
13377 | } | |
13378 | ||
13379 | ||
c370783e | 13380 | static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13381 | PyObject *resultobj; |
13382 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13383 | wxColour *arg2 = 0 ; | |
13384 | wxColour temp2 ; | |
13385 | PyObject * obj0 = 0 ; | |
13386 | PyObject * obj1 = 0 ; | |
13387 | char *kwnames[] = { | |
13388 | (char *) "self",(char *) "colour", NULL | |
13389 | }; | |
13390 | ||
13391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13392 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13393 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13394 | { |
13395 | arg2 = &temp2; | |
13396 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
13397 | } | |
13398 | { | |
13399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13400 | (arg1)->SetColour((wxColour const &)*arg2); | |
13401 | ||
13402 | wxPyEndAllowThreads(__tstate); | |
13403 | if (PyErr_Occurred()) SWIG_fail; | |
13404 | } | |
13405 | Py_INCREF(Py_None); resultobj = Py_None; | |
13406 | return resultobj; | |
13407 | fail: | |
13408 | return NULL; | |
13409 | } | |
13410 | ||
13411 | ||
c370783e | 13412 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13413 | PyObject *resultobj; |
13414 | wxColourData *arg1 = (wxColourData *) 0 ; | |
13415 | int arg2 ; | |
13416 | wxColour *arg3 = 0 ; | |
13417 | wxColour temp3 ; | |
13418 | PyObject * obj0 = 0 ; | |
13419 | PyObject * obj1 = 0 ; | |
13420 | PyObject * obj2 = 0 ; | |
13421 | char *kwnames[] = { | |
13422 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
13423 | }; | |
13424 | ||
13425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
13426 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13427 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13428 | { | |
13429 | arg2 = (int)(SWIG_As_int(obj1)); | |
13430 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13431 | } | |
d55e5bfc RD |
13432 | { |
13433 | arg3 = &temp3; | |
13434 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
13435 | } | |
13436 | { | |
13437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13438 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
13439 | ||
13440 | wxPyEndAllowThreads(__tstate); | |
13441 | if (PyErr_Occurred()) SWIG_fail; | |
13442 | } | |
13443 | Py_INCREF(Py_None); resultobj = Py_None; | |
13444 | return resultobj; | |
13445 | fail: | |
13446 | return NULL; | |
13447 | } | |
13448 | ||
13449 | ||
c370783e | 13450 | static PyObject * ColourData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13451 | PyObject *obj; |
13452 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13453 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
13454 | Py_INCREF(obj); | |
13455 | return Py_BuildValue((char *)""); | |
13456 | } | |
c370783e | 13457 | static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13458 | PyObject *resultobj; |
13459 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13460 | wxColourData *arg2 = (wxColourData *) NULL ; | |
13461 | wxColourDialog *result; | |
13462 | PyObject * obj0 = 0 ; | |
13463 | PyObject * obj1 = 0 ; | |
13464 | char *kwnames[] = { | |
13465 | (char *) "parent",(char *) "data", NULL | |
13466 | }; | |
13467 | ||
13468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13469 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
13470 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 13471 | if (obj1) { |
36ed4f51 RD |
13472 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); |
13473 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
13474 | } |
13475 | { | |
0439c23b | 13476 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13478 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
13479 | ||
13480 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13481 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13482 | } |
13483 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); | |
13484 | return resultobj; | |
13485 | fail: | |
13486 | return NULL; | |
13487 | } | |
13488 | ||
13489 | ||
c370783e | 13490 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13491 | PyObject *resultobj; |
13492 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
13493 | wxColourData *result; | |
13494 | PyObject * obj0 = 0 ; | |
13495 | char *kwnames[] = { | |
13496 | (char *) "self", NULL | |
13497 | }; | |
13498 | ||
13499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13500 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0); |
13501 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13502 | { |
13503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13504 | { | |
13505 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
13506 | result = (wxColourData *) &_result_ref; | |
13507 | } | |
13508 | ||
13509 | wxPyEndAllowThreads(__tstate); | |
13510 | if (PyErr_Occurred()) SWIG_fail; | |
13511 | } | |
13512 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); | |
13513 | return resultobj; | |
13514 | fail: | |
13515 | return NULL; | |
13516 | } | |
13517 | ||
13518 | ||
c370783e | 13519 | static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13520 | PyObject *obj; |
13521 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13522 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
13523 | Py_INCREF(obj); | |
13524 | return Py_BuildValue((char *)""); | |
13525 | } | |
c370783e | 13526 | static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13527 | PyObject *resultobj; |
13528 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13529 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
13530 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
13531 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13532 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13533 | long arg4 = (long) 0 ; | |
13534 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13535 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13536 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
13537 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
13538 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
13539 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
13540 | wxDirDialog *result; | |
b411df4a RD |
13541 | bool temp2 = false ; |
13542 | bool temp3 = false ; | |
d55e5bfc RD |
13543 | wxPoint temp5 ; |
13544 | wxSize temp6 ; | |
b411df4a | 13545 | bool temp7 = false ; |
d55e5bfc RD |
13546 | PyObject * obj0 = 0 ; |
13547 | PyObject * obj1 = 0 ; | |
13548 | PyObject * obj2 = 0 ; | |
13549 | PyObject * obj3 = 0 ; | |
13550 | PyObject * obj4 = 0 ; | |
13551 | PyObject * obj5 = 0 ; | |
13552 | PyObject * obj6 = 0 ; | |
13553 | char *kwnames[] = { | |
13554 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
13555 | }; | |
13556 | ||
13557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
13558 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
13559 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13560 | if (obj1) { |
13561 | { | |
13562 | arg2 = wxString_in_helper(obj1); | |
13563 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13564 | temp2 = true; |
d55e5bfc RD |
13565 | } |
13566 | } | |
13567 | if (obj2) { | |
13568 | { | |
13569 | arg3 = wxString_in_helper(obj2); | |
13570 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 13571 | temp3 = true; |
d55e5bfc RD |
13572 | } |
13573 | } | |
13574 | if (obj3) { | |
36ed4f51 RD |
13575 | { |
13576 | arg4 = (long)(SWIG_As_long(obj3)); | |
13577 | if (SWIG_arg_fail(4)) SWIG_fail; | |
13578 | } | |
d55e5bfc RD |
13579 | } |
13580 | if (obj4) { | |
13581 | { | |
13582 | arg5 = &temp5; | |
13583 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13584 | } | |
13585 | } | |
13586 | if (obj5) { | |
13587 | { | |
13588 | arg6 = &temp6; | |
13589 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
13590 | } | |
13591 | } | |
13592 | if (obj6) { | |
13593 | { | |
13594 | arg7 = wxString_in_helper(obj6); | |
13595 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 13596 | temp7 = true; |
d55e5bfc RD |
13597 | } |
13598 | } | |
13599 | { | |
0439c23b | 13600 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13602 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
13603 | ||
13604 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13605 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13606 | } |
13607 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); | |
13608 | { | |
13609 | if (temp2) | |
13610 | delete arg2; | |
13611 | } | |
13612 | { | |
13613 | if (temp3) | |
13614 | delete arg3; | |
13615 | } | |
13616 | { | |
13617 | if (temp7) | |
13618 | delete arg7; | |
13619 | } | |
13620 | return resultobj; | |
13621 | fail: | |
13622 | { | |
13623 | if (temp2) | |
13624 | delete arg2; | |
13625 | } | |
13626 | { | |
13627 | if (temp3) | |
13628 | delete arg3; | |
13629 | } | |
13630 | { | |
13631 | if (temp7) | |
13632 | delete arg7; | |
13633 | } | |
13634 | return NULL; | |
13635 | } | |
13636 | ||
13637 | ||
c370783e | 13638 | static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13639 | PyObject *resultobj; |
13640 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13641 | wxString result; | |
13642 | PyObject * obj0 = 0 ; | |
13643 | char *kwnames[] = { | |
13644 | (char *) "self", NULL | |
13645 | }; | |
13646 | ||
13647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13648 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13649 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13650 | { |
13651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13652 | result = (arg1)->GetPath(); | |
13653 | ||
13654 | wxPyEndAllowThreads(__tstate); | |
13655 | if (PyErr_Occurred()) SWIG_fail; | |
13656 | } | |
13657 | { | |
13658 | #if wxUSE_UNICODE | |
13659 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13660 | #else | |
13661 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13662 | #endif | |
13663 | } | |
13664 | return resultobj; | |
13665 | fail: | |
13666 | return NULL; | |
13667 | } | |
13668 | ||
13669 | ||
c370783e | 13670 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13671 | PyObject *resultobj; |
13672 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13673 | wxString result; | |
13674 | PyObject * obj0 = 0 ; | |
13675 | char *kwnames[] = { | |
13676 | (char *) "self", NULL | |
13677 | }; | |
13678 | ||
13679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13680 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13681 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13682 | { |
13683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13684 | result = (arg1)->GetMessage(); | |
13685 | ||
13686 | wxPyEndAllowThreads(__tstate); | |
13687 | if (PyErr_Occurred()) SWIG_fail; | |
13688 | } | |
13689 | { | |
13690 | #if wxUSE_UNICODE | |
13691 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13692 | #else | |
13693 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13694 | #endif | |
13695 | } | |
13696 | return resultobj; | |
13697 | fail: | |
13698 | return NULL; | |
13699 | } | |
13700 | ||
13701 | ||
c370783e | 13702 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13703 | PyObject *resultobj; |
13704 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13705 | long result; | |
13706 | PyObject * obj0 = 0 ; | |
13707 | char *kwnames[] = { | |
13708 | (char *) "self", NULL | |
13709 | }; | |
13710 | ||
13711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
13712 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13713 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13714 | { |
13715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13716 | result = (long)(arg1)->GetStyle(); | |
13717 | ||
13718 | wxPyEndAllowThreads(__tstate); | |
13719 | if (PyErr_Occurred()) SWIG_fail; | |
13720 | } | |
36ed4f51 RD |
13721 | { |
13722 | resultobj = SWIG_From_long((long)(result)); | |
13723 | } | |
d55e5bfc RD |
13724 | return resultobj; |
13725 | fail: | |
13726 | return NULL; | |
13727 | } | |
13728 | ||
13729 | ||
c370783e | 13730 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13731 | PyObject *resultobj; |
13732 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13733 | wxString *arg2 = 0 ; | |
b411df4a | 13734 | bool temp2 = false ; |
d55e5bfc RD |
13735 | PyObject * obj0 = 0 ; |
13736 | PyObject * obj1 = 0 ; | |
13737 | char *kwnames[] = { | |
13738 | (char *) "self",(char *) "message", NULL | |
13739 | }; | |
13740 | ||
13741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13742 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13743 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13744 | { |
13745 | arg2 = wxString_in_helper(obj1); | |
13746 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13747 | temp2 = true; |
d55e5bfc RD |
13748 | } |
13749 | { | |
13750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13751 | (arg1)->SetMessage((wxString const &)*arg2); | |
13752 | ||
13753 | wxPyEndAllowThreads(__tstate); | |
13754 | if (PyErr_Occurred()) SWIG_fail; | |
13755 | } | |
13756 | Py_INCREF(Py_None); resultobj = Py_None; | |
13757 | { | |
13758 | if (temp2) | |
13759 | delete arg2; | |
13760 | } | |
13761 | return resultobj; | |
13762 | fail: | |
13763 | { | |
13764 | if (temp2) | |
13765 | delete arg2; | |
13766 | } | |
13767 | return NULL; | |
13768 | } | |
13769 | ||
13770 | ||
c370783e | 13771 | static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13772 | PyObject *resultobj; |
13773 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
13774 | wxString *arg2 = 0 ; | |
b411df4a | 13775 | bool temp2 = false ; |
d55e5bfc RD |
13776 | PyObject * obj0 = 0 ; |
13777 | PyObject * obj1 = 0 ; | |
13778 | char *kwnames[] = { | |
13779 | (char *) "self",(char *) "path", NULL | |
13780 | }; | |
13781 | ||
13782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13783 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0); |
13784 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13785 | { |
13786 | arg2 = wxString_in_helper(obj1); | |
13787 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13788 | temp2 = true; |
d55e5bfc RD |
13789 | } |
13790 | { | |
13791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13792 | (arg1)->SetPath((wxString const &)*arg2); | |
13793 | ||
13794 | wxPyEndAllowThreads(__tstate); | |
13795 | if (PyErr_Occurred()) SWIG_fail; | |
13796 | } | |
13797 | Py_INCREF(Py_None); resultobj = Py_None; | |
13798 | { | |
13799 | if (temp2) | |
13800 | delete arg2; | |
13801 | } | |
13802 | return resultobj; | |
13803 | fail: | |
13804 | { | |
13805 | if (temp2) | |
13806 | delete arg2; | |
13807 | } | |
13808 | return NULL; | |
13809 | } | |
13810 | ||
13811 | ||
c370783e | 13812 | static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
13813 | PyObject *obj; |
13814 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13815 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
13816 | Py_INCREF(obj); | |
13817 | return Py_BuildValue((char *)""); | |
13818 | } | |
c370783e | 13819 | static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13820 | PyObject *resultobj; |
13821 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13822 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
13823 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
13824 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13825 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13826 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
13827 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
13828 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
13829 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
13830 | long arg6 = (long) 0 ; | |
13831 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
13832 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
13833 | wxFileDialog *result; | |
b411df4a RD |
13834 | bool temp2 = false ; |
13835 | bool temp3 = false ; | |
13836 | bool temp4 = false ; | |
13837 | bool temp5 = false ; | |
d55e5bfc RD |
13838 | wxPoint temp7 ; |
13839 | PyObject * obj0 = 0 ; | |
13840 | PyObject * obj1 = 0 ; | |
13841 | PyObject * obj2 = 0 ; | |
13842 | PyObject * obj3 = 0 ; | |
13843 | PyObject * obj4 = 0 ; | |
13844 | PyObject * obj5 = 0 ; | |
13845 | PyObject * obj6 = 0 ; | |
13846 | char *kwnames[] = { | |
13847 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
13848 | }; | |
13849 | ||
13850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
13851 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
13852 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13853 | if (obj1) { |
13854 | { | |
13855 | arg2 = wxString_in_helper(obj1); | |
13856 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13857 | temp2 = true; |
d55e5bfc RD |
13858 | } |
13859 | } | |
13860 | if (obj2) { | |
13861 | { | |
13862 | arg3 = wxString_in_helper(obj2); | |
13863 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 13864 | temp3 = true; |
d55e5bfc RD |
13865 | } |
13866 | } | |
13867 | if (obj3) { | |
13868 | { | |
13869 | arg4 = wxString_in_helper(obj3); | |
13870 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 13871 | temp4 = true; |
d55e5bfc RD |
13872 | } |
13873 | } | |
13874 | if (obj4) { | |
13875 | { | |
13876 | arg5 = wxString_in_helper(obj4); | |
13877 | if (arg5 == NULL) SWIG_fail; | |
b411df4a | 13878 | temp5 = true; |
d55e5bfc RD |
13879 | } |
13880 | } | |
13881 | if (obj5) { | |
36ed4f51 RD |
13882 | { |
13883 | arg6 = (long)(SWIG_As_long(obj5)); | |
13884 | if (SWIG_arg_fail(6)) SWIG_fail; | |
13885 | } | |
d55e5bfc RD |
13886 | } |
13887 | if (obj6) { | |
13888 | { | |
13889 | arg7 = &temp7; | |
13890 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
13891 | } | |
13892 | } | |
13893 | { | |
0439c23b | 13894 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
13895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13896 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
13897 | ||
13898 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13899 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
13900 | } |
13901 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); | |
13902 | { | |
13903 | if (temp2) | |
13904 | delete arg2; | |
13905 | } | |
13906 | { | |
13907 | if (temp3) | |
13908 | delete arg3; | |
13909 | } | |
13910 | { | |
13911 | if (temp4) | |
13912 | delete arg4; | |
13913 | } | |
13914 | { | |
13915 | if (temp5) | |
13916 | delete arg5; | |
13917 | } | |
13918 | return resultobj; | |
13919 | fail: | |
13920 | { | |
13921 | if (temp2) | |
13922 | delete arg2; | |
13923 | } | |
13924 | { | |
13925 | if (temp3) | |
13926 | delete arg3; | |
13927 | } | |
13928 | { | |
13929 | if (temp4) | |
13930 | delete arg4; | |
13931 | } | |
13932 | { | |
13933 | if (temp5) | |
13934 | delete arg5; | |
13935 | } | |
13936 | return NULL; | |
13937 | } | |
13938 | ||
13939 | ||
c370783e | 13940 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13941 | PyObject *resultobj; |
13942 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
13943 | wxString *arg2 = 0 ; | |
b411df4a | 13944 | bool temp2 = false ; |
d55e5bfc RD |
13945 | PyObject * obj0 = 0 ; |
13946 | PyObject * obj1 = 0 ; | |
13947 | char *kwnames[] = { | |
13948 | (char *) "self",(char *) "message", NULL | |
13949 | }; | |
13950 | ||
13951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13952 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
13953 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13954 | { |
13955 | arg2 = wxString_in_helper(obj1); | |
13956 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13957 | temp2 = true; |
d55e5bfc RD |
13958 | } |
13959 | { | |
13960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13961 | (arg1)->SetMessage((wxString const &)*arg2); | |
13962 | ||
13963 | wxPyEndAllowThreads(__tstate); | |
13964 | if (PyErr_Occurred()) SWIG_fail; | |
13965 | } | |
13966 | Py_INCREF(Py_None); resultobj = Py_None; | |
13967 | { | |
13968 | if (temp2) | |
13969 | delete arg2; | |
13970 | } | |
13971 | return resultobj; | |
13972 | fail: | |
13973 | { | |
13974 | if (temp2) | |
13975 | delete arg2; | |
13976 | } | |
13977 | return NULL; | |
13978 | } | |
13979 | ||
13980 | ||
c370783e | 13981 | static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
13982 | PyObject *resultobj; |
13983 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
13984 | wxString *arg2 = 0 ; | |
b411df4a | 13985 | bool temp2 = false ; |
d55e5bfc RD |
13986 | PyObject * obj0 = 0 ; |
13987 | PyObject * obj1 = 0 ; | |
13988 | char *kwnames[] = { | |
13989 | (char *) "self",(char *) "path", NULL | |
13990 | }; | |
13991 | ||
13992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
13993 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
13994 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
13995 | { |
13996 | arg2 = wxString_in_helper(obj1); | |
13997 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13998 | temp2 = true; |
d55e5bfc RD |
13999 | } |
14000 | { | |
14001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14002 | (arg1)->SetPath((wxString const &)*arg2); | |
14003 | ||
14004 | wxPyEndAllowThreads(__tstate); | |
14005 | if (PyErr_Occurred()) SWIG_fail; | |
14006 | } | |
14007 | Py_INCREF(Py_None); resultobj = Py_None; | |
14008 | { | |
14009 | if (temp2) | |
14010 | delete arg2; | |
14011 | } | |
14012 | return resultobj; | |
14013 | fail: | |
14014 | { | |
14015 | if (temp2) | |
14016 | delete arg2; | |
14017 | } | |
14018 | return NULL; | |
14019 | } | |
14020 | ||
14021 | ||
c370783e | 14022 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14023 | PyObject *resultobj; |
14024 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14025 | wxString *arg2 = 0 ; | |
b411df4a | 14026 | bool temp2 = false ; |
d55e5bfc RD |
14027 | PyObject * obj0 = 0 ; |
14028 | PyObject * obj1 = 0 ; | |
14029 | char *kwnames[] = { | |
14030 | (char *) "self",(char *) "dir", NULL | |
14031 | }; | |
14032 | ||
14033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14034 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14035 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14036 | { |
14037 | arg2 = wxString_in_helper(obj1); | |
14038 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14039 | temp2 = true; |
d55e5bfc RD |
14040 | } |
14041 | { | |
14042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14043 | (arg1)->SetDirectory((wxString const &)*arg2); | |
14044 | ||
14045 | wxPyEndAllowThreads(__tstate); | |
14046 | if (PyErr_Occurred()) SWIG_fail; | |
14047 | } | |
14048 | Py_INCREF(Py_None); resultobj = Py_None; | |
14049 | { | |
14050 | if (temp2) | |
14051 | delete arg2; | |
14052 | } | |
14053 | return resultobj; | |
14054 | fail: | |
14055 | { | |
14056 | if (temp2) | |
14057 | delete arg2; | |
14058 | } | |
14059 | return NULL; | |
14060 | } | |
14061 | ||
14062 | ||
c370783e | 14063 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14064 | PyObject *resultobj; |
14065 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14066 | wxString *arg2 = 0 ; | |
b411df4a | 14067 | bool temp2 = false ; |
d55e5bfc RD |
14068 | PyObject * obj0 = 0 ; |
14069 | PyObject * obj1 = 0 ; | |
14070 | char *kwnames[] = { | |
14071 | (char *) "self",(char *) "name", NULL | |
14072 | }; | |
14073 | ||
14074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14075 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14076 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14077 | { |
14078 | arg2 = wxString_in_helper(obj1); | |
14079 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14080 | temp2 = true; |
d55e5bfc RD |
14081 | } |
14082 | { | |
14083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14084 | (arg1)->SetFilename((wxString const &)*arg2); | |
14085 | ||
14086 | wxPyEndAllowThreads(__tstate); | |
14087 | if (PyErr_Occurred()) SWIG_fail; | |
14088 | } | |
14089 | Py_INCREF(Py_None); resultobj = Py_None; | |
14090 | { | |
14091 | if (temp2) | |
14092 | delete arg2; | |
14093 | } | |
14094 | return resultobj; | |
14095 | fail: | |
14096 | { | |
14097 | if (temp2) | |
14098 | delete arg2; | |
14099 | } | |
14100 | return NULL; | |
14101 | } | |
14102 | ||
14103 | ||
c370783e | 14104 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14105 | PyObject *resultobj; |
14106 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14107 | wxString *arg2 = 0 ; | |
b411df4a | 14108 | bool temp2 = false ; |
d55e5bfc RD |
14109 | PyObject * obj0 = 0 ; |
14110 | PyObject * obj1 = 0 ; | |
14111 | char *kwnames[] = { | |
14112 | (char *) "self",(char *) "wildCard", NULL | |
14113 | }; | |
14114 | ||
14115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14116 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14117 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14118 | { |
14119 | arg2 = wxString_in_helper(obj1); | |
14120 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14121 | temp2 = true; |
d55e5bfc RD |
14122 | } |
14123 | { | |
14124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14125 | (arg1)->SetWildcard((wxString const &)*arg2); | |
14126 | ||
14127 | wxPyEndAllowThreads(__tstate); | |
14128 | if (PyErr_Occurred()) SWIG_fail; | |
14129 | } | |
14130 | Py_INCREF(Py_None); resultobj = Py_None; | |
14131 | { | |
14132 | if (temp2) | |
14133 | delete arg2; | |
14134 | } | |
14135 | return resultobj; | |
14136 | fail: | |
14137 | { | |
14138 | if (temp2) | |
14139 | delete arg2; | |
14140 | } | |
14141 | return NULL; | |
14142 | } | |
14143 | ||
14144 | ||
c370783e | 14145 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14146 | PyObject *resultobj; |
14147 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14148 | long arg2 ; | |
14149 | PyObject * obj0 = 0 ; | |
14150 | PyObject * obj1 = 0 ; | |
14151 | char *kwnames[] = { | |
14152 | (char *) "self",(char *) "style", NULL | |
14153 | }; | |
14154 | ||
14155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14156 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14157 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14158 | { | |
14159 | arg2 = (long)(SWIG_As_long(obj1)); | |
14160 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14161 | } | |
d55e5bfc RD |
14162 | { |
14163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14164 | (arg1)->SetStyle(arg2); | |
14165 | ||
14166 | wxPyEndAllowThreads(__tstate); | |
14167 | if (PyErr_Occurred()) SWIG_fail; | |
14168 | } | |
14169 | Py_INCREF(Py_None); resultobj = Py_None; | |
14170 | return resultobj; | |
14171 | fail: | |
14172 | return NULL; | |
14173 | } | |
14174 | ||
14175 | ||
c370783e | 14176 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14177 | PyObject *resultobj; |
14178 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14179 | int arg2 ; | |
14180 | PyObject * obj0 = 0 ; | |
14181 | PyObject * obj1 = 0 ; | |
14182 | char *kwnames[] = { | |
14183 | (char *) "self",(char *) "filterIndex", NULL | |
14184 | }; | |
14185 | ||
14186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14187 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14188 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14189 | { | |
14190 | arg2 = (int)(SWIG_As_int(obj1)); | |
14191 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14192 | } | |
d55e5bfc RD |
14193 | { |
14194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14195 | (arg1)->SetFilterIndex(arg2); | |
14196 | ||
14197 | wxPyEndAllowThreads(__tstate); | |
14198 | if (PyErr_Occurred()) SWIG_fail; | |
14199 | } | |
14200 | Py_INCREF(Py_None); resultobj = Py_None; | |
14201 | return resultobj; | |
14202 | fail: | |
14203 | return NULL; | |
14204 | } | |
14205 | ||
14206 | ||
c370783e | 14207 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14208 | PyObject *resultobj; |
14209 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14210 | wxString result; | |
14211 | PyObject * obj0 = 0 ; | |
14212 | char *kwnames[] = { | |
14213 | (char *) "self", NULL | |
14214 | }; | |
14215 | ||
14216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14217 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14218 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14219 | { |
14220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14221 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
14222 | ||
14223 | wxPyEndAllowThreads(__tstate); | |
14224 | if (PyErr_Occurred()) SWIG_fail; | |
14225 | } | |
14226 | { | |
14227 | #if wxUSE_UNICODE | |
14228 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14229 | #else | |
14230 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14231 | #endif | |
14232 | } | |
14233 | return resultobj; | |
14234 | fail: | |
14235 | return NULL; | |
14236 | } | |
14237 | ||
14238 | ||
c370783e | 14239 | static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14240 | PyObject *resultobj; |
14241 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14242 | wxString result; | |
14243 | PyObject * obj0 = 0 ; | |
14244 | char *kwnames[] = { | |
14245 | (char *) "self", NULL | |
14246 | }; | |
14247 | ||
14248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14249 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14250 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14251 | { |
14252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14253 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
14254 | ||
14255 | wxPyEndAllowThreads(__tstate); | |
14256 | if (PyErr_Occurred()) SWIG_fail; | |
14257 | } | |
14258 | { | |
14259 | #if wxUSE_UNICODE | |
14260 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14261 | #else | |
14262 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14263 | #endif | |
14264 | } | |
14265 | return resultobj; | |
14266 | fail: | |
14267 | return NULL; | |
14268 | } | |
14269 | ||
14270 | ||
c370783e | 14271 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14272 | PyObject *resultobj; |
14273 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14274 | wxString result; | |
14275 | PyObject * obj0 = 0 ; | |
14276 | char *kwnames[] = { | |
14277 | (char *) "self", NULL | |
14278 | }; | |
14279 | ||
14280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14281 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14282 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14283 | { |
14284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14285 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
14286 | ||
14287 | wxPyEndAllowThreads(__tstate); | |
14288 | if (PyErr_Occurred()) SWIG_fail; | |
14289 | } | |
14290 | { | |
14291 | #if wxUSE_UNICODE | |
14292 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14293 | #else | |
14294 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14295 | #endif | |
14296 | } | |
14297 | return resultobj; | |
14298 | fail: | |
14299 | return NULL; | |
14300 | } | |
14301 | ||
14302 | ||
c370783e | 14303 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14304 | PyObject *resultobj; |
14305 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14306 | wxString result; | |
14307 | PyObject * obj0 = 0 ; | |
14308 | char *kwnames[] = { | |
14309 | (char *) "self", NULL | |
14310 | }; | |
14311 | ||
14312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14313 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14314 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14315 | { |
14316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14317 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
14318 | ||
14319 | wxPyEndAllowThreads(__tstate); | |
14320 | if (PyErr_Occurred()) SWIG_fail; | |
14321 | } | |
14322 | { | |
14323 | #if wxUSE_UNICODE | |
14324 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14325 | #else | |
14326 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14327 | #endif | |
14328 | } | |
14329 | return resultobj; | |
14330 | fail: | |
14331 | return NULL; | |
14332 | } | |
14333 | ||
14334 | ||
c370783e | 14335 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14336 | PyObject *resultobj; |
14337 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14338 | wxString result; | |
14339 | PyObject * obj0 = 0 ; | |
14340 | char *kwnames[] = { | |
14341 | (char *) "self", NULL | |
14342 | }; | |
14343 | ||
14344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14345 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14346 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14347 | { |
14348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14349 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
14350 | ||
14351 | wxPyEndAllowThreads(__tstate); | |
14352 | if (PyErr_Occurred()) SWIG_fail; | |
14353 | } | |
14354 | { | |
14355 | #if wxUSE_UNICODE | |
14356 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14357 | #else | |
14358 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14359 | #endif | |
14360 | } | |
14361 | return resultobj; | |
14362 | fail: | |
14363 | return NULL; | |
14364 | } | |
14365 | ||
14366 | ||
c370783e | 14367 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14368 | PyObject *resultobj; |
14369 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14370 | long result; | |
14371 | PyObject * obj0 = 0 ; | |
14372 | char *kwnames[] = { | |
14373 | (char *) "self", NULL | |
14374 | }; | |
14375 | ||
14376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14377 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14378 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14379 | { |
14380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14381 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
14382 | ||
14383 | wxPyEndAllowThreads(__tstate); | |
14384 | if (PyErr_Occurred()) SWIG_fail; | |
14385 | } | |
36ed4f51 RD |
14386 | { |
14387 | resultobj = SWIG_From_long((long)(result)); | |
14388 | } | |
d55e5bfc RD |
14389 | return resultobj; |
14390 | fail: | |
14391 | return NULL; | |
14392 | } | |
14393 | ||
14394 | ||
c370783e | 14395 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14396 | PyObject *resultobj; |
14397 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14398 | int result; | |
14399 | PyObject * obj0 = 0 ; | |
14400 | char *kwnames[] = { | |
14401 | (char *) "self", NULL | |
14402 | }; | |
14403 | ||
14404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14405 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14406 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14407 | { |
14408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14409 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
14410 | ||
14411 | wxPyEndAllowThreads(__tstate); | |
14412 | if (PyErr_Occurred()) SWIG_fail; | |
14413 | } | |
36ed4f51 RD |
14414 | { |
14415 | resultobj = SWIG_From_int((int)(result)); | |
14416 | } | |
d55e5bfc RD |
14417 | return resultobj; |
14418 | fail: | |
14419 | return NULL; | |
14420 | } | |
14421 | ||
14422 | ||
c370783e | 14423 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14424 | PyObject *resultobj; |
14425 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14426 | PyObject *result; | |
14427 | PyObject * obj0 = 0 ; | |
14428 | char *kwnames[] = { | |
14429 | (char *) "self", NULL | |
14430 | }; | |
14431 | ||
14432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14433 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14434 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14435 | { |
14436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14437 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
14438 | ||
14439 | wxPyEndAllowThreads(__tstate); | |
14440 | if (PyErr_Occurred()) SWIG_fail; | |
14441 | } | |
14442 | resultobj = result; | |
14443 | return resultobj; | |
14444 | fail: | |
14445 | return NULL; | |
14446 | } | |
14447 | ||
14448 | ||
c370783e | 14449 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14450 | PyObject *resultobj; |
14451 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
14452 | PyObject *result; | |
14453 | PyObject * obj0 = 0 ; | |
14454 | char *kwnames[] = { | |
14455 | (char *) "self", NULL | |
14456 | }; | |
14457 | ||
14458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14459 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); |
14460 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14461 | { |
14462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14463 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
14464 | ||
14465 | wxPyEndAllowThreads(__tstate); | |
14466 | if (PyErr_Occurred()) SWIG_fail; | |
14467 | } | |
14468 | resultobj = result; | |
14469 | return resultobj; | |
14470 | fail: | |
14471 | return NULL; | |
14472 | } | |
14473 | ||
14474 | ||
c370783e | 14475 | static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14476 | PyObject *obj; |
14477 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14478 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
14479 | Py_INCREF(obj); | |
14480 | return Py_BuildValue((char *)""); | |
14481 | } | |
c370783e | 14482 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14483 | PyObject *resultobj; |
14484 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14485 | wxString *arg2 = 0 ; | |
14486 | wxString *arg3 = 0 ; | |
14487 | int arg4 = (int) 0 ; | |
bfddbb17 | 14488 | wxString *arg5 = (wxString *) NULL ; |
d55e5bfc RD |
14489 | long arg6 = (long) wxCHOICEDLG_STYLE ; |
14490 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
14491 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
14492 | wxMultiChoiceDialog *result; | |
b411df4a RD |
14493 | bool temp2 = false ; |
14494 | bool temp3 = false ; | |
36ed4f51 | 14495 | wxPoint temp7 ; |
d55e5bfc RD |
14496 | PyObject * obj0 = 0 ; |
14497 | PyObject * obj1 = 0 ; | |
14498 | PyObject * obj2 = 0 ; | |
14499 | PyObject * obj3 = 0 ; | |
14500 | PyObject * obj4 = 0 ; | |
14501 | PyObject * obj5 = 0 ; | |
14502 | char *kwnames[] = { | |
14503 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
14504 | }; | |
14505 | ||
14506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
14507 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14508 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14509 | { |
14510 | arg2 = wxString_in_helper(obj1); | |
14511 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14512 | temp2 = true; |
d55e5bfc RD |
14513 | } |
14514 | { | |
14515 | arg3 = wxString_in_helper(obj2); | |
14516 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 14517 | temp3 = true; |
d55e5bfc RD |
14518 | } |
14519 | if (obj3) { | |
14520 | { | |
14521 | arg4 = PyList_Size(obj3); | |
14522 | arg5 = wxString_LIST_helper(obj3); | |
14523 | if (arg5 == NULL) SWIG_fail; | |
14524 | } | |
14525 | } | |
14526 | if (obj4) { | |
36ed4f51 RD |
14527 | { |
14528 | arg6 = (long)(SWIG_As_long(obj4)); | |
14529 | if (SWIG_arg_fail(6)) SWIG_fail; | |
14530 | } | |
d55e5bfc RD |
14531 | } |
14532 | if (obj5) { | |
14533 | { | |
36ed4f51 | 14534 | arg7 = &temp7; |
d55e5bfc RD |
14535 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; |
14536 | } | |
14537 | } | |
14538 | { | |
0439c23b | 14539 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14541 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
14542 | ||
14543 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14544 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14545 | } |
14546 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); | |
14547 | { | |
14548 | if (temp2) | |
14549 | delete arg2; | |
14550 | } | |
14551 | { | |
14552 | if (temp3) | |
14553 | delete arg3; | |
14554 | } | |
14555 | { | |
14556 | if (arg5) delete [] arg5; | |
14557 | } | |
14558 | return resultobj; | |
14559 | fail: | |
14560 | { | |
14561 | if (temp2) | |
14562 | delete arg2; | |
14563 | } | |
14564 | { | |
14565 | if (temp3) | |
14566 | delete arg3; | |
14567 | } | |
14568 | { | |
14569 | if (arg5) delete [] arg5; | |
14570 | } | |
14571 | return NULL; | |
14572 | } | |
14573 | ||
14574 | ||
c370783e | 14575 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14576 | PyObject *resultobj; |
14577 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
14578 | wxArrayInt *arg2 = 0 ; | |
b411df4a | 14579 | bool temp2 = false ; |
d55e5bfc RD |
14580 | PyObject * obj0 = 0 ; |
14581 | PyObject * obj1 = 0 ; | |
14582 | char *kwnames[] = { | |
14583 | (char *) "self",(char *) "selections", NULL | |
14584 | }; | |
14585 | ||
14586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14587 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14588 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14589 | { |
14590 | if (! PySequence_Check(obj1)) { | |
14591 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
14592 | SWIG_fail; | |
14593 | } | |
14594 | arg2 = new wxArrayInt; | |
b411df4a | 14595 | temp2 = true; |
d55e5bfc RD |
14596 | int i, len=PySequence_Length(obj1); |
14597 | for (i=0; i<len; i++) { | |
14598 | PyObject* item = PySequence_GetItem(obj1, i); | |
14599 | PyObject* number = PyNumber_Int(item); | |
14600 | arg2->Add(PyInt_AS_LONG(number)); | |
14601 | Py_DECREF(item); | |
14602 | Py_DECREF(number); | |
14603 | } | |
14604 | } | |
14605 | { | |
14606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14607 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
14608 | ||
14609 | wxPyEndAllowThreads(__tstate); | |
14610 | if (PyErr_Occurred()) SWIG_fail; | |
14611 | } | |
14612 | Py_INCREF(Py_None); resultobj = Py_None; | |
14613 | { | |
14614 | if (temp2) delete arg2; | |
14615 | } | |
14616 | return resultobj; | |
14617 | fail: | |
14618 | { | |
14619 | if (temp2) delete arg2; | |
14620 | } | |
14621 | return NULL; | |
14622 | } | |
14623 | ||
14624 | ||
c370783e | 14625 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14626 | PyObject *resultobj; |
14627 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
14628 | PyObject *result; | |
14629 | PyObject * obj0 = 0 ; | |
14630 | char *kwnames[] = { | |
14631 | (char *) "self", NULL | |
14632 | }; | |
14633 | ||
14634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14635 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14636 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14637 | { |
14638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14639 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
14640 | ||
14641 | wxPyEndAllowThreads(__tstate); | |
14642 | if (PyErr_Occurred()) SWIG_fail; | |
14643 | } | |
14644 | resultobj = result; | |
14645 | return resultobj; | |
14646 | fail: | |
14647 | return NULL; | |
14648 | } | |
14649 | ||
14650 | ||
c370783e | 14651 | static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14652 | PyObject *obj; |
14653 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14654 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
14655 | Py_INCREF(obj); | |
14656 | return Py_BuildValue((char *)""); | |
14657 | } | |
c370783e | 14658 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14659 | PyObject *resultobj; |
14660 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14661 | wxString *arg2 = 0 ; | |
14662 | wxString *arg3 = 0 ; | |
14663 | int arg4 ; | |
14664 | wxString *arg5 = (wxString *) 0 ; | |
14665 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
14666 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
14667 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
14668 | wxSingleChoiceDialog *result; | |
b411df4a RD |
14669 | bool temp2 = false ; |
14670 | bool temp3 = false ; | |
36ed4f51 | 14671 | wxPoint temp7 ; |
d55e5bfc RD |
14672 | PyObject * obj0 = 0 ; |
14673 | PyObject * obj1 = 0 ; | |
14674 | PyObject * obj2 = 0 ; | |
14675 | PyObject * obj3 = 0 ; | |
14676 | PyObject * obj4 = 0 ; | |
14677 | PyObject * obj5 = 0 ; | |
14678 | char *kwnames[] = { | |
14679 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
14680 | }; | |
14681 | ||
14682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
14683 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14684 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14685 | { |
14686 | arg2 = wxString_in_helper(obj1); | |
14687 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14688 | temp2 = true; |
d55e5bfc RD |
14689 | } |
14690 | { | |
14691 | arg3 = wxString_in_helper(obj2); | |
14692 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 14693 | temp3 = true; |
d55e5bfc RD |
14694 | } |
14695 | { | |
14696 | arg4 = PyList_Size(obj3); | |
14697 | arg5 = wxString_LIST_helper(obj3); | |
14698 | if (arg5 == NULL) SWIG_fail; | |
14699 | } | |
14700 | if (obj4) { | |
36ed4f51 RD |
14701 | { |
14702 | arg6 = (long)(SWIG_As_long(obj4)); | |
14703 | if (SWIG_arg_fail(6)) SWIG_fail; | |
14704 | } | |
d55e5bfc RD |
14705 | } |
14706 | if (obj5) { | |
14707 | { | |
36ed4f51 | 14708 | arg7 = &temp7; |
d55e5bfc RD |
14709 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; |
14710 | } | |
14711 | } | |
14712 | { | |
0439c23b | 14713 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14715 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
14716 | ||
14717 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14718 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14719 | } |
14720 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); | |
14721 | { | |
14722 | if (temp2) | |
14723 | delete arg2; | |
14724 | } | |
14725 | { | |
14726 | if (temp3) | |
14727 | delete arg3; | |
14728 | } | |
14729 | { | |
14730 | if (arg5) delete [] arg5; | |
14731 | } | |
14732 | return resultobj; | |
14733 | fail: | |
14734 | { | |
14735 | if (temp2) | |
14736 | delete arg2; | |
14737 | } | |
14738 | { | |
14739 | if (temp3) | |
14740 | delete arg3; | |
14741 | } | |
14742 | { | |
14743 | if (arg5) delete [] arg5; | |
14744 | } | |
14745 | return NULL; | |
14746 | } | |
14747 | ||
14748 | ||
c370783e | 14749 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14750 | PyObject *resultobj; |
14751 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
14752 | int result; | |
14753 | PyObject * obj0 = 0 ; | |
14754 | char *kwnames[] = { | |
14755 | (char *) "self", NULL | |
14756 | }; | |
14757 | ||
14758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14759 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14760 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14761 | { |
14762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14763 | result = (int)(arg1)->GetSelection(); | |
14764 | ||
14765 | wxPyEndAllowThreads(__tstate); | |
14766 | if (PyErr_Occurred()) SWIG_fail; | |
14767 | } | |
36ed4f51 RD |
14768 | { |
14769 | resultobj = SWIG_From_int((int)(result)); | |
14770 | } | |
d55e5bfc RD |
14771 | return resultobj; |
14772 | fail: | |
14773 | return NULL; | |
14774 | } | |
14775 | ||
14776 | ||
c370783e | 14777 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14778 | PyObject *resultobj; |
14779 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
14780 | wxString result; | |
14781 | PyObject * obj0 = 0 ; | |
14782 | char *kwnames[] = { | |
14783 | (char *) "self", NULL | |
14784 | }; | |
14785 | ||
14786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14787 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14788 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14789 | { |
14790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14791 | result = (arg1)->GetStringSelection(); | |
14792 | ||
14793 | wxPyEndAllowThreads(__tstate); | |
14794 | if (PyErr_Occurred()) SWIG_fail; | |
14795 | } | |
14796 | { | |
14797 | #if wxUSE_UNICODE | |
14798 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14799 | #else | |
14800 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14801 | #endif | |
14802 | } | |
14803 | return resultobj; | |
14804 | fail: | |
14805 | return NULL; | |
14806 | } | |
14807 | ||
14808 | ||
c370783e | 14809 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14810 | PyObject *resultobj; |
14811 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
14812 | int arg2 ; | |
14813 | PyObject * obj0 = 0 ; | |
14814 | PyObject * obj1 = 0 ; | |
14815 | char *kwnames[] = { | |
14816 | (char *) "self",(char *) "sel", NULL | |
14817 | }; | |
14818 | ||
14819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14820 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); |
14821 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14822 | { | |
14823 | arg2 = (int)(SWIG_As_int(obj1)); | |
14824 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14825 | } | |
d55e5bfc RD |
14826 | { |
14827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14828 | (arg1)->SetSelection(arg2); | |
14829 | ||
14830 | wxPyEndAllowThreads(__tstate); | |
14831 | if (PyErr_Occurred()) SWIG_fail; | |
14832 | } | |
14833 | Py_INCREF(Py_None); resultobj = Py_None; | |
14834 | return resultobj; | |
14835 | fail: | |
14836 | return NULL; | |
14837 | } | |
14838 | ||
14839 | ||
c370783e | 14840 | static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
14841 | PyObject *obj; |
14842 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14843 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
14844 | Py_INCREF(obj); | |
14845 | return Py_BuildValue((char *)""); | |
14846 | } | |
c370783e | 14847 | static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14848 | PyObject *resultobj; |
14849 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14850 | wxString *arg2 = 0 ; | |
14851 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
14852 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14853 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
14854 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
070c48b4 | 14855 | long arg5 = (long) wxTextEntryDialogStyle ; |
d55e5bfc RD |
14856 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
14857 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
14858 | wxTextEntryDialog *result; | |
b411df4a RD |
14859 | bool temp2 = false ; |
14860 | bool temp3 = false ; | |
14861 | bool temp4 = false ; | |
d55e5bfc RD |
14862 | wxPoint temp6 ; |
14863 | PyObject * obj0 = 0 ; | |
14864 | PyObject * obj1 = 0 ; | |
14865 | PyObject * obj2 = 0 ; | |
14866 | PyObject * obj3 = 0 ; | |
14867 | PyObject * obj4 = 0 ; | |
14868 | PyObject * obj5 = 0 ; | |
14869 | char *kwnames[] = { | |
14870 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
14871 | }; | |
14872 | ||
14873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
14874 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
14875 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14876 | { |
14877 | arg2 = wxString_in_helper(obj1); | |
14878 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14879 | temp2 = true; |
d55e5bfc RD |
14880 | } |
14881 | if (obj2) { | |
14882 | { | |
14883 | arg3 = wxString_in_helper(obj2); | |
14884 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 14885 | temp3 = true; |
d55e5bfc RD |
14886 | } |
14887 | } | |
14888 | if (obj3) { | |
14889 | { | |
14890 | arg4 = wxString_in_helper(obj3); | |
14891 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 14892 | temp4 = true; |
d55e5bfc RD |
14893 | } |
14894 | } | |
14895 | if (obj4) { | |
36ed4f51 RD |
14896 | { |
14897 | arg5 = (long)(SWIG_As_long(obj4)); | |
14898 | if (SWIG_arg_fail(5)) SWIG_fail; | |
14899 | } | |
d55e5bfc RD |
14900 | } |
14901 | if (obj5) { | |
14902 | { | |
14903 | arg6 = &temp6; | |
14904 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
14905 | } | |
14906 | } | |
14907 | { | |
0439c23b | 14908 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
14909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14910 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
14911 | ||
14912 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14913 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
14914 | } |
14915 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); | |
14916 | { | |
14917 | if (temp2) | |
14918 | delete arg2; | |
14919 | } | |
14920 | { | |
14921 | if (temp3) | |
14922 | delete arg3; | |
14923 | } | |
14924 | { | |
14925 | if (temp4) | |
14926 | delete arg4; | |
14927 | } | |
14928 | return resultobj; | |
14929 | fail: | |
14930 | { | |
14931 | if (temp2) | |
14932 | delete arg2; | |
14933 | } | |
14934 | { | |
14935 | if (temp3) | |
14936 | delete arg3; | |
14937 | } | |
14938 | { | |
14939 | if (temp4) | |
14940 | delete arg4; | |
14941 | } | |
14942 | return NULL; | |
14943 | } | |
14944 | ||
14945 | ||
c370783e | 14946 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14947 | PyObject *resultobj; |
14948 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
14949 | wxString result; | |
14950 | PyObject * obj0 = 0 ; | |
14951 | char *kwnames[] = { | |
14952 | (char *) "self", NULL | |
14953 | }; | |
14954 | ||
14955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
14956 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0); |
14957 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14958 | { |
14959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14960 | result = (arg1)->GetValue(); | |
14961 | ||
14962 | wxPyEndAllowThreads(__tstate); | |
14963 | if (PyErr_Occurred()) SWIG_fail; | |
14964 | } | |
14965 | { | |
14966 | #if wxUSE_UNICODE | |
14967 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14968 | #else | |
14969 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14970 | #endif | |
14971 | } | |
14972 | return resultobj; | |
14973 | fail: | |
14974 | return NULL; | |
14975 | } | |
14976 | ||
14977 | ||
c370783e | 14978 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
14979 | PyObject *resultobj; |
14980 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
14981 | wxString *arg2 = 0 ; | |
b411df4a | 14982 | bool temp2 = false ; |
d55e5bfc RD |
14983 | PyObject * obj0 = 0 ; |
14984 | PyObject * obj1 = 0 ; | |
14985 | char *kwnames[] = { | |
14986 | (char *) "self",(char *) "value", NULL | |
14987 | }; | |
14988 | ||
14989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
14990 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0); |
14991 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
14992 | { |
14993 | arg2 = wxString_in_helper(obj1); | |
14994 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14995 | temp2 = true; |
d55e5bfc RD |
14996 | } |
14997 | { | |
14998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14999 | (arg1)->SetValue((wxString const &)*arg2); | |
15000 | ||
15001 | wxPyEndAllowThreads(__tstate); | |
15002 | if (PyErr_Occurred()) SWIG_fail; | |
15003 | } | |
15004 | Py_INCREF(Py_None); resultobj = Py_None; | |
15005 | { | |
15006 | if (temp2) | |
15007 | delete arg2; | |
15008 | } | |
15009 | return resultobj; | |
15010 | fail: | |
15011 | { | |
15012 | if (temp2) | |
15013 | delete arg2; | |
15014 | } | |
15015 | return NULL; | |
15016 | } | |
15017 | ||
15018 | ||
c370783e | 15019 | static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15020 | PyObject *obj; |
15021 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15022 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
15023 | Py_INCREF(obj); | |
15024 | return Py_BuildValue((char *)""); | |
15025 | } | |
070c48b4 RD |
15026 | static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) { |
15027 | PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only."); | |
15028 | return 1; | |
15029 | } | |
15030 | ||
15031 | ||
36ed4f51 | 15032 | static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) { |
070c48b4 RD |
15033 | PyObject *pyobj; |
15034 | ||
15035 | { | |
15036 | #if wxUSE_UNICODE | |
15037 | pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len()); | |
15038 | #else | |
15039 | pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len()); | |
15040 | #endif | |
15041 | } | |
15042 | return pyobj; | |
15043 | } | |
15044 | ||
15045 | ||
15046 | static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { | |
15047 | PyObject *resultobj; | |
15048 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15049 | wxString *arg2 = 0 ; | |
15050 | wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ; | |
15051 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15052 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15053 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
15054 | long arg5 = (long) wxTextEntryDialogStyle ; | |
15055 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
15056 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
15057 | wxPasswordEntryDialog *result; | |
15058 | bool temp2 = false ; | |
15059 | bool temp3 = false ; | |
15060 | bool temp4 = false ; | |
15061 | wxPoint temp6 ; | |
15062 | PyObject * obj0 = 0 ; | |
15063 | PyObject * obj1 = 0 ; | |
15064 | PyObject * obj2 = 0 ; | |
15065 | PyObject * obj3 = 0 ; | |
15066 | PyObject * obj4 = 0 ; | |
15067 | PyObject * obj5 = 0 ; | |
15068 | char *kwnames[] = { | |
15069 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL | |
15070 | }; | |
15071 | ||
15072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
15073 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15074 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
15075 | { |
15076 | arg2 = wxString_in_helper(obj1); | |
15077 | if (arg2 == NULL) SWIG_fail; | |
15078 | temp2 = true; | |
15079 | } | |
15080 | if (obj2) { | |
15081 | { | |
15082 | arg3 = wxString_in_helper(obj2); | |
15083 | if (arg3 == NULL) SWIG_fail; | |
15084 | temp3 = true; | |
15085 | } | |
15086 | } | |
15087 | if (obj3) { | |
15088 | { | |
15089 | arg4 = wxString_in_helper(obj3); | |
15090 | if (arg4 == NULL) SWIG_fail; | |
15091 | temp4 = true; | |
15092 | } | |
15093 | } | |
15094 | if (obj4) { | |
36ed4f51 RD |
15095 | { |
15096 | arg5 = (long)(SWIG_As_long(obj4)); | |
15097 | if (SWIG_arg_fail(5)) SWIG_fail; | |
15098 | } | |
070c48b4 RD |
15099 | } |
15100 | if (obj5) { | |
15101 | { | |
15102 | arg6 = &temp6; | |
15103 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
15104 | } | |
15105 | } | |
15106 | { | |
15107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15108 | result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
15109 | ||
15110 | wxPyEndAllowThreads(__tstate); | |
15111 | if (PyErr_Occurred()) SWIG_fail; | |
15112 | } | |
15113 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1); | |
15114 | { | |
15115 | if (temp2) | |
15116 | delete arg2; | |
15117 | } | |
15118 | { | |
15119 | if (temp3) | |
15120 | delete arg3; | |
15121 | } | |
15122 | { | |
15123 | if (temp4) | |
15124 | delete arg4; | |
15125 | } | |
15126 | return resultobj; | |
15127 | fail: | |
15128 | { | |
15129 | if (temp2) | |
15130 | delete arg2; | |
15131 | } | |
15132 | { | |
15133 | if (temp3) | |
15134 | delete arg3; | |
15135 | } | |
15136 | { | |
15137 | if (temp4) | |
15138 | delete arg4; | |
15139 | } | |
15140 | return NULL; | |
15141 | } | |
15142 | ||
15143 | ||
15144 | static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) { | |
15145 | PyObject *obj; | |
15146 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15147 | SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj); | |
15148 | Py_INCREF(obj); | |
15149 | return Py_BuildValue((char *)""); | |
15150 | } | |
c370783e | 15151 | static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15152 | PyObject *resultobj; |
15153 | wxFontData *result; | |
15154 | char *kwnames[] = { | |
15155 | NULL | |
15156 | }; | |
15157 | ||
15158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
15159 | { | |
15160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15161 | result = (wxFontData *)new wxFontData(); | |
15162 | ||
15163 | wxPyEndAllowThreads(__tstate); | |
15164 | if (PyErr_Occurred()) SWIG_fail; | |
15165 | } | |
15166 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); | |
15167 | return resultobj; | |
15168 | fail: | |
15169 | return NULL; | |
15170 | } | |
15171 | ||
15172 | ||
c370783e | 15173 | static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15174 | PyObject *resultobj; |
15175 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15176 | PyObject * obj0 = 0 ; | |
15177 | char *kwnames[] = { | |
15178 | (char *) "self", NULL | |
15179 | }; | |
15180 | ||
15181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15182 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15183 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15184 | { |
15185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15186 | delete arg1; | |
15187 | ||
15188 | wxPyEndAllowThreads(__tstate); | |
15189 | if (PyErr_Occurred()) SWIG_fail; | |
15190 | } | |
15191 | Py_INCREF(Py_None); resultobj = Py_None; | |
15192 | return resultobj; | |
15193 | fail: | |
15194 | return NULL; | |
15195 | } | |
15196 | ||
15197 | ||
c370783e | 15198 | static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15199 | PyObject *resultobj; |
15200 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15201 | bool arg2 ; | |
15202 | PyObject * obj0 = 0 ; | |
15203 | PyObject * obj1 = 0 ; | |
15204 | char *kwnames[] = { | |
15205 | (char *) "self",(char *) "enable", NULL | |
15206 | }; | |
15207 | ||
15208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15209 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15210 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15211 | { | |
15212 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15213 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15214 | } | |
d55e5bfc RD |
15215 | { |
15216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15217 | (arg1)->EnableEffects(arg2); | |
15218 | ||
15219 | wxPyEndAllowThreads(__tstate); | |
15220 | if (PyErr_Occurred()) SWIG_fail; | |
15221 | } | |
15222 | Py_INCREF(Py_None); resultobj = Py_None; | |
15223 | return resultobj; | |
15224 | fail: | |
15225 | return NULL; | |
15226 | } | |
15227 | ||
15228 | ||
c370783e | 15229 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15230 | PyObject *resultobj; |
15231 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15232 | bool result; | |
15233 | PyObject * obj0 = 0 ; | |
15234 | char *kwnames[] = { | |
15235 | (char *) "self", NULL | |
15236 | }; | |
15237 | ||
15238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15239 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15240 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15241 | { |
15242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15243 | result = (bool)(arg1)->GetAllowSymbols(); | |
15244 | ||
15245 | wxPyEndAllowThreads(__tstate); | |
15246 | if (PyErr_Occurred()) SWIG_fail; | |
15247 | } | |
15248 | { | |
15249 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15250 | } | |
15251 | return resultobj; | |
15252 | fail: | |
15253 | return NULL; | |
15254 | } | |
15255 | ||
15256 | ||
c370783e | 15257 | static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15258 | PyObject *resultobj; |
15259 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15260 | wxColour result; | |
15261 | PyObject * obj0 = 0 ; | |
15262 | char *kwnames[] = { | |
15263 | (char *) "self", NULL | |
15264 | }; | |
15265 | ||
15266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15267 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15268 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15269 | { |
15270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15271 | result = (arg1)->GetColour(); | |
15272 | ||
15273 | wxPyEndAllowThreads(__tstate); | |
15274 | if (PyErr_Occurred()) SWIG_fail; | |
15275 | } | |
15276 | { | |
15277 | wxColour * resultptr; | |
36ed4f51 | 15278 | resultptr = new wxColour((wxColour &)(result)); |
d55e5bfc RD |
15279 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
15280 | } | |
15281 | return resultobj; | |
15282 | fail: | |
15283 | return NULL; | |
15284 | } | |
15285 | ||
15286 | ||
c370783e | 15287 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15288 | PyObject *resultobj; |
15289 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15290 | wxFont result; | |
15291 | PyObject * obj0 = 0 ; | |
15292 | char *kwnames[] = { | |
15293 | (char *) "self", NULL | |
15294 | }; | |
15295 | ||
15296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15297 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15298 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15299 | { |
15300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15301 | result = (arg1)->GetChosenFont(); | |
15302 | ||
15303 | wxPyEndAllowThreads(__tstate); | |
15304 | if (PyErr_Occurred()) SWIG_fail; | |
15305 | } | |
15306 | { | |
15307 | wxFont * resultptr; | |
36ed4f51 | 15308 | resultptr = new wxFont((wxFont &)(result)); |
d55e5bfc RD |
15309 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
15310 | } | |
15311 | return resultobj; | |
15312 | fail: | |
15313 | return NULL; | |
15314 | } | |
15315 | ||
15316 | ||
c370783e | 15317 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15318 | PyObject *resultobj; |
15319 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15320 | bool result; | |
15321 | PyObject * obj0 = 0 ; | |
15322 | char *kwnames[] = { | |
15323 | (char *) "self", NULL | |
15324 | }; | |
15325 | ||
15326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15327 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15328 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15329 | { |
15330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15331 | result = (bool)(arg1)->GetEnableEffects(); | |
15332 | ||
15333 | wxPyEndAllowThreads(__tstate); | |
15334 | if (PyErr_Occurred()) SWIG_fail; | |
15335 | } | |
15336 | { | |
15337 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15338 | } | |
15339 | return resultobj; | |
15340 | fail: | |
15341 | return NULL; | |
15342 | } | |
15343 | ||
15344 | ||
c370783e | 15345 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15346 | PyObject *resultobj; |
15347 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15348 | wxFont result; | |
15349 | PyObject * obj0 = 0 ; | |
15350 | char *kwnames[] = { | |
15351 | (char *) "self", NULL | |
15352 | }; | |
15353 | ||
15354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15355 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15356 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15357 | { |
15358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15359 | result = (arg1)->GetInitialFont(); | |
15360 | ||
15361 | wxPyEndAllowThreads(__tstate); | |
15362 | if (PyErr_Occurred()) SWIG_fail; | |
15363 | } | |
15364 | { | |
15365 | wxFont * resultptr; | |
36ed4f51 | 15366 | resultptr = new wxFont((wxFont &)(result)); |
d55e5bfc RD |
15367 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
15368 | } | |
15369 | return resultobj; | |
15370 | fail: | |
15371 | return NULL; | |
15372 | } | |
15373 | ||
15374 | ||
c370783e | 15375 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15376 | PyObject *resultobj; |
15377 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15378 | bool result; | |
15379 | PyObject * obj0 = 0 ; | |
15380 | char *kwnames[] = { | |
15381 | (char *) "self", NULL | |
15382 | }; | |
15383 | ||
15384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15385 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15386 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15387 | { |
15388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15389 | result = (bool)(arg1)->GetShowHelp(); | |
15390 | ||
15391 | wxPyEndAllowThreads(__tstate); | |
15392 | if (PyErr_Occurred()) SWIG_fail; | |
15393 | } | |
15394 | { | |
15395 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15396 | } | |
15397 | return resultobj; | |
15398 | fail: | |
15399 | return NULL; | |
15400 | } | |
15401 | ||
15402 | ||
c370783e | 15403 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15404 | PyObject *resultobj; |
15405 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15406 | bool arg2 ; | |
15407 | PyObject * obj0 = 0 ; | |
15408 | PyObject * obj1 = 0 ; | |
15409 | char *kwnames[] = { | |
15410 | (char *) "self",(char *) "allowSymbols", NULL | |
15411 | }; | |
15412 | ||
15413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15414 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15415 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15416 | { | |
15417 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15418 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15419 | } | |
d55e5bfc RD |
15420 | { |
15421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15422 | (arg1)->SetAllowSymbols(arg2); | |
15423 | ||
15424 | wxPyEndAllowThreads(__tstate); | |
15425 | if (PyErr_Occurred()) SWIG_fail; | |
15426 | } | |
15427 | Py_INCREF(Py_None); resultobj = Py_None; | |
15428 | return resultobj; | |
15429 | fail: | |
15430 | return NULL; | |
15431 | } | |
15432 | ||
15433 | ||
c370783e | 15434 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15435 | PyObject *resultobj; |
15436 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15437 | wxFont *arg2 = 0 ; | |
15438 | PyObject * obj0 = 0 ; | |
15439 | PyObject * obj1 = 0 ; | |
15440 | char *kwnames[] = { | |
15441 | (char *) "self",(char *) "font", NULL | |
15442 | }; | |
15443 | ||
15444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15445 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15446 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15447 | { | |
15448 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
15449 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15450 | if (arg2 == NULL) { | |
15451 | SWIG_null_ref("wxFont"); | |
15452 | } | |
15453 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
15454 | } |
15455 | { | |
15456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15457 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
15458 | ||
15459 | wxPyEndAllowThreads(__tstate); | |
15460 | if (PyErr_Occurred()) SWIG_fail; | |
15461 | } | |
15462 | Py_INCREF(Py_None); resultobj = Py_None; | |
15463 | return resultobj; | |
15464 | fail: | |
15465 | return NULL; | |
15466 | } | |
15467 | ||
15468 | ||
c370783e | 15469 | static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15470 | PyObject *resultobj; |
15471 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15472 | wxColour *arg2 = 0 ; | |
15473 | wxColour temp2 ; | |
15474 | PyObject * obj0 = 0 ; | |
15475 | PyObject * obj1 = 0 ; | |
15476 | char *kwnames[] = { | |
15477 | (char *) "self",(char *) "colour", NULL | |
15478 | }; | |
15479 | ||
15480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15481 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15482 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15483 | { |
15484 | arg2 = &temp2; | |
15485 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
15486 | } | |
15487 | { | |
15488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15489 | (arg1)->SetColour((wxColour const &)*arg2); | |
15490 | ||
15491 | wxPyEndAllowThreads(__tstate); | |
15492 | if (PyErr_Occurred()) SWIG_fail; | |
15493 | } | |
15494 | Py_INCREF(Py_None); resultobj = Py_None; | |
15495 | return resultobj; | |
15496 | fail: | |
15497 | return NULL; | |
15498 | } | |
15499 | ||
15500 | ||
c370783e | 15501 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15502 | PyObject *resultobj; |
15503 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15504 | wxFont *arg2 = 0 ; | |
15505 | PyObject * obj0 = 0 ; | |
15506 | PyObject * obj1 = 0 ; | |
15507 | char *kwnames[] = { | |
15508 | (char *) "self",(char *) "font", NULL | |
15509 | }; | |
15510 | ||
15511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 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 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
15516 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15517 | if (arg2 == NULL) { | |
15518 | SWIG_null_ref("wxFont"); | |
15519 | } | |
15520 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
15521 | } |
15522 | { | |
15523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15524 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
15525 | ||
15526 | wxPyEndAllowThreads(__tstate); | |
15527 | if (PyErr_Occurred()) SWIG_fail; | |
15528 | } | |
15529 | Py_INCREF(Py_None); resultobj = Py_None; | |
15530 | return resultobj; | |
15531 | fail: | |
15532 | return NULL; | |
15533 | } | |
15534 | ||
15535 | ||
c370783e | 15536 | static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15537 | PyObject *resultobj; |
15538 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15539 | int arg2 ; | |
15540 | int arg3 ; | |
15541 | PyObject * obj0 = 0 ; | |
15542 | PyObject * obj1 = 0 ; | |
15543 | PyObject * obj2 = 0 ; | |
15544 | char *kwnames[] = { | |
15545 | (char *) "self",(char *) "min",(char *) "max", NULL | |
15546 | }; | |
15547 | ||
15548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
15549 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15550 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15551 | { | |
15552 | arg2 = (int)(SWIG_As_int(obj1)); | |
15553 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15554 | } | |
15555 | { | |
15556 | arg3 = (int)(SWIG_As_int(obj2)); | |
15557 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15558 | } | |
d55e5bfc RD |
15559 | { |
15560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15561 | (arg1)->SetRange(arg2,arg3); | |
15562 | ||
15563 | wxPyEndAllowThreads(__tstate); | |
15564 | if (PyErr_Occurred()) SWIG_fail; | |
15565 | } | |
15566 | Py_INCREF(Py_None); resultobj = Py_None; | |
15567 | return resultobj; | |
15568 | fail: | |
15569 | return NULL; | |
15570 | } | |
15571 | ||
15572 | ||
c370783e | 15573 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15574 | PyObject *resultobj; |
15575 | wxFontData *arg1 = (wxFontData *) 0 ; | |
15576 | bool arg2 ; | |
15577 | PyObject * obj0 = 0 ; | |
15578 | PyObject * obj1 = 0 ; | |
15579 | char *kwnames[] = { | |
15580 | (char *) "self",(char *) "showHelp", NULL | |
15581 | }; | |
15582 | ||
15583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15584 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); |
15585 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15586 | { | |
15587 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15588 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15589 | } | |
d55e5bfc RD |
15590 | { |
15591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15592 | (arg1)->SetShowHelp(arg2); | |
15593 | ||
15594 | wxPyEndAllowThreads(__tstate); | |
15595 | if (PyErr_Occurred()) SWIG_fail; | |
15596 | } | |
15597 | Py_INCREF(Py_None); resultobj = Py_None; | |
15598 | return resultobj; | |
15599 | fail: | |
15600 | return NULL; | |
15601 | } | |
15602 | ||
15603 | ||
c370783e | 15604 | static PyObject * FontData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15605 | PyObject *obj; |
15606 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15607 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
15608 | Py_INCREF(obj); | |
15609 | return Py_BuildValue((char *)""); | |
15610 | } | |
c370783e | 15611 | static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15612 | PyObject *resultobj; |
15613 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15614 | wxFontData *arg2 = 0 ; | |
15615 | wxFontDialog *result; | |
15616 | PyObject * obj0 = 0 ; | |
15617 | PyObject * obj1 = 0 ; | |
15618 | char *kwnames[] = { | |
15619 | (char *) "parent",(char *) "data", NULL | |
15620 | }; | |
15621 | ||
15622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
15623 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15624 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15625 | { | |
15626 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); | |
15627 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15628 | if (arg2 == NULL) { | |
15629 | SWIG_null_ref("wxFontData"); | |
15630 | } | |
15631 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
15632 | } |
15633 | { | |
0439c23b | 15634 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15636 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); | |
15637 | ||
15638 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15639 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15640 | } |
15641 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); | |
15642 | return resultobj; | |
15643 | fail: | |
15644 | return NULL; | |
15645 | } | |
15646 | ||
15647 | ||
c370783e | 15648 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15649 | PyObject *resultobj; |
15650 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
15651 | wxFontData *result; | |
15652 | PyObject * obj0 = 0 ; | |
15653 | char *kwnames[] = { | |
15654 | (char *) "self", NULL | |
15655 | }; | |
15656 | ||
15657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15658 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0); |
15659 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15660 | { |
15661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15662 | { | |
15663 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
15664 | result = (wxFontData *) &_result_ref; | |
15665 | } | |
15666 | ||
15667 | wxPyEndAllowThreads(__tstate); | |
15668 | if (PyErr_Occurred()) SWIG_fail; | |
15669 | } | |
15670 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); | |
15671 | return resultobj; | |
15672 | fail: | |
15673 | return NULL; | |
15674 | } | |
15675 | ||
15676 | ||
c370783e | 15677 | static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15678 | PyObject *obj; |
15679 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15680 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
15681 | Py_INCREF(obj); | |
15682 | return Py_BuildValue((char *)""); | |
15683 | } | |
c370783e | 15684 | static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15685 | PyObject *resultobj; |
15686 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15687 | wxString *arg2 = 0 ; | |
15688 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
15689 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15690 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
15691 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
15692 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
15693 | wxMessageDialog *result; | |
b411df4a RD |
15694 | bool temp2 = false ; |
15695 | bool temp3 = false ; | |
d55e5bfc RD |
15696 | wxPoint temp5 ; |
15697 | PyObject * obj0 = 0 ; | |
15698 | PyObject * obj1 = 0 ; | |
15699 | PyObject * obj2 = 0 ; | |
15700 | PyObject * obj3 = 0 ; | |
15701 | PyObject * obj4 = 0 ; | |
15702 | char *kwnames[] = { | |
15703 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
15704 | }; | |
15705 | ||
15706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
15707 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15708 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15709 | { |
15710 | arg2 = wxString_in_helper(obj1); | |
15711 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 15712 | temp2 = true; |
d55e5bfc RD |
15713 | } |
15714 | if (obj2) { | |
15715 | { | |
15716 | arg3 = wxString_in_helper(obj2); | |
15717 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 15718 | temp3 = true; |
d55e5bfc RD |
15719 | } |
15720 | } | |
15721 | if (obj3) { | |
36ed4f51 RD |
15722 | { |
15723 | arg4 = (long)(SWIG_As_long(obj3)); | |
15724 | if (SWIG_arg_fail(4)) SWIG_fail; | |
15725 | } | |
d55e5bfc RD |
15726 | } |
15727 | if (obj4) { | |
15728 | { | |
15729 | arg5 = &temp5; | |
15730 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
15731 | } | |
15732 | } | |
15733 | { | |
0439c23b | 15734 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15736 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
15737 | ||
15738 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15739 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15740 | } |
15741 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); | |
15742 | { | |
15743 | if (temp2) | |
15744 | delete arg2; | |
15745 | } | |
15746 | { | |
15747 | if (temp3) | |
15748 | delete arg3; | |
15749 | } | |
15750 | return resultobj; | |
15751 | fail: | |
15752 | { | |
15753 | if (temp2) | |
15754 | delete arg2; | |
15755 | } | |
15756 | { | |
15757 | if (temp3) | |
15758 | delete arg3; | |
15759 | } | |
15760 | return NULL; | |
15761 | } | |
15762 | ||
15763 | ||
c370783e | 15764 | static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15765 | PyObject *obj; |
15766 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15767 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
15768 | Py_INCREF(obj); | |
15769 | return Py_BuildValue((char *)""); | |
15770 | } | |
c370783e | 15771 | static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15772 | PyObject *resultobj; |
15773 | wxString *arg1 = 0 ; | |
15774 | wxString *arg2 = 0 ; | |
15775 | int arg3 = (int) 100 ; | |
15776 | wxWindow *arg4 = (wxWindow *) NULL ; | |
15777 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
15778 | wxProgressDialog *result; | |
b411df4a RD |
15779 | bool temp1 = false ; |
15780 | bool temp2 = false ; | |
d55e5bfc RD |
15781 | PyObject * obj0 = 0 ; |
15782 | PyObject * obj1 = 0 ; | |
15783 | PyObject * obj2 = 0 ; | |
15784 | PyObject * obj3 = 0 ; | |
15785 | PyObject * obj4 = 0 ; | |
15786 | char *kwnames[] = { | |
15787 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
15788 | }; | |
15789 | ||
15790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
15791 | { | |
15792 | arg1 = wxString_in_helper(obj0); | |
15793 | if (arg1 == NULL) SWIG_fail; | |
b411df4a | 15794 | temp1 = true; |
d55e5bfc RD |
15795 | } |
15796 | { | |
15797 | arg2 = wxString_in_helper(obj1); | |
15798 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 15799 | temp2 = true; |
d55e5bfc RD |
15800 | } |
15801 | if (obj2) { | |
36ed4f51 RD |
15802 | { |
15803 | arg3 = (int)(SWIG_As_int(obj2)); | |
15804 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15805 | } | |
d55e5bfc RD |
15806 | } |
15807 | if (obj3) { | |
36ed4f51 RD |
15808 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
15809 | if (SWIG_arg_fail(4)) SWIG_fail; | |
d55e5bfc RD |
15810 | } |
15811 | if (obj4) { | |
36ed4f51 RD |
15812 | { |
15813 | arg5 = (int)(SWIG_As_int(obj4)); | |
15814 | if (SWIG_arg_fail(5)) SWIG_fail; | |
15815 | } | |
d55e5bfc RD |
15816 | } |
15817 | { | |
0439c23b | 15818 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
15819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15820 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
15821 | ||
15822 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15823 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
15824 | } |
15825 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); | |
15826 | { | |
15827 | if (temp1) | |
15828 | delete arg1; | |
15829 | } | |
15830 | { | |
15831 | if (temp2) | |
15832 | delete arg2; | |
15833 | } | |
15834 | return resultobj; | |
15835 | fail: | |
15836 | { | |
15837 | if (temp1) | |
15838 | delete arg1; | |
15839 | } | |
15840 | { | |
15841 | if (temp2) | |
15842 | delete arg2; | |
15843 | } | |
15844 | return NULL; | |
15845 | } | |
15846 | ||
15847 | ||
c370783e | 15848 | static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15849 | PyObject *resultobj; |
15850 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
15851 | int arg2 ; | |
15852 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15853 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15854 | bool result; | |
b411df4a | 15855 | bool temp3 = false ; |
d55e5bfc RD |
15856 | PyObject * obj0 = 0 ; |
15857 | PyObject * obj1 = 0 ; | |
15858 | PyObject * obj2 = 0 ; | |
15859 | char *kwnames[] = { | |
15860 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
15861 | }; | |
15862 | ||
15863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
15864 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0); |
15865 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15866 | { | |
15867 | arg2 = (int)(SWIG_As_int(obj1)); | |
15868 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15869 | } | |
d55e5bfc RD |
15870 | if (obj2) { |
15871 | { | |
15872 | arg3 = wxString_in_helper(obj2); | |
15873 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 15874 | temp3 = true; |
d55e5bfc RD |
15875 | } |
15876 | } | |
15877 | { | |
15878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15879 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
15880 | ||
15881 | wxPyEndAllowThreads(__tstate); | |
15882 | if (PyErr_Occurred()) SWIG_fail; | |
15883 | } | |
15884 | { | |
15885 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15886 | } | |
15887 | { | |
15888 | if (temp3) | |
15889 | delete arg3; | |
15890 | } | |
15891 | return resultobj; | |
15892 | fail: | |
15893 | { | |
15894 | if (temp3) | |
15895 | delete arg3; | |
15896 | } | |
15897 | return NULL; | |
15898 | } | |
15899 | ||
15900 | ||
c370783e | 15901 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15902 | PyObject *resultobj; |
15903 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
15904 | PyObject * obj0 = 0 ; | |
15905 | char *kwnames[] = { | |
15906 | (char *) "self", NULL | |
15907 | }; | |
15908 | ||
15909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15910 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0); |
15911 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15912 | { |
15913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15914 | (arg1)->Resume(); | |
15915 | ||
15916 | wxPyEndAllowThreads(__tstate); | |
15917 | if (PyErr_Occurred()) SWIG_fail; | |
15918 | } | |
15919 | Py_INCREF(Py_None); resultobj = Py_None; | |
15920 | return resultobj; | |
15921 | fail: | |
15922 | return NULL; | |
15923 | } | |
15924 | ||
15925 | ||
c370783e | 15926 | static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
15927 | PyObject *obj; |
15928 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15929 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
15930 | Py_INCREF(obj); | |
15931 | return Py_BuildValue((char *)""); | |
15932 | } | |
c370783e | 15933 | static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15934 | PyObject *resultobj; |
15935 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
15936 | int arg2 = (int) 0 ; | |
15937 | wxFindDialogEvent *result; | |
15938 | PyObject * obj0 = 0 ; | |
15939 | PyObject * obj1 = 0 ; | |
15940 | char *kwnames[] = { | |
15941 | (char *) "commandType",(char *) "id", NULL | |
15942 | }; | |
15943 | ||
15944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; | |
15945 | if (obj0) { | |
36ed4f51 RD |
15946 | { |
15947 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
15948 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15949 | } | |
d55e5bfc RD |
15950 | } |
15951 | if (obj1) { | |
36ed4f51 RD |
15952 | { |
15953 | arg2 = (int)(SWIG_As_int(obj1)); | |
15954 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15955 | } | |
d55e5bfc RD |
15956 | } |
15957 | { | |
15958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15959 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
15960 | ||
15961 | wxPyEndAllowThreads(__tstate); | |
15962 | if (PyErr_Occurred()) SWIG_fail; | |
15963 | } | |
15964 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); | |
15965 | return resultobj; | |
15966 | fail: | |
15967 | return NULL; | |
15968 | } | |
15969 | ||
15970 | ||
c370783e | 15971 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
15972 | PyObject *resultobj; |
15973 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
15974 | int result; | |
15975 | PyObject * obj0 = 0 ; | |
15976 | char *kwnames[] = { | |
15977 | (char *) "self", NULL | |
15978 | }; | |
15979 | ||
15980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
15981 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
15982 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
15983 | { |
15984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15985 | result = (int)(arg1)->GetFlags(); | |
15986 | ||
15987 | wxPyEndAllowThreads(__tstate); | |
15988 | if (PyErr_Occurred()) SWIG_fail; | |
15989 | } | |
36ed4f51 RD |
15990 | { |
15991 | resultobj = SWIG_From_int((int)(result)); | |
15992 | } | |
d55e5bfc RD |
15993 | return resultobj; |
15994 | fail: | |
15995 | return NULL; | |
15996 | } | |
15997 | ||
15998 | ||
c370783e | 15999 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16000 | PyObject *resultobj; |
16001 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16002 | wxString *result; | |
16003 | PyObject * obj0 = 0 ; | |
16004 | char *kwnames[] = { | |
16005 | (char *) "self", NULL | |
16006 | }; | |
16007 | ||
16008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16009 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16010 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16011 | { |
16012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16013 | { | |
16014 | wxString const &_result_ref = (arg1)->GetFindString(); | |
16015 | result = (wxString *) &_result_ref; | |
16016 | } | |
16017 | ||
16018 | wxPyEndAllowThreads(__tstate); | |
16019 | if (PyErr_Occurred()) SWIG_fail; | |
16020 | } | |
16021 | { | |
16022 | #if wxUSE_UNICODE | |
16023 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16024 | #else | |
16025 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16026 | #endif | |
16027 | } | |
16028 | return resultobj; | |
16029 | fail: | |
16030 | return NULL; | |
16031 | } | |
16032 | ||
16033 | ||
c370783e | 16034 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16035 | PyObject *resultobj; |
16036 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16037 | wxString *result; | |
16038 | PyObject * obj0 = 0 ; | |
16039 | char *kwnames[] = { | |
16040 | (char *) "self", NULL | |
16041 | }; | |
16042 | ||
16043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16044 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16045 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16046 | { |
16047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16048 | { | |
16049 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
16050 | result = (wxString *) &_result_ref; | |
16051 | } | |
16052 | ||
16053 | wxPyEndAllowThreads(__tstate); | |
16054 | if (PyErr_Occurred()) SWIG_fail; | |
16055 | } | |
16056 | { | |
16057 | #if wxUSE_UNICODE | |
16058 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16059 | #else | |
16060 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16061 | #endif | |
16062 | } | |
16063 | return resultobj; | |
16064 | fail: | |
16065 | return NULL; | |
16066 | } | |
16067 | ||
16068 | ||
c370783e | 16069 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16070 | PyObject *resultobj; |
16071 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16072 | wxFindReplaceDialog *result; | |
16073 | PyObject * obj0 = 0 ; | |
16074 | char *kwnames[] = { | |
16075 | (char *) "self", NULL | |
16076 | }; | |
16077 | ||
16078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 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 = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
16084 | ||
16085 | wxPyEndAllowThreads(__tstate); | |
16086 | if (PyErr_Occurred()) SWIG_fail; | |
16087 | } | |
16088 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); | |
16089 | return resultobj; | |
16090 | fail: | |
16091 | return NULL; | |
16092 | } | |
16093 | ||
16094 | ||
c370783e | 16095 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16096 | PyObject *resultobj; |
16097 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16098 | int arg2 ; | |
16099 | PyObject * obj0 = 0 ; | |
16100 | PyObject * obj1 = 0 ; | |
16101 | char *kwnames[] = { | |
16102 | (char *) "self",(char *) "flags", NULL | |
16103 | }; | |
16104 | ||
16105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16106 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16107 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16108 | { | |
16109 | arg2 = (int)(SWIG_As_int(obj1)); | |
16110 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16111 | } | |
d55e5bfc RD |
16112 | { |
16113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16114 | (arg1)->SetFlags(arg2); | |
16115 | ||
16116 | wxPyEndAllowThreads(__tstate); | |
16117 | if (PyErr_Occurred()) SWIG_fail; | |
16118 | } | |
16119 | Py_INCREF(Py_None); resultobj = Py_None; | |
16120 | return resultobj; | |
16121 | fail: | |
16122 | return NULL; | |
16123 | } | |
16124 | ||
16125 | ||
c370783e | 16126 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16127 | PyObject *resultobj; |
16128 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16129 | wxString *arg2 = 0 ; | |
b411df4a | 16130 | bool temp2 = false ; |
d55e5bfc RD |
16131 | PyObject * obj0 = 0 ; |
16132 | PyObject * obj1 = 0 ; | |
16133 | char *kwnames[] = { | |
16134 | (char *) "self",(char *) "str", NULL | |
16135 | }; | |
16136 | ||
16137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16138 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16139 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16140 | { |
16141 | arg2 = wxString_in_helper(obj1); | |
16142 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 16143 | temp2 = true; |
d55e5bfc RD |
16144 | } |
16145 | { | |
16146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16147 | (arg1)->SetFindString((wxString const &)*arg2); | |
16148 | ||
16149 | wxPyEndAllowThreads(__tstate); | |
16150 | if (PyErr_Occurred()) SWIG_fail; | |
16151 | } | |
16152 | Py_INCREF(Py_None); resultobj = Py_None; | |
16153 | { | |
16154 | if (temp2) | |
16155 | delete arg2; | |
16156 | } | |
16157 | return resultobj; | |
16158 | fail: | |
16159 | { | |
16160 | if (temp2) | |
16161 | delete arg2; | |
16162 | } | |
16163 | return NULL; | |
16164 | } | |
16165 | ||
16166 | ||
c370783e | 16167 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16168 | PyObject *resultobj; |
16169 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
16170 | wxString *arg2 = 0 ; | |
b411df4a | 16171 | bool temp2 = false ; |
d55e5bfc RD |
16172 | PyObject * obj0 = 0 ; |
16173 | PyObject * obj1 = 0 ; | |
16174 | char *kwnames[] = { | |
16175 | (char *) "self",(char *) "str", NULL | |
16176 | }; | |
16177 | ||
16178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16179 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); |
16180 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16181 | { |
16182 | arg2 = wxString_in_helper(obj1); | |
16183 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 16184 | temp2 = true; |
d55e5bfc RD |
16185 | } |
16186 | { | |
16187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16188 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
16189 | ||
16190 | wxPyEndAllowThreads(__tstate); | |
16191 | if (PyErr_Occurred()) SWIG_fail; | |
16192 | } | |
16193 | Py_INCREF(Py_None); resultobj = Py_None; | |
16194 | { | |
16195 | if (temp2) | |
16196 | delete arg2; | |
16197 | } | |
16198 | return resultobj; | |
16199 | fail: | |
16200 | { | |
16201 | if (temp2) | |
16202 | delete arg2; | |
16203 | } | |
16204 | return NULL; | |
16205 | } | |
16206 | ||
16207 | ||
c370783e | 16208 | static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
16209 | PyObject *obj; |
16210 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16211 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
16212 | Py_INCREF(obj); | |
16213 | return Py_BuildValue((char *)""); | |
16214 | } | |
c370783e | 16215 | static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16216 | PyObject *resultobj; |
16217 | int arg1 = (int) 0 ; | |
16218 | wxFindReplaceData *result; | |
16219 | PyObject * obj0 = 0 ; | |
16220 | char *kwnames[] = { | |
16221 | (char *) "flags", NULL | |
16222 | }; | |
16223 | ||
16224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; | |
16225 | if (obj0) { | |
36ed4f51 RD |
16226 | { |
16227 | arg1 = (int)(SWIG_As_int(obj0)); | |
16228 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16229 | } | |
d55e5bfc RD |
16230 | } |
16231 | { | |
16232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16233 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
16234 | ||
16235 | wxPyEndAllowThreads(__tstate); | |
16236 | if (PyErr_Occurred()) SWIG_fail; | |
16237 | } | |
16238 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); | |
16239 | return resultobj; | |
16240 | fail: | |
16241 | return NULL; | |
16242 | } | |
16243 | ||
16244 | ||
c370783e | 16245 | static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16246 | PyObject *resultobj; |
16247 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16248 | PyObject * obj0 = 0 ; | |
16249 | char *kwnames[] = { | |
16250 | (char *) "self", NULL | |
16251 | }; | |
16252 | ||
16253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16254 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16255 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16256 | { |
16257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16258 | delete arg1; | |
16259 | ||
16260 | wxPyEndAllowThreads(__tstate); | |
16261 | if (PyErr_Occurred()) SWIG_fail; | |
16262 | } | |
16263 | Py_INCREF(Py_None); resultobj = Py_None; | |
16264 | return resultobj; | |
16265 | fail: | |
16266 | return NULL; | |
16267 | } | |
16268 | ||
16269 | ||
c370783e | 16270 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16271 | PyObject *resultobj; |
16272 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16273 | wxString *result; | |
16274 | PyObject * obj0 = 0 ; | |
16275 | char *kwnames[] = { | |
16276 | (char *) "self", NULL | |
16277 | }; | |
16278 | ||
16279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16280 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16281 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16282 | { |
16283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16284 | { | |
16285 | wxString const &_result_ref = (arg1)->GetFindString(); | |
16286 | result = (wxString *) &_result_ref; | |
16287 | } | |
16288 | ||
16289 | wxPyEndAllowThreads(__tstate); | |
16290 | if (PyErr_Occurred()) SWIG_fail; | |
16291 | } | |
16292 | { | |
16293 | #if wxUSE_UNICODE | |
16294 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16295 | #else | |
16296 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16297 | #endif | |
16298 | } | |
16299 | return resultobj; | |
16300 | fail: | |
16301 | return NULL; | |
16302 | } | |
16303 | ||
16304 | ||
c370783e | 16305 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16306 | PyObject *resultobj; |
16307 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16308 | wxString *result; | |
16309 | PyObject * obj0 = 0 ; | |
16310 | char *kwnames[] = { | |
16311 | (char *) "self", NULL | |
16312 | }; | |
16313 | ||
16314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16315 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16316 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16317 | { |
16318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16319 | { | |
16320 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
16321 | result = (wxString *) &_result_ref; | |
16322 | } | |
16323 | ||
16324 | wxPyEndAllowThreads(__tstate); | |
16325 | if (PyErr_Occurred()) SWIG_fail; | |
16326 | } | |
16327 | { | |
16328 | #if wxUSE_UNICODE | |
16329 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16330 | #else | |
16331 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16332 | #endif | |
16333 | } | |
16334 | return resultobj; | |
16335 | fail: | |
16336 | return NULL; | |
16337 | } | |
16338 | ||
16339 | ||
c370783e | 16340 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16341 | PyObject *resultobj; |
16342 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16343 | int result; | |
16344 | PyObject * obj0 = 0 ; | |
16345 | char *kwnames[] = { | |
16346 | (char *) "self", NULL | |
16347 | }; | |
16348 | ||
16349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16350 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16351 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16352 | { |
16353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16354 | result = (int)(arg1)->GetFlags(); | |
16355 | ||
16356 | wxPyEndAllowThreads(__tstate); | |
16357 | if (PyErr_Occurred()) SWIG_fail; | |
16358 | } | |
36ed4f51 RD |
16359 | { |
16360 | resultobj = SWIG_From_int((int)(result)); | |
16361 | } | |
d55e5bfc RD |
16362 | return resultobj; |
16363 | fail: | |
16364 | return NULL; | |
16365 | } | |
16366 | ||
16367 | ||
c370783e | 16368 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16369 | PyObject *resultobj; |
16370 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16371 | int arg2 ; | |
16372 | PyObject * obj0 = 0 ; | |
16373 | PyObject * obj1 = 0 ; | |
16374 | char *kwnames[] = { | |
16375 | (char *) "self",(char *) "flags", NULL | |
16376 | }; | |
16377 | ||
16378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16379 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16380 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16381 | { | |
16382 | arg2 = (int)(SWIG_As_int(obj1)); | |
16383 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16384 | } | |
d55e5bfc RD |
16385 | { |
16386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16387 | (arg1)->SetFlags(arg2); | |
16388 | ||
16389 | wxPyEndAllowThreads(__tstate); | |
16390 | if (PyErr_Occurred()) SWIG_fail; | |
16391 | } | |
16392 | Py_INCREF(Py_None); resultobj = Py_None; | |
16393 | return resultobj; | |
16394 | fail: | |
16395 | return NULL; | |
16396 | } | |
16397 | ||
16398 | ||
c370783e | 16399 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16400 | PyObject *resultobj; |
16401 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16402 | wxString *arg2 = 0 ; | |
b411df4a | 16403 | bool temp2 = false ; |
d55e5bfc RD |
16404 | PyObject * obj0 = 0 ; |
16405 | PyObject * obj1 = 0 ; | |
16406 | char *kwnames[] = { | |
16407 | (char *) "self",(char *) "str", NULL | |
16408 | }; | |
16409 | ||
16410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16411 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16412 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16413 | { |
16414 | arg2 = wxString_in_helper(obj1); | |
16415 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 16416 | temp2 = true; |
d55e5bfc RD |
16417 | } |
16418 | { | |
16419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16420 | (arg1)->SetFindString((wxString const &)*arg2); | |
16421 | ||
16422 | wxPyEndAllowThreads(__tstate); | |
16423 | if (PyErr_Occurred()) SWIG_fail; | |
16424 | } | |
16425 | Py_INCREF(Py_None); resultobj = Py_None; | |
16426 | { | |
16427 | if (temp2) | |
16428 | delete arg2; | |
16429 | } | |
16430 | return resultobj; | |
16431 | fail: | |
16432 | { | |
16433 | if (temp2) | |
16434 | delete arg2; | |
16435 | } | |
16436 | return NULL; | |
16437 | } | |
16438 | ||
16439 | ||
c370783e | 16440 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16441 | PyObject *resultobj; |
16442 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
16443 | wxString *arg2 = 0 ; | |
b411df4a | 16444 | bool temp2 = false ; |
d55e5bfc RD |
16445 | PyObject * obj0 = 0 ; |
16446 | PyObject * obj1 = 0 ; | |
16447 | char *kwnames[] = { | |
16448 | (char *) "self",(char *) "str", NULL | |
16449 | }; | |
16450 | ||
16451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16452 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); |
16453 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16454 | { |
16455 | arg2 = wxString_in_helper(obj1); | |
16456 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 16457 | temp2 = true; |
d55e5bfc RD |
16458 | } |
16459 | { | |
16460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16461 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
16462 | ||
16463 | wxPyEndAllowThreads(__tstate); | |
16464 | if (PyErr_Occurred()) SWIG_fail; | |
16465 | } | |
16466 | Py_INCREF(Py_None); resultobj = Py_None; | |
16467 | { | |
16468 | if (temp2) | |
16469 | delete arg2; | |
16470 | } | |
16471 | return resultobj; | |
16472 | fail: | |
16473 | { | |
16474 | if (temp2) | |
16475 | delete arg2; | |
16476 | } | |
16477 | return NULL; | |
16478 | } | |
16479 | ||
16480 | ||
c370783e | 16481 | static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
16482 | PyObject *obj; |
16483 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16484 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
16485 | Py_INCREF(obj); | |
16486 | return Py_BuildValue((char *)""); | |
16487 | } | |
c370783e | 16488 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16489 | PyObject *resultobj; |
16490 | wxWindow *arg1 = (wxWindow *) 0 ; | |
16491 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
16492 | wxString *arg3 = 0 ; | |
16493 | int arg4 = (int) 0 ; | |
16494 | wxFindReplaceDialog *result; | |
b411df4a | 16495 | bool temp3 = false ; |
d55e5bfc RD |
16496 | PyObject * obj0 = 0 ; |
16497 | PyObject * obj1 = 0 ; | |
16498 | PyObject * obj2 = 0 ; | |
16499 | PyObject * obj3 = 0 ; | |
16500 | char *kwnames[] = { | |
16501 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
16502 | }; | |
16503 | ||
16504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
36ed4f51 RD |
16505 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
16506 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16507 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
16508 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
16509 | { |
16510 | arg3 = wxString_in_helper(obj2); | |
16511 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 16512 | temp3 = true; |
d55e5bfc RD |
16513 | } |
16514 | if (obj3) { | |
36ed4f51 RD |
16515 | { |
16516 | arg4 = (int)(SWIG_As_int(obj3)); | |
16517 | if (SWIG_arg_fail(4)) SWIG_fail; | |
16518 | } | |
d55e5bfc RD |
16519 | } |
16520 | { | |
0439c23b | 16521 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16523 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
16524 | ||
16525 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16526 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16527 | } |
16528 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); | |
16529 | { | |
16530 | if (temp3) | |
16531 | delete arg3; | |
16532 | } | |
16533 | return resultobj; | |
16534 | fail: | |
16535 | { | |
16536 | if (temp3) | |
16537 | delete arg3; | |
16538 | } | |
16539 | return NULL; | |
16540 | } | |
16541 | ||
16542 | ||
c370783e | 16543 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16544 | PyObject *resultobj; |
16545 | wxFindReplaceDialog *result; | |
16546 | char *kwnames[] = { | |
16547 | NULL | |
16548 | }; | |
16549 | ||
16550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
16551 | { | |
0439c23b | 16552 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16554 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
16555 | ||
16556 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16557 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16558 | } |
16559 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); | |
16560 | return resultobj; | |
16561 | fail: | |
16562 | return NULL; | |
16563 | } | |
16564 | ||
16565 | ||
c370783e | 16566 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16567 | PyObject *resultobj; |
16568 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
16569 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16570 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
16571 | wxString *arg4 = 0 ; | |
16572 | int arg5 = (int) 0 ; | |
16573 | bool result; | |
b411df4a | 16574 | bool temp4 = false ; |
d55e5bfc RD |
16575 | PyObject * obj0 = 0 ; |
16576 | PyObject * obj1 = 0 ; | |
16577 | PyObject * obj2 = 0 ; | |
16578 | PyObject * obj3 = 0 ; | |
16579 | PyObject * obj4 = 0 ; | |
16580 | char *kwnames[] = { | |
16581 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
16582 | }; | |
16583 | ||
16584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
16585 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
16586 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16587 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
16588 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16589 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
16590 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
16591 | { |
16592 | arg4 = wxString_in_helper(obj3); | |
16593 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 16594 | temp4 = true; |
d55e5bfc RD |
16595 | } |
16596 | if (obj4) { | |
36ed4f51 RD |
16597 | { |
16598 | arg5 = (int)(SWIG_As_int(obj4)); | |
16599 | if (SWIG_arg_fail(5)) SWIG_fail; | |
16600 | } | |
d55e5bfc RD |
16601 | } |
16602 | { | |
16603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16604 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
16605 | ||
16606 | wxPyEndAllowThreads(__tstate); | |
16607 | if (PyErr_Occurred()) SWIG_fail; | |
16608 | } | |
16609 | { | |
16610 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16611 | } | |
16612 | { | |
16613 | if (temp4) | |
16614 | delete arg4; | |
16615 | } | |
16616 | return resultobj; | |
16617 | fail: | |
16618 | { | |
16619 | if (temp4) | |
16620 | delete arg4; | |
16621 | } | |
16622 | return NULL; | |
16623 | } | |
16624 | ||
16625 | ||
c370783e | 16626 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16627 | PyObject *resultobj; |
16628 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
16629 | wxFindReplaceData *result; | |
16630 | PyObject * obj0 = 0 ; | |
16631 | char *kwnames[] = { | |
16632 | (char *) "self", NULL | |
16633 | }; | |
16634 | ||
16635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16636 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
16637 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16638 | { |
16639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16640 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
16641 | ||
16642 | wxPyEndAllowThreads(__tstate); | |
16643 | if (PyErr_Occurred()) SWIG_fail; | |
16644 | } | |
16645 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); | |
16646 | return resultobj; | |
16647 | fail: | |
16648 | return NULL; | |
16649 | } | |
16650 | ||
16651 | ||
c370783e | 16652 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16653 | PyObject *resultobj; |
16654 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
16655 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
16656 | PyObject * obj0 = 0 ; | |
16657 | PyObject * obj1 = 0 ; | |
16658 | char *kwnames[] = { | |
16659 | (char *) "self",(char *) "data", NULL | |
16660 | }; | |
16661 | ||
16662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
16663 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0); |
16664 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16665 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); | |
16666 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
16667 | { |
16668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16669 | (arg1)->SetData(arg2); | |
16670 | ||
16671 | wxPyEndAllowThreads(__tstate); | |
16672 | if (PyErr_Occurred()) SWIG_fail; | |
16673 | } | |
16674 | Py_INCREF(Py_None); resultobj = Py_None; | |
16675 | return resultobj; | |
16676 | fail: | |
16677 | return NULL; | |
16678 | } | |
16679 | ||
16680 | ||
c370783e | 16681 | static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
16682 | PyObject *obj; |
16683 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16684 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
16685 | Py_INCREF(obj); | |
16686 | return Py_BuildValue((char *)""); | |
16687 | } | |
c370783e | 16688 | static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16689 | PyObject *resultobj; |
16690 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 RD |
16691 | int arg2 = (int) (int)-1 ; |
16692 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
16693 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
16694 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
16695 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
16696 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
16697 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
16698 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
16699 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
16700 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
16701 | wxMDIParentFrame *result; | |
b411df4a | 16702 | bool temp3 = false ; |
d55e5bfc RD |
16703 | wxPoint temp4 ; |
16704 | wxSize temp5 ; | |
b411df4a | 16705 | bool temp7 = false ; |
d55e5bfc RD |
16706 | PyObject * obj0 = 0 ; |
16707 | PyObject * obj1 = 0 ; | |
16708 | PyObject * obj2 = 0 ; | |
16709 | PyObject * obj3 = 0 ; | |
16710 | PyObject * obj4 = 0 ; | |
16711 | PyObject * obj5 = 0 ; | |
16712 | PyObject * obj6 = 0 ; | |
16713 | char *kwnames[] = { | |
16714 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16715 | }; | |
16716 | ||
bfddbb17 | 16717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
16718 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
16719 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 16720 | if (obj1) { |
36ed4f51 RD |
16721 | { |
16722 | arg2 = (int const)(SWIG_As_int(obj1)); | |
16723 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16724 | } | |
bfddbb17 RD |
16725 | } |
16726 | if (obj2) { | |
16727 | { | |
16728 | arg3 = wxString_in_helper(obj2); | |
16729 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 16730 | temp3 = true; |
bfddbb17 | 16731 | } |
d55e5bfc RD |
16732 | } |
16733 | if (obj3) { | |
16734 | { | |
16735 | arg4 = &temp4; | |
16736 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
16737 | } | |
16738 | } | |
16739 | if (obj4) { | |
16740 | { | |
16741 | arg5 = &temp5; | |
16742 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
16743 | } | |
16744 | } | |
16745 | if (obj5) { | |
36ed4f51 RD |
16746 | { |
16747 | arg6 = (long)(SWIG_As_long(obj5)); | |
16748 | if (SWIG_arg_fail(6)) SWIG_fail; | |
16749 | } | |
d55e5bfc RD |
16750 | } |
16751 | if (obj6) { | |
16752 | { | |
16753 | arg7 = wxString_in_helper(obj6); | |
16754 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 16755 | temp7 = true; |
d55e5bfc RD |
16756 | } |
16757 | } | |
16758 | { | |
0439c23b | 16759 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16761 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
16762 | ||
16763 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16764 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16765 | } |
16766 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); | |
16767 | { | |
16768 | if (temp3) | |
16769 | delete arg3; | |
16770 | } | |
16771 | { | |
16772 | if (temp7) | |
16773 | delete arg7; | |
16774 | } | |
16775 | return resultobj; | |
16776 | fail: | |
16777 | { | |
16778 | if (temp3) | |
16779 | delete arg3; | |
16780 | } | |
16781 | { | |
16782 | if (temp7) | |
16783 | delete arg7; | |
16784 | } | |
16785 | return NULL; | |
16786 | } | |
16787 | ||
16788 | ||
c370783e | 16789 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16790 | PyObject *resultobj; |
16791 | wxMDIParentFrame *result; | |
16792 | char *kwnames[] = { | |
16793 | NULL | |
16794 | }; | |
16795 | ||
16796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
16797 | { | |
0439c23b | 16798 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
16799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16800 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
16801 | ||
16802 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16803 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
16804 | } |
16805 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); | |
16806 | return resultobj; | |
16807 | fail: | |
16808 | return NULL; | |
16809 | } | |
16810 | ||
16811 | ||
c370783e | 16812 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16813 | PyObject *resultobj; |
16814 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16815 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 RD |
16816 | int arg3 = (int) (int)-1 ; |
16817 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
16818 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
16819 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
16820 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
16821 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
16822 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
16823 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
16824 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
16825 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
16826 | bool result; | |
b411df4a | 16827 | bool temp4 = false ; |
d55e5bfc RD |
16828 | wxPoint temp5 ; |
16829 | wxSize temp6 ; | |
b411df4a | 16830 | bool temp8 = false ; |
d55e5bfc RD |
16831 | PyObject * obj0 = 0 ; |
16832 | PyObject * obj1 = 0 ; | |
16833 | PyObject * obj2 = 0 ; | |
16834 | PyObject * obj3 = 0 ; | |
16835 | PyObject * obj4 = 0 ; | |
16836 | PyObject * obj5 = 0 ; | |
16837 | PyObject * obj6 = 0 ; | |
16838 | PyObject * obj7 = 0 ; | |
16839 | char *kwnames[] = { | |
16840 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16841 | }; | |
16842 | ||
bfddbb17 | 16843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
16844 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
16845 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16846 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
16847 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 16848 | if (obj2) { |
36ed4f51 RD |
16849 | { |
16850 | arg3 = (int const)(SWIG_As_int(obj2)); | |
16851 | if (SWIG_arg_fail(3)) SWIG_fail; | |
16852 | } | |
bfddbb17 RD |
16853 | } |
16854 | if (obj3) { | |
16855 | { | |
16856 | arg4 = wxString_in_helper(obj3); | |
16857 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 16858 | temp4 = true; |
bfddbb17 | 16859 | } |
d55e5bfc RD |
16860 | } |
16861 | if (obj4) { | |
16862 | { | |
16863 | arg5 = &temp5; | |
16864 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
16865 | } | |
16866 | } | |
16867 | if (obj5) { | |
16868 | { | |
16869 | arg6 = &temp6; | |
16870 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
16871 | } | |
16872 | } | |
16873 | if (obj6) { | |
36ed4f51 RD |
16874 | { |
16875 | arg7 = (long)(SWIG_As_long(obj6)); | |
16876 | if (SWIG_arg_fail(7)) SWIG_fail; | |
16877 | } | |
d55e5bfc RD |
16878 | } |
16879 | if (obj7) { | |
16880 | { | |
16881 | arg8 = wxString_in_helper(obj7); | |
16882 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 16883 | temp8 = true; |
d55e5bfc RD |
16884 | } |
16885 | } | |
16886 | { | |
16887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16888 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
16889 | ||
16890 | wxPyEndAllowThreads(__tstate); | |
16891 | if (PyErr_Occurred()) SWIG_fail; | |
16892 | } | |
16893 | { | |
16894 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16895 | } | |
16896 | { | |
16897 | if (temp4) | |
16898 | delete arg4; | |
16899 | } | |
16900 | { | |
16901 | if (temp8) | |
16902 | delete arg8; | |
16903 | } | |
16904 | return resultobj; | |
16905 | fail: | |
16906 | { | |
16907 | if (temp4) | |
16908 | delete arg4; | |
16909 | } | |
16910 | { | |
16911 | if (temp8) | |
16912 | delete arg8; | |
16913 | } | |
16914 | return NULL; | |
16915 | } | |
16916 | ||
16917 | ||
c370783e | 16918 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16919 | PyObject *resultobj; |
16920 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16921 | PyObject * obj0 = 0 ; | |
16922 | char *kwnames[] = { | |
16923 | (char *) "self", NULL | |
16924 | }; | |
16925 | ||
16926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16927 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
16928 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16929 | { |
16930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16931 | (arg1)->ActivateNext(); | |
16932 | ||
16933 | wxPyEndAllowThreads(__tstate); | |
16934 | if (PyErr_Occurred()) SWIG_fail; | |
16935 | } | |
16936 | Py_INCREF(Py_None); resultobj = Py_None; | |
16937 | return resultobj; | |
16938 | fail: | |
16939 | return NULL; | |
16940 | } | |
16941 | ||
16942 | ||
c370783e | 16943 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16944 | PyObject *resultobj; |
16945 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16946 | PyObject * obj0 = 0 ; | |
16947 | char *kwnames[] = { | |
16948 | (char *) "self", NULL | |
16949 | }; | |
16950 | ||
16951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16952 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
16953 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16954 | { |
16955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16956 | (arg1)->ActivatePrevious(); | |
16957 | ||
16958 | wxPyEndAllowThreads(__tstate); | |
16959 | if (PyErr_Occurred()) SWIG_fail; | |
16960 | } | |
16961 | Py_INCREF(Py_None); resultobj = Py_None; | |
16962 | return resultobj; | |
16963 | fail: | |
16964 | return NULL; | |
16965 | } | |
16966 | ||
16967 | ||
c370783e | 16968 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16969 | PyObject *resultobj; |
16970 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16971 | PyObject * obj0 = 0 ; | |
16972 | char *kwnames[] = { | |
16973 | (char *) "self", NULL | |
16974 | }; | |
16975 | ||
16976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
16977 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
16978 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
16979 | { |
16980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16981 | (arg1)->ArrangeIcons(); | |
16982 | ||
16983 | wxPyEndAllowThreads(__tstate); | |
16984 | if (PyErr_Occurred()) SWIG_fail; | |
16985 | } | |
16986 | Py_INCREF(Py_None); resultobj = Py_None; | |
16987 | return resultobj; | |
16988 | fail: | |
16989 | return NULL; | |
16990 | } | |
16991 | ||
16992 | ||
c370783e | 16993 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
16994 | PyObject *resultobj; |
16995 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
16996 | PyObject * obj0 = 0 ; | |
16997 | char *kwnames[] = { | |
16998 | (char *) "self", NULL | |
16999 | }; | |
17000 | ||
17001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17002 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17003 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17004 | { |
17005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17006 | (arg1)->Cascade(); | |
17007 | ||
17008 | wxPyEndAllowThreads(__tstate); | |
17009 | if (PyErr_Occurred()) SWIG_fail; | |
17010 | } | |
17011 | Py_INCREF(Py_None); resultobj = Py_None; | |
17012 | return resultobj; | |
17013 | fail: | |
17014 | return NULL; | |
17015 | } | |
17016 | ||
17017 | ||
c370783e | 17018 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17019 | PyObject *resultobj; |
17020 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17021 | wxMDIChildFrame *result; | |
17022 | PyObject * obj0 = 0 ; | |
17023 | char *kwnames[] = { | |
17024 | (char *) "self", NULL | |
17025 | }; | |
17026 | ||
17027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17028 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17029 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17030 | { |
17031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17032 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
17033 | ||
17034 | wxPyEndAllowThreads(__tstate); | |
17035 | if (PyErr_Occurred()) SWIG_fail; | |
17036 | } | |
17037 | { | |
412d302d | 17038 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
17039 | } |
17040 | return resultobj; | |
17041 | fail: | |
17042 | return NULL; | |
17043 | } | |
17044 | ||
17045 | ||
c370783e | 17046 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17047 | PyObject *resultobj; |
17048 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17049 | wxMDIClientWindow *result; | |
17050 | PyObject * obj0 = 0 ; | |
17051 | char *kwnames[] = { | |
17052 | (char *) "self", NULL | |
17053 | }; | |
17054 | ||
17055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17056 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17057 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17058 | { |
17059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17060 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
17061 | ||
17062 | wxPyEndAllowThreads(__tstate); | |
17063 | if (PyErr_Occurred()) SWIG_fail; | |
17064 | } | |
17065 | { | |
412d302d | 17066 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
17067 | } |
17068 | return resultobj; | |
17069 | fail: | |
17070 | return NULL; | |
17071 | } | |
17072 | ||
17073 | ||
c370783e | 17074 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17075 | PyObject *resultobj; |
17076 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17077 | wxWindow *result; | |
17078 | PyObject * obj0 = 0 ; | |
17079 | char *kwnames[] = { | |
17080 | (char *) "self", NULL | |
17081 | }; | |
17082 | ||
17083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17084 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17085 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17086 | { |
17087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17088 | result = (wxWindow *)(arg1)->GetToolBar(); | |
17089 | ||
17090 | wxPyEndAllowThreads(__tstate); | |
17091 | if (PyErr_Occurred()) SWIG_fail; | |
17092 | } | |
17093 | { | |
412d302d | 17094 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
17095 | } |
17096 | return resultobj; | |
17097 | fail: | |
17098 | return NULL; | |
17099 | } | |
17100 | ||
17101 | ||
c370783e | 17102 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17103 | PyObject *resultobj; |
17104 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
3837a853 | 17105 | wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ; |
d55e5bfc | 17106 | PyObject * obj0 = 0 ; |
3837a853 | 17107 | PyObject * obj1 = 0 ; |
d55e5bfc | 17108 | char *kwnames[] = { |
3837a853 | 17109 | (char *) "self",(char *) "orient", NULL |
d55e5bfc RD |
17110 | }; |
17111 | ||
3837a853 | 17112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail; |
36ed4f51 RD |
17113 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17114 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3837a853 RD |
17115 | if (obj1) { |
17116 | { | |
17117 | arg2 = (wxOrientation)(SWIG_As_int(obj1)); | |
17118 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17119 | } | |
17120 | } | |
d55e5bfc RD |
17121 | { |
17122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3837a853 | 17123 | (arg1)->Tile((wxOrientation )arg2); |
d55e5bfc RD |
17124 | |
17125 | wxPyEndAllowThreads(__tstate); | |
17126 | if (PyErr_Occurred()) SWIG_fail; | |
17127 | } | |
17128 | Py_INCREF(Py_None); resultobj = Py_None; | |
17129 | return resultobj; | |
17130 | fail: | |
17131 | return NULL; | |
17132 | } | |
17133 | ||
17134 | ||
c370783e | 17135 | static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
17136 | PyObject *obj; |
17137 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17138 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
17139 | Py_INCREF(obj); | |
17140 | return Py_BuildValue((char *)""); | |
17141 | } | |
c370783e | 17142 | static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17143 | PyObject *resultobj; |
17144 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
bfddbb17 RD |
17145 | int arg2 = (int) (int)-1 ; |
17146 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
17147 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d55e5bfc RD |
17148 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
17149 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
17150 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
17151 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
17152 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
17153 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
17154 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
17155 | wxMDIChildFrame *result; | |
b411df4a | 17156 | bool temp3 = false ; |
d55e5bfc RD |
17157 | wxPoint temp4 ; |
17158 | wxSize temp5 ; | |
b411df4a | 17159 | bool temp7 = false ; |
d55e5bfc RD |
17160 | PyObject * obj0 = 0 ; |
17161 | PyObject * obj1 = 0 ; | |
17162 | PyObject * obj2 = 0 ; | |
17163 | PyObject * obj3 = 0 ; | |
17164 | PyObject * obj4 = 0 ; | |
17165 | PyObject * obj5 = 0 ; | |
17166 | PyObject * obj6 = 0 ; | |
17167 | char *kwnames[] = { | |
17168 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17169 | }; | |
17170 | ||
bfddbb17 | 17171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
36ed4f51 RD |
17172 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17173 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 17174 | if (obj1) { |
36ed4f51 RD |
17175 | { |
17176 | arg2 = (int const)(SWIG_As_int(obj1)); | |
17177 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17178 | } | |
bfddbb17 RD |
17179 | } |
17180 | if (obj2) { | |
17181 | { | |
17182 | arg3 = wxString_in_helper(obj2); | |
17183 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 17184 | temp3 = true; |
bfddbb17 | 17185 | } |
d55e5bfc RD |
17186 | } |
17187 | if (obj3) { | |
17188 | { | |
17189 | arg4 = &temp4; | |
17190 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
17191 | } | |
17192 | } | |
17193 | if (obj4) { | |
17194 | { | |
17195 | arg5 = &temp5; | |
17196 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
17197 | } | |
17198 | } | |
17199 | if (obj5) { | |
36ed4f51 RD |
17200 | { |
17201 | arg6 = (long)(SWIG_As_long(obj5)); | |
17202 | if (SWIG_arg_fail(6)) SWIG_fail; | |
17203 | } | |
d55e5bfc RD |
17204 | } |
17205 | if (obj6) { | |
17206 | { | |
17207 | arg7 = wxString_in_helper(obj6); | |
17208 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 17209 | temp7 = true; |
d55e5bfc RD |
17210 | } |
17211 | } | |
17212 | { | |
0439c23b | 17213 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17215 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
17216 | ||
17217 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17218 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 17219 | } |
b0f7404b | 17220 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d55e5bfc RD |
17221 | { |
17222 | if (temp3) | |
17223 | delete arg3; | |
17224 | } | |
17225 | { | |
17226 | if (temp7) | |
17227 | delete arg7; | |
17228 | } | |
17229 | return resultobj; | |
17230 | fail: | |
17231 | { | |
17232 | if (temp3) | |
17233 | delete arg3; | |
17234 | } | |
17235 | { | |
17236 | if (temp7) | |
17237 | delete arg7; | |
17238 | } | |
17239 | return NULL; | |
17240 | } | |
17241 | ||
17242 | ||
c370783e | 17243 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17244 | PyObject *resultobj; |
17245 | wxMDIChildFrame *result; | |
17246 | char *kwnames[] = { | |
17247 | NULL | |
17248 | }; | |
17249 | ||
17250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
17251 | { | |
0439c23b | 17252 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17254 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
17255 | ||
17256 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17257 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 17258 | } |
b0f7404b | 17259 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d55e5bfc RD |
17260 | return resultobj; |
17261 | fail: | |
17262 | return NULL; | |
17263 | } | |
17264 | ||
17265 | ||
c370783e | 17266 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17267 | PyObject *resultobj; |
17268 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
17269 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
bfddbb17 RD |
17270 | int arg3 = (int) (int)-1 ; |
17271 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
17272 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d55e5bfc RD |
17273 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
17274 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
17275 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
17276 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
17277 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
17278 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
17279 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
17280 | bool result; | |
b411df4a | 17281 | bool temp4 = false ; |
d55e5bfc RD |
17282 | wxPoint temp5 ; |
17283 | wxSize temp6 ; | |
b411df4a | 17284 | bool temp8 = false ; |
d55e5bfc RD |
17285 | PyObject * obj0 = 0 ; |
17286 | PyObject * obj1 = 0 ; | |
17287 | PyObject * obj2 = 0 ; | |
17288 | PyObject * obj3 = 0 ; | |
17289 | PyObject * obj4 = 0 ; | |
17290 | PyObject * obj5 = 0 ; | |
17291 | PyObject * obj6 = 0 ; | |
17292 | PyObject * obj7 = 0 ; | |
17293 | char *kwnames[] = { | |
17294 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17295 | }; | |
17296 | ||
bfddbb17 | 17297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
17298 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17299 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17300 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
17301 | if (SWIG_arg_fail(2)) SWIG_fail; | |
bfddbb17 | 17302 | if (obj2) { |
36ed4f51 RD |
17303 | { |
17304 | arg3 = (int const)(SWIG_As_int(obj2)); | |
17305 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17306 | } | |
bfddbb17 RD |
17307 | } |
17308 | if (obj3) { | |
17309 | { | |
17310 | arg4 = wxString_in_helper(obj3); | |
17311 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 17312 | temp4 = true; |
bfddbb17 | 17313 | } |
d55e5bfc RD |
17314 | } |
17315 | if (obj4) { | |
17316 | { | |
17317 | arg5 = &temp5; | |
17318 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
17319 | } | |
17320 | } | |
17321 | if (obj5) { | |
17322 | { | |
17323 | arg6 = &temp6; | |
17324 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
17325 | } | |
17326 | } | |
17327 | if (obj6) { | |
36ed4f51 RD |
17328 | { |
17329 | arg7 = (long)(SWIG_As_long(obj6)); | |
17330 | if (SWIG_arg_fail(7)) SWIG_fail; | |
17331 | } | |
d55e5bfc RD |
17332 | } |
17333 | if (obj7) { | |
17334 | { | |
17335 | arg8 = wxString_in_helper(obj7); | |
17336 | if (arg8 == NULL) SWIG_fail; | |
b411df4a | 17337 | temp8 = true; |
d55e5bfc RD |
17338 | } |
17339 | } | |
17340 | { | |
17341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17342 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
17343 | ||
17344 | wxPyEndAllowThreads(__tstate); | |
17345 | if (PyErr_Occurred()) SWIG_fail; | |
17346 | } | |
17347 | { | |
17348 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17349 | } | |
17350 | { | |
17351 | if (temp4) | |
17352 | delete arg4; | |
17353 | } | |
17354 | { | |
17355 | if (temp8) | |
17356 | delete arg8; | |
17357 | } | |
17358 | return resultobj; | |
17359 | fail: | |
17360 | { | |
17361 | if (temp4) | |
17362 | delete arg4; | |
17363 | } | |
17364 | { | |
17365 | if (temp8) | |
17366 | delete arg8; | |
17367 | } | |
17368 | return NULL; | |
17369 | } | |
17370 | ||
17371 | ||
c370783e | 17372 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17373 | PyObject *resultobj; |
17374 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
17375 | PyObject * obj0 = 0 ; | |
17376 | char *kwnames[] = { | |
17377 | (char *) "self", NULL | |
17378 | }; | |
17379 | ||
17380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17381 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17382 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17383 | { |
17384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17385 | (arg1)->Activate(); | |
17386 | ||
17387 | wxPyEndAllowThreads(__tstate); | |
17388 | if (PyErr_Occurred()) SWIG_fail; | |
17389 | } | |
17390 | Py_INCREF(Py_None); resultobj = Py_None; | |
17391 | return resultobj; | |
17392 | fail: | |
17393 | return NULL; | |
17394 | } | |
17395 | ||
17396 | ||
c370783e | 17397 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17398 | PyObject *resultobj; |
17399 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
5cbf236d | 17400 | bool arg2 = (bool) true ; |
d55e5bfc RD |
17401 | PyObject * obj0 = 0 ; |
17402 | PyObject * obj1 = 0 ; | |
17403 | char *kwnames[] = { | |
17404 | (char *) "self",(char *) "maximize", NULL | |
17405 | }; | |
17406 | ||
5cbf236d | 17407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; |
36ed4f51 RD |
17408 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17409 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5cbf236d | 17410 | if (obj1) { |
36ed4f51 RD |
17411 | { |
17412 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
17413 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17414 | } | |
5cbf236d | 17415 | } |
d55e5bfc RD |
17416 | { |
17417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17418 | (arg1)->Maximize(arg2); | |
17419 | ||
17420 | wxPyEndAllowThreads(__tstate); | |
17421 | if (PyErr_Occurred()) SWIG_fail; | |
17422 | } | |
17423 | Py_INCREF(Py_None); resultobj = Py_None; | |
17424 | return resultobj; | |
17425 | fail: | |
17426 | return NULL; | |
17427 | } | |
17428 | ||
17429 | ||
c370783e | 17430 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17431 | PyObject *resultobj; |
17432 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
17433 | PyObject * obj0 = 0 ; | |
17434 | char *kwnames[] = { | |
17435 | (char *) "self", NULL | |
17436 | }; | |
17437 | ||
17438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
17439 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0); |
17440 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17441 | { |
17442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17443 | (arg1)->Restore(); | |
17444 | ||
17445 | wxPyEndAllowThreads(__tstate); | |
17446 | if (PyErr_Occurred()) SWIG_fail; | |
17447 | } | |
17448 | Py_INCREF(Py_None); resultobj = Py_None; | |
17449 | return resultobj; | |
17450 | fail: | |
17451 | return NULL; | |
17452 | } | |
17453 | ||
17454 | ||
c370783e | 17455 | static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
17456 | PyObject *obj; |
17457 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17458 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
17459 | Py_INCREF(obj); | |
17460 | return Py_BuildValue((char *)""); | |
17461 | } | |
c370783e | 17462 | static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17463 | PyObject *resultobj; |
17464 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
17465 | long arg2 = (long) 0 ; | |
17466 | wxMDIClientWindow *result; | |
17467 | PyObject * obj0 = 0 ; | |
17468 | PyObject * obj1 = 0 ; | |
17469 | char *kwnames[] = { | |
17470 | (char *) "parent",(char *) "style", NULL | |
17471 | }; | |
17472 | ||
17473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
17474 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); |
17475 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 17476 | if (obj1) { |
36ed4f51 RD |
17477 | { |
17478 | arg2 = (long)(SWIG_As_long(obj1)); | |
17479 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17480 | } | |
d55e5bfc RD |
17481 | } |
17482 | { | |
0439c23b | 17483 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17485 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
17486 | ||
17487 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17488 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 17489 | } |
b0f7404b | 17490 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d55e5bfc RD |
17491 | return resultobj; |
17492 | fail: | |
17493 | return NULL; | |
17494 | } | |
17495 | ||
17496 | ||
c370783e | 17497 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17498 | PyObject *resultobj; |
17499 | wxMDIClientWindow *result; | |
17500 | char *kwnames[] = { | |
17501 | NULL | |
17502 | }; | |
17503 | ||
17504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
17505 | { | |
0439c23b | 17506 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17508 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
17509 | ||
17510 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17511 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc | 17512 | } |
b0f7404b | 17513 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d55e5bfc RD |
17514 | return resultobj; |
17515 | fail: | |
17516 | return NULL; | |
17517 | } | |
17518 | ||
17519 | ||
c370783e | 17520 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17521 | PyObject *resultobj; |
17522 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
17523 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
17524 | long arg3 = (long) 0 ; | |
17525 | bool result; | |
17526 | PyObject * obj0 = 0 ; | |
17527 | PyObject * obj1 = 0 ; | |
17528 | PyObject * obj2 = 0 ; | |
17529 | char *kwnames[] = { | |
17530 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
17531 | }; | |
17532 | ||
17533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
17534 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0); |
17535 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17536 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0); | |
17537 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 17538 | if (obj2) { |
36ed4f51 RD |
17539 | { |
17540 | arg3 = (long)(SWIG_As_long(obj2)); | |
17541 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17542 | } | |
d55e5bfc RD |
17543 | } |
17544 | { | |
17545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17546 | result = (bool)(arg1)->Create(arg2,arg3); | |
17547 | ||
17548 | wxPyEndAllowThreads(__tstate); | |
17549 | if (PyErr_Occurred()) SWIG_fail; | |
17550 | } | |
17551 | { | |
17552 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17553 | } | |
17554 | return resultobj; | |
17555 | fail: | |
17556 | return NULL; | |
17557 | } | |
17558 | ||
17559 | ||
c370783e | 17560 | static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
17561 | PyObject *obj; |
17562 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17563 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
17564 | Py_INCREF(obj); | |
17565 | return Py_BuildValue((char *)""); | |
17566 | } | |
c370783e | 17567 | static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17568 | PyObject *resultobj; |
17569 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 17570 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
17571 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
17572 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
17573 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
17574 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
17575 | long arg5 = (long) 0 ; | |
17576 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
17577 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
17578 | wxPyWindow *result; | |
17579 | wxPoint temp3 ; | |
17580 | wxSize temp4 ; | |
b411df4a | 17581 | bool temp6 = false ; |
d55e5bfc RD |
17582 | PyObject * obj0 = 0 ; |
17583 | PyObject * obj1 = 0 ; | |
17584 | PyObject * obj2 = 0 ; | |
17585 | PyObject * obj3 = 0 ; | |
17586 | PyObject * obj4 = 0 ; | |
17587 | PyObject * obj5 = 0 ; | |
17588 | char *kwnames[] = { | |
17589 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
17590 | }; | |
17591 | ||
bfddbb17 | 17592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
36ed4f51 RD |
17593 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
17594 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 17595 | if (obj1) { |
36ed4f51 RD |
17596 | { |
17597 | arg2 = (int const)(SWIG_As_int(obj1)); | |
17598 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17599 | } | |
bfddbb17 | 17600 | } |
d55e5bfc RD |
17601 | if (obj2) { |
17602 | { | |
17603 | arg3 = &temp3; | |
17604 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
17605 | } | |
17606 | } | |
17607 | if (obj3) { | |
17608 | { | |
17609 | arg4 = &temp4; | |
17610 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
17611 | } | |
17612 | } | |
17613 | if (obj4) { | |
36ed4f51 RD |
17614 | { |
17615 | arg5 = (long)(SWIG_As_long(obj4)); | |
17616 | if (SWIG_arg_fail(5)) SWIG_fail; | |
17617 | } | |
d55e5bfc RD |
17618 | } |
17619 | if (obj5) { | |
17620 | { | |
17621 | arg6 = wxString_in_helper(obj5); | |
17622 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 17623 | temp6 = true; |
d55e5bfc RD |
17624 | } |
17625 | } | |
17626 | { | |
0439c23b | 17627 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17629 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
17630 | ||
17631 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17632 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
17633 | } |
17634 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
17635 | { | |
17636 | if (temp6) | |
17637 | delete arg6; | |
17638 | } | |
17639 | return resultobj; | |
17640 | fail: | |
17641 | { | |
17642 | if (temp6) | |
17643 | delete arg6; | |
17644 | } | |
17645 | return NULL; | |
17646 | } | |
17647 | ||
17648 | ||
c370783e | 17649 | static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17650 | PyObject *resultobj; |
17651 | wxPyWindow *result; | |
17652 | char *kwnames[] = { | |
17653 | NULL | |
17654 | }; | |
17655 | ||
17656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail; | |
17657 | { | |
0439c23b | 17658 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
17659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17660 | result = (wxPyWindow *)new wxPyWindow(); | |
17661 | ||
17662 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17663 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
17664 | } |
17665 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
17666 | return resultobj; | |
17667 | fail: | |
17668 | return NULL; | |
17669 | } | |
17670 | ||
17671 | ||
c370783e | 17672 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17673 | PyObject *resultobj; |
17674 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17675 | PyObject *arg2 = (PyObject *) 0 ; | |
17676 | PyObject *arg3 = (PyObject *) 0 ; | |
17677 | PyObject * obj0 = 0 ; | |
17678 | PyObject * obj1 = 0 ; | |
17679 | PyObject * obj2 = 0 ; | |
17680 | char *kwnames[] = { | |
17681 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
17682 | }; | |
17683 | ||
17684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
17685 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17686 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17687 | arg2 = obj1; |
17688 | arg3 = obj2; | |
17689 | { | |
17690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17691 | (arg1)->_setCallbackInfo(arg2,arg3); | |
17692 | ||
17693 | wxPyEndAllowThreads(__tstate); | |
17694 | if (PyErr_Occurred()) SWIG_fail; | |
17695 | } | |
17696 | Py_INCREF(Py_None); resultobj = Py_None; | |
17697 | return resultobj; | |
17698 | fail: | |
17699 | return NULL; | |
17700 | } | |
17701 | ||
17702 | ||
c370783e | 17703 | static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
17704 | PyObject *resultobj; |
17705 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17706 | wxSize *arg2 = 0 ; | |
17707 | wxSize temp2 ; | |
17708 | PyObject * obj0 = 0 ; | |
17709 | PyObject * obj1 = 0 ; | |
17710 | char *kwnames[] = { | |
17711 | (char *) "self",(char *) "size", NULL | |
17712 | }; | |
17713 | ||
17714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
17715 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17716 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
17717 | { |
17718 | arg2 = &temp2; | |
17719 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
17720 | } | |
17721 | { | |
17722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17723 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
17724 | ||
17725 | wxPyEndAllowThreads(__tstate); | |
17726 | if (PyErr_Occurred()) SWIG_fail; | |
17727 | } | |
17728 | Py_INCREF(Py_None); resultobj = Py_None; | |
17729 | return resultobj; | |
17730 | fail: | |
17731 | return NULL; | |
17732 | } | |
17733 | ||
17734 | ||
c370783e | 17735 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17736 | PyObject *resultobj; |
17737 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17738 | int arg2 ; | |
17739 | int arg3 ; | |
17740 | int arg4 ; | |
17741 | int arg5 ; | |
17742 | PyObject * obj0 = 0 ; | |
17743 | PyObject * obj1 = 0 ; | |
17744 | PyObject * obj2 = 0 ; | |
17745 | PyObject * obj3 = 0 ; | |
17746 | PyObject * obj4 = 0 ; | |
17747 | char *kwnames[] = { | |
17748 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
17749 | }; | |
17750 | ||
17751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
17752 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17753 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17754 | { | |
17755 | arg2 = (int)(SWIG_As_int(obj1)); | |
17756 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17757 | } | |
17758 | { | |
17759 | arg3 = (int)(SWIG_As_int(obj2)); | |
17760 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17761 | } | |
17762 | { | |
17763 | arg4 = (int)(SWIG_As_int(obj3)); | |
17764 | if (SWIG_arg_fail(4)) SWIG_fail; | |
17765 | } | |
17766 | { | |
17767 | arg5 = (int)(SWIG_As_int(obj4)); | |
17768 | if (SWIG_arg_fail(5)) SWIG_fail; | |
17769 | } | |
d55e5bfc RD |
17770 | { |
17771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17772 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
17773 | ||
17774 | wxPyEndAllowThreads(__tstate); | |
17775 | if (PyErr_Occurred()) SWIG_fail; | |
17776 | } | |
17777 | Py_INCREF(Py_None); resultobj = Py_None; | |
17778 | return resultobj; | |
17779 | fail: | |
17780 | return NULL; | |
17781 | } | |
17782 | ||
17783 | ||
c370783e | 17784 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17785 | PyObject *resultobj; |
17786 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17787 | int arg2 ; | |
17788 | int arg3 ; | |
17789 | int arg4 ; | |
17790 | int arg5 ; | |
17791 | int arg6 = (int) wxSIZE_AUTO ; | |
17792 | PyObject * obj0 = 0 ; | |
17793 | PyObject * obj1 = 0 ; | |
17794 | PyObject * obj2 = 0 ; | |
17795 | PyObject * obj3 = 0 ; | |
17796 | PyObject * obj4 = 0 ; | |
17797 | PyObject * obj5 = 0 ; | |
17798 | char *kwnames[] = { | |
17799 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
17800 | }; | |
17801 | ||
17802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
17803 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17804 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17805 | { | |
17806 | arg2 = (int)(SWIG_As_int(obj1)); | |
17807 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17808 | } | |
17809 | { | |
17810 | arg3 = (int)(SWIG_As_int(obj2)); | |
17811 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17812 | } | |
17813 | { | |
17814 | arg4 = (int)(SWIG_As_int(obj3)); | |
17815 | if (SWIG_arg_fail(4)) SWIG_fail; | |
17816 | } | |
17817 | { | |
17818 | arg5 = (int)(SWIG_As_int(obj4)); | |
17819 | if (SWIG_arg_fail(5)) SWIG_fail; | |
17820 | } | |
d55e5bfc | 17821 | if (obj5) { |
36ed4f51 RD |
17822 | { |
17823 | arg6 = (int)(SWIG_As_int(obj5)); | |
17824 | if (SWIG_arg_fail(6)) SWIG_fail; | |
17825 | } | |
d55e5bfc RD |
17826 | } |
17827 | { | |
17828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17829 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
17830 | ||
17831 | wxPyEndAllowThreads(__tstate); | |
17832 | if (PyErr_Occurred()) SWIG_fail; | |
17833 | } | |
17834 | Py_INCREF(Py_None); resultobj = Py_None; | |
17835 | return resultobj; | |
17836 | fail: | |
17837 | return NULL; | |
17838 | } | |
17839 | ||
17840 | ||
c370783e | 17841 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17842 | PyObject *resultobj; |
17843 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17844 | int arg2 ; | |
17845 | int arg3 ; | |
17846 | PyObject * obj0 = 0 ; | |
17847 | PyObject * obj1 = 0 ; | |
17848 | PyObject * obj2 = 0 ; | |
17849 | char *kwnames[] = { | |
17850 | (char *) "self",(char *) "width",(char *) "height", NULL | |
17851 | }; | |
17852 | ||
17853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
17854 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17855 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17856 | { | |
17857 | arg2 = (int)(SWIG_As_int(obj1)); | |
17858 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17859 | } | |
17860 | { | |
17861 | arg3 = (int)(SWIG_As_int(obj2)); | |
17862 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17863 | } | |
d55e5bfc RD |
17864 | { |
17865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17866 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
17867 | ||
17868 | wxPyEndAllowThreads(__tstate); | |
17869 | if (PyErr_Occurred()) SWIG_fail; | |
17870 | } | |
17871 | Py_INCREF(Py_None); resultobj = Py_None; | |
17872 | return resultobj; | |
17873 | fail: | |
17874 | return NULL; | |
17875 | } | |
17876 | ||
17877 | ||
c370783e | 17878 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17879 | PyObject *resultobj; |
17880 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17881 | int arg2 ; | |
17882 | int arg3 ; | |
17883 | PyObject * obj0 = 0 ; | |
17884 | PyObject * obj1 = 0 ; | |
17885 | PyObject * obj2 = 0 ; | |
17886 | char *kwnames[] = { | |
17887 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17888 | }; | |
17889 | ||
17890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
17891 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17892 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17893 | { | |
17894 | arg2 = (int)(SWIG_As_int(obj1)); | |
17895 | if (SWIG_arg_fail(2)) SWIG_fail; | |
17896 | } | |
17897 | { | |
17898 | arg3 = (int)(SWIG_As_int(obj2)); | |
17899 | if (SWIG_arg_fail(3)) SWIG_fail; | |
17900 | } | |
d55e5bfc RD |
17901 | { |
17902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17903 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
17904 | ||
17905 | wxPyEndAllowThreads(__tstate); | |
17906 | if (PyErr_Occurred()) SWIG_fail; | |
17907 | } | |
17908 | Py_INCREF(Py_None); resultobj = Py_None; | |
17909 | return resultobj; | |
17910 | fail: | |
17911 | return NULL; | |
17912 | } | |
17913 | ||
17914 | ||
c370783e | 17915 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17916 | PyObject *resultobj; |
17917 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17918 | int *arg2 = (int *) 0 ; | |
17919 | int *arg3 = (int *) 0 ; | |
17920 | int temp2 ; | |
c370783e | 17921 | int res2 = 0 ; |
d55e5bfc | 17922 | int temp3 ; |
c370783e | 17923 | int res3 = 0 ; |
d55e5bfc RD |
17924 | PyObject * obj0 = 0 ; |
17925 | char *kwnames[] = { | |
17926 | (char *) "self", NULL | |
17927 | }; | |
17928 | ||
c370783e RD |
17929 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
17930 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 17931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
17932 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17933 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17934 | { |
17935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17936 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
17937 | ||
17938 | wxPyEndAllowThreads(__tstate); | |
17939 | if (PyErr_Occurred()) SWIG_fail; | |
17940 | } | |
17941 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
17942 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
17943 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
17944 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
17945 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
17946 | return resultobj; |
17947 | fail: | |
17948 | return NULL; | |
17949 | } | |
17950 | ||
17951 | ||
c370783e | 17952 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17953 | PyObject *resultobj; |
17954 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17955 | int *arg2 = (int *) 0 ; | |
17956 | int *arg3 = (int *) 0 ; | |
17957 | int temp2 ; | |
c370783e | 17958 | int res2 = 0 ; |
d55e5bfc | 17959 | int temp3 ; |
c370783e | 17960 | int res3 = 0 ; |
d55e5bfc RD |
17961 | PyObject * obj0 = 0 ; |
17962 | char *kwnames[] = { | |
17963 | (char *) "self", NULL | |
17964 | }; | |
17965 | ||
c370783e RD |
17966 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
17967 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 17968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
17969 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
17970 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
17971 | { |
17972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17973 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
17974 | ||
17975 | wxPyEndAllowThreads(__tstate); | |
17976 | if (PyErr_Occurred()) SWIG_fail; | |
17977 | } | |
17978 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
17979 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
17980 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
17981 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
17982 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
17983 | return resultobj; |
17984 | fail: | |
17985 | return NULL; | |
17986 | } | |
17987 | ||
17988 | ||
c370783e | 17989 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
17990 | PyObject *resultobj; |
17991 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
17992 | int *arg2 = (int *) 0 ; | |
17993 | int *arg3 = (int *) 0 ; | |
17994 | int temp2 ; | |
c370783e | 17995 | int res2 = 0 ; |
d55e5bfc | 17996 | int temp3 ; |
c370783e | 17997 | int res3 = 0 ; |
d55e5bfc RD |
17998 | PyObject * obj0 = 0 ; |
17999 | char *kwnames[] = { | |
18000 | (char *) "self", NULL | |
18001 | }; | |
18002 | ||
c370783e RD |
18003 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18004 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
18006 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18007 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18008 | { |
18009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18010 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
18011 | ||
18012 | wxPyEndAllowThreads(__tstate); | |
18013 | if (PyErr_Occurred()) SWIG_fail; | |
18014 | } | |
18015 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
18016 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18017 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18018 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18019 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18020 | return resultobj; |
18021 | fail: | |
18022 | return NULL; | |
18023 | } | |
18024 | ||
18025 | ||
c370783e | 18026 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18027 | PyObject *resultobj; |
18028 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18029 | wxSize result; | |
18030 | PyObject * obj0 = 0 ; | |
18031 | char *kwnames[] = { | |
18032 | (char *) "self", NULL | |
18033 | }; | |
18034 | ||
18035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18036 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18037 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18038 | { |
18039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18040 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
18041 | ||
18042 | wxPyEndAllowThreads(__tstate); | |
18043 | if (PyErr_Occurred()) SWIG_fail; | |
18044 | } | |
18045 | { | |
18046 | wxSize * resultptr; | |
36ed4f51 | 18047 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
18048 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
18049 | } | |
18050 | return resultobj; | |
18051 | fail: | |
18052 | return NULL; | |
18053 | } | |
18054 | ||
18055 | ||
c370783e | 18056 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18057 | PyObject *resultobj; |
18058 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18059 | wxSize result; | |
18060 | PyObject * obj0 = 0 ; | |
18061 | char *kwnames[] = { | |
18062 | (char *) "self", NULL | |
18063 | }; | |
18064 | ||
18065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18066 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18067 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18068 | { |
18069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18070 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
18071 | ||
18072 | wxPyEndAllowThreads(__tstate); | |
18073 | if (PyErr_Occurred()) SWIG_fail; | |
18074 | } | |
18075 | { | |
18076 | wxSize * resultptr; | |
36ed4f51 | 18077 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
18078 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
18079 | } | |
18080 | return resultobj; | |
18081 | fail: | |
18082 | return NULL; | |
18083 | } | |
18084 | ||
18085 | ||
c370783e | 18086 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18087 | PyObject *resultobj; |
18088 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18089 | PyObject * obj0 = 0 ; | |
18090 | char *kwnames[] = { | |
18091 | (char *) "self", NULL | |
18092 | }; | |
18093 | ||
18094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18095 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18096 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18097 | { |
18098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18099 | (arg1)->base_InitDialog(); | |
18100 | ||
18101 | wxPyEndAllowThreads(__tstate); | |
18102 | if (PyErr_Occurred()) SWIG_fail; | |
18103 | } | |
18104 | Py_INCREF(Py_None); resultobj = Py_None; | |
18105 | return resultobj; | |
18106 | fail: | |
18107 | return NULL; | |
18108 | } | |
18109 | ||
18110 | ||
c370783e | 18111 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18112 | PyObject *resultobj; |
18113 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18114 | bool result; | |
18115 | PyObject * obj0 = 0 ; | |
18116 | char *kwnames[] = { | |
18117 | (char *) "self", NULL | |
18118 | }; | |
18119 | ||
18120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18121 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18122 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18123 | { |
18124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18125 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
18126 | ||
18127 | wxPyEndAllowThreads(__tstate); | |
18128 | if (PyErr_Occurred()) SWIG_fail; | |
18129 | } | |
18130 | { | |
18131 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18132 | } | |
18133 | return resultobj; | |
18134 | fail: | |
18135 | return NULL; | |
18136 | } | |
18137 | ||
18138 | ||
c370783e | 18139 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18140 | PyObject *resultobj; |
18141 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18142 | bool result; | |
18143 | PyObject * obj0 = 0 ; | |
18144 | char *kwnames[] = { | |
18145 | (char *) "self", NULL | |
18146 | }; | |
18147 | ||
18148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18149 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18150 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18151 | { |
18152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18153 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
18154 | ||
18155 | wxPyEndAllowThreads(__tstate); | |
18156 | if (PyErr_Occurred()) SWIG_fail; | |
18157 | } | |
18158 | { | |
18159 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18160 | } | |
18161 | return resultobj; | |
18162 | fail: | |
18163 | return NULL; | |
18164 | } | |
18165 | ||
18166 | ||
c370783e | 18167 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18168 | PyObject *resultobj; |
18169 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18170 | bool result; | |
18171 | PyObject * obj0 = 0 ; | |
18172 | char *kwnames[] = { | |
18173 | (char *) "self", NULL | |
18174 | }; | |
18175 | ||
18176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18177 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18178 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18179 | { |
18180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18181 | result = (bool)(arg1)->base_Validate(); | |
18182 | ||
18183 | wxPyEndAllowThreads(__tstate); | |
18184 | if (PyErr_Occurred()) SWIG_fail; | |
18185 | } | |
18186 | { | |
18187 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18188 | } | |
18189 | return resultobj; | |
18190 | fail: | |
18191 | return NULL; | |
18192 | } | |
18193 | ||
18194 | ||
c370783e | 18195 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18196 | PyObject *resultobj; |
18197 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18198 | bool result; | |
18199 | PyObject * obj0 = 0 ; | |
18200 | char *kwnames[] = { | |
18201 | (char *) "self", NULL | |
18202 | }; | |
18203 | ||
18204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18205 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18206 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18207 | { |
18208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18209 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
18210 | ||
18211 | wxPyEndAllowThreads(__tstate); | |
18212 | if (PyErr_Occurred()) SWIG_fail; | |
18213 | } | |
18214 | { | |
18215 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18216 | } | |
18217 | return resultobj; | |
18218 | fail: | |
18219 | return NULL; | |
18220 | } | |
18221 | ||
18222 | ||
c370783e | 18223 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18224 | PyObject *resultobj; |
18225 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18226 | bool result; | |
18227 | PyObject * obj0 = 0 ; | |
18228 | char *kwnames[] = { | |
18229 | (char *) "self", NULL | |
18230 | }; | |
18231 | ||
18232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18233 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18234 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18235 | { |
18236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18237 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
18238 | ||
18239 | wxPyEndAllowThreads(__tstate); | |
18240 | if (PyErr_Occurred()) SWIG_fail; | |
18241 | } | |
18242 | { | |
18243 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18244 | } | |
18245 | return resultobj; | |
18246 | fail: | |
18247 | return NULL; | |
18248 | } | |
18249 | ||
18250 | ||
c370783e | 18251 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18252 | PyObject *resultobj; |
18253 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18254 | wxSize result; | |
18255 | PyObject * obj0 = 0 ; | |
18256 | char *kwnames[] = { | |
18257 | (char *) "self", NULL | |
18258 | }; | |
18259 | ||
18260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18261 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18262 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18263 | { |
18264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18265 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
18266 | ||
18267 | wxPyEndAllowThreads(__tstate); | |
18268 | if (PyErr_Occurred()) SWIG_fail; | |
18269 | } | |
18270 | { | |
18271 | wxSize * resultptr; | |
36ed4f51 | 18272 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
18273 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
18274 | } | |
18275 | return resultobj; | |
18276 | fail: | |
18277 | return NULL; | |
18278 | } | |
18279 | ||
18280 | ||
c370783e | 18281 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18282 | PyObject *resultobj; |
18283 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18284 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18285 | PyObject * obj0 = 0 ; | |
18286 | PyObject * obj1 = 0 ; | |
18287 | char *kwnames[] = { | |
18288 | (char *) "self",(char *) "child", NULL | |
18289 | }; | |
18290 | ||
18291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
18292 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18293 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18294 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
18295 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
18296 | { |
18297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18298 | (arg1)->base_AddChild(arg2); | |
18299 | ||
18300 | wxPyEndAllowThreads(__tstate); | |
18301 | if (PyErr_Occurred()) SWIG_fail; | |
18302 | } | |
18303 | Py_INCREF(Py_None); resultobj = Py_None; | |
18304 | return resultobj; | |
18305 | fail: | |
18306 | return NULL; | |
18307 | } | |
18308 | ||
18309 | ||
c370783e | 18310 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18311 | PyObject *resultobj; |
18312 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18313 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18314 | PyObject * obj0 = 0 ; | |
18315 | PyObject * obj1 = 0 ; | |
18316 | char *kwnames[] = { | |
18317 | (char *) "self",(char *) "child", NULL | |
18318 | }; | |
18319 | ||
18320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
18321 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18322 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18323 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
18324 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
18325 | { |
18326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18327 | (arg1)->base_RemoveChild(arg2); | |
18328 | ||
18329 | wxPyEndAllowThreads(__tstate); | |
18330 | if (PyErr_Occurred()) SWIG_fail; | |
18331 | } | |
18332 | Py_INCREF(Py_None); resultobj = Py_None; | |
18333 | return resultobj; | |
18334 | fail: | |
18335 | return NULL; | |
18336 | } | |
18337 | ||
18338 | ||
c370783e | 18339 | static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18340 | PyObject *resultobj; |
18341 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18342 | bool result; | |
18343 | PyObject * obj0 = 0 ; | |
18344 | char *kwnames[] = { | |
18345 | (char *) "self", NULL | |
18346 | }; | |
18347 | ||
18348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18349 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18350 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18351 | { |
18352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a5ee0656 | 18353 | result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
18354 | |
18355 | wxPyEndAllowThreads(__tstate); | |
18356 | if (PyErr_Occurred()) SWIG_fail; | |
18357 | } | |
18358 | { | |
18359 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18360 | } | |
18361 | return resultobj; | |
18362 | fail: | |
18363 | return NULL; | |
18364 | } | |
18365 | ||
18366 | ||
c370783e | 18367 | static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
18368 | PyObject *resultobj; |
18369 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
18370 | wxVisualAttributes result; | |
18371 | PyObject * obj0 = 0 ; | |
18372 | char *kwnames[] = { | |
18373 | (char *) "self", NULL | |
18374 | }; | |
18375 | ||
18376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18377 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); |
18378 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
18379 | { |
18380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18381 | result = (arg1)->base_GetDefaultAttributes(); | |
18382 | ||
18383 | wxPyEndAllowThreads(__tstate); | |
18384 | if (PyErr_Occurred()) SWIG_fail; | |
18385 | } | |
18386 | { | |
18387 | wxVisualAttributes * resultptr; | |
36ed4f51 | 18388 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
a5ee0656 RD |
18389 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
18390 | } | |
18391 | return resultobj; | |
18392 | fail: | |
18393 | return NULL; | |
18394 | } | |
18395 | ||
18396 | ||
c370783e | 18397 | static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
18398 | PyObject *obj; |
18399 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18400 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
18401 | Py_INCREF(obj); | |
18402 | return Py_BuildValue((char *)""); | |
18403 | } | |
c370783e | 18404 | static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18405 | PyObject *resultobj; |
18406 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 18407 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
18408 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
18409 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
18410 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
18411 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
18412 | long arg5 = (long) 0 ; | |
18413 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
18414 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
18415 | wxPyPanel *result; | |
18416 | wxPoint temp3 ; | |
18417 | wxSize temp4 ; | |
b411df4a | 18418 | bool temp6 = false ; |
d55e5bfc RD |
18419 | PyObject * obj0 = 0 ; |
18420 | PyObject * obj1 = 0 ; | |
18421 | PyObject * obj2 = 0 ; | |
18422 | PyObject * obj3 = 0 ; | |
18423 | PyObject * obj4 = 0 ; | |
18424 | PyObject * obj5 = 0 ; | |
18425 | char *kwnames[] = { | |
18426 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
18427 | }; | |
18428 | ||
bfddbb17 | 18429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
36ed4f51 RD |
18430 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
18431 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 18432 | if (obj1) { |
36ed4f51 RD |
18433 | { |
18434 | arg2 = (int const)(SWIG_As_int(obj1)); | |
18435 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18436 | } | |
bfddbb17 | 18437 | } |
d55e5bfc RD |
18438 | if (obj2) { |
18439 | { | |
18440 | arg3 = &temp3; | |
18441 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
18442 | } | |
18443 | } | |
18444 | if (obj3) { | |
18445 | { | |
18446 | arg4 = &temp4; | |
18447 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
18448 | } | |
18449 | } | |
18450 | if (obj4) { | |
36ed4f51 RD |
18451 | { |
18452 | arg5 = (long)(SWIG_As_long(obj4)); | |
18453 | if (SWIG_arg_fail(5)) SWIG_fail; | |
18454 | } | |
d55e5bfc RD |
18455 | } |
18456 | if (obj5) { | |
18457 | { | |
18458 | arg6 = wxString_in_helper(obj5); | |
18459 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 18460 | temp6 = true; |
d55e5bfc RD |
18461 | } |
18462 | } | |
18463 | { | |
0439c23b | 18464 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
18465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
18466 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
18467 | ||
18468 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 18469 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
18470 | } |
18471 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
18472 | { | |
18473 | if (temp6) | |
18474 | delete arg6; | |
18475 | } | |
18476 | return resultobj; | |
18477 | fail: | |
18478 | { | |
18479 | if (temp6) | |
18480 | delete arg6; | |
18481 | } | |
18482 | return NULL; | |
18483 | } | |
18484 | ||
18485 | ||
c370783e | 18486 | static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18487 | PyObject *resultobj; |
18488 | wxPyPanel *result; | |
18489 | char *kwnames[] = { | |
18490 | NULL | |
18491 | }; | |
18492 | ||
18493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail; | |
18494 | { | |
0439c23b | 18495 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
18496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
18497 | result = (wxPyPanel *)new wxPyPanel(); | |
18498 | ||
18499 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 18500 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
18501 | } |
18502 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
18503 | return resultobj; | |
18504 | fail: | |
18505 | return NULL; | |
18506 | } | |
18507 | ||
18508 | ||
c370783e | 18509 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18510 | PyObject *resultobj; |
18511 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18512 | PyObject *arg2 = (PyObject *) 0 ; | |
18513 | PyObject *arg3 = (PyObject *) 0 ; | |
18514 | PyObject * obj0 = 0 ; | |
18515 | PyObject * obj1 = 0 ; | |
18516 | PyObject * obj2 = 0 ; | |
18517 | char *kwnames[] = { | |
18518 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
18519 | }; | |
18520 | ||
18521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
18522 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18523 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18524 | arg2 = obj1; |
18525 | arg3 = obj2; | |
18526 | { | |
18527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18528 | (arg1)->_setCallbackInfo(arg2,arg3); | |
18529 | ||
18530 | wxPyEndAllowThreads(__tstate); | |
18531 | if (PyErr_Occurred()) SWIG_fail; | |
18532 | } | |
18533 | Py_INCREF(Py_None); resultobj = Py_None; | |
18534 | return resultobj; | |
18535 | fail: | |
18536 | return NULL; | |
18537 | } | |
18538 | ||
18539 | ||
c370783e | 18540 | static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
18541 | PyObject *resultobj; |
18542 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18543 | wxSize *arg2 = 0 ; | |
18544 | wxSize temp2 ; | |
18545 | PyObject * obj0 = 0 ; | |
18546 | PyObject * obj1 = 0 ; | |
18547 | char *kwnames[] = { | |
18548 | (char *) "self",(char *) "size", NULL | |
18549 | }; | |
18550 | ||
18551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
18552 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18553 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
18554 | { |
18555 | arg2 = &temp2; | |
18556 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
18557 | } | |
18558 | { | |
18559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18560 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
18561 | ||
18562 | wxPyEndAllowThreads(__tstate); | |
18563 | if (PyErr_Occurred()) SWIG_fail; | |
18564 | } | |
18565 | Py_INCREF(Py_None); resultobj = Py_None; | |
18566 | return resultobj; | |
18567 | fail: | |
18568 | return NULL; | |
18569 | } | |
18570 | ||
18571 | ||
c370783e | 18572 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18573 | PyObject *resultobj; |
18574 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18575 | int arg2 ; | |
18576 | int arg3 ; | |
18577 | int arg4 ; | |
18578 | int arg5 ; | |
18579 | PyObject * obj0 = 0 ; | |
18580 | PyObject * obj1 = 0 ; | |
18581 | PyObject * obj2 = 0 ; | |
18582 | PyObject * obj3 = 0 ; | |
18583 | PyObject * obj4 = 0 ; | |
18584 | char *kwnames[] = { | |
18585 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
18586 | }; | |
18587 | ||
18588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
18589 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18590 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18591 | { | |
18592 | arg2 = (int)(SWIG_As_int(obj1)); | |
18593 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18594 | } | |
18595 | { | |
18596 | arg3 = (int)(SWIG_As_int(obj2)); | |
18597 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18598 | } | |
18599 | { | |
18600 | arg4 = (int)(SWIG_As_int(obj3)); | |
18601 | if (SWIG_arg_fail(4)) SWIG_fail; | |
18602 | } | |
18603 | { | |
18604 | arg5 = (int)(SWIG_As_int(obj4)); | |
18605 | if (SWIG_arg_fail(5)) SWIG_fail; | |
18606 | } | |
d55e5bfc RD |
18607 | { |
18608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18609 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
18610 | ||
18611 | wxPyEndAllowThreads(__tstate); | |
18612 | if (PyErr_Occurred()) SWIG_fail; | |
18613 | } | |
18614 | Py_INCREF(Py_None); resultobj = Py_None; | |
18615 | return resultobj; | |
18616 | fail: | |
18617 | return NULL; | |
18618 | } | |
18619 | ||
18620 | ||
c370783e | 18621 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18622 | PyObject *resultobj; |
18623 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18624 | int arg2 ; | |
18625 | int arg3 ; | |
18626 | int arg4 ; | |
18627 | int arg5 ; | |
18628 | int arg6 = (int) wxSIZE_AUTO ; | |
18629 | PyObject * obj0 = 0 ; | |
18630 | PyObject * obj1 = 0 ; | |
18631 | PyObject * obj2 = 0 ; | |
18632 | PyObject * obj3 = 0 ; | |
18633 | PyObject * obj4 = 0 ; | |
18634 | PyObject * obj5 = 0 ; | |
18635 | char *kwnames[] = { | |
18636 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
18637 | }; | |
18638 | ||
18639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
18640 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18641 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18642 | { | |
18643 | arg2 = (int)(SWIG_As_int(obj1)); | |
18644 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18645 | } | |
18646 | { | |
18647 | arg3 = (int)(SWIG_As_int(obj2)); | |
18648 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18649 | } | |
18650 | { | |
18651 | arg4 = (int)(SWIG_As_int(obj3)); | |
18652 | if (SWIG_arg_fail(4)) SWIG_fail; | |
18653 | } | |
18654 | { | |
18655 | arg5 = (int)(SWIG_As_int(obj4)); | |
18656 | if (SWIG_arg_fail(5)) SWIG_fail; | |
18657 | } | |
d55e5bfc | 18658 | if (obj5) { |
36ed4f51 RD |
18659 | { |
18660 | arg6 = (int)(SWIG_As_int(obj5)); | |
18661 | if (SWIG_arg_fail(6)) SWIG_fail; | |
18662 | } | |
d55e5bfc RD |
18663 | } |
18664 | { | |
18665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18666 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
18667 | ||
18668 | wxPyEndAllowThreads(__tstate); | |
18669 | if (PyErr_Occurred()) SWIG_fail; | |
18670 | } | |
18671 | Py_INCREF(Py_None); resultobj = Py_None; | |
18672 | return resultobj; | |
18673 | fail: | |
18674 | return NULL; | |
18675 | } | |
18676 | ||
18677 | ||
c370783e | 18678 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18679 | PyObject *resultobj; |
18680 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18681 | int arg2 ; | |
18682 | int arg3 ; | |
18683 | PyObject * obj0 = 0 ; | |
18684 | PyObject * obj1 = 0 ; | |
18685 | PyObject * obj2 = 0 ; | |
18686 | char *kwnames[] = { | |
18687 | (char *) "self",(char *) "width",(char *) "height", NULL | |
18688 | }; | |
18689 | ||
18690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
18691 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18692 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18693 | { | |
18694 | arg2 = (int)(SWIG_As_int(obj1)); | |
18695 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18696 | } | |
18697 | { | |
18698 | arg3 = (int)(SWIG_As_int(obj2)); | |
18699 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18700 | } | |
d55e5bfc RD |
18701 | { |
18702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18703 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
18704 | ||
18705 | wxPyEndAllowThreads(__tstate); | |
18706 | if (PyErr_Occurred()) SWIG_fail; | |
18707 | } | |
18708 | Py_INCREF(Py_None); resultobj = Py_None; | |
18709 | return resultobj; | |
18710 | fail: | |
18711 | return NULL; | |
18712 | } | |
18713 | ||
18714 | ||
c370783e | 18715 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18716 | PyObject *resultobj; |
18717 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18718 | int arg2 ; | |
18719 | int arg3 ; | |
18720 | PyObject * obj0 = 0 ; | |
18721 | PyObject * obj1 = 0 ; | |
18722 | PyObject * obj2 = 0 ; | |
18723 | char *kwnames[] = { | |
18724 | (char *) "self",(char *) "x",(char *) "y", NULL | |
18725 | }; | |
18726 | ||
18727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
18728 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18729 | if (SWIG_arg_fail(1)) SWIG_fail; | |
18730 | { | |
18731 | arg2 = (int)(SWIG_As_int(obj1)); | |
18732 | if (SWIG_arg_fail(2)) SWIG_fail; | |
18733 | } | |
18734 | { | |
18735 | arg3 = (int)(SWIG_As_int(obj2)); | |
18736 | if (SWIG_arg_fail(3)) SWIG_fail; | |
18737 | } | |
d55e5bfc RD |
18738 | { |
18739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18740 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
18741 | ||
18742 | wxPyEndAllowThreads(__tstate); | |
18743 | if (PyErr_Occurred()) SWIG_fail; | |
18744 | } | |
18745 | Py_INCREF(Py_None); resultobj = Py_None; | |
18746 | return resultobj; | |
18747 | fail: | |
18748 | return NULL; | |
18749 | } | |
18750 | ||
18751 | ||
c370783e | 18752 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18753 | PyObject *resultobj; |
18754 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18755 | int *arg2 = (int *) 0 ; | |
18756 | int *arg3 = (int *) 0 ; | |
18757 | int temp2 ; | |
c370783e | 18758 | int res2 = 0 ; |
d55e5bfc | 18759 | int temp3 ; |
c370783e | 18760 | int res3 = 0 ; |
d55e5bfc RD |
18761 | PyObject * obj0 = 0 ; |
18762 | char *kwnames[] = { | |
18763 | (char *) "self", NULL | |
18764 | }; | |
18765 | ||
c370783e RD |
18766 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18767 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
18769 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18770 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18771 | { |
18772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18773 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
18774 | ||
18775 | wxPyEndAllowThreads(__tstate); | |
18776 | if (PyErr_Occurred()) SWIG_fail; | |
18777 | } | |
18778 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
18779 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18780 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18781 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18782 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18783 | return resultobj; |
18784 | fail: | |
18785 | return NULL; | |
18786 | } | |
18787 | ||
18788 | ||
c370783e | 18789 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18790 | PyObject *resultobj; |
18791 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18792 | int *arg2 = (int *) 0 ; | |
18793 | int *arg3 = (int *) 0 ; | |
18794 | int temp2 ; | |
c370783e | 18795 | int res2 = 0 ; |
d55e5bfc | 18796 | int temp3 ; |
c370783e | 18797 | int res3 = 0 ; |
d55e5bfc RD |
18798 | PyObject * obj0 = 0 ; |
18799 | char *kwnames[] = { | |
18800 | (char *) "self", NULL | |
18801 | }; | |
18802 | ||
c370783e RD |
18803 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18804 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
18806 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18807 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18808 | { |
18809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18810 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
18811 | ||
18812 | wxPyEndAllowThreads(__tstate); | |
18813 | if (PyErr_Occurred()) SWIG_fail; | |
18814 | } | |
18815 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
18816 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18817 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18818 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18819 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18820 | return resultobj; |
18821 | fail: | |
18822 | return NULL; | |
18823 | } | |
18824 | ||
18825 | ||
c370783e | 18826 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18827 | PyObject *resultobj; |
18828 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18829 | int *arg2 = (int *) 0 ; | |
18830 | int *arg3 = (int *) 0 ; | |
18831 | int temp2 ; | |
c370783e | 18832 | int res2 = 0 ; |
d55e5bfc | 18833 | int temp3 ; |
c370783e | 18834 | int res3 = 0 ; |
d55e5bfc RD |
18835 | PyObject * obj0 = 0 ; |
18836 | char *kwnames[] = { | |
18837 | (char *) "self", NULL | |
18838 | }; | |
18839 | ||
c370783e RD |
18840 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18841 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 18842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
18843 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18844 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18845 | { |
18846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18847 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
18848 | ||
18849 | wxPyEndAllowThreads(__tstate); | |
18850 | if (PyErr_Occurred()) SWIG_fail; | |
18851 | } | |
18852 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
18853 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18854 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18855 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18856 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
18857 | return resultobj; |
18858 | fail: | |
18859 | return NULL; | |
18860 | } | |
18861 | ||
18862 | ||
c370783e | 18863 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18864 | PyObject *resultobj; |
18865 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18866 | wxSize result; | |
18867 | PyObject * obj0 = 0 ; | |
18868 | char *kwnames[] = { | |
18869 | (char *) "self", NULL | |
18870 | }; | |
18871 | ||
18872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18873 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18874 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18875 | { |
18876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18877 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
18878 | ||
18879 | wxPyEndAllowThreads(__tstate); | |
18880 | if (PyErr_Occurred()) SWIG_fail; | |
18881 | } | |
18882 | { | |
18883 | wxSize * resultptr; | |
36ed4f51 | 18884 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
18885 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
18886 | } | |
18887 | return resultobj; | |
18888 | fail: | |
18889 | return NULL; | |
18890 | } | |
18891 | ||
18892 | ||
c370783e | 18893 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18894 | PyObject *resultobj; |
18895 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18896 | wxSize result; | |
18897 | PyObject * obj0 = 0 ; | |
18898 | char *kwnames[] = { | |
18899 | (char *) "self", NULL | |
18900 | }; | |
18901 | ||
18902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18903 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18904 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18905 | { |
18906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18907 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
18908 | ||
18909 | wxPyEndAllowThreads(__tstate); | |
18910 | if (PyErr_Occurred()) SWIG_fail; | |
18911 | } | |
18912 | { | |
18913 | wxSize * resultptr; | |
36ed4f51 | 18914 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
18915 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
18916 | } | |
18917 | return resultobj; | |
18918 | fail: | |
18919 | return NULL; | |
18920 | } | |
18921 | ||
18922 | ||
c370783e | 18923 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18924 | PyObject *resultobj; |
18925 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18926 | PyObject * obj0 = 0 ; | |
18927 | char *kwnames[] = { | |
18928 | (char *) "self", NULL | |
18929 | }; | |
18930 | ||
18931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18932 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18933 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18934 | { |
18935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18936 | (arg1)->base_InitDialog(); | |
18937 | ||
18938 | wxPyEndAllowThreads(__tstate); | |
18939 | if (PyErr_Occurred()) SWIG_fail; | |
18940 | } | |
18941 | Py_INCREF(Py_None); resultobj = Py_None; | |
18942 | return resultobj; | |
18943 | fail: | |
18944 | return NULL; | |
18945 | } | |
18946 | ||
18947 | ||
c370783e | 18948 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18949 | PyObject *resultobj; |
18950 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18951 | bool result; | |
18952 | PyObject * obj0 = 0 ; | |
18953 | char *kwnames[] = { | |
18954 | (char *) "self", NULL | |
18955 | }; | |
18956 | ||
18957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18958 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18959 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18960 | { |
18961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18962 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
18963 | ||
18964 | wxPyEndAllowThreads(__tstate); | |
18965 | if (PyErr_Occurred()) SWIG_fail; | |
18966 | } | |
18967 | { | |
18968 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18969 | } | |
18970 | return resultobj; | |
18971 | fail: | |
18972 | return NULL; | |
18973 | } | |
18974 | ||
18975 | ||
c370783e | 18976 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
18977 | PyObject *resultobj; |
18978 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
18979 | bool result; | |
18980 | PyObject * obj0 = 0 ; | |
18981 | char *kwnames[] = { | |
18982 | (char *) "self", NULL | |
18983 | }; | |
18984 | ||
18985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
18986 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
18987 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
18988 | { |
18989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18990 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
18991 | ||
18992 | wxPyEndAllowThreads(__tstate); | |
18993 | if (PyErr_Occurred()) SWIG_fail; | |
18994 | } | |
18995 | { | |
18996 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18997 | } | |
18998 | return resultobj; | |
18999 | fail: | |
19000 | return NULL; | |
19001 | } | |
19002 | ||
19003 | ||
c370783e | 19004 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19005 | PyObject *resultobj; |
19006 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19007 | bool result; | |
19008 | PyObject * obj0 = 0 ; | |
19009 | char *kwnames[] = { | |
19010 | (char *) "self", NULL | |
19011 | }; | |
19012 | ||
19013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
36ed4f51 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 | result = (bool)(arg1)->base_Validate(); | |
19019 | ||
19020 | wxPyEndAllowThreads(__tstate); | |
19021 | if (PyErr_Occurred()) SWIG_fail; | |
19022 | } | |
19023 | { | |
19024 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19025 | } | |
19026 | return resultobj; | |
19027 | fail: | |
19028 | return NULL; | |
19029 | } | |
19030 | ||
19031 | ||
c370783e | 19032 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19033 | PyObject *resultobj; |
19034 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19035 | bool result; | |
19036 | PyObject * obj0 = 0 ; | |
19037 | char *kwnames[] = { | |
19038 | (char *) "self", NULL | |
19039 | }; | |
19040 | ||
19041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19042 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19043 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19044 | { |
19045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19046 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
19047 | ||
19048 | wxPyEndAllowThreads(__tstate); | |
19049 | if (PyErr_Occurred()) SWIG_fail; | |
19050 | } | |
19051 | { | |
19052 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19053 | } | |
19054 | return resultobj; | |
19055 | fail: | |
19056 | return NULL; | |
19057 | } | |
19058 | ||
19059 | ||
c370783e | 19060 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19061 | PyObject *resultobj; |
19062 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19063 | bool result; | |
19064 | PyObject * obj0 = 0 ; | |
19065 | char *kwnames[] = { | |
19066 | (char *) "self", NULL | |
19067 | }; | |
19068 | ||
19069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19070 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19071 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19072 | { |
19073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19074 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
19075 | ||
19076 | wxPyEndAllowThreads(__tstate); | |
19077 | if (PyErr_Occurred()) SWIG_fail; | |
19078 | } | |
19079 | { | |
19080 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19081 | } | |
19082 | return resultobj; | |
19083 | fail: | |
19084 | return NULL; | |
19085 | } | |
19086 | ||
19087 | ||
c370783e | 19088 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19089 | PyObject *resultobj; |
19090 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19091 | wxSize result; | |
19092 | PyObject * obj0 = 0 ; | |
19093 | char *kwnames[] = { | |
19094 | (char *) "self", NULL | |
19095 | }; | |
19096 | ||
19097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19098 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19099 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19100 | { |
19101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19102 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
19103 | ||
19104 | wxPyEndAllowThreads(__tstate); | |
19105 | if (PyErr_Occurred()) SWIG_fail; | |
19106 | } | |
19107 | { | |
19108 | wxSize * resultptr; | |
36ed4f51 | 19109 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19110 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19111 | } | |
19112 | return resultobj; | |
19113 | fail: | |
19114 | return NULL; | |
19115 | } | |
19116 | ||
19117 | ||
c370783e | 19118 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19119 | PyObject *resultobj; |
19120 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19121 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19122 | PyObject * obj0 = 0 ; | |
19123 | PyObject * obj1 = 0 ; | |
19124 | char *kwnames[] = { | |
19125 | (char *) "self",(char *) "child", NULL | |
19126 | }; | |
19127 | ||
19128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
19129 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19130 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19131 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
19132 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
19133 | { |
19134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19135 | (arg1)->base_AddChild(arg2); | |
19136 | ||
19137 | wxPyEndAllowThreads(__tstate); | |
19138 | if (PyErr_Occurred()) SWIG_fail; | |
19139 | } | |
19140 | Py_INCREF(Py_None); resultobj = Py_None; | |
19141 | return resultobj; | |
19142 | fail: | |
19143 | return NULL; | |
19144 | } | |
19145 | ||
19146 | ||
c370783e | 19147 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19148 | PyObject *resultobj; |
19149 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19150 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19151 | PyObject * obj0 = 0 ; | |
19152 | PyObject * obj1 = 0 ; | |
19153 | char *kwnames[] = { | |
19154 | (char *) "self",(char *) "child", NULL | |
19155 | }; | |
19156 | ||
19157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
19158 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19159 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19160 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
19161 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
19162 | { |
19163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19164 | (arg1)->base_RemoveChild(arg2); | |
19165 | ||
19166 | wxPyEndAllowThreads(__tstate); | |
19167 | if (PyErr_Occurred()) SWIG_fail; | |
19168 | } | |
19169 | Py_INCREF(Py_None); resultobj = Py_None; | |
19170 | return resultobj; | |
19171 | fail: | |
19172 | return NULL; | |
19173 | } | |
19174 | ||
19175 | ||
c370783e | 19176 | static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19177 | PyObject *resultobj; |
19178 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19179 | bool result; | |
19180 | PyObject * obj0 = 0 ; | |
19181 | char *kwnames[] = { | |
19182 | (char *) "self", NULL | |
19183 | }; | |
19184 | ||
19185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19186 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19187 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19188 | { |
19189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a5ee0656 | 19190 | result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
19191 | |
19192 | wxPyEndAllowThreads(__tstate); | |
19193 | if (PyErr_Occurred()) SWIG_fail; | |
19194 | } | |
19195 | { | |
19196 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19197 | } | |
19198 | return resultobj; | |
19199 | fail: | |
19200 | return NULL; | |
19201 | } | |
19202 | ||
19203 | ||
c370783e | 19204 | static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
19205 | PyObject *resultobj; |
19206 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
19207 | wxVisualAttributes result; | |
19208 | PyObject * obj0 = 0 ; | |
19209 | char *kwnames[] = { | |
19210 | (char *) "self", NULL | |
19211 | }; | |
19212 | ||
19213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19214 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); |
19215 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
19216 | { |
19217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19218 | result = (arg1)->base_GetDefaultAttributes(); | |
19219 | ||
19220 | wxPyEndAllowThreads(__tstate); | |
19221 | if (PyErr_Occurred()) SWIG_fail; | |
19222 | } | |
19223 | { | |
19224 | wxVisualAttributes * resultptr; | |
36ed4f51 | 19225 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
a5ee0656 RD |
19226 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
19227 | } | |
19228 | return resultobj; | |
19229 | fail: | |
19230 | return NULL; | |
19231 | } | |
19232 | ||
19233 | ||
c370783e | 19234 | static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
19235 | PyObject *obj; |
19236 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19237 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
19238 | Py_INCREF(obj); | |
19239 | return Py_BuildValue((char *)""); | |
19240 | } | |
c370783e | 19241 | static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19242 | PyObject *resultobj; |
19243 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 19244 | int arg2 = (int) (int)-1 ; |
d55e5bfc RD |
19245 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
19246 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
19247 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
19248 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
19249 | long arg5 = (long) 0 ; | |
19250 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
19251 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
19252 | wxPyScrolledWindow *result; | |
19253 | wxPoint temp3 ; | |
19254 | wxSize temp4 ; | |
b411df4a | 19255 | bool temp6 = false ; |
d55e5bfc RD |
19256 | PyObject * obj0 = 0 ; |
19257 | PyObject * obj1 = 0 ; | |
19258 | PyObject * obj2 = 0 ; | |
19259 | PyObject * obj3 = 0 ; | |
19260 | PyObject * obj4 = 0 ; | |
19261 | PyObject * obj5 = 0 ; | |
19262 | char *kwnames[] = { | |
19263 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
19264 | }; | |
19265 | ||
bfddbb17 | 19266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
36ed4f51 RD |
19267 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
19268 | if (SWIG_arg_fail(1)) SWIG_fail; | |
bfddbb17 | 19269 | if (obj1) { |
36ed4f51 RD |
19270 | { |
19271 | arg2 = (int const)(SWIG_As_int(obj1)); | |
19272 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19273 | } | |
bfddbb17 | 19274 | } |
d55e5bfc RD |
19275 | if (obj2) { |
19276 | { | |
19277 | arg3 = &temp3; | |
19278 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
19279 | } | |
19280 | } | |
19281 | if (obj3) { | |
19282 | { | |
19283 | arg4 = &temp4; | |
19284 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
19285 | } | |
19286 | } | |
19287 | if (obj4) { | |
36ed4f51 RD |
19288 | { |
19289 | arg5 = (long)(SWIG_As_long(obj4)); | |
19290 | if (SWIG_arg_fail(5)) SWIG_fail; | |
19291 | } | |
d55e5bfc RD |
19292 | } |
19293 | if (obj5) { | |
19294 | { | |
19295 | arg6 = wxString_in_helper(obj5); | |
19296 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 19297 | temp6 = true; |
d55e5bfc RD |
19298 | } |
19299 | } | |
19300 | { | |
0439c23b | 19301 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
19302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
19303 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
19304 | ||
19305 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 19306 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
19307 | } |
19308 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
19309 | { | |
19310 | if (temp6) | |
19311 | delete arg6; | |
19312 | } | |
19313 | return resultobj; | |
19314 | fail: | |
19315 | { | |
19316 | if (temp6) | |
19317 | delete arg6; | |
19318 | } | |
19319 | return NULL; | |
19320 | } | |
19321 | ||
19322 | ||
c370783e | 19323 | static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19324 | PyObject *resultobj; |
19325 | wxPyScrolledWindow *result; | |
19326 | char *kwnames[] = { | |
19327 | NULL | |
19328 | }; | |
19329 | ||
19330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail; | |
19331 | { | |
0439c23b | 19332 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
19333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
19334 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(); | |
19335 | ||
19336 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 19337 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
19338 | } |
19339 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
19340 | return resultobj; | |
19341 | fail: | |
19342 | return NULL; | |
19343 | } | |
19344 | ||
19345 | ||
c370783e | 19346 | static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19347 | PyObject *resultobj; |
19348 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19349 | PyObject *arg2 = (PyObject *) 0 ; | |
19350 | PyObject *arg3 = (PyObject *) 0 ; | |
19351 | PyObject * obj0 = 0 ; | |
19352 | PyObject * obj1 = 0 ; | |
19353 | PyObject * obj2 = 0 ; | |
19354 | char *kwnames[] = { | |
19355 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
19356 | }; | |
19357 | ||
19358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
19359 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19360 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19361 | arg2 = obj1; |
19362 | arg3 = obj2; | |
19363 | { | |
19364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19365 | (arg1)->_setCallbackInfo(arg2,arg3); | |
19366 | ||
19367 | wxPyEndAllowThreads(__tstate); | |
19368 | if (PyErr_Occurred()) SWIG_fail; | |
19369 | } | |
19370 | Py_INCREF(Py_None); resultobj = Py_None; | |
19371 | return resultobj; | |
19372 | fail: | |
19373 | return NULL; | |
19374 | } | |
19375 | ||
19376 | ||
c370783e | 19377 | static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
19378 | PyObject *resultobj; |
19379 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19380 | wxSize *arg2 = 0 ; | |
19381 | wxSize temp2 ; | |
19382 | PyObject * obj0 = 0 ; | |
19383 | PyObject * obj1 = 0 ; | |
19384 | char *kwnames[] = { | |
19385 | (char *) "self",(char *) "size", NULL | |
19386 | }; | |
19387 | ||
19388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
19389 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19390 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
19391 | { |
19392 | arg2 = &temp2; | |
19393 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
19394 | } | |
19395 | { | |
19396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19397 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
19398 | ||
19399 | wxPyEndAllowThreads(__tstate); | |
19400 | if (PyErr_Occurred()) SWIG_fail; | |
19401 | } | |
19402 | Py_INCREF(Py_None); resultobj = Py_None; | |
19403 | return resultobj; | |
19404 | fail: | |
19405 | return NULL; | |
19406 | } | |
19407 | ||
19408 | ||
c370783e | 19409 | static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19410 | PyObject *resultobj; |
19411 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19412 | int arg2 ; | |
19413 | int arg3 ; | |
19414 | int arg4 ; | |
19415 | int arg5 ; | |
19416 | PyObject * obj0 = 0 ; | |
19417 | PyObject * obj1 = 0 ; | |
19418 | PyObject * obj2 = 0 ; | |
19419 | PyObject * obj3 = 0 ; | |
19420 | PyObject * obj4 = 0 ; | |
19421 | char *kwnames[] = { | |
19422 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
19423 | }; | |
19424 | ||
19425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
36ed4f51 RD |
19426 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19427 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19428 | { | |
19429 | arg2 = (int)(SWIG_As_int(obj1)); | |
19430 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19431 | } | |
19432 | { | |
19433 | arg3 = (int)(SWIG_As_int(obj2)); | |
19434 | if (SWIG_arg_fail(3)) SWIG_fail; | |
19435 | } | |
19436 | { | |
19437 | arg4 = (int)(SWIG_As_int(obj3)); | |
19438 | if (SWIG_arg_fail(4)) SWIG_fail; | |
19439 | } | |
19440 | { | |
19441 | arg5 = (int)(SWIG_As_int(obj4)); | |
19442 | if (SWIG_arg_fail(5)) SWIG_fail; | |
19443 | } | |
d55e5bfc RD |
19444 | { |
19445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19446 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
19447 | ||
19448 | wxPyEndAllowThreads(__tstate); | |
19449 | if (PyErr_Occurred()) SWIG_fail; | |
19450 | } | |
19451 | Py_INCREF(Py_None); resultobj = Py_None; | |
19452 | return resultobj; | |
19453 | fail: | |
19454 | return NULL; | |
19455 | } | |
19456 | ||
19457 | ||
c370783e | 19458 | static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19459 | PyObject *resultobj; |
19460 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19461 | int arg2 ; | |
19462 | int arg3 ; | |
19463 | int arg4 ; | |
19464 | int arg5 ; | |
19465 | int arg6 = (int) wxSIZE_AUTO ; | |
19466 | PyObject * obj0 = 0 ; | |
19467 | PyObject * obj1 = 0 ; | |
19468 | PyObject * obj2 = 0 ; | |
19469 | PyObject * obj3 = 0 ; | |
19470 | PyObject * obj4 = 0 ; | |
19471 | PyObject * obj5 = 0 ; | |
19472 | char *kwnames[] = { | |
19473 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
19474 | }; | |
19475 | ||
19476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
19477 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19478 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19479 | { | |
19480 | arg2 = (int)(SWIG_As_int(obj1)); | |
19481 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19482 | } | |
19483 | { | |
19484 | arg3 = (int)(SWIG_As_int(obj2)); | |
19485 | if (SWIG_arg_fail(3)) SWIG_fail; | |
19486 | } | |
19487 | { | |
19488 | arg4 = (int)(SWIG_As_int(obj3)); | |
19489 | if (SWIG_arg_fail(4)) SWIG_fail; | |
19490 | } | |
19491 | { | |
19492 | arg5 = (int)(SWIG_As_int(obj4)); | |
19493 | if (SWIG_arg_fail(5)) SWIG_fail; | |
19494 | } | |
d55e5bfc | 19495 | if (obj5) { |
36ed4f51 RD |
19496 | { |
19497 | arg6 = (int)(SWIG_As_int(obj5)); | |
19498 | if (SWIG_arg_fail(6)) SWIG_fail; | |
19499 | } | |
d55e5bfc RD |
19500 | } |
19501 | { | |
19502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19503 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
19504 | ||
19505 | wxPyEndAllowThreads(__tstate); | |
19506 | if (PyErr_Occurred()) SWIG_fail; | |
19507 | } | |
19508 | Py_INCREF(Py_None); resultobj = Py_None; | |
19509 | return resultobj; | |
19510 | fail: | |
19511 | return NULL; | |
19512 | } | |
19513 | ||
19514 | ||
c370783e | 19515 | static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19516 | PyObject *resultobj; |
19517 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19518 | int arg2 ; | |
19519 | int arg3 ; | |
19520 | PyObject * obj0 = 0 ; | |
19521 | PyObject * obj1 = 0 ; | |
19522 | PyObject * obj2 = 0 ; | |
19523 | char *kwnames[] = { | |
19524 | (char *) "self",(char *) "width",(char *) "height", NULL | |
19525 | }; | |
19526 | ||
19527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
19528 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19529 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19530 | { | |
19531 | arg2 = (int)(SWIG_As_int(obj1)); | |
19532 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19533 | } | |
19534 | { | |
19535 | arg3 = (int)(SWIG_As_int(obj2)); | |
19536 | if (SWIG_arg_fail(3)) SWIG_fail; | |
19537 | } | |
d55e5bfc RD |
19538 | { |
19539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19540 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
19541 | ||
19542 | wxPyEndAllowThreads(__tstate); | |
19543 | if (PyErr_Occurred()) SWIG_fail; | |
19544 | } | |
19545 | Py_INCREF(Py_None); resultobj = Py_None; | |
19546 | return resultobj; | |
19547 | fail: | |
19548 | return NULL; | |
19549 | } | |
19550 | ||
19551 | ||
c370783e | 19552 | static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19553 | PyObject *resultobj; |
19554 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19555 | int arg2 ; | |
19556 | int arg3 ; | |
19557 | PyObject * obj0 = 0 ; | |
19558 | PyObject * obj1 = 0 ; | |
19559 | PyObject * obj2 = 0 ; | |
19560 | char *kwnames[] = { | |
19561 | (char *) "self",(char *) "x",(char *) "y", NULL | |
19562 | }; | |
19563 | ||
19564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
19565 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19566 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19567 | { | |
19568 | arg2 = (int)(SWIG_As_int(obj1)); | |
19569 | if (SWIG_arg_fail(2)) SWIG_fail; | |
19570 | } | |
19571 | { | |
19572 | arg3 = (int)(SWIG_As_int(obj2)); | |
19573 | if (SWIG_arg_fail(3)) SWIG_fail; | |
19574 | } | |
d55e5bfc RD |
19575 | { |
19576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19577 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
19578 | ||
19579 | wxPyEndAllowThreads(__tstate); | |
19580 | if (PyErr_Occurred()) SWIG_fail; | |
19581 | } | |
19582 | Py_INCREF(Py_None); resultobj = Py_None; | |
19583 | return resultobj; | |
19584 | fail: | |
19585 | return NULL; | |
19586 | } | |
19587 | ||
19588 | ||
c370783e | 19589 | static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19590 | PyObject *resultobj; |
19591 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19592 | int *arg2 = (int *) 0 ; | |
19593 | int *arg3 = (int *) 0 ; | |
19594 | int temp2 ; | |
c370783e | 19595 | int res2 = 0 ; |
d55e5bfc | 19596 | int temp3 ; |
c370783e | 19597 | int res3 = 0 ; |
d55e5bfc RD |
19598 | PyObject * obj0 = 0 ; |
19599 | char *kwnames[] = { | |
19600 | (char *) "self", NULL | |
19601 | }; | |
19602 | ||
c370783e RD |
19603 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19604 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 19605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
19606 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19607 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19608 | { |
19609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19610 | ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
19611 | ||
19612 | wxPyEndAllowThreads(__tstate); | |
19613 | if (PyErr_Occurred()) SWIG_fail; | |
19614 | } | |
19615 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
19616 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19617 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19618 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19619 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
19620 | return resultobj; |
19621 | fail: | |
19622 | return NULL; | |
19623 | } | |
19624 | ||
19625 | ||
c370783e | 19626 | static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19627 | PyObject *resultobj; |
19628 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19629 | int *arg2 = (int *) 0 ; | |
19630 | int *arg3 = (int *) 0 ; | |
19631 | int temp2 ; | |
c370783e | 19632 | int res2 = 0 ; |
d55e5bfc | 19633 | int temp3 ; |
c370783e | 19634 | int res3 = 0 ; |
d55e5bfc RD |
19635 | PyObject * obj0 = 0 ; |
19636 | char *kwnames[] = { | |
19637 | (char *) "self", NULL | |
19638 | }; | |
19639 | ||
c370783e RD |
19640 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19641 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 19642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
19643 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19644 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19645 | { |
19646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19647 | ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
19648 | ||
19649 | wxPyEndAllowThreads(__tstate); | |
19650 | if (PyErr_Occurred()) SWIG_fail; | |
19651 | } | |
19652 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
19653 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19654 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19655 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19656 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
19657 | return resultobj; |
19658 | fail: | |
19659 | return NULL; | |
19660 | } | |
19661 | ||
19662 | ||
c370783e | 19663 | static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19664 | PyObject *resultobj; |
19665 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19666 | int *arg2 = (int *) 0 ; | |
19667 | int *arg3 = (int *) 0 ; | |
19668 | int temp2 ; | |
c370783e | 19669 | int res2 = 0 ; |
d55e5bfc | 19670 | int temp3 ; |
c370783e | 19671 | int res3 = 0 ; |
d55e5bfc RD |
19672 | PyObject * obj0 = 0 ; |
19673 | char *kwnames[] = { | |
19674 | (char *) "self", NULL | |
19675 | }; | |
19676 | ||
c370783e RD |
19677 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
19678 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 19679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
19680 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19681 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19682 | { |
19683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19684 | ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
19685 | ||
19686 | wxPyEndAllowThreads(__tstate); | |
19687 | if (PyErr_Occurred()) SWIG_fail; | |
19688 | } | |
19689 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
19690 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
19691 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
19692 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
19693 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
19694 | return resultobj; |
19695 | fail: | |
19696 | return NULL; | |
19697 | } | |
19698 | ||
19699 | ||
c370783e | 19700 | static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19701 | PyObject *resultobj; |
19702 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19703 | wxSize result; | |
19704 | PyObject * obj0 = 0 ; | |
19705 | char *kwnames[] = { | |
19706 | (char *) "self", NULL | |
19707 | }; | |
19708 | ||
19709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19710 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19711 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19712 | { |
19713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19714 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize(); | |
19715 | ||
19716 | wxPyEndAllowThreads(__tstate); | |
19717 | if (PyErr_Occurred()) SWIG_fail; | |
19718 | } | |
19719 | { | |
19720 | wxSize * resultptr; | |
36ed4f51 | 19721 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19722 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19723 | } | |
19724 | return resultobj; | |
19725 | fail: | |
19726 | return NULL; | |
19727 | } | |
19728 | ||
19729 | ||
c370783e | 19730 | static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19731 | PyObject *resultobj; |
19732 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19733 | wxSize result; | |
19734 | PyObject * obj0 = 0 ; | |
19735 | char *kwnames[] = { | |
19736 | (char *) "self", NULL | |
19737 | }; | |
19738 | ||
19739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19740 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19741 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19742 | { |
19743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19744 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize(); | |
19745 | ||
19746 | wxPyEndAllowThreads(__tstate); | |
19747 | if (PyErr_Occurred()) SWIG_fail; | |
19748 | } | |
19749 | { | |
19750 | wxSize * resultptr; | |
36ed4f51 | 19751 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19752 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19753 | } | |
19754 | return resultobj; | |
19755 | fail: | |
19756 | return NULL; | |
19757 | } | |
19758 | ||
19759 | ||
c370783e | 19760 | static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19761 | PyObject *resultobj; |
19762 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19763 | PyObject * obj0 = 0 ; | |
19764 | char *kwnames[] = { | |
19765 | (char *) "self", NULL | |
19766 | }; | |
19767 | ||
19768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19769 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19770 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19771 | { |
19772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19773 | (arg1)->base_InitDialog(); | |
19774 | ||
19775 | wxPyEndAllowThreads(__tstate); | |
19776 | if (PyErr_Occurred()) SWIG_fail; | |
19777 | } | |
19778 | Py_INCREF(Py_None); resultobj = Py_None; | |
19779 | return resultobj; | |
19780 | fail: | |
19781 | return NULL; | |
19782 | } | |
19783 | ||
19784 | ||
c370783e | 19785 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19786 | PyObject *resultobj; |
19787 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19788 | bool result; | |
19789 | PyObject * obj0 = 0 ; | |
19790 | char *kwnames[] = { | |
19791 | (char *) "self", NULL | |
19792 | }; | |
19793 | ||
19794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19795 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19796 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19797 | { |
19798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19799 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
19800 | ||
19801 | wxPyEndAllowThreads(__tstate); | |
19802 | if (PyErr_Occurred()) SWIG_fail; | |
19803 | } | |
19804 | { | |
19805 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19806 | } | |
19807 | return resultobj; | |
19808 | fail: | |
19809 | return NULL; | |
19810 | } | |
19811 | ||
19812 | ||
c370783e | 19813 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19814 | PyObject *resultobj; |
19815 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19816 | bool result; | |
19817 | PyObject * obj0 = 0 ; | |
19818 | char *kwnames[] = { | |
19819 | (char *) "self", NULL | |
19820 | }; | |
19821 | ||
19822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19823 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19824 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19825 | { |
19826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19827 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
19828 | ||
19829 | wxPyEndAllowThreads(__tstate); | |
19830 | if (PyErr_Occurred()) SWIG_fail; | |
19831 | } | |
19832 | { | |
19833 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19834 | } | |
19835 | return resultobj; | |
19836 | fail: | |
19837 | return NULL; | |
19838 | } | |
19839 | ||
19840 | ||
c370783e | 19841 | static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19842 | PyObject *resultobj; |
19843 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19844 | bool result; | |
19845 | PyObject * obj0 = 0 ; | |
19846 | char *kwnames[] = { | |
19847 | (char *) "self", NULL | |
19848 | }; | |
19849 | ||
19850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19851 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19852 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19853 | { |
19854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19855 | result = (bool)(arg1)->base_Validate(); | |
19856 | ||
19857 | wxPyEndAllowThreads(__tstate); | |
19858 | if (PyErr_Occurred()) SWIG_fail; | |
19859 | } | |
19860 | { | |
19861 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19862 | } | |
19863 | return resultobj; | |
19864 | fail: | |
19865 | return NULL; | |
19866 | } | |
19867 | ||
19868 | ||
c370783e | 19869 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19870 | PyObject *resultobj; |
19871 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19872 | bool result; | |
19873 | PyObject * obj0 = 0 ; | |
19874 | char *kwnames[] = { | |
19875 | (char *) "self", NULL | |
19876 | }; | |
19877 | ||
19878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19879 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19880 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19881 | { |
19882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19883 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus(); | |
19884 | ||
19885 | wxPyEndAllowThreads(__tstate); | |
19886 | if (PyErr_Occurred()) SWIG_fail; | |
19887 | } | |
19888 | { | |
19889 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19890 | } | |
19891 | return resultobj; | |
19892 | fail: | |
19893 | return NULL; | |
19894 | } | |
19895 | ||
19896 | ||
c370783e | 19897 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19898 | PyObject *resultobj; |
19899 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19900 | bool result; | |
19901 | PyObject * obj0 = 0 ; | |
19902 | char *kwnames[] = { | |
19903 | (char *) "self", NULL | |
19904 | }; | |
19905 | ||
19906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19907 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19908 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19909 | { |
19910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19911 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
19912 | ||
19913 | wxPyEndAllowThreads(__tstate); | |
19914 | if (PyErr_Occurred()) SWIG_fail; | |
19915 | } | |
19916 | { | |
19917 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19918 | } | |
19919 | return resultobj; | |
19920 | fail: | |
19921 | return NULL; | |
19922 | } | |
19923 | ||
19924 | ||
c370783e | 19925 | static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19926 | PyObject *resultobj; |
19927 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19928 | wxSize result; | |
19929 | PyObject * obj0 = 0 ; | |
19930 | char *kwnames[] = { | |
19931 | (char *) "self", NULL | |
19932 | }; | |
19933 | ||
19934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
19935 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19936 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
19937 | { |
19938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19939 | result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize(); | |
19940 | ||
19941 | wxPyEndAllowThreads(__tstate); | |
19942 | if (PyErr_Occurred()) SWIG_fail; | |
19943 | } | |
19944 | { | |
19945 | wxSize * resultptr; | |
36ed4f51 | 19946 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
19947 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
19948 | } | |
19949 | return resultobj; | |
19950 | fail: | |
19951 | return NULL; | |
19952 | } | |
19953 | ||
19954 | ||
c370783e | 19955 | static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19956 | PyObject *resultobj; |
19957 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19958 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19959 | PyObject * obj0 = 0 ; | |
19960 | PyObject * obj1 = 0 ; | |
19961 | char *kwnames[] = { | |
19962 | (char *) "self",(char *) "child", NULL | |
19963 | }; | |
19964 | ||
19965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
19966 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19967 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19968 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
19969 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
19970 | { |
19971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19972 | (arg1)->base_AddChild(arg2); | |
19973 | ||
19974 | wxPyEndAllowThreads(__tstate); | |
19975 | if (PyErr_Occurred()) SWIG_fail; | |
19976 | } | |
19977 | Py_INCREF(Py_None); resultobj = Py_None; | |
19978 | return resultobj; | |
19979 | fail: | |
19980 | return NULL; | |
19981 | } | |
19982 | ||
19983 | ||
c370783e | 19984 | static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
19985 | PyObject *resultobj; |
19986 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
19987 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19988 | PyObject * obj0 = 0 ; | |
19989 | PyObject * obj1 = 0 ; | |
19990 | char *kwnames[] = { | |
19991 | (char *) "self",(char *) "child", NULL | |
19992 | }; | |
19993 | ||
19994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
19995 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
19996 | if (SWIG_arg_fail(1)) SWIG_fail; | |
19997 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
19998 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
19999 | { |
20000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20001 | (arg1)->base_RemoveChild(arg2); | |
20002 | ||
20003 | wxPyEndAllowThreads(__tstate); | |
20004 | if (PyErr_Occurred()) SWIG_fail; | |
20005 | } | |
20006 | Py_INCREF(Py_None); resultobj = Py_None; | |
20007 | return resultobj; | |
20008 | fail: | |
20009 | return NULL; | |
20010 | } | |
20011 | ||
20012 | ||
c370783e | 20013 | static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20014 | PyObject *resultobj; |
20015 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20016 | bool result; | |
20017 | PyObject * obj0 = 0 ; | |
20018 | char *kwnames[] = { | |
20019 | (char *) "self", NULL | |
20020 | }; | |
20021 | ||
20022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20023 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20024 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20025 | { |
20026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a5ee0656 | 20027 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours(); |
d55e5bfc RD |
20028 | |
20029 | wxPyEndAllowThreads(__tstate); | |
20030 | if (PyErr_Occurred()) SWIG_fail; | |
20031 | } | |
20032 | { | |
20033 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20034 | } | |
20035 | return resultobj; | |
20036 | fail: | |
20037 | return NULL; | |
20038 | } | |
20039 | ||
20040 | ||
c370783e | 20041 | static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
a5ee0656 RD |
20042 | PyObject *resultobj; |
20043 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
20044 | wxVisualAttributes result; | |
20045 | PyObject * obj0 = 0 ; | |
20046 | char *kwnames[] = { | |
20047 | (char *) "self", NULL | |
20048 | }; | |
20049 | ||
20050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20051 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); |
20052 | if (SWIG_arg_fail(1)) SWIG_fail; | |
a5ee0656 RD |
20053 | { |
20054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20055 | result = (arg1)->base_GetDefaultAttributes(); | |
20056 | ||
20057 | wxPyEndAllowThreads(__tstate); | |
20058 | if (PyErr_Occurred()) SWIG_fail; | |
20059 | } | |
20060 | { | |
20061 | wxVisualAttributes * resultptr; | |
36ed4f51 | 20062 | resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); |
a5ee0656 RD |
20063 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); |
20064 | } | |
20065 | return resultobj; | |
20066 | fail: | |
20067 | return NULL; | |
20068 | } | |
20069 | ||
20070 | ||
c370783e | 20071 | static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
20072 | PyObject *obj; |
20073 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20074 | SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj); | |
20075 | Py_INCREF(obj); | |
20076 | return Py_BuildValue((char *)""); | |
20077 | } | |
c370783e | 20078 | static int _wrap_PrintoutTitleStr_set(PyObject *) { |
d55e5bfc RD |
20079 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); |
20080 | return 1; | |
20081 | } | |
20082 | ||
20083 | ||
36ed4f51 | 20084 | static PyObject *_wrap_PrintoutTitleStr_get(void) { |
d55e5bfc RD |
20085 | PyObject *pyobj; |
20086 | ||
20087 | { | |
20088 | #if wxUSE_UNICODE | |
20089 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
20090 | #else | |
20091 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
20092 | #endif | |
20093 | } | |
20094 | return pyobj; | |
20095 | } | |
20096 | ||
20097 | ||
c370783e | 20098 | static int _wrap_PreviewCanvasNameStr_set(PyObject *) { |
d55e5bfc RD |
20099 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); |
20100 | return 1; | |
20101 | } | |
20102 | ||
20103 | ||
36ed4f51 | 20104 | static PyObject *_wrap_PreviewCanvasNameStr_get(void) { |
d55e5bfc RD |
20105 | PyObject *pyobj; |
20106 | ||
20107 | { | |
20108 | #if wxUSE_UNICODE | |
20109 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
20110 | #else | |
20111 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
20112 | #endif | |
20113 | } | |
20114 | return pyobj; | |
20115 | } | |
20116 | ||
20117 | ||
c370783e | 20118 | static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
20119 | PyObject *resultobj; |
20120 | wxPrintData *result; | |
d55e5bfc | 20121 | |
09c21d3b | 20122 | if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail; |
d55e5bfc RD |
20123 | { |
20124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20125 | result = (wxPrintData *)new wxPrintData(); | |
20126 | ||
20127 | wxPyEndAllowThreads(__tstate); | |
20128 | if (PyErr_Occurred()) SWIG_fail; | |
20129 | } | |
20130 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
20131 | return resultobj; | |
20132 | fail: | |
20133 | return NULL; | |
20134 | } | |
20135 | ||
20136 | ||
c370783e | 20137 | static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) { |
09c21d3b RD |
20138 | PyObject *resultobj; |
20139 | wxPrintData *arg1 = 0 ; | |
20140 | wxPrintData *result; | |
20141 | PyObject * obj0 = 0 ; | |
20142 | ||
20143 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail; | |
36ed4f51 RD |
20144 | { |
20145 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
20146 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20147 | if (arg1 == NULL) { | |
20148 | SWIG_null_ref("wxPrintData"); | |
20149 | } | |
20150 | if (SWIG_arg_fail(1)) SWIG_fail; | |
09c21d3b RD |
20151 | } |
20152 | { | |
20153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20154 | result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1); | |
20155 | ||
20156 | wxPyEndAllowThreads(__tstate); | |
20157 | if (PyErr_Occurred()) SWIG_fail; | |
20158 | } | |
20159 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
20160 | return resultobj; | |
20161 | fail: | |
20162 | return NULL; | |
20163 | } | |
20164 | ||
20165 | ||
20166 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) { | |
20167 | int argc; | |
20168 | PyObject *argv[2]; | |
20169 | int ii; | |
20170 | ||
20171 | argc = PyObject_Length(args); | |
20172 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
20173 | argv[ii] = PyTuple_GetItem(args,ii); | |
20174 | } | |
20175 | if (argc == 0) { | |
20176 | return _wrap_new_PrintData__SWIG_0(self,args); | |
20177 | } | |
20178 | if (argc == 1) { | |
20179 | int _v; | |
20180 | { | |
36ed4f51 | 20181 | void *ptr = 0; |
09c21d3b RD |
20182 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { |
20183 | _v = 0; | |
20184 | PyErr_Clear(); | |
20185 | } else { | |
36ed4f51 | 20186 | _v = (ptr != 0); |
09c21d3b RD |
20187 | } |
20188 | } | |
20189 | if (_v) { | |
20190 | return _wrap_new_PrintData__SWIG_1(self,args); | |
20191 | } | |
20192 | } | |
20193 | ||
36ed4f51 | 20194 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'"); |
09c21d3b RD |
20195 | return NULL; |
20196 | } | |
20197 | ||
20198 | ||
c370783e | 20199 | static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20200 | PyObject *resultobj; |
20201 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20202 | PyObject * obj0 = 0 ; | |
20203 | char *kwnames[] = { | |
20204 | (char *) "self", NULL | |
20205 | }; | |
20206 | ||
20207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20208 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20209 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20210 | { |
20211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20212 | delete arg1; | |
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 | ||
c370783e | 20224 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20225 | PyObject *resultobj; |
20226 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20227 | int result; | |
20228 | PyObject * obj0 = 0 ; | |
20229 | char *kwnames[] = { | |
20230 | (char *) "self", NULL | |
20231 | }; | |
20232 | ||
20233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20234 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20235 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20236 | { |
20237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20238 | result = (int)(arg1)->GetNoCopies(); | |
20239 | ||
20240 | wxPyEndAllowThreads(__tstate); | |
20241 | if (PyErr_Occurred()) SWIG_fail; | |
20242 | } | |
36ed4f51 RD |
20243 | { |
20244 | resultobj = SWIG_From_int((int)(result)); | |
20245 | } | |
d55e5bfc RD |
20246 | return resultobj; |
20247 | fail: | |
20248 | return NULL; | |
20249 | } | |
20250 | ||
20251 | ||
c370783e | 20252 | static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20253 | PyObject *resultobj; |
20254 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20255 | bool result; | |
20256 | PyObject * obj0 = 0 ; | |
20257 | char *kwnames[] = { | |
20258 | (char *) "self", NULL | |
20259 | }; | |
20260 | ||
20261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20262 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20263 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20264 | { |
20265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20266 | result = (bool)(arg1)->GetCollate(); | |
20267 | ||
20268 | wxPyEndAllowThreads(__tstate); | |
20269 | if (PyErr_Occurred()) SWIG_fail; | |
20270 | } | |
20271 | { | |
20272 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20273 | } | |
20274 | return resultobj; | |
20275 | fail: | |
20276 | return NULL; | |
20277 | } | |
20278 | ||
20279 | ||
c370783e | 20280 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20281 | PyObject *resultobj; |
20282 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20283 | int result; | |
20284 | PyObject * obj0 = 0 ; | |
20285 | char *kwnames[] = { | |
20286 | (char *) "self", NULL | |
20287 | }; | |
20288 | ||
20289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20290 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20291 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20292 | { |
20293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20294 | result = (int)(arg1)->GetOrientation(); | |
20295 | ||
20296 | wxPyEndAllowThreads(__tstate); | |
20297 | if (PyErr_Occurred()) SWIG_fail; | |
20298 | } | |
36ed4f51 RD |
20299 | { |
20300 | resultobj = SWIG_From_int((int)(result)); | |
20301 | } | |
d55e5bfc RD |
20302 | return resultobj; |
20303 | fail: | |
20304 | return NULL; | |
20305 | } | |
20306 | ||
20307 | ||
c370783e | 20308 | static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20309 | PyObject *resultobj; |
20310 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20311 | bool result; | |
20312 | PyObject * obj0 = 0 ; | |
20313 | char *kwnames[] = { | |
20314 | (char *) "self", NULL | |
20315 | }; | |
20316 | ||
20317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20318 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20319 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20320 | { |
20321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20322 | result = (bool)(arg1)->Ok(); | |
20323 | ||
20324 | wxPyEndAllowThreads(__tstate); | |
20325 | if (PyErr_Occurred()) SWIG_fail; | |
20326 | } | |
20327 | { | |
20328 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20329 | } | |
20330 | return resultobj; | |
20331 | fail: | |
20332 | return NULL; | |
20333 | } | |
20334 | ||
20335 | ||
c370783e | 20336 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20337 | PyObject *resultobj; |
20338 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20339 | wxString *result; | |
20340 | PyObject * obj0 = 0 ; | |
20341 | char *kwnames[] = { | |
20342 | (char *) "self", NULL | |
20343 | }; | |
20344 | ||
20345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20346 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20347 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20348 | { |
20349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20350 | { | |
20351 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
20352 | result = (wxString *) &_result_ref; | |
20353 | } | |
20354 | ||
20355 | wxPyEndAllowThreads(__tstate); | |
20356 | if (PyErr_Occurred()) SWIG_fail; | |
20357 | } | |
20358 | { | |
20359 | #if wxUSE_UNICODE | |
20360 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
20361 | #else | |
20362 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
20363 | #endif | |
20364 | } | |
20365 | return resultobj; | |
20366 | fail: | |
20367 | return NULL; | |
20368 | } | |
20369 | ||
20370 | ||
c370783e | 20371 | static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20372 | PyObject *resultobj; |
20373 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20374 | bool result; | |
20375 | PyObject * obj0 = 0 ; | |
20376 | char *kwnames[] = { | |
20377 | (char *) "self", NULL | |
20378 | }; | |
20379 | ||
20380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20381 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20382 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20383 | { |
20384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20385 | result = (bool)(arg1)->GetColour(); | |
20386 | ||
20387 | wxPyEndAllowThreads(__tstate); | |
20388 | if (PyErr_Occurred()) SWIG_fail; | |
20389 | } | |
20390 | { | |
20391 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20392 | } | |
20393 | return resultobj; | |
20394 | fail: | |
20395 | return NULL; | |
20396 | } | |
20397 | ||
20398 | ||
c370783e | 20399 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20400 | PyObject *resultobj; |
20401 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20402 | wxDuplexMode result; |
d55e5bfc RD |
20403 | PyObject * obj0 = 0 ; |
20404 | char *kwnames[] = { | |
20405 | (char *) "self", NULL | |
20406 | }; | |
20407 | ||
20408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20409 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20410 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20411 | { |
20412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 20413 | result = (wxDuplexMode)(arg1)->GetDuplex(); |
d55e5bfc RD |
20414 | |
20415 | wxPyEndAllowThreads(__tstate); | |
20416 | if (PyErr_Occurred()) SWIG_fail; | |
20417 | } | |
36ed4f51 | 20418 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
20419 | return resultobj; |
20420 | fail: | |
20421 | return NULL; | |
20422 | } | |
20423 | ||
20424 | ||
c370783e | 20425 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20426 | PyObject *resultobj; |
20427 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20428 | wxPaperSize result; |
d55e5bfc RD |
20429 | PyObject * obj0 = 0 ; |
20430 | char *kwnames[] = { | |
20431 | (char *) "self", NULL | |
20432 | }; | |
20433 | ||
20434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20435 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20436 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20437 | { |
20438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 20439 | result = (wxPaperSize)(arg1)->GetPaperId(); |
d55e5bfc RD |
20440 | |
20441 | wxPyEndAllowThreads(__tstate); | |
20442 | if (PyErr_Occurred()) SWIG_fail; | |
20443 | } | |
36ed4f51 | 20444 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
20445 | return resultobj; |
20446 | fail: | |
20447 | return NULL; | |
20448 | } | |
20449 | ||
20450 | ||
c370783e | 20451 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20452 | PyObject *resultobj; |
20453 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20454 | wxSize *result; | |
20455 | PyObject * obj0 = 0 ; | |
20456 | char *kwnames[] = { | |
20457 | (char *) "self", NULL | |
20458 | }; | |
20459 | ||
20460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20461 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20462 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20463 | { |
20464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20465 | { | |
20466 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
20467 | result = (wxSize *) &_result_ref; | |
20468 | } | |
20469 | ||
20470 | wxPyEndAllowThreads(__tstate); | |
20471 | if (PyErr_Occurred()) SWIG_fail; | |
20472 | } | |
20473 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); | |
20474 | return resultobj; | |
20475 | fail: | |
20476 | return NULL; | |
20477 | } | |
20478 | ||
20479 | ||
c370783e | 20480 | static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20481 | PyObject *resultobj; |
20482 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20483 | int result; | |
20484 | PyObject * obj0 = 0 ; | |
20485 | char *kwnames[] = { | |
20486 | (char *) "self", NULL | |
20487 | }; | |
20488 | ||
20489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20490 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20491 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20492 | { |
20493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20494 | result = (int)(arg1)->GetQuality(); | |
20495 | ||
20496 | wxPyEndAllowThreads(__tstate); | |
20497 | if (PyErr_Occurred()) SWIG_fail; | |
20498 | } | |
36ed4f51 RD |
20499 | { |
20500 | resultobj = SWIG_From_int((int)(result)); | |
20501 | } | |
d55e5bfc RD |
20502 | return resultobj; |
20503 | fail: | |
20504 | return NULL; | |
20505 | } | |
20506 | ||
20507 | ||
b411df4a RD |
20508 | static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
20509 | PyObject *resultobj; | |
20510 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20511 | wxPrintBin result; |
b411df4a RD |
20512 | PyObject * obj0 = 0 ; |
20513 | char *kwnames[] = { | |
20514 | (char *) "self", NULL | |
20515 | }; | |
20516 | ||
20517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20518 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20519 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b411df4a RD |
20520 | { |
20521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 20522 | result = (wxPrintBin)(arg1)->GetBin(); |
b411df4a RD |
20523 | |
20524 | wxPyEndAllowThreads(__tstate); | |
20525 | if (PyErr_Occurred()) SWIG_fail; | |
20526 | } | |
36ed4f51 | 20527 | resultobj = SWIG_From_int((result)); |
b411df4a RD |
20528 | return resultobj; |
20529 | fail: | |
20530 | return NULL; | |
20531 | } | |
20532 | ||
20533 | ||
070c48b4 RD |
20534 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
20535 | PyObject *resultobj; | |
20536 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20537 | wxPrintMode result; |
070c48b4 RD |
20538 | PyObject * obj0 = 0 ; |
20539 | char *kwnames[] = { | |
20540 | (char *) "self", NULL | |
20541 | }; | |
20542 | ||
20543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
20544 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20545 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
20546 | { |
20547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 20548 | result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode(); |
070c48b4 RD |
20549 | |
20550 | wxPyEndAllowThreads(__tstate); | |
20551 | if (PyErr_Occurred()) SWIG_fail; | |
20552 | } | |
36ed4f51 | 20553 | resultobj = SWIG_From_int((result)); |
070c48b4 RD |
20554 | return resultobj; |
20555 | fail: | |
20556 | return NULL; | |
20557 | } | |
20558 | ||
20559 | ||
c370783e | 20560 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20561 | PyObject *resultobj; |
20562 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20563 | int arg2 ; | |
20564 | PyObject * obj0 = 0 ; | |
20565 | PyObject * obj1 = 0 ; | |
20566 | char *kwnames[] = { | |
20567 | (char *) "self",(char *) "v", NULL | |
20568 | }; | |
20569 | ||
20570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20571 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20572 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20573 | { | |
20574 | arg2 = (int)(SWIG_As_int(obj1)); | |
20575 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20576 | } | |
d55e5bfc RD |
20577 | { |
20578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20579 | (arg1)->SetNoCopies(arg2); | |
20580 | ||
20581 | wxPyEndAllowThreads(__tstate); | |
20582 | if (PyErr_Occurred()) SWIG_fail; | |
20583 | } | |
20584 | Py_INCREF(Py_None); resultobj = Py_None; | |
20585 | return resultobj; | |
20586 | fail: | |
20587 | return NULL; | |
20588 | } | |
20589 | ||
20590 | ||
c370783e | 20591 | static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20592 | PyObject *resultobj; |
20593 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20594 | bool arg2 ; | |
20595 | PyObject * obj0 = 0 ; | |
20596 | PyObject * obj1 = 0 ; | |
20597 | char *kwnames[] = { | |
20598 | (char *) "self",(char *) "flag", NULL | |
20599 | }; | |
20600 | ||
20601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20602 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20603 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20604 | { | |
20605 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
20606 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20607 | } | |
d55e5bfc RD |
20608 | { |
20609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20610 | (arg1)->SetCollate(arg2); | |
20611 | ||
20612 | wxPyEndAllowThreads(__tstate); | |
20613 | if (PyErr_Occurred()) SWIG_fail; | |
20614 | } | |
20615 | Py_INCREF(Py_None); resultobj = Py_None; | |
20616 | return resultobj; | |
20617 | fail: | |
20618 | return NULL; | |
20619 | } | |
20620 | ||
20621 | ||
c370783e | 20622 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20623 | PyObject *resultobj; |
20624 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20625 | int arg2 ; | |
20626 | PyObject * obj0 = 0 ; | |
20627 | PyObject * obj1 = 0 ; | |
20628 | char *kwnames[] = { | |
20629 | (char *) "self",(char *) "orient", NULL | |
20630 | }; | |
20631 | ||
20632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20633 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20634 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20635 | { | |
20636 | arg2 = (int)(SWIG_As_int(obj1)); | |
20637 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20638 | } | |
d55e5bfc RD |
20639 | { |
20640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20641 | (arg1)->SetOrientation(arg2); | |
20642 | ||
20643 | wxPyEndAllowThreads(__tstate); | |
20644 | if (PyErr_Occurred()) SWIG_fail; | |
20645 | } | |
20646 | Py_INCREF(Py_None); resultobj = Py_None; | |
20647 | return resultobj; | |
20648 | fail: | |
20649 | return NULL; | |
20650 | } | |
20651 | ||
20652 | ||
c370783e | 20653 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20654 | PyObject *resultobj; |
20655 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20656 | wxString *arg2 = 0 ; | |
b411df4a | 20657 | bool temp2 = false ; |
d55e5bfc RD |
20658 | PyObject * obj0 = 0 ; |
20659 | PyObject * obj1 = 0 ; | |
20660 | char *kwnames[] = { | |
20661 | (char *) "self",(char *) "name", NULL | |
20662 | }; | |
20663 | ||
20664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20665 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20666 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20667 | { |
20668 | arg2 = wxString_in_helper(obj1); | |
20669 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 20670 | temp2 = true; |
d55e5bfc RD |
20671 | } |
20672 | { | |
20673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20674 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
20675 | ||
20676 | wxPyEndAllowThreads(__tstate); | |
20677 | if (PyErr_Occurred()) SWIG_fail; | |
20678 | } | |
20679 | Py_INCREF(Py_None); resultobj = Py_None; | |
20680 | { | |
20681 | if (temp2) | |
20682 | delete arg2; | |
20683 | } | |
20684 | return resultobj; | |
20685 | fail: | |
20686 | { | |
20687 | if (temp2) | |
20688 | delete arg2; | |
20689 | } | |
20690 | return NULL; | |
20691 | } | |
20692 | ||
20693 | ||
c370783e | 20694 | static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20695 | PyObject *resultobj; |
20696 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20697 | bool arg2 ; | |
20698 | PyObject * obj0 = 0 ; | |
20699 | PyObject * obj1 = 0 ; | |
20700 | char *kwnames[] = { | |
20701 | (char *) "self",(char *) "colour", NULL | |
20702 | }; | |
20703 | ||
20704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20705 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20706 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20707 | { | |
20708 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
20709 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20710 | } | |
d55e5bfc RD |
20711 | { |
20712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20713 | (arg1)->SetColour(arg2); | |
20714 | ||
20715 | wxPyEndAllowThreads(__tstate); | |
20716 | if (PyErr_Occurred()) SWIG_fail; | |
20717 | } | |
20718 | Py_INCREF(Py_None); resultobj = Py_None; | |
20719 | return resultobj; | |
20720 | fail: | |
20721 | return NULL; | |
20722 | } | |
20723 | ||
20724 | ||
c370783e | 20725 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20726 | PyObject *resultobj; |
20727 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20728 | wxDuplexMode arg2 ; |
d55e5bfc RD |
20729 | PyObject * obj0 = 0 ; |
20730 | PyObject * obj1 = 0 ; | |
20731 | char *kwnames[] = { | |
20732 | (char *) "self",(char *) "duplex", NULL | |
20733 | }; | |
20734 | ||
20735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20736 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20737 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20738 | { | |
20739 | arg2 = (wxDuplexMode)(SWIG_As_int(obj1)); | |
20740 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20741 | } | |
d55e5bfc RD |
20742 | { |
20743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20744 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
20745 | ||
20746 | wxPyEndAllowThreads(__tstate); | |
20747 | if (PyErr_Occurred()) SWIG_fail; | |
20748 | } | |
20749 | Py_INCREF(Py_None); resultobj = Py_None; | |
20750 | return resultobj; | |
20751 | fail: | |
20752 | return NULL; | |
20753 | } | |
20754 | ||
20755 | ||
c370783e | 20756 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20757 | PyObject *resultobj; |
20758 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20759 | wxPaperSize arg2 ; |
d55e5bfc RD |
20760 | PyObject * obj0 = 0 ; |
20761 | PyObject * obj1 = 0 ; | |
20762 | char *kwnames[] = { | |
20763 | (char *) "self",(char *) "sizeId", NULL | |
20764 | }; | |
20765 | ||
20766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20767 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20768 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20769 | { | |
20770 | arg2 = (wxPaperSize)(SWIG_As_int(obj1)); | |
20771 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20772 | } | |
d55e5bfc RD |
20773 | { |
20774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20775 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
20776 | ||
20777 | wxPyEndAllowThreads(__tstate); | |
20778 | if (PyErr_Occurred()) SWIG_fail; | |
20779 | } | |
20780 | Py_INCREF(Py_None); resultobj = Py_None; | |
20781 | return resultobj; | |
20782 | fail: | |
20783 | return NULL; | |
20784 | } | |
20785 | ||
20786 | ||
c370783e | 20787 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20788 | PyObject *resultobj; |
20789 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20790 | wxSize *arg2 = 0 ; | |
20791 | wxSize temp2 ; | |
20792 | PyObject * obj0 = 0 ; | |
20793 | PyObject * obj1 = 0 ; | |
20794 | char *kwnames[] = { | |
20795 | (char *) "self",(char *) "sz", NULL | |
20796 | }; | |
20797 | ||
20798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20799 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20800 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20801 | { |
20802 | arg2 = &temp2; | |
20803 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
20804 | } | |
20805 | { | |
20806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20807 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
20808 | ||
20809 | wxPyEndAllowThreads(__tstate); | |
20810 | if (PyErr_Occurred()) SWIG_fail; | |
20811 | } | |
20812 | Py_INCREF(Py_None); resultobj = Py_None; | |
20813 | return resultobj; | |
20814 | fail: | |
20815 | return NULL; | |
20816 | } | |
20817 | ||
20818 | ||
c370783e | 20819 | static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20820 | PyObject *resultobj; |
20821 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20822 | int arg2 ; | |
20823 | PyObject * obj0 = 0 ; | |
20824 | PyObject * obj1 = 0 ; | |
20825 | char *kwnames[] = { | |
20826 | (char *) "self",(char *) "quality", NULL | |
20827 | }; | |
20828 | ||
20829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20830 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20831 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20832 | { | |
20833 | arg2 = (int)(SWIG_As_int(obj1)); | |
20834 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20835 | } | |
d55e5bfc RD |
20836 | { |
20837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20838 | (arg1)->SetQuality(arg2); | |
20839 | ||
20840 | wxPyEndAllowThreads(__tstate); | |
20841 | if (PyErr_Occurred()) SWIG_fail; | |
20842 | } | |
20843 | Py_INCREF(Py_None); resultobj = Py_None; | |
20844 | return resultobj; | |
20845 | fail: | |
20846 | return NULL; | |
20847 | } | |
20848 | ||
20849 | ||
b411df4a RD |
20850 | static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
20851 | PyObject *resultobj; | |
20852 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20853 | wxPrintBin arg2 ; |
b411df4a RD |
20854 | PyObject * obj0 = 0 ; |
20855 | PyObject * obj1 = 0 ; | |
20856 | char *kwnames[] = { | |
20857 | (char *) "self",(char *) "bin", NULL | |
20858 | }; | |
20859 | ||
20860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20861 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20862 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20863 | { | |
20864 | arg2 = (wxPrintBin)(SWIG_As_int(obj1)); | |
20865 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20866 | } | |
b411df4a RD |
20867 | { |
20868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20869 | (arg1)->SetBin((wxPrintBin )arg2); | |
20870 | ||
20871 | wxPyEndAllowThreads(__tstate); | |
20872 | if (PyErr_Occurred()) SWIG_fail; | |
20873 | } | |
20874 | Py_INCREF(Py_None); resultobj = Py_None; | |
20875 | return resultobj; | |
20876 | fail: | |
20877 | return NULL; | |
20878 | } | |
20879 | ||
20880 | ||
070c48b4 | 20881 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
20882 | PyObject *resultobj; |
20883 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
36ed4f51 | 20884 | wxPrintMode arg2 ; |
070c48b4 RD |
20885 | PyObject * obj0 = 0 ; |
20886 | PyObject * obj1 = 0 ; | |
20887 | char *kwnames[] = { | |
20888 | (char *) "self",(char *) "printMode", NULL | |
20889 | }; | |
20890 | ||
20891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20892 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20893 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20894 | { | |
20895 | arg2 = (wxPrintMode)(SWIG_As_int(obj1)); | |
20896 | if (SWIG_arg_fail(2)) SWIG_fail; | |
20897 | } | |
070c48b4 RD |
20898 | { |
20899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20900 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
20901 | ||
20902 | wxPyEndAllowThreads(__tstate); | |
20903 | if (PyErr_Occurred()) SWIG_fail; | |
20904 | } | |
20905 | Py_INCREF(Py_None); resultobj = Py_None; | |
20906 | return resultobj; | |
20907 | fail: | |
20908 | return NULL; | |
20909 | } | |
20910 | ||
20911 | ||
20912 | static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { | |
20913 | PyObject *resultobj; | |
20914 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20915 | wxString result; | |
d55e5bfc RD |
20916 | PyObject * obj0 = 0 ; |
20917 | char *kwnames[] = { | |
20918 | (char *) "self", NULL | |
20919 | }; | |
20920 | ||
070c48b4 | 20921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
20922 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20923 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
20924 | { |
20925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 20926 | result = ((wxPrintData const *)arg1)->GetFilename(); |
d55e5bfc RD |
20927 | |
20928 | wxPyEndAllowThreads(__tstate); | |
20929 | if (PyErr_Occurred()) SWIG_fail; | |
20930 | } | |
20931 | { | |
20932 | #if wxUSE_UNICODE | |
070c48b4 | 20933 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d55e5bfc | 20934 | #else |
070c48b4 | 20935 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d55e5bfc RD |
20936 | #endif |
20937 | } | |
20938 | return resultobj; | |
20939 | fail: | |
20940 | return NULL; | |
20941 | } | |
20942 | ||
20943 | ||
070c48b4 RD |
20944 | static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
20945 | PyObject *resultobj; | |
20946 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20947 | wxString *arg2 = 0 ; | |
20948 | bool temp2 = false ; | |
20949 | PyObject * obj0 = 0 ; | |
20950 | PyObject * obj1 = 0 ; | |
20951 | char *kwnames[] = { | |
20952 | (char *) "self",(char *) "filename", NULL | |
20953 | }; | |
20954 | ||
20955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
20956 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
20957 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
20958 | { |
20959 | arg2 = wxString_in_helper(obj1); | |
20960 | if (arg2 == NULL) SWIG_fail; | |
20961 | temp2 = true; | |
20962 | } | |
20963 | { | |
20964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20965 | (arg1)->SetFilename((wxString const &)*arg2); | |
20966 | ||
20967 | wxPyEndAllowThreads(__tstate); | |
20968 | if (PyErr_Occurred()) SWIG_fail; | |
20969 | } | |
20970 | Py_INCREF(Py_None); resultobj = Py_None; | |
20971 | { | |
20972 | if (temp2) | |
20973 | delete arg2; | |
20974 | } | |
20975 | return resultobj; | |
20976 | fail: | |
20977 | { | |
20978 | if (temp2) | |
20979 | delete arg2; | |
20980 | } | |
20981 | return NULL; | |
20982 | } | |
20983 | ||
20984 | ||
7fbf8399 RD |
20985 | static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) { |
20986 | PyObject *resultobj; | |
20987 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
20988 | PyObject *result; | |
20989 | PyObject * obj0 = 0 ; | |
20990 | char *kwnames[] = { | |
20991 | (char *) "self", NULL | |
20992 | }; | |
20993 | ||
20994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail; | |
20995 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
20996 | if (SWIG_arg_fail(1)) SWIG_fail; | |
20997 | { | |
20998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20999 | result = (PyObject *)wxPrintData_GetPrivData(arg1); | |
21000 | ||
21001 | wxPyEndAllowThreads(__tstate); | |
21002 | if (PyErr_Occurred()) SWIG_fail; | |
21003 | } | |
21004 | resultobj = result; | |
21005 | return resultobj; | |
21006 | fail: | |
21007 | return NULL; | |
21008 | } | |
21009 | ||
21010 | ||
21011 | static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) { | |
21012 | PyObject *resultobj; | |
21013 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21014 | PyObject *arg2 = (PyObject *) 0 ; | |
21015 | PyObject * obj0 = 0 ; | |
21016 | PyObject * obj1 = 0 ; | |
21017 | char *kwnames[] = { | |
21018 | (char *) "self",(char *) "data", NULL | |
21019 | }; | |
21020 | ||
21021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail; | |
21022 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
21023 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21024 | arg2 = obj1; | |
21025 | { | |
21026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21027 | wxPrintData_SetPrivData(arg1,arg2); | |
21028 | ||
21029 | wxPyEndAllowThreads(__tstate); | |
21030 | if (PyErr_Occurred()) SWIG_fail; | |
21031 | } | |
21032 | Py_INCREF(Py_None); resultobj = Py_None; | |
21033 | return resultobj; | |
21034 | fail: | |
21035 | return NULL; | |
21036 | } | |
21037 | ||
21038 | ||
070c48b4 | 21039 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21040 | PyObject *resultobj; |
21041 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21042 | wxString *result; | |
21043 | PyObject * obj0 = 0 ; | |
21044 | char *kwnames[] = { | |
21045 | (char *) "self", NULL | |
21046 | }; | |
21047 | ||
070c48b4 | 21048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
21049 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21050 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21051 | { |
21052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21053 | { | |
070c48b4 | 21054 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); |
d55e5bfc RD |
21055 | result = (wxString *) &_result_ref; |
21056 | } | |
21057 | ||
21058 | wxPyEndAllowThreads(__tstate); | |
21059 | if (PyErr_Occurred()) SWIG_fail; | |
21060 | } | |
21061 | { | |
21062 | #if wxUSE_UNICODE | |
21063 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21064 | #else | |
21065 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21066 | #endif | |
21067 | } | |
21068 | return resultobj; | |
21069 | fail: | |
21070 | return NULL; | |
21071 | } | |
21072 | ||
21073 | ||
070c48b4 | 21074 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21075 | PyObject *resultobj; |
21076 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21077 | wxString *result; | |
21078 | PyObject * obj0 = 0 ; | |
21079 | char *kwnames[] = { | |
21080 | (char *) "self", NULL | |
21081 | }; | |
21082 | ||
070c48b4 | 21083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
21084 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21085 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21086 | { |
21087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21088 | { | |
070c48b4 | 21089 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); |
d55e5bfc RD |
21090 | result = (wxString *) &_result_ref; |
21091 | } | |
21092 | ||
21093 | wxPyEndAllowThreads(__tstate); | |
21094 | if (PyErr_Occurred()) SWIG_fail; | |
21095 | } | |
21096 | { | |
21097 | #if wxUSE_UNICODE | |
21098 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21099 | #else | |
21100 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21101 | #endif | |
21102 | } | |
21103 | return resultobj; | |
21104 | fail: | |
21105 | return NULL; | |
21106 | } | |
21107 | ||
21108 | ||
070c48b4 | 21109 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21110 | PyObject *resultobj; |
21111 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21112 | wxString *result; | |
21113 | PyObject * obj0 = 0 ; | |
21114 | char *kwnames[] = { | |
21115 | (char *) "self", NULL | |
21116 | }; | |
21117 | ||
070c48b4 | 21118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
21119 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21120 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21121 | { |
21122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21123 | { | |
070c48b4 | 21124 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); |
d55e5bfc RD |
21125 | result = (wxString *) &_result_ref; |
21126 | } | |
21127 | ||
21128 | wxPyEndAllowThreads(__tstate); | |
21129 | if (PyErr_Occurred()) SWIG_fail; | |
21130 | } | |
21131 | { | |
21132 | #if wxUSE_UNICODE | |
21133 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21134 | #else | |
21135 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21136 | #endif | |
21137 | } | |
21138 | return resultobj; | |
21139 | fail: | |
21140 | return NULL; | |
21141 | } | |
21142 | ||
21143 | ||
c370783e | 21144 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21145 | PyObject *resultobj; |
21146 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21147 | wxString *result; | |
21148 | PyObject * obj0 = 0 ; | |
21149 | char *kwnames[] = { | |
21150 | (char *) "self", NULL | |
21151 | }; | |
21152 | ||
21153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21154 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21155 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21156 | { |
21157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21158 | { | |
21159 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
21160 | result = (wxString *) &_result_ref; | |
21161 | } | |
21162 | ||
21163 | wxPyEndAllowThreads(__tstate); | |
21164 | if (PyErr_Occurred()) SWIG_fail; | |
21165 | } | |
21166 | { | |
21167 | #if wxUSE_UNICODE | |
21168 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
21169 | #else | |
21170 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
21171 | #endif | |
21172 | } | |
21173 | return resultobj; | |
21174 | fail: | |
21175 | return NULL; | |
21176 | } | |
21177 | ||
21178 | ||
c370783e | 21179 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21180 | PyObject *resultobj; |
21181 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21182 | double result; | |
21183 | PyObject * obj0 = 0 ; | |
21184 | char *kwnames[] = { | |
21185 | (char *) "self", NULL | |
21186 | }; | |
21187 | ||
21188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21189 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21190 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21191 | { |
21192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21193 | result = (double)(arg1)->GetPrinterScaleX(); | |
21194 | ||
21195 | wxPyEndAllowThreads(__tstate); | |
21196 | if (PyErr_Occurred()) SWIG_fail; | |
21197 | } | |
36ed4f51 RD |
21198 | { |
21199 | resultobj = SWIG_From_double((double)(result)); | |
21200 | } | |
d55e5bfc RD |
21201 | return resultobj; |
21202 | fail: | |
21203 | return NULL; | |
21204 | } | |
21205 | ||
21206 | ||
c370783e | 21207 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21208 | PyObject *resultobj; |
21209 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21210 | double result; | |
21211 | PyObject * obj0 = 0 ; | |
21212 | char *kwnames[] = { | |
21213 | (char *) "self", NULL | |
21214 | }; | |
21215 | ||
21216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21217 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21218 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21219 | { |
21220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21221 | result = (double)(arg1)->GetPrinterScaleY(); | |
21222 | ||
21223 | wxPyEndAllowThreads(__tstate); | |
21224 | if (PyErr_Occurred()) SWIG_fail; | |
21225 | } | |
36ed4f51 RD |
21226 | { |
21227 | resultobj = SWIG_From_double((double)(result)); | |
21228 | } | |
d55e5bfc RD |
21229 | return resultobj; |
21230 | fail: | |
21231 | return NULL; | |
21232 | } | |
21233 | ||
21234 | ||
c370783e | 21235 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21236 | PyObject *resultobj; |
21237 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21238 | long result; | |
21239 | PyObject * obj0 = 0 ; | |
21240 | char *kwnames[] = { | |
21241 | (char *) "self", NULL | |
21242 | }; | |
21243 | ||
21244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21245 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21246 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21247 | { |
21248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21249 | result = (long)(arg1)->GetPrinterTranslateX(); | |
21250 | ||
21251 | wxPyEndAllowThreads(__tstate); | |
21252 | if (PyErr_Occurred()) SWIG_fail; | |
21253 | } | |
36ed4f51 RD |
21254 | { |
21255 | resultobj = SWIG_From_long((long)(result)); | |
21256 | } | |
d55e5bfc RD |
21257 | return resultobj; |
21258 | fail: | |
21259 | return NULL; | |
21260 | } | |
21261 | ||
21262 | ||
c370783e | 21263 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21264 | PyObject *resultobj; |
21265 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21266 | long result; | |
21267 | PyObject * obj0 = 0 ; | |
21268 | char *kwnames[] = { | |
21269 | (char *) "self", NULL | |
21270 | }; | |
21271 | ||
21272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21273 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21274 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21275 | { |
21276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21277 | result = (long)(arg1)->GetPrinterTranslateY(); | |
21278 | ||
21279 | wxPyEndAllowThreads(__tstate); | |
21280 | if (PyErr_Occurred()) SWIG_fail; | |
21281 | } | |
36ed4f51 RD |
21282 | { |
21283 | resultobj = SWIG_From_long((long)(result)); | |
21284 | } | |
d55e5bfc RD |
21285 | return resultobj; |
21286 | fail: | |
21287 | return NULL; | |
21288 | } | |
21289 | ||
21290 | ||
070c48b4 | 21291 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21292 | PyObject *resultobj; |
21293 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
070c48b4 RD |
21294 | wxString *arg2 = 0 ; |
21295 | bool temp2 = false ; | |
d55e5bfc | 21296 | PyObject * obj0 = 0 ; |
070c48b4 | 21297 | PyObject * obj1 = 0 ; |
d55e5bfc | 21298 | char *kwnames[] = { |
070c48b4 | 21299 | (char *) "self",(char *) "command", NULL |
d55e5bfc RD |
21300 | }; |
21301 | ||
070c48b4 | 21302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; |
36ed4f51 RD |
21303 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21304 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
21305 | { |
21306 | arg2 = wxString_in_helper(obj1); | |
21307 | if (arg2 == NULL) SWIG_fail; | |
21308 | temp2 = true; | |
21309 | } | |
d55e5bfc RD |
21310 | { |
21311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 21312 | (arg1)->SetPrinterCommand((wxString const &)*arg2); |
d55e5bfc RD |
21313 | |
21314 | wxPyEndAllowThreads(__tstate); | |
21315 | if (PyErr_Occurred()) SWIG_fail; | |
21316 | } | |
070c48b4 RD |
21317 | Py_INCREF(Py_None); resultobj = Py_None; |
21318 | { | |
21319 | if (temp2) | |
21320 | delete arg2; | |
21321 | } | |
d55e5bfc RD |
21322 | return resultobj; |
21323 | fail: | |
21324 | { | |
21325 | if (temp2) | |
21326 | delete arg2; | |
21327 | } | |
21328 | return NULL; | |
21329 | } | |
21330 | ||
21331 | ||
c370783e | 21332 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21333 | PyObject *resultobj; |
21334 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21335 | wxString *arg2 = 0 ; | |
b411df4a | 21336 | bool temp2 = false ; |
d55e5bfc RD |
21337 | PyObject * obj0 = 0 ; |
21338 | PyObject * obj1 = 0 ; | |
21339 | char *kwnames[] = { | |
21340 | (char *) "self",(char *) "options", NULL | |
21341 | }; | |
21342 | ||
21343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21344 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21345 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21346 | { |
21347 | arg2 = wxString_in_helper(obj1); | |
21348 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 21349 | temp2 = true; |
d55e5bfc RD |
21350 | } |
21351 | { | |
21352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21353 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
21354 | ||
21355 | wxPyEndAllowThreads(__tstate); | |
21356 | if (PyErr_Occurred()) SWIG_fail; | |
21357 | } | |
21358 | Py_INCREF(Py_None); resultobj = Py_None; | |
21359 | { | |
21360 | if (temp2) | |
21361 | delete arg2; | |
21362 | } | |
21363 | return resultobj; | |
21364 | fail: | |
21365 | { | |
21366 | if (temp2) | |
21367 | delete arg2; | |
21368 | } | |
21369 | return NULL; | |
21370 | } | |
21371 | ||
21372 | ||
c370783e | 21373 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21374 | PyObject *resultobj; |
21375 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21376 | wxString *arg2 = 0 ; | |
b411df4a | 21377 | bool temp2 = false ; |
d55e5bfc RD |
21378 | PyObject * obj0 = 0 ; |
21379 | PyObject * obj1 = 0 ; | |
21380 | char *kwnames[] = { | |
21381 | (char *) "self",(char *) "command", NULL | |
21382 | }; | |
21383 | ||
21384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21385 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21386 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21387 | { |
21388 | arg2 = wxString_in_helper(obj1); | |
21389 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 21390 | temp2 = true; |
d55e5bfc RD |
21391 | } |
21392 | { | |
21393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21394 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
21395 | ||
21396 | wxPyEndAllowThreads(__tstate); | |
21397 | if (PyErr_Occurred()) SWIG_fail; | |
21398 | } | |
21399 | Py_INCREF(Py_None); resultobj = Py_None; | |
21400 | { | |
21401 | if (temp2) | |
21402 | delete arg2; | |
21403 | } | |
21404 | return resultobj; | |
21405 | fail: | |
21406 | { | |
21407 | if (temp2) | |
21408 | delete arg2; | |
21409 | } | |
21410 | return NULL; | |
21411 | } | |
21412 | ||
21413 | ||
c370783e | 21414 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21415 | PyObject *resultobj; |
21416 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21417 | wxString *arg2 = 0 ; | |
b411df4a | 21418 | bool temp2 = false ; |
d55e5bfc RD |
21419 | PyObject * obj0 = 0 ; |
21420 | PyObject * obj1 = 0 ; | |
21421 | char *kwnames[] = { | |
21422 | (char *) "self",(char *) "path", NULL | |
21423 | }; | |
21424 | ||
21425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21426 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21427 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21428 | { |
21429 | arg2 = wxString_in_helper(obj1); | |
21430 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 21431 | temp2 = true; |
d55e5bfc RD |
21432 | } |
21433 | { | |
21434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21435 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
21436 | ||
21437 | wxPyEndAllowThreads(__tstate); | |
21438 | if (PyErr_Occurred()) SWIG_fail; | |
21439 | } | |
21440 | Py_INCREF(Py_None); resultobj = Py_None; | |
21441 | { | |
21442 | if (temp2) | |
21443 | delete arg2; | |
21444 | } | |
21445 | return resultobj; | |
21446 | fail: | |
21447 | { | |
21448 | if (temp2) | |
21449 | delete arg2; | |
21450 | } | |
21451 | return NULL; | |
21452 | } | |
21453 | ||
21454 | ||
c370783e | 21455 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21456 | PyObject *resultobj; |
21457 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21458 | double arg2 ; | |
21459 | PyObject * obj0 = 0 ; | |
21460 | PyObject * obj1 = 0 ; | |
21461 | char *kwnames[] = { | |
21462 | (char *) "self",(char *) "x", NULL | |
21463 | }; | |
21464 | ||
21465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21466 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21467 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21468 | { | |
21469 | arg2 = (double)(SWIG_As_double(obj1)); | |
21470 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21471 | } | |
d55e5bfc RD |
21472 | { |
21473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21474 | (arg1)->SetPrinterScaleX(arg2); | |
21475 | ||
21476 | wxPyEndAllowThreads(__tstate); | |
21477 | if (PyErr_Occurred()) SWIG_fail; | |
21478 | } | |
21479 | Py_INCREF(Py_None); resultobj = Py_None; | |
21480 | return resultobj; | |
21481 | fail: | |
21482 | return NULL; | |
21483 | } | |
21484 | ||
21485 | ||
c370783e | 21486 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21487 | PyObject *resultobj; |
21488 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21489 | double arg2 ; | |
21490 | PyObject * obj0 = 0 ; | |
21491 | PyObject * obj1 = 0 ; | |
21492 | char *kwnames[] = { | |
21493 | (char *) "self",(char *) "y", NULL | |
21494 | }; | |
21495 | ||
21496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21497 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21498 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21499 | { | |
21500 | arg2 = (double)(SWIG_As_double(obj1)); | |
21501 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21502 | } | |
d55e5bfc RD |
21503 | { |
21504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21505 | (arg1)->SetPrinterScaleY(arg2); | |
21506 | ||
21507 | wxPyEndAllowThreads(__tstate); | |
21508 | if (PyErr_Occurred()) SWIG_fail; | |
21509 | } | |
21510 | Py_INCREF(Py_None); resultobj = Py_None; | |
21511 | return resultobj; | |
21512 | fail: | |
21513 | return NULL; | |
21514 | } | |
21515 | ||
21516 | ||
c370783e | 21517 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21518 | PyObject *resultobj; |
21519 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21520 | double arg2 ; | |
21521 | double arg3 ; | |
21522 | PyObject * obj0 = 0 ; | |
21523 | PyObject * obj1 = 0 ; | |
21524 | PyObject * obj2 = 0 ; | |
21525 | char *kwnames[] = { | |
21526 | (char *) "self",(char *) "x",(char *) "y", NULL | |
21527 | }; | |
21528 | ||
21529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
21530 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21531 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21532 | { | |
21533 | arg2 = (double)(SWIG_As_double(obj1)); | |
21534 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21535 | } | |
21536 | { | |
21537 | arg3 = (double)(SWIG_As_double(obj2)); | |
21538 | if (SWIG_arg_fail(3)) SWIG_fail; | |
21539 | } | |
d55e5bfc RD |
21540 | { |
21541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21542 | (arg1)->SetPrinterScaling(arg2,arg3); | |
21543 | ||
21544 | wxPyEndAllowThreads(__tstate); | |
21545 | if (PyErr_Occurred()) SWIG_fail; | |
21546 | } | |
21547 | Py_INCREF(Py_None); resultobj = Py_None; | |
21548 | return resultobj; | |
21549 | fail: | |
21550 | return NULL; | |
21551 | } | |
21552 | ||
21553 | ||
c370783e | 21554 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21555 | PyObject *resultobj; |
21556 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21557 | long arg2 ; | |
21558 | PyObject * obj0 = 0 ; | |
21559 | PyObject * obj1 = 0 ; | |
21560 | char *kwnames[] = { | |
21561 | (char *) "self",(char *) "x", NULL | |
21562 | }; | |
21563 | ||
21564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21565 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21566 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21567 | { | |
21568 | arg2 = (long)(SWIG_As_long(obj1)); | |
21569 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21570 | } | |
d55e5bfc RD |
21571 | { |
21572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21573 | (arg1)->SetPrinterTranslateX(arg2); | |
21574 | ||
21575 | wxPyEndAllowThreads(__tstate); | |
21576 | if (PyErr_Occurred()) SWIG_fail; | |
21577 | } | |
21578 | Py_INCREF(Py_None); resultobj = Py_None; | |
21579 | return resultobj; | |
21580 | fail: | |
21581 | return NULL; | |
21582 | } | |
21583 | ||
21584 | ||
c370783e | 21585 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21586 | PyObject *resultobj; |
21587 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21588 | long arg2 ; | |
21589 | PyObject * obj0 = 0 ; | |
21590 | PyObject * obj1 = 0 ; | |
21591 | char *kwnames[] = { | |
21592 | (char *) "self",(char *) "y", NULL | |
21593 | }; | |
21594 | ||
21595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21596 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21597 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21598 | { | |
21599 | arg2 = (long)(SWIG_As_long(obj1)); | |
21600 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21601 | } | |
d55e5bfc RD |
21602 | { |
21603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21604 | (arg1)->SetPrinterTranslateY(arg2); | |
21605 | ||
21606 | wxPyEndAllowThreads(__tstate); | |
21607 | if (PyErr_Occurred()) SWIG_fail; | |
21608 | } | |
21609 | Py_INCREF(Py_None); resultobj = Py_None; | |
21610 | return resultobj; | |
21611 | fail: | |
21612 | return NULL; | |
21613 | } | |
21614 | ||
21615 | ||
c370783e | 21616 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21617 | PyObject *resultobj; |
21618 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
21619 | long arg2 ; | |
21620 | long arg3 ; | |
21621 | PyObject * obj0 = 0 ; | |
21622 | PyObject * obj1 = 0 ; | |
21623 | PyObject * obj2 = 0 ; | |
21624 | char *kwnames[] = { | |
21625 | (char *) "self",(char *) "x",(char *) "y", NULL | |
21626 | }; | |
21627 | ||
21628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
21629 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); |
21630 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21631 | { | |
21632 | arg2 = (long)(SWIG_As_long(obj1)); | |
21633 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21634 | } | |
21635 | { | |
21636 | arg3 = (long)(SWIG_As_long(obj2)); | |
21637 | if (SWIG_arg_fail(3)) SWIG_fail; | |
21638 | } | |
d55e5bfc RD |
21639 | { |
21640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21641 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
21642 | ||
21643 | wxPyEndAllowThreads(__tstate); | |
21644 | if (PyErr_Occurred()) SWIG_fail; | |
21645 | } | |
21646 | Py_INCREF(Py_None); resultobj = Py_None; | |
21647 | return resultobj; | |
21648 | fail: | |
21649 | return NULL; | |
21650 | } | |
21651 | ||
21652 | ||
c370783e | 21653 | static PyObject * PrintData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
21654 | PyObject *obj; |
21655 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21656 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
21657 | Py_INCREF(obj); | |
21658 | return Py_BuildValue((char *)""); | |
21659 | } | |
c370783e | 21660 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
21661 | PyObject *resultobj; |
21662 | wxPageSetupDialogData *result; | |
d55e5bfc | 21663 | |
09c21d3b | 21664 | if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail; |
d55e5bfc RD |
21665 | { |
21666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21667 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
21668 | ||
21669 | wxPyEndAllowThreads(__tstate); | |
21670 | if (PyErr_Occurred()) SWIG_fail; | |
21671 | } | |
21672 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
21673 | return resultobj; | |
21674 | fail: | |
21675 | return NULL; | |
21676 | } | |
21677 | ||
21678 | ||
c370783e | 21679 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) { |
09c21d3b RD |
21680 | PyObject *resultobj; |
21681 | wxPageSetupDialogData *arg1 = 0 ; | |
21682 | wxPageSetupDialogData *result; | |
21683 | PyObject * obj0 = 0 ; | |
21684 | ||
21685 | if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail; | |
36ed4f51 RD |
21686 | { |
21687 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); | |
21688 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21689 | if (arg1 == NULL) { | |
21690 | SWIG_null_ref("wxPageSetupDialogData"); | |
21691 | } | |
21692 | if (SWIG_arg_fail(1)) SWIG_fail; | |
09c21d3b RD |
21693 | } |
21694 | { | |
21695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21696 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1); | |
21697 | ||
21698 | wxPyEndAllowThreads(__tstate); | |
21699 | if (PyErr_Occurred()) SWIG_fail; | |
21700 | } | |
21701 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
21702 | return resultobj; | |
21703 | fail: | |
21704 | return NULL; | |
21705 | } | |
21706 | ||
21707 | ||
fef4c27a RD |
21708 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) { |
21709 | PyObject *resultobj; | |
21710 | wxPrintData *arg1 = 0 ; | |
21711 | wxPageSetupDialogData *result; | |
21712 | PyObject * obj0 = 0 ; | |
21713 | ||
21714 | if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail; | |
21715 | { | |
21716 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
21717 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21718 | if (arg1 == NULL) { | |
21719 | SWIG_null_ref("wxPrintData"); | |
21720 | } | |
21721 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21722 | } | |
21723 | { | |
21724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21725 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1); | |
21726 | ||
21727 | wxPyEndAllowThreads(__tstate); | |
21728 | if (PyErr_Occurred()) SWIG_fail; | |
21729 | } | |
21730 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
21731 | return resultobj; | |
21732 | fail: | |
21733 | return NULL; | |
21734 | } | |
21735 | ||
21736 | ||
09c21d3b RD |
21737 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) { |
21738 | int argc; | |
21739 | PyObject *argv[2]; | |
21740 | int ii; | |
21741 | ||
21742 | argc = PyObject_Length(args); | |
21743 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
21744 | argv[ii] = PyTuple_GetItem(args,ii); | |
21745 | } | |
21746 | if (argc == 0) { | |
21747 | return _wrap_new_PageSetupDialogData__SWIG_0(self,args); | |
21748 | } | |
21749 | if (argc == 1) { | |
21750 | int _v; | |
21751 | { | |
36ed4f51 | 21752 | void *ptr = 0; |
09c21d3b RD |
21753 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) { |
21754 | _v = 0; | |
21755 | PyErr_Clear(); | |
21756 | } else { | |
36ed4f51 | 21757 | _v = (ptr != 0); |
09c21d3b RD |
21758 | } |
21759 | } | |
21760 | if (_v) { | |
21761 | return _wrap_new_PageSetupDialogData__SWIG_1(self,args); | |
21762 | } | |
21763 | } | |
fef4c27a RD |
21764 | if (argc == 1) { |
21765 | int _v; | |
21766 | { | |
21767 | void *ptr = 0; | |
21768 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
21769 | _v = 0; | |
21770 | PyErr_Clear(); | |
21771 | } else { | |
21772 | _v = (ptr != 0); | |
21773 | } | |
21774 | } | |
21775 | if (_v) { | |
21776 | return _wrap_new_PageSetupDialogData__SWIG_2(self,args); | |
21777 | } | |
21778 | } | |
09c21d3b | 21779 | |
36ed4f51 | 21780 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'"); |
09c21d3b RD |
21781 | return NULL; |
21782 | } | |
21783 | ||
21784 | ||
c370783e | 21785 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21786 | PyObject *resultobj; |
21787 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21788 | PyObject * obj0 = 0 ; | |
21789 | char *kwnames[] = { | |
21790 | (char *) "self", NULL | |
21791 | }; | |
21792 | ||
21793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21794 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21795 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21796 | { |
21797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21798 | delete arg1; | |
21799 | ||
21800 | wxPyEndAllowThreads(__tstate); | |
21801 | if (PyErr_Occurred()) SWIG_fail; | |
21802 | } | |
21803 | Py_INCREF(Py_None); resultobj = Py_None; | |
21804 | return resultobj; | |
21805 | fail: | |
21806 | return NULL; | |
21807 | } | |
21808 | ||
21809 | ||
c370783e | 21810 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21811 | PyObject *resultobj; |
21812 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21813 | bool arg2 ; | |
21814 | PyObject * obj0 = 0 ; | |
21815 | PyObject * obj1 = 0 ; | |
21816 | char *kwnames[] = { | |
21817 | (char *) "self",(char *) "flag", NULL | |
21818 | }; | |
21819 | ||
21820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21821 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21822 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21823 | { | |
21824 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
21825 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21826 | } | |
d55e5bfc RD |
21827 | { |
21828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21829 | (arg1)->EnableHelp(arg2); | |
21830 | ||
21831 | wxPyEndAllowThreads(__tstate); | |
21832 | if (PyErr_Occurred()) SWIG_fail; | |
21833 | } | |
21834 | Py_INCREF(Py_None); resultobj = Py_None; | |
21835 | return resultobj; | |
21836 | fail: | |
21837 | return NULL; | |
21838 | } | |
21839 | ||
21840 | ||
c370783e | 21841 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21842 | PyObject *resultobj; |
21843 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21844 | bool arg2 ; | |
21845 | PyObject * obj0 = 0 ; | |
21846 | PyObject * obj1 = 0 ; | |
21847 | char *kwnames[] = { | |
21848 | (char *) "self",(char *) "flag", NULL | |
21849 | }; | |
21850 | ||
21851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21852 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21853 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21854 | { | |
21855 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
21856 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21857 | } | |
d55e5bfc RD |
21858 | { |
21859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21860 | (arg1)->EnableMargins(arg2); | |
21861 | ||
21862 | wxPyEndAllowThreads(__tstate); | |
21863 | if (PyErr_Occurred()) SWIG_fail; | |
21864 | } | |
21865 | Py_INCREF(Py_None); resultobj = Py_None; | |
21866 | return resultobj; | |
21867 | fail: | |
21868 | return NULL; | |
21869 | } | |
21870 | ||
21871 | ||
c370783e | 21872 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21873 | PyObject *resultobj; |
21874 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21875 | bool arg2 ; | |
21876 | PyObject * obj0 = 0 ; | |
21877 | PyObject * obj1 = 0 ; | |
21878 | char *kwnames[] = { | |
21879 | (char *) "self",(char *) "flag", NULL | |
21880 | }; | |
21881 | ||
21882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21883 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21884 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21885 | { | |
21886 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
21887 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21888 | } | |
d55e5bfc RD |
21889 | { |
21890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21891 | (arg1)->EnableOrientation(arg2); | |
21892 | ||
21893 | wxPyEndAllowThreads(__tstate); | |
21894 | if (PyErr_Occurred()) SWIG_fail; | |
21895 | } | |
21896 | Py_INCREF(Py_None); resultobj = Py_None; | |
21897 | return resultobj; | |
21898 | fail: | |
21899 | return NULL; | |
21900 | } | |
21901 | ||
21902 | ||
c370783e | 21903 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21904 | PyObject *resultobj; |
21905 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21906 | bool arg2 ; | |
21907 | PyObject * obj0 = 0 ; | |
21908 | PyObject * obj1 = 0 ; | |
21909 | char *kwnames[] = { | |
21910 | (char *) "self",(char *) "flag", NULL | |
21911 | }; | |
21912 | ||
21913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21914 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21915 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21916 | { | |
21917 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
21918 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21919 | } | |
d55e5bfc RD |
21920 | { |
21921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21922 | (arg1)->EnablePaper(arg2); | |
21923 | ||
21924 | wxPyEndAllowThreads(__tstate); | |
21925 | if (PyErr_Occurred()) SWIG_fail; | |
21926 | } | |
21927 | Py_INCREF(Py_None); resultobj = Py_None; | |
21928 | return resultobj; | |
21929 | fail: | |
21930 | return NULL; | |
21931 | } | |
21932 | ||
21933 | ||
c370783e | 21934 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21935 | PyObject *resultobj; |
21936 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21937 | bool arg2 ; | |
21938 | PyObject * obj0 = 0 ; | |
21939 | PyObject * obj1 = 0 ; | |
21940 | char *kwnames[] = { | |
21941 | (char *) "self",(char *) "flag", NULL | |
21942 | }; | |
21943 | ||
21944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
21945 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21946 | if (SWIG_arg_fail(1)) SWIG_fail; | |
21947 | { | |
21948 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
21949 | if (SWIG_arg_fail(2)) SWIG_fail; | |
21950 | } | |
d55e5bfc RD |
21951 | { |
21952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21953 | (arg1)->EnablePrinter(arg2); | |
21954 | ||
21955 | wxPyEndAllowThreads(__tstate); | |
21956 | if (PyErr_Occurred()) SWIG_fail; | |
21957 | } | |
21958 | Py_INCREF(Py_None); resultobj = Py_None; | |
21959 | return resultobj; | |
21960 | fail: | |
21961 | return NULL; | |
21962 | } | |
21963 | ||
21964 | ||
c370783e | 21965 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21966 | PyObject *resultobj; |
21967 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21968 | bool result; | |
21969 | PyObject * obj0 = 0 ; | |
21970 | char *kwnames[] = { | |
21971 | (char *) "self", NULL | |
21972 | }; | |
21973 | ||
21974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
21975 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
21976 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
21977 | { |
21978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21979 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
21980 | ||
21981 | wxPyEndAllowThreads(__tstate); | |
21982 | if (PyErr_Occurred()) SWIG_fail; | |
21983 | } | |
21984 | { | |
21985 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21986 | } | |
21987 | return resultobj; | |
21988 | fail: | |
21989 | return NULL; | |
21990 | } | |
21991 | ||
21992 | ||
c370783e | 21993 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
21994 | PyObject *resultobj; |
21995 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
21996 | bool result; | |
21997 | PyObject * obj0 = 0 ; | |
21998 | char *kwnames[] = { | |
21999 | (char *) "self", NULL | |
22000 | }; | |
22001 | ||
22002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22003 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22004 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22005 | { |
22006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22007 | result = (bool)(arg1)->GetEnableMargins(); | |
22008 | ||
22009 | wxPyEndAllowThreads(__tstate); | |
22010 | if (PyErr_Occurred()) SWIG_fail; | |
22011 | } | |
22012 | { | |
22013 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22014 | } | |
22015 | return resultobj; | |
22016 | fail: | |
22017 | return NULL; | |
22018 | } | |
22019 | ||
22020 | ||
c370783e | 22021 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22022 | PyObject *resultobj; |
22023 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22024 | bool result; | |
22025 | PyObject * obj0 = 0 ; | |
22026 | char *kwnames[] = { | |
22027 | (char *) "self", NULL | |
22028 | }; | |
22029 | ||
22030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22031 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22032 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22033 | { |
22034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22035 | result = (bool)(arg1)->GetEnableOrientation(); | |
22036 | ||
22037 | wxPyEndAllowThreads(__tstate); | |
22038 | if (PyErr_Occurred()) SWIG_fail; | |
22039 | } | |
22040 | { | |
22041 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22042 | } | |
22043 | return resultobj; | |
22044 | fail: | |
22045 | return NULL; | |
22046 | } | |
22047 | ||
22048 | ||
c370783e | 22049 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22050 | PyObject *resultobj; |
22051 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22052 | bool result; | |
22053 | PyObject * obj0 = 0 ; | |
22054 | char *kwnames[] = { | |
22055 | (char *) "self", NULL | |
22056 | }; | |
22057 | ||
22058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22059 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22060 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22061 | { |
22062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22063 | result = (bool)(arg1)->GetEnablePaper(); | |
22064 | ||
22065 | wxPyEndAllowThreads(__tstate); | |
22066 | if (PyErr_Occurred()) SWIG_fail; | |
22067 | } | |
22068 | { | |
22069 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22070 | } | |
22071 | return resultobj; | |
22072 | fail: | |
22073 | return NULL; | |
22074 | } | |
22075 | ||
22076 | ||
c370783e | 22077 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22078 | PyObject *resultobj; |
22079 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22080 | bool result; | |
22081 | PyObject * obj0 = 0 ; | |
22082 | char *kwnames[] = { | |
22083 | (char *) "self", NULL | |
22084 | }; | |
22085 | ||
22086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22087 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22088 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22089 | { |
22090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22091 | result = (bool)(arg1)->GetEnablePrinter(); | |
22092 | ||
22093 | wxPyEndAllowThreads(__tstate); | |
22094 | if (PyErr_Occurred()) SWIG_fail; | |
22095 | } | |
22096 | { | |
22097 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22098 | } | |
22099 | return resultobj; | |
22100 | fail: | |
22101 | return NULL; | |
22102 | } | |
22103 | ||
22104 | ||
c370783e | 22105 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22106 | PyObject *resultobj; |
22107 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22108 | bool result; | |
22109 | PyObject * obj0 = 0 ; | |
22110 | char *kwnames[] = { | |
22111 | (char *) "self", NULL | |
22112 | }; | |
22113 | ||
22114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22115 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22116 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22117 | { |
22118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22119 | result = (bool)(arg1)->GetEnableHelp(); | |
22120 | ||
22121 | wxPyEndAllowThreads(__tstate); | |
22122 | if (PyErr_Occurred()) SWIG_fail; | |
22123 | } | |
22124 | { | |
22125 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22126 | } | |
22127 | return resultobj; | |
22128 | fail: | |
22129 | return NULL; | |
22130 | } | |
22131 | ||
22132 | ||
c370783e | 22133 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22134 | PyObject *resultobj; |
22135 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22136 | bool result; | |
22137 | PyObject * obj0 = 0 ; | |
22138 | char *kwnames[] = { | |
22139 | (char *) "self", NULL | |
22140 | }; | |
22141 | ||
22142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22143 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22144 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22145 | { |
22146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22147 | result = (bool)(arg1)->GetDefaultInfo(); | |
22148 | ||
22149 | wxPyEndAllowThreads(__tstate); | |
22150 | if (PyErr_Occurred()) SWIG_fail; | |
22151 | } | |
22152 | { | |
22153 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22154 | } | |
22155 | return resultobj; | |
22156 | fail: | |
22157 | return NULL; | |
22158 | } | |
22159 | ||
22160 | ||
c370783e | 22161 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22162 | PyObject *resultobj; |
22163 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22164 | wxPoint result; | |
22165 | PyObject * obj0 = 0 ; | |
22166 | char *kwnames[] = { | |
22167 | (char *) "self", NULL | |
22168 | }; | |
22169 | ||
22170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22171 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22172 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22173 | { |
22174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22175 | result = (arg1)->GetMarginTopLeft(); | |
22176 | ||
22177 | wxPyEndAllowThreads(__tstate); | |
22178 | if (PyErr_Occurred()) SWIG_fail; | |
22179 | } | |
22180 | { | |
22181 | wxPoint * resultptr; | |
36ed4f51 | 22182 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
22183 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
22184 | } | |
22185 | return resultobj; | |
22186 | fail: | |
22187 | return NULL; | |
22188 | } | |
22189 | ||
22190 | ||
c370783e | 22191 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22192 | PyObject *resultobj; |
22193 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22194 | wxPoint result; | |
22195 | PyObject * obj0 = 0 ; | |
22196 | char *kwnames[] = { | |
22197 | (char *) "self", NULL | |
22198 | }; | |
22199 | ||
22200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22201 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22202 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22203 | { |
22204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22205 | result = (arg1)->GetMarginBottomRight(); | |
22206 | ||
22207 | wxPyEndAllowThreads(__tstate); | |
22208 | if (PyErr_Occurred()) SWIG_fail; | |
22209 | } | |
22210 | { | |
22211 | wxPoint * resultptr; | |
36ed4f51 | 22212 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
22213 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
22214 | } | |
22215 | return resultobj; | |
22216 | fail: | |
22217 | return NULL; | |
22218 | } | |
22219 | ||
22220 | ||
c370783e | 22221 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22222 | PyObject *resultobj; |
22223 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22224 | wxPoint result; | |
22225 | PyObject * obj0 = 0 ; | |
22226 | char *kwnames[] = { | |
22227 | (char *) "self", NULL | |
22228 | }; | |
22229 | ||
22230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22231 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22232 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22233 | { |
22234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22235 | result = (arg1)->GetMinMarginTopLeft(); | |
22236 | ||
22237 | wxPyEndAllowThreads(__tstate); | |
22238 | if (PyErr_Occurred()) SWIG_fail; | |
22239 | } | |
22240 | { | |
22241 | wxPoint * resultptr; | |
36ed4f51 | 22242 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
22243 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
22244 | } | |
22245 | return resultobj; | |
22246 | fail: | |
22247 | return NULL; | |
22248 | } | |
22249 | ||
22250 | ||
c370783e | 22251 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22252 | PyObject *resultobj; |
22253 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22254 | wxPoint result; | |
22255 | PyObject * obj0 = 0 ; | |
22256 | char *kwnames[] = { | |
22257 | (char *) "self", NULL | |
22258 | }; | |
22259 | ||
22260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
36ed4f51 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 = (arg1)->GetMinMarginBottomRight(); | |
22266 | ||
22267 | wxPyEndAllowThreads(__tstate); | |
22268 | if (PyErr_Occurred()) SWIG_fail; | |
22269 | } | |
22270 | { | |
22271 | wxPoint * resultptr; | |
36ed4f51 | 22272 | resultptr = new wxPoint((wxPoint &)(result)); |
d55e5bfc RD |
22273 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
22274 | } | |
22275 | return resultobj; | |
22276 | fail: | |
22277 | return NULL; | |
22278 | } | |
22279 | ||
22280 | ||
c370783e | 22281 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22282 | PyObject *resultobj; |
22283 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
36ed4f51 | 22284 | wxPaperSize result; |
d55e5bfc RD |
22285 | PyObject * obj0 = 0 ; |
22286 | char *kwnames[] = { | |
22287 | (char *) "self", NULL | |
22288 | }; | |
22289 | ||
22290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22291 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22292 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22293 | { |
22294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 22295 | result = (wxPaperSize)(arg1)->GetPaperId(); |
d55e5bfc RD |
22296 | |
22297 | wxPyEndAllowThreads(__tstate); | |
22298 | if (PyErr_Occurred()) SWIG_fail; | |
22299 | } | |
36ed4f51 | 22300 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
22301 | return resultobj; |
22302 | fail: | |
22303 | return NULL; | |
22304 | } | |
22305 | ||
22306 | ||
c370783e | 22307 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22308 | PyObject *resultobj; |
22309 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22310 | wxSize result; | |
22311 | PyObject * obj0 = 0 ; | |
22312 | char *kwnames[] = { | |
22313 | (char *) "self", NULL | |
22314 | }; | |
22315 | ||
22316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
36ed4f51 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 = (arg1)->GetPaperSize(); | |
22322 | ||
22323 | wxPyEndAllowThreads(__tstate); | |
22324 | if (PyErr_Occurred()) SWIG_fail; | |
22325 | } | |
22326 | { | |
22327 | wxSize * resultptr; | |
36ed4f51 | 22328 | resultptr = new wxSize((wxSize &)(result)); |
d55e5bfc RD |
22329 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
22330 | } | |
22331 | return resultobj; | |
22332 | fail: | |
22333 | return NULL; | |
22334 | } | |
22335 | ||
22336 | ||
c370783e | 22337 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22338 | PyObject *resultobj; |
22339 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22340 | wxPrintData *result; | |
22341 | PyObject * obj0 = 0 ; | |
22342 | char *kwnames[] = { | |
22343 | (char *) "self", NULL | |
22344 | }; | |
22345 | ||
22346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22347 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22348 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22349 | { |
22350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22351 | { | |
22352 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
22353 | result = (wxPrintData *) &_result_ref; | |
22354 | } | |
22355 | ||
22356 | wxPyEndAllowThreads(__tstate); | |
22357 | if (PyErr_Occurred()) SWIG_fail; | |
22358 | } | |
22359 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); | |
22360 | return resultobj; | |
22361 | fail: | |
22362 | return NULL; | |
22363 | } | |
22364 | ||
22365 | ||
c370783e | 22366 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22367 | PyObject *resultobj; |
22368 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22369 | bool result; | |
22370 | PyObject * obj0 = 0 ; | |
22371 | char *kwnames[] = { | |
22372 | (char *) "self", NULL | |
22373 | }; | |
22374 | ||
22375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22376 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22377 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22378 | { |
22379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22380 | result = (bool)(arg1)->Ok(); | |
22381 | ||
22382 | wxPyEndAllowThreads(__tstate); | |
22383 | if (PyErr_Occurred()) SWIG_fail; | |
22384 | } | |
22385 | { | |
22386 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22387 | } | |
22388 | return resultobj; | |
22389 | fail: | |
22390 | return NULL; | |
22391 | } | |
22392 | ||
22393 | ||
c370783e | 22394 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22395 | PyObject *resultobj; |
22396 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22397 | bool arg2 ; | |
22398 | PyObject * obj0 = 0 ; | |
22399 | PyObject * obj1 = 0 ; | |
22400 | char *kwnames[] = { | |
22401 | (char *) "self",(char *) "flag", NULL | |
22402 | }; | |
22403 | ||
22404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22405 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22406 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22407 | { | |
22408 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22409 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22410 | } | |
d55e5bfc RD |
22411 | { |
22412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22413 | (arg1)->SetDefaultInfo(arg2); | |
22414 | ||
22415 | wxPyEndAllowThreads(__tstate); | |
22416 | if (PyErr_Occurred()) SWIG_fail; | |
22417 | } | |
22418 | Py_INCREF(Py_None); resultobj = Py_None; | |
22419 | return resultobj; | |
22420 | fail: | |
22421 | return NULL; | |
22422 | } | |
22423 | ||
22424 | ||
c370783e | 22425 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22426 | PyObject *resultobj; |
22427 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22428 | bool arg2 ; | |
22429 | PyObject * obj0 = 0 ; | |
22430 | PyObject * obj1 = 0 ; | |
22431 | char *kwnames[] = { | |
22432 | (char *) "self",(char *) "flag", NULL | |
22433 | }; | |
22434 | ||
22435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22436 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22437 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22438 | { | |
22439 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
22440 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22441 | } | |
d55e5bfc RD |
22442 | { |
22443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22444 | (arg1)->SetDefaultMinMargins(arg2); | |
22445 | ||
22446 | wxPyEndAllowThreads(__tstate); | |
22447 | if (PyErr_Occurred()) SWIG_fail; | |
22448 | } | |
22449 | Py_INCREF(Py_None); resultobj = Py_None; | |
22450 | return resultobj; | |
22451 | fail: | |
22452 | return NULL; | |
22453 | } | |
22454 | ||
22455 | ||
c370783e | 22456 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22457 | PyObject *resultobj; |
22458 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22459 | wxPoint *arg2 = 0 ; | |
22460 | wxPoint temp2 ; | |
22461 | PyObject * obj0 = 0 ; | |
22462 | PyObject * obj1 = 0 ; | |
22463 | char *kwnames[] = { | |
22464 | (char *) "self",(char *) "pt", NULL | |
22465 | }; | |
22466 | ||
22467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22468 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22469 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22470 | { |
22471 | arg2 = &temp2; | |
22472 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22473 | } | |
22474 | { | |
22475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22476 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
22477 | ||
22478 | wxPyEndAllowThreads(__tstate); | |
22479 | if (PyErr_Occurred()) SWIG_fail; | |
22480 | } | |
22481 | Py_INCREF(Py_None); resultobj = Py_None; | |
22482 | return resultobj; | |
22483 | fail: | |
22484 | return NULL; | |
22485 | } | |
22486 | ||
22487 | ||
c370783e | 22488 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22489 | PyObject *resultobj; |
22490 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22491 | wxPoint *arg2 = 0 ; | |
22492 | wxPoint temp2 ; | |
22493 | PyObject * obj0 = 0 ; | |
22494 | PyObject * obj1 = 0 ; | |
22495 | char *kwnames[] = { | |
22496 | (char *) "self",(char *) "pt", NULL | |
22497 | }; | |
22498 | ||
22499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22500 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22501 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22502 | { |
22503 | arg2 = &temp2; | |
22504 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22505 | } | |
22506 | { | |
22507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22508 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
22509 | ||
22510 | wxPyEndAllowThreads(__tstate); | |
22511 | if (PyErr_Occurred()) SWIG_fail; | |
22512 | } | |
22513 | Py_INCREF(Py_None); resultobj = Py_None; | |
22514 | return resultobj; | |
22515 | fail: | |
22516 | return NULL; | |
22517 | } | |
22518 | ||
22519 | ||
c370783e | 22520 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22521 | PyObject *resultobj; |
22522 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22523 | wxPoint *arg2 = 0 ; | |
22524 | wxPoint temp2 ; | |
22525 | PyObject * obj0 = 0 ; | |
22526 | PyObject * obj1 = 0 ; | |
22527 | char *kwnames[] = { | |
22528 | (char *) "self",(char *) "pt", NULL | |
22529 | }; | |
22530 | ||
22531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22532 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22533 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22534 | { |
22535 | arg2 = &temp2; | |
22536 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22537 | } | |
22538 | { | |
22539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22540 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
22541 | ||
22542 | wxPyEndAllowThreads(__tstate); | |
22543 | if (PyErr_Occurred()) SWIG_fail; | |
22544 | } | |
22545 | Py_INCREF(Py_None); resultobj = Py_None; | |
22546 | return resultobj; | |
22547 | fail: | |
22548 | return NULL; | |
22549 | } | |
22550 | ||
22551 | ||
c370783e | 22552 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22553 | PyObject *resultobj; |
22554 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22555 | wxPoint *arg2 = 0 ; | |
22556 | wxPoint temp2 ; | |
22557 | PyObject * obj0 = 0 ; | |
22558 | PyObject * obj1 = 0 ; | |
22559 | char *kwnames[] = { | |
22560 | (char *) "self",(char *) "pt", NULL | |
22561 | }; | |
22562 | ||
22563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22564 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22565 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22566 | { |
22567 | arg2 = &temp2; | |
22568 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
22569 | } | |
22570 | { | |
22571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22572 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
22573 | ||
22574 | wxPyEndAllowThreads(__tstate); | |
22575 | if (PyErr_Occurred()) SWIG_fail; | |
22576 | } | |
22577 | Py_INCREF(Py_None); resultobj = Py_None; | |
22578 | return resultobj; | |
22579 | fail: | |
22580 | return NULL; | |
22581 | } | |
22582 | ||
22583 | ||
c370783e | 22584 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22585 | PyObject *resultobj; |
22586 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
36ed4f51 | 22587 | wxPaperSize arg2 ; |
d55e5bfc RD |
22588 | PyObject * obj0 = 0 ; |
22589 | PyObject * obj1 = 0 ; | |
22590 | char *kwnames[] = { | |
22591 | (char *) "self",(char *) "id", NULL | |
22592 | }; | |
22593 | ||
22594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22595 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22596 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22597 | { | |
22598 | arg2 = (wxPaperSize)(SWIG_As_int(obj1)); | |
22599 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22600 | } | |
d55e5bfc RD |
22601 | { |
22602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22603 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
22604 | ||
22605 | wxPyEndAllowThreads(__tstate); | |
22606 | if (PyErr_Occurred()) SWIG_fail; | |
22607 | } | |
22608 | Py_INCREF(Py_None); resultobj = Py_None; | |
22609 | return resultobj; | |
22610 | fail: | |
22611 | return NULL; | |
22612 | } | |
22613 | ||
22614 | ||
c370783e | 22615 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22616 | PyObject *resultobj; |
22617 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22618 | wxSize *arg2 = 0 ; | |
22619 | wxSize temp2 ; | |
22620 | PyObject * obj0 = 0 ; | |
22621 | PyObject * obj1 = 0 ; | |
22622 | char *kwnames[] = { | |
22623 | (char *) "self",(char *) "size", NULL | |
22624 | }; | |
22625 | ||
22626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22627 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22628 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22629 | { |
22630 | arg2 = &temp2; | |
22631 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
22632 | } | |
22633 | { | |
22634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22635 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
22636 | ||
22637 | wxPyEndAllowThreads(__tstate); | |
22638 | if (PyErr_Occurred()) SWIG_fail; | |
22639 | } | |
22640 | Py_INCREF(Py_None); resultobj = Py_None; | |
22641 | return resultobj; | |
22642 | fail: | |
22643 | return NULL; | |
22644 | } | |
22645 | ||
22646 | ||
c370783e | 22647 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22648 | PyObject *resultobj; |
22649 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22650 | wxPrintData *arg2 = 0 ; | |
22651 | PyObject * obj0 = 0 ; | |
22652 | PyObject * obj1 = 0 ; | |
22653 | char *kwnames[] = { | |
22654 | (char *) "self",(char *) "printData", NULL | |
22655 | }; | |
22656 | ||
22657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22658 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22659 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22660 | { | |
22661 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
22662 | if (SWIG_arg_fail(2)) SWIG_fail; | |
22663 | if (arg2 == NULL) { | |
22664 | SWIG_null_ref("wxPrintData"); | |
22665 | } | |
22666 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
22667 | } |
22668 | { | |
22669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22670 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
22671 | ||
22672 | wxPyEndAllowThreads(__tstate); | |
22673 | if (PyErr_Occurred()) SWIG_fail; | |
22674 | } | |
22675 | Py_INCREF(Py_None); resultobj = Py_None; | |
22676 | return resultobj; | |
22677 | fail: | |
22678 | return NULL; | |
22679 | } | |
22680 | ||
22681 | ||
fef4c27a RD |
22682 | static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
22683 | PyObject *resultobj; | |
22684 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22685 | PyObject * obj0 = 0 ; | |
22686 | char *kwnames[] = { | |
22687 | (char *) "self", NULL | |
22688 | }; | |
22689 | ||
22690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail; | |
22691 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); | |
22692 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22693 | { | |
22694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22695 | (arg1)->CalculateIdFromPaperSize(); | |
22696 | ||
22697 | wxPyEndAllowThreads(__tstate); | |
22698 | if (PyErr_Occurred()) SWIG_fail; | |
22699 | } | |
22700 | Py_INCREF(Py_None); resultobj = Py_None; | |
22701 | return resultobj; | |
22702 | fail: | |
22703 | return NULL; | |
22704 | } | |
22705 | ||
22706 | ||
22707 | static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) { | |
22708 | PyObject *resultobj; | |
22709 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
22710 | PyObject * obj0 = 0 ; | |
22711 | char *kwnames[] = { | |
22712 | (char *) "self", NULL | |
22713 | }; | |
22714 | ||
22715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail; | |
22716 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); | |
22717 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22718 | { | |
22719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22720 | (arg1)->CalculatePaperSizeFromId(); | |
22721 | ||
22722 | wxPyEndAllowThreads(__tstate); | |
22723 | if (PyErr_Occurred()) SWIG_fail; | |
22724 | } | |
22725 | Py_INCREF(Py_None); resultobj = Py_None; | |
22726 | return resultobj; | |
22727 | fail: | |
22728 | return NULL; | |
22729 | } | |
22730 | ||
22731 | ||
c370783e | 22732 | static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
22733 | PyObject *obj; |
22734 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22735 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
22736 | Py_INCREF(obj); | |
22737 | return Py_BuildValue((char *)""); | |
22738 | } | |
c370783e | 22739 | static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22740 | PyObject *resultobj; |
22741 | wxWindow *arg1 = (wxWindow *) 0 ; | |
22742 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
22743 | wxPageSetupDialog *result; | |
22744 | PyObject * obj0 = 0 ; | |
22745 | PyObject * obj1 = 0 ; | |
22746 | char *kwnames[] = { | |
22747 | (char *) "parent",(char *) "data", NULL | |
22748 | }; | |
22749 | ||
22750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
22751 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
22752 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 22753 | if (obj1) { |
36ed4f51 RD |
22754 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); |
22755 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
22756 | } |
22757 | { | |
0439c23b | 22758 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
22759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22760 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
22761 | ||
22762 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 22763 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
22764 | } |
22765 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); | |
22766 | return resultobj; | |
22767 | fail: | |
22768 | return NULL; | |
22769 | } | |
22770 | ||
22771 | ||
c370783e | 22772 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22773 | PyObject *resultobj; |
22774 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
22775 | wxPageSetupDialogData *result; | |
22776 | PyObject * obj0 = 0 ; | |
22777 | char *kwnames[] = { | |
22778 | (char *) "self", NULL | |
22779 | }; | |
22780 | ||
22781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22782 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
22783 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22784 | { |
22785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22786 | { | |
22787 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
22788 | result = (wxPageSetupDialogData *) &_result_ref; | |
22789 | } | |
22790 | ||
22791 | wxPyEndAllowThreads(__tstate); | |
22792 | if (PyErr_Occurred()) SWIG_fail; | |
22793 | } | |
22794 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
22795 | return resultobj; | |
22796 | fail: | |
22797 | return NULL; | |
22798 | } | |
22799 | ||
22800 | ||
6e0de3df RD |
22801 | static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
22802 | PyObject *resultobj; | |
22803 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
22804 | wxPageSetupDialogData *result; | |
22805 | PyObject * obj0 = 0 ; | |
22806 | char *kwnames[] = { | |
22807 | (char *) "self", NULL | |
22808 | }; | |
22809 | ||
22810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22811 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
22812 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6e0de3df RD |
22813 | { |
22814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22815 | { | |
22816 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData(); | |
22817 | result = (wxPageSetupDialogData *) &_result_ref; | |
22818 | } | |
22819 | ||
22820 | wxPyEndAllowThreads(__tstate); | |
22821 | if (PyErr_Occurred()) SWIG_fail; | |
22822 | } | |
22823 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
22824 | return resultobj; | |
22825 | fail: | |
22826 | return NULL; | |
22827 | } | |
22828 | ||
22829 | ||
c370783e | 22830 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22831 | PyObject *resultobj; |
22832 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
22833 | int result; | |
22834 | PyObject * obj0 = 0 ; | |
22835 | char *kwnames[] = { | |
22836 | (char *) "self", NULL | |
22837 | }; | |
22838 | ||
22839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22840 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0); |
22841 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22842 | { |
22843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22844 | result = (int)(arg1)->ShowModal(); | |
22845 | ||
22846 | wxPyEndAllowThreads(__tstate); | |
22847 | if (PyErr_Occurred()) SWIG_fail; | |
22848 | } | |
36ed4f51 RD |
22849 | { |
22850 | resultobj = SWIG_From_int((int)(result)); | |
22851 | } | |
d55e5bfc RD |
22852 | return resultobj; |
22853 | fail: | |
22854 | return NULL; | |
22855 | } | |
22856 | ||
22857 | ||
c370783e | 22858 | static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
22859 | PyObject *obj; |
22860 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22861 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
22862 | Py_INCREF(obj); | |
22863 | return Py_BuildValue((char *)""); | |
22864 | } | |
c370783e | 22865 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
22866 | PyObject *resultobj; |
22867 | wxPrintDialogData *result; | |
22868 | ||
22869 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; | |
22870 | { | |
22871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22872 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
22873 | ||
22874 | wxPyEndAllowThreads(__tstate); | |
22875 | if (PyErr_Occurred()) SWIG_fail; | |
22876 | } | |
22877 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
22878 | return resultobj; | |
22879 | fail: | |
22880 | return NULL; | |
22881 | } | |
22882 | ||
22883 | ||
c370783e | 22884 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
22885 | PyObject *resultobj; |
22886 | wxPrintData *arg1 = 0 ; | |
22887 | wxPrintDialogData *result; | |
22888 | PyObject * obj0 = 0 ; | |
22889 | ||
22890 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
36ed4f51 RD |
22891 | { |
22892 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
22893 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22894 | if (arg1 == NULL) { | |
22895 | SWIG_null_ref("wxPrintData"); | |
22896 | } | |
22897 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
22898 | } |
22899 | { | |
22900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22901 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
22902 | ||
22903 | wxPyEndAllowThreads(__tstate); | |
22904 | if (PyErr_Occurred()) SWIG_fail; | |
22905 | } | |
22906 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
22907 | return resultobj; | |
22908 | fail: | |
22909 | return NULL; | |
22910 | } | |
22911 | ||
22912 | ||
fef4c27a RD |
22913 | static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) { |
22914 | PyObject *resultobj; | |
22915 | wxPrintDialogData *arg1 = 0 ; | |
22916 | wxPrintDialogData *result; | |
22917 | PyObject * obj0 = 0 ; | |
22918 | ||
22919 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
22920 | { | |
22921 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); | |
22922 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22923 | if (arg1 == NULL) { | |
22924 | SWIG_null_ref("wxPrintDialogData"); | |
22925 | } | |
22926 | if (SWIG_arg_fail(1)) SWIG_fail; | |
22927 | } | |
22928 | { | |
22929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22930 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1); | |
22931 | ||
22932 | wxPyEndAllowThreads(__tstate); | |
22933 | if (PyErr_Occurred()) SWIG_fail; | |
22934 | } | |
22935 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
22936 | return resultobj; | |
22937 | fail: | |
22938 | return NULL; | |
22939 | } | |
22940 | ||
22941 | ||
d55e5bfc RD |
22942 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { |
22943 | int argc; | |
22944 | PyObject *argv[2]; | |
22945 | int ii; | |
22946 | ||
22947 | argc = PyObject_Length(args); | |
22948 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
22949 | argv[ii] = PyTuple_GetItem(args,ii); | |
22950 | } | |
22951 | if (argc == 0) { | |
22952 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
22953 | } | |
22954 | if (argc == 1) { | |
22955 | int _v; | |
22956 | { | |
36ed4f51 | 22957 | void *ptr = 0; |
d55e5bfc RD |
22958 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { |
22959 | _v = 0; | |
22960 | PyErr_Clear(); | |
22961 | } else { | |
36ed4f51 | 22962 | _v = (ptr != 0); |
d55e5bfc RD |
22963 | } |
22964 | } | |
22965 | if (_v) { | |
22966 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
22967 | } | |
22968 | } | |
fef4c27a RD |
22969 | if (argc == 1) { |
22970 | int _v; | |
22971 | { | |
22972 | void *ptr = 0; | |
22973 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
22974 | _v = 0; | |
22975 | PyErr_Clear(); | |
22976 | } else { | |
22977 | _v = (ptr != 0); | |
22978 | } | |
22979 | } | |
22980 | if (_v) { | |
22981 | return _wrap_new_PrintDialogData__SWIG_2(self,args); | |
22982 | } | |
22983 | } | |
d55e5bfc | 22984 | |
36ed4f51 | 22985 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'"); |
d55e5bfc RD |
22986 | return NULL; |
22987 | } | |
22988 | ||
22989 | ||
c370783e | 22990 | static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
22991 | PyObject *resultobj; |
22992 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
22993 | PyObject * obj0 = 0 ; | |
22994 | char *kwnames[] = { | |
22995 | (char *) "self", NULL | |
22996 | }; | |
22997 | ||
22998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
22999 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23000 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23001 | { |
23002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23003 | delete arg1; | |
23004 | ||
23005 | wxPyEndAllowThreads(__tstate); | |
23006 | if (PyErr_Occurred()) SWIG_fail; | |
23007 | } | |
23008 | Py_INCREF(Py_None); resultobj = Py_None; | |
23009 | return resultobj; | |
23010 | fail: | |
23011 | return NULL; | |
23012 | } | |
23013 | ||
23014 | ||
c370783e | 23015 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23016 | PyObject *resultobj; |
23017 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23018 | int result; | |
23019 | PyObject * obj0 = 0 ; | |
23020 | char *kwnames[] = { | |
23021 | (char *) "self", NULL | |
23022 | }; | |
23023 | ||
23024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23025 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23026 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23027 | { |
23028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23029 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
23030 | ||
23031 | wxPyEndAllowThreads(__tstate); | |
23032 | if (PyErr_Occurred()) SWIG_fail; | |
23033 | } | |
36ed4f51 RD |
23034 | { |
23035 | resultobj = SWIG_From_int((int)(result)); | |
23036 | } | |
d55e5bfc RD |
23037 | return resultobj; |
23038 | fail: | |
23039 | return NULL; | |
23040 | } | |
23041 | ||
23042 | ||
c370783e | 23043 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23044 | PyObject *resultobj; |
23045 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23046 | int result; | |
23047 | PyObject * obj0 = 0 ; | |
23048 | char *kwnames[] = { | |
23049 | (char *) "self", NULL | |
23050 | }; | |
23051 | ||
23052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23053 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23054 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23055 | { |
23056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23057 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
23058 | ||
23059 | wxPyEndAllowThreads(__tstate); | |
23060 | if (PyErr_Occurred()) SWIG_fail; | |
23061 | } | |
36ed4f51 RD |
23062 | { |
23063 | resultobj = SWIG_From_int((int)(result)); | |
23064 | } | |
d55e5bfc RD |
23065 | return resultobj; |
23066 | fail: | |
23067 | return NULL; | |
23068 | } | |
23069 | ||
23070 | ||
c370783e | 23071 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23072 | PyObject *resultobj; |
23073 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23074 | int result; | |
23075 | PyObject * obj0 = 0 ; | |
23076 | char *kwnames[] = { | |
23077 | (char *) "self", NULL | |
23078 | }; | |
23079 | ||
23080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23081 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23082 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23083 | { |
23084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23085 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
23086 | ||
23087 | wxPyEndAllowThreads(__tstate); | |
23088 | if (PyErr_Occurred()) SWIG_fail; | |
23089 | } | |
36ed4f51 RD |
23090 | { |
23091 | resultobj = SWIG_From_int((int)(result)); | |
23092 | } | |
d55e5bfc RD |
23093 | return resultobj; |
23094 | fail: | |
23095 | return NULL; | |
23096 | } | |
23097 | ||
23098 | ||
c370783e | 23099 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23100 | PyObject *resultobj; |
23101 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23102 | int result; | |
23103 | PyObject * obj0 = 0 ; | |
23104 | char *kwnames[] = { | |
23105 | (char *) "self", NULL | |
23106 | }; | |
23107 | ||
23108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23109 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23110 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23111 | { |
23112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23113 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
23114 | ||
23115 | wxPyEndAllowThreads(__tstate); | |
23116 | if (PyErr_Occurred()) SWIG_fail; | |
23117 | } | |
36ed4f51 RD |
23118 | { |
23119 | resultobj = SWIG_From_int((int)(result)); | |
23120 | } | |
d55e5bfc RD |
23121 | return resultobj; |
23122 | fail: | |
23123 | return NULL; | |
23124 | } | |
23125 | ||
23126 | ||
c370783e | 23127 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23128 | PyObject *resultobj; |
23129 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23130 | int result; | |
23131 | PyObject * obj0 = 0 ; | |
23132 | char *kwnames[] = { | |
23133 | (char *) "self", NULL | |
23134 | }; | |
23135 | ||
23136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23137 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23138 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23139 | { |
23140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23141 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
23142 | ||
23143 | wxPyEndAllowThreads(__tstate); | |
23144 | if (PyErr_Occurred()) SWIG_fail; | |
23145 | } | |
36ed4f51 RD |
23146 | { |
23147 | resultobj = SWIG_From_int((int)(result)); | |
23148 | } | |
d55e5bfc RD |
23149 | return resultobj; |
23150 | fail: | |
23151 | return NULL; | |
23152 | } | |
23153 | ||
23154 | ||
c370783e | 23155 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23156 | PyObject *resultobj; |
23157 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23158 | bool result; | |
23159 | PyObject * obj0 = 0 ; | |
23160 | char *kwnames[] = { | |
23161 | (char *) "self", NULL | |
23162 | }; | |
23163 | ||
23164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23165 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23166 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23167 | { |
23168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23169 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
23170 | ||
23171 | wxPyEndAllowThreads(__tstate); | |
23172 | if (PyErr_Occurred()) SWIG_fail; | |
23173 | } | |
23174 | { | |
23175 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23176 | } | |
23177 | return resultobj; | |
23178 | fail: | |
23179 | return NULL; | |
23180 | } | |
23181 | ||
23182 | ||
c370783e | 23183 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23184 | PyObject *resultobj; |
23185 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23186 | bool result; | |
23187 | PyObject * obj0 = 0 ; | |
23188 | char *kwnames[] = { | |
23189 | (char *) "self", NULL | |
23190 | }; | |
23191 | ||
23192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23193 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23194 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23195 | { |
23196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23197 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
23198 | ||
23199 | wxPyEndAllowThreads(__tstate); | |
23200 | if (PyErr_Occurred()) SWIG_fail; | |
23201 | } | |
23202 | { | |
23203 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23204 | } | |
23205 | return resultobj; | |
23206 | fail: | |
23207 | return NULL; | |
23208 | } | |
23209 | ||
23210 | ||
c370783e | 23211 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23212 | PyObject *resultobj; |
23213 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23214 | bool result; | |
23215 | PyObject * obj0 = 0 ; | |
23216 | char *kwnames[] = { | |
23217 | (char *) "self", NULL | |
23218 | }; | |
23219 | ||
23220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23221 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23222 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23223 | { |
23224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23225 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
23226 | ||
23227 | wxPyEndAllowThreads(__tstate); | |
23228 | if (PyErr_Occurred()) SWIG_fail; | |
23229 | } | |
23230 | { | |
23231 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23232 | } | |
23233 | return resultobj; | |
23234 | fail: | |
23235 | return NULL; | |
23236 | } | |
23237 | ||
23238 | ||
c370783e | 23239 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23240 | PyObject *resultobj; |
23241 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23242 | bool result; | |
23243 | PyObject * obj0 = 0 ; | |
23244 | char *kwnames[] = { | |
23245 | (char *) "self", NULL | |
23246 | }; | |
23247 | ||
23248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23249 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23250 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23251 | { |
23252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23253 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
23254 | ||
23255 | wxPyEndAllowThreads(__tstate); | |
23256 | if (PyErr_Occurred()) SWIG_fail; | |
23257 | } | |
23258 | { | |
23259 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23260 | } | |
23261 | return resultobj; | |
23262 | fail: | |
23263 | return NULL; | |
23264 | } | |
23265 | ||
23266 | ||
c370783e | 23267 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23268 | PyObject *resultobj; |
23269 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23270 | bool result; | |
23271 | PyObject * obj0 = 0 ; | |
23272 | char *kwnames[] = { | |
23273 | (char *) "self", NULL | |
23274 | }; | |
23275 | ||
23276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23277 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23278 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23279 | { |
23280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23281 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
23282 | ||
23283 | wxPyEndAllowThreads(__tstate); | |
23284 | if (PyErr_Occurred()) SWIG_fail; | |
23285 | } | |
23286 | { | |
23287 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23288 | } | |
23289 | return resultobj; | |
23290 | fail: | |
23291 | return NULL; | |
23292 | } | |
23293 | ||
23294 | ||
070c48b4 RD |
23295 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
23296 | PyObject *resultobj; | |
23297 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23298 | bool arg2 ; | |
23299 | PyObject * obj0 = 0 ; | |
23300 | PyObject * obj1 = 0 ; | |
23301 | char *kwnames[] = { | |
23302 | (char *) "self",(char *) "flag", NULL | |
23303 | }; | |
23304 | ||
23305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23306 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23307 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23308 | { | |
23309 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23310 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23311 | } | |
070c48b4 RD |
23312 | { |
23313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23314 | (arg1)->SetSetupDialog(arg2); | |
23315 | ||
23316 | wxPyEndAllowThreads(__tstate); | |
23317 | if (PyErr_Occurred()) SWIG_fail; | |
23318 | } | |
23319 | Py_INCREF(Py_None); resultobj = Py_None; | |
23320 | return resultobj; | |
23321 | fail: | |
23322 | return NULL; | |
23323 | } | |
23324 | ||
23325 | ||
c370783e | 23326 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23327 | PyObject *resultobj; |
23328 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23329 | int arg2 ; | |
23330 | PyObject * obj0 = 0 ; | |
23331 | PyObject * obj1 = 0 ; | |
23332 | char *kwnames[] = { | |
23333 | (char *) "self",(char *) "v", NULL | |
23334 | }; | |
23335 | ||
23336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23337 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23338 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23339 | { | |
23340 | arg2 = (int)(SWIG_As_int(obj1)); | |
23341 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23342 | } | |
d55e5bfc RD |
23343 | { |
23344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23345 | (arg1)->SetFromPage(arg2); | |
23346 | ||
23347 | wxPyEndAllowThreads(__tstate); | |
23348 | if (PyErr_Occurred()) SWIG_fail; | |
23349 | } | |
23350 | Py_INCREF(Py_None); resultobj = Py_None; | |
23351 | return resultobj; | |
23352 | fail: | |
23353 | return NULL; | |
23354 | } | |
23355 | ||
23356 | ||
c370783e | 23357 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23358 | PyObject *resultobj; |
23359 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23360 | int arg2 ; | |
23361 | PyObject * obj0 = 0 ; | |
23362 | PyObject * obj1 = 0 ; | |
23363 | char *kwnames[] = { | |
23364 | (char *) "self",(char *) "v", NULL | |
23365 | }; | |
23366 | ||
23367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23368 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23369 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23370 | { | |
23371 | arg2 = (int)(SWIG_As_int(obj1)); | |
23372 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23373 | } | |
d55e5bfc RD |
23374 | { |
23375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23376 | (arg1)->SetToPage(arg2); | |
23377 | ||
23378 | wxPyEndAllowThreads(__tstate); | |
23379 | if (PyErr_Occurred()) SWIG_fail; | |
23380 | } | |
23381 | Py_INCREF(Py_None); resultobj = Py_None; | |
23382 | return resultobj; | |
23383 | fail: | |
23384 | return NULL; | |
23385 | } | |
23386 | ||
23387 | ||
c370783e | 23388 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23389 | PyObject *resultobj; |
23390 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23391 | int arg2 ; | |
23392 | PyObject * obj0 = 0 ; | |
23393 | PyObject * obj1 = 0 ; | |
23394 | char *kwnames[] = { | |
23395 | (char *) "self",(char *) "v", NULL | |
23396 | }; | |
23397 | ||
23398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23399 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23400 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23401 | { | |
23402 | arg2 = (int)(SWIG_As_int(obj1)); | |
23403 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23404 | } | |
d55e5bfc RD |
23405 | { |
23406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23407 | (arg1)->SetMinPage(arg2); | |
23408 | ||
23409 | wxPyEndAllowThreads(__tstate); | |
23410 | if (PyErr_Occurred()) SWIG_fail; | |
23411 | } | |
23412 | Py_INCREF(Py_None); resultobj = Py_None; | |
23413 | return resultobj; | |
23414 | fail: | |
23415 | return NULL; | |
23416 | } | |
23417 | ||
23418 | ||
c370783e | 23419 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23420 | PyObject *resultobj; |
23421 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23422 | int arg2 ; | |
23423 | PyObject * obj0 = 0 ; | |
23424 | PyObject * obj1 = 0 ; | |
23425 | char *kwnames[] = { | |
23426 | (char *) "self",(char *) "v", NULL | |
23427 | }; | |
23428 | ||
23429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23430 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23431 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23432 | { | |
23433 | arg2 = (int)(SWIG_As_int(obj1)); | |
23434 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23435 | } | |
d55e5bfc RD |
23436 | { |
23437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23438 | (arg1)->SetMaxPage(arg2); | |
23439 | ||
23440 | wxPyEndAllowThreads(__tstate); | |
23441 | if (PyErr_Occurred()) SWIG_fail; | |
23442 | } | |
23443 | Py_INCREF(Py_None); resultobj = Py_None; | |
23444 | return resultobj; | |
23445 | fail: | |
23446 | return NULL; | |
23447 | } | |
23448 | ||
23449 | ||
c370783e | 23450 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23451 | PyObject *resultobj; |
23452 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23453 | int arg2 ; | |
23454 | PyObject * obj0 = 0 ; | |
23455 | PyObject * obj1 = 0 ; | |
23456 | char *kwnames[] = { | |
23457 | (char *) "self",(char *) "v", NULL | |
23458 | }; | |
23459 | ||
23460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23461 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23462 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23463 | { | |
23464 | arg2 = (int)(SWIG_As_int(obj1)); | |
23465 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23466 | } | |
d55e5bfc RD |
23467 | { |
23468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23469 | (arg1)->SetNoCopies(arg2); | |
23470 | ||
23471 | wxPyEndAllowThreads(__tstate); | |
23472 | if (PyErr_Occurred()) SWIG_fail; | |
23473 | } | |
23474 | Py_INCREF(Py_None); resultobj = Py_None; | |
23475 | return resultobj; | |
23476 | fail: | |
23477 | return NULL; | |
23478 | } | |
23479 | ||
23480 | ||
c370783e | 23481 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23482 | PyObject *resultobj; |
23483 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23484 | bool arg2 ; | |
23485 | PyObject * obj0 = 0 ; | |
23486 | PyObject * obj1 = 0 ; | |
23487 | char *kwnames[] = { | |
23488 | (char *) "self",(char *) "flag", NULL | |
23489 | }; | |
23490 | ||
23491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23492 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23493 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23494 | { | |
23495 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23496 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23497 | } | |
d55e5bfc RD |
23498 | { |
23499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23500 | (arg1)->SetAllPages(arg2); | |
23501 | ||
23502 | wxPyEndAllowThreads(__tstate); | |
23503 | if (PyErr_Occurred()) SWIG_fail; | |
23504 | } | |
23505 | Py_INCREF(Py_None); resultobj = Py_None; | |
23506 | return resultobj; | |
23507 | fail: | |
23508 | return NULL; | |
23509 | } | |
23510 | ||
23511 | ||
c370783e | 23512 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23513 | PyObject *resultobj; |
23514 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23515 | bool arg2 ; | |
23516 | PyObject * obj0 = 0 ; | |
23517 | PyObject * obj1 = 0 ; | |
23518 | char *kwnames[] = { | |
23519 | (char *) "self",(char *) "flag", NULL | |
23520 | }; | |
23521 | ||
23522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23523 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23524 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23525 | { | |
23526 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23527 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23528 | } | |
d55e5bfc RD |
23529 | { |
23530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23531 | (arg1)->SetSelection(arg2); | |
23532 | ||
23533 | wxPyEndAllowThreads(__tstate); | |
23534 | if (PyErr_Occurred()) SWIG_fail; | |
23535 | } | |
23536 | Py_INCREF(Py_None); resultobj = Py_None; | |
23537 | return resultobj; | |
23538 | fail: | |
23539 | return NULL; | |
23540 | } | |
23541 | ||
23542 | ||
c370783e | 23543 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23544 | PyObject *resultobj; |
23545 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23546 | bool arg2 ; | |
23547 | PyObject * obj0 = 0 ; | |
23548 | PyObject * obj1 = 0 ; | |
23549 | char *kwnames[] = { | |
23550 | (char *) "self",(char *) "flag", NULL | |
23551 | }; | |
23552 | ||
23553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23554 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23555 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23556 | { | |
23557 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23558 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23559 | } | |
d55e5bfc RD |
23560 | { |
23561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23562 | (arg1)->SetCollate(arg2); | |
23563 | ||
23564 | wxPyEndAllowThreads(__tstate); | |
23565 | if (PyErr_Occurred()) SWIG_fail; | |
23566 | } | |
23567 | Py_INCREF(Py_None); resultobj = Py_None; | |
23568 | return resultobj; | |
23569 | fail: | |
23570 | return NULL; | |
23571 | } | |
23572 | ||
23573 | ||
c370783e | 23574 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23575 | PyObject *resultobj; |
23576 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23577 | bool arg2 ; | |
23578 | PyObject * obj0 = 0 ; | |
23579 | PyObject * obj1 = 0 ; | |
23580 | char *kwnames[] = { | |
23581 | (char *) "self",(char *) "flag", NULL | |
23582 | }; | |
23583 | ||
23584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23585 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23586 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23587 | { | |
23588 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23589 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23590 | } | |
d55e5bfc RD |
23591 | { |
23592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23593 | (arg1)->SetPrintToFile(arg2); | |
23594 | ||
23595 | wxPyEndAllowThreads(__tstate); | |
23596 | if (PyErr_Occurred()) SWIG_fail; | |
23597 | } | |
23598 | Py_INCREF(Py_None); resultobj = Py_None; | |
23599 | return resultobj; | |
23600 | fail: | |
23601 | return NULL; | |
23602 | } | |
23603 | ||
23604 | ||
c370783e | 23605 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23606 | PyObject *resultobj; |
23607 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23608 | bool arg2 ; | |
23609 | PyObject * obj0 = 0 ; | |
23610 | PyObject * obj1 = 0 ; | |
23611 | char *kwnames[] = { | |
23612 | (char *) "self",(char *) "flag", NULL | |
23613 | }; | |
23614 | ||
23615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23616 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23617 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23618 | { | |
23619 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23620 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23621 | } | |
d55e5bfc RD |
23622 | { |
23623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23624 | (arg1)->EnablePrintToFile(arg2); | |
23625 | ||
23626 | wxPyEndAllowThreads(__tstate); | |
23627 | if (PyErr_Occurred()) SWIG_fail; | |
23628 | } | |
23629 | Py_INCREF(Py_None); resultobj = Py_None; | |
23630 | return resultobj; | |
23631 | fail: | |
23632 | return NULL; | |
23633 | } | |
23634 | ||
23635 | ||
c370783e | 23636 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23637 | PyObject *resultobj; |
23638 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23639 | bool arg2 ; | |
23640 | PyObject * obj0 = 0 ; | |
23641 | PyObject * obj1 = 0 ; | |
23642 | char *kwnames[] = { | |
23643 | (char *) "self",(char *) "flag", NULL | |
23644 | }; | |
23645 | ||
23646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23647 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23648 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23649 | { | |
23650 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23651 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23652 | } | |
d55e5bfc RD |
23653 | { |
23654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23655 | (arg1)->EnableSelection(arg2); | |
23656 | ||
23657 | wxPyEndAllowThreads(__tstate); | |
23658 | if (PyErr_Occurred()) SWIG_fail; | |
23659 | } | |
23660 | Py_INCREF(Py_None); resultobj = Py_None; | |
23661 | return resultobj; | |
23662 | fail: | |
23663 | return NULL; | |
23664 | } | |
23665 | ||
23666 | ||
c370783e | 23667 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23668 | PyObject *resultobj; |
23669 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23670 | bool arg2 ; | |
23671 | PyObject * obj0 = 0 ; | |
23672 | PyObject * obj1 = 0 ; | |
23673 | char *kwnames[] = { | |
23674 | (char *) "self",(char *) "flag", NULL | |
23675 | }; | |
23676 | ||
23677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23678 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23679 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23680 | { | |
23681 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23682 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23683 | } | |
d55e5bfc RD |
23684 | { |
23685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23686 | (arg1)->EnablePageNumbers(arg2); | |
23687 | ||
23688 | wxPyEndAllowThreads(__tstate); | |
23689 | if (PyErr_Occurred()) SWIG_fail; | |
23690 | } | |
23691 | Py_INCREF(Py_None); resultobj = Py_None; | |
23692 | return resultobj; | |
23693 | fail: | |
23694 | return NULL; | |
23695 | } | |
23696 | ||
23697 | ||
c370783e | 23698 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23699 | PyObject *resultobj; |
23700 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23701 | bool arg2 ; | |
23702 | PyObject * obj0 = 0 ; | |
23703 | PyObject * obj1 = 0 ; | |
23704 | char *kwnames[] = { | |
23705 | (char *) "self",(char *) "flag", NULL | |
23706 | }; | |
23707 | ||
23708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23709 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23710 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23711 | { | |
23712 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
23713 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23714 | } | |
d55e5bfc RD |
23715 | { |
23716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23717 | (arg1)->EnableHelp(arg2); | |
23718 | ||
23719 | wxPyEndAllowThreads(__tstate); | |
23720 | if (PyErr_Occurred()) SWIG_fail; | |
23721 | } | |
23722 | Py_INCREF(Py_None); resultobj = Py_None; | |
23723 | return resultobj; | |
23724 | fail: | |
23725 | return NULL; | |
23726 | } | |
23727 | ||
23728 | ||
c370783e | 23729 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23730 | PyObject *resultobj; |
23731 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23732 | bool result; | |
23733 | PyObject * obj0 = 0 ; | |
23734 | char *kwnames[] = { | |
23735 | (char *) "self", NULL | |
23736 | }; | |
23737 | ||
23738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23739 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23740 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23741 | { |
23742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23743 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
23744 | ||
23745 | wxPyEndAllowThreads(__tstate); | |
23746 | if (PyErr_Occurred()) SWIG_fail; | |
23747 | } | |
23748 | { | |
23749 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23750 | } | |
23751 | return resultobj; | |
23752 | fail: | |
23753 | return NULL; | |
23754 | } | |
23755 | ||
23756 | ||
c370783e | 23757 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23758 | PyObject *resultobj; |
23759 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23760 | bool result; | |
23761 | PyObject * obj0 = 0 ; | |
23762 | char *kwnames[] = { | |
23763 | (char *) "self", NULL | |
23764 | }; | |
23765 | ||
23766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23767 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23768 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23769 | { |
23770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23771 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
23772 | ||
23773 | wxPyEndAllowThreads(__tstate); | |
23774 | if (PyErr_Occurred()) SWIG_fail; | |
23775 | } | |
23776 | { | |
23777 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23778 | } | |
23779 | return resultobj; | |
23780 | fail: | |
23781 | return NULL; | |
23782 | } | |
23783 | ||
23784 | ||
c370783e | 23785 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23786 | PyObject *resultobj; |
23787 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23788 | bool result; | |
23789 | PyObject * obj0 = 0 ; | |
23790 | char *kwnames[] = { | |
23791 | (char *) "self", NULL | |
23792 | }; | |
23793 | ||
23794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23795 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23796 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23797 | { |
23798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23799 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
23800 | ||
23801 | wxPyEndAllowThreads(__tstate); | |
23802 | if (PyErr_Occurred()) SWIG_fail; | |
23803 | } | |
23804 | { | |
23805 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23806 | } | |
23807 | return resultobj; | |
23808 | fail: | |
23809 | return NULL; | |
23810 | } | |
23811 | ||
23812 | ||
c370783e | 23813 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23814 | PyObject *resultobj; |
23815 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23816 | bool result; | |
23817 | PyObject * obj0 = 0 ; | |
23818 | char *kwnames[] = { | |
23819 | (char *) "self", NULL | |
23820 | }; | |
23821 | ||
23822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23823 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23824 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23825 | { |
23826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23827 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
23828 | ||
23829 | wxPyEndAllowThreads(__tstate); | |
23830 | if (PyErr_Occurred()) SWIG_fail; | |
23831 | } | |
23832 | { | |
23833 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23834 | } | |
23835 | return resultobj; | |
23836 | fail: | |
23837 | return NULL; | |
23838 | } | |
23839 | ||
23840 | ||
c370783e | 23841 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23842 | PyObject *resultobj; |
23843 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23844 | bool result; | |
23845 | PyObject * obj0 = 0 ; | |
23846 | char *kwnames[] = { | |
23847 | (char *) "self", NULL | |
23848 | }; | |
23849 | ||
23850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23851 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23852 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23853 | { |
23854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23855 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
23856 | ||
23857 | wxPyEndAllowThreads(__tstate); | |
23858 | if (PyErr_Occurred()) SWIG_fail; | |
23859 | } | |
23860 | { | |
23861 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23862 | } | |
23863 | return resultobj; | |
23864 | fail: | |
23865 | return NULL; | |
23866 | } | |
23867 | ||
23868 | ||
c370783e | 23869 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23870 | PyObject *resultobj; |
23871 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23872 | wxPrintData *result; | |
23873 | PyObject * obj0 = 0 ; | |
23874 | char *kwnames[] = { | |
23875 | (char *) "self", NULL | |
23876 | }; | |
23877 | ||
23878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23879 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23880 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
23881 | { |
23882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23883 | { | |
23884 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
23885 | result = (wxPrintData *) &_result_ref; | |
23886 | } | |
23887 | ||
23888 | wxPyEndAllowThreads(__tstate); | |
23889 | if (PyErr_Occurred()) SWIG_fail; | |
23890 | } | |
23891 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); | |
23892 | return resultobj; | |
23893 | fail: | |
23894 | return NULL; | |
23895 | } | |
23896 | ||
23897 | ||
c370783e | 23898 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23899 | PyObject *resultobj; |
23900 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
23901 | wxPrintData *arg2 = 0 ; | |
23902 | PyObject * obj0 = 0 ; | |
23903 | PyObject * obj1 = 0 ; | |
23904 | char *kwnames[] = { | |
23905 | (char *) "self",(char *) "printData", NULL | |
23906 | }; | |
23907 | ||
23908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23909 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23910 | if (SWIG_arg_fail(1)) SWIG_fail; | |
23911 | { | |
23912 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
23913 | if (SWIG_arg_fail(2)) SWIG_fail; | |
23914 | if (arg2 == NULL) { | |
23915 | SWIG_null_ref("wxPrintData"); | |
23916 | } | |
23917 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
23918 | } |
23919 | { | |
23920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23921 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
23922 | ||
23923 | wxPyEndAllowThreads(__tstate); | |
23924 | if (PyErr_Occurred()) SWIG_fail; | |
23925 | } | |
23926 | Py_INCREF(Py_None); resultobj = Py_None; | |
23927 | return resultobj; | |
23928 | fail: | |
23929 | return NULL; | |
23930 | } | |
23931 | ||
23932 | ||
c370783e | 23933 | static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
23934 | PyObject *obj; |
23935 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23936 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
23937 | Py_INCREF(obj); | |
23938 | return Py_BuildValue((char *)""); | |
23939 | } | |
c370783e | 23940 | static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
23941 | PyObject *resultobj; |
23942 | wxWindow *arg1 = (wxWindow *) 0 ; | |
23943 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
23944 | wxPrintDialog *result; | |
23945 | PyObject * obj0 = 0 ; | |
23946 | PyObject * obj1 = 0 ; | |
23947 | char *kwnames[] = { | |
23948 | (char *) "parent",(char *) "data", NULL | |
23949 | }; | |
23950 | ||
23951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
23952 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
23953 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc | 23954 | if (obj1) { |
36ed4f51 RD |
23955 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
23956 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
23957 | } |
23958 | { | |
0439c23b | 23959 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
23960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23961 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
23962 | ||
23963 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23964 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
23965 | } |
23966 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); | |
23967 | return resultobj; | |
23968 | fail: | |
23969 | return NULL; | |
23970 | } | |
23971 | ||
23972 | ||
070c48b4 RD |
23973 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
23974 | PyObject *resultobj; | |
23975 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
23976 | int result; | |
23977 | PyObject * obj0 = 0 ; | |
23978 | char *kwnames[] = { | |
23979 | (char *) "self", NULL | |
23980 | }; | |
23981 | ||
23982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
23983 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
23984 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
23985 | { |
23986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23987 | result = (int)(arg1)->ShowModal(); | |
23988 | ||
23989 | wxPyEndAllowThreads(__tstate); | |
23990 | if (PyErr_Occurred()) SWIG_fail; | |
23991 | } | |
36ed4f51 RD |
23992 | { |
23993 | resultobj = SWIG_From_int((int)(result)); | |
23994 | } | |
070c48b4 RD |
23995 | return resultobj; |
23996 | fail: | |
23997 | return NULL; | |
23998 | } | |
23999 | ||
24000 | ||
c370783e | 24001 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24002 | PyObject *resultobj; |
24003 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
24004 | wxPrintDialogData *result; | |
24005 | PyObject * obj0 = 0 ; | |
24006 | char *kwnames[] = { | |
24007 | (char *) "self", NULL | |
24008 | }; | |
24009 | ||
24010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24011 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24012 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24013 | { |
24014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24015 | { | |
24016 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
24017 | result = (wxPrintDialogData *) &_result_ref; | |
24018 | } | |
24019 | ||
24020 | wxPyEndAllowThreads(__tstate); | |
24021 | if (PyErr_Occurred()) SWIG_fail; | |
24022 | } | |
24023 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
24024 | return resultobj; | |
24025 | fail: | |
24026 | return NULL; | |
24027 | } | |
24028 | ||
24029 | ||
070c48b4 | 24030 | static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24031 | PyObject *resultobj; |
24032 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
070c48b4 | 24033 | wxPrintData *result; |
d55e5bfc RD |
24034 | PyObject * obj0 = 0 ; |
24035 | char *kwnames[] = { | |
24036 | (char *) "self", NULL | |
24037 | }; | |
24038 | ||
070c48b4 | 24039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
24040 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24041 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24042 | { |
24043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 RD |
24044 | { |
24045 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
24046 | result = (wxPrintData *) &_result_ref; | |
24047 | } | |
d55e5bfc RD |
24048 | |
24049 | wxPyEndAllowThreads(__tstate); | |
24050 | if (PyErr_Occurred()) SWIG_fail; | |
24051 | } | |
070c48b4 | 24052 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d55e5bfc RD |
24053 | return resultobj; |
24054 | fail: | |
24055 | return NULL; | |
24056 | } | |
24057 | ||
24058 | ||
070c48b4 | 24059 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24060 | PyObject *resultobj; |
24061 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
070c48b4 | 24062 | wxDC *result; |
d55e5bfc RD |
24063 | PyObject * obj0 = 0 ; |
24064 | char *kwnames[] = { | |
24065 | (char *) "self", NULL | |
24066 | }; | |
24067 | ||
070c48b4 | 24068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
24069 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0); |
24070 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24071 | { |
24072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 24073 | result = (wxDC *)(arg1)->GetPrintDC(); |
d55e5bfc RD |
24074 | |
24075 | wxPyEndAllowThreads(__tstate); | |
24076 | if (PyErr_Occurred()) SWIG_fail; | |
24077 | } | |
070c48b4 RD |
24078 | { |
24079 | resultobj = wxPyMake_wxObject(result, 1); | |
24080 | } | |
d55e5bfc RD |
24081 | return resultobj; |
24082 | fail: | |
24083 | return NULL; | |
24084 | } | |
24085 | ||
24086 | ||
c370783e | 24087 | static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
24088 | PyObject *obj; |
24089 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24090 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
24091 | Py_INCREF(obj); | |
24092 | return Py_BuildValue((char *)""); | |
24093 | } | |
c370783e | 24094 | static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24095 | PyObject *resultobj; |
24096 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
24097 | wxPrinter *result; | |
24098 | PyObject * obj0 = 0 ; | |
24099 | char *kwnames[] = { | |
24100 | (char *) "data", NULL | |
24101 | }; | |
24102 | ||
24103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
24104 | if (obj0) { | |
36ed4f51 RD |
24105 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
24106 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24107 | } |
24108 | { | |
0439c23b | 24109 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
24110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24111 | result = (wxPrinter *)new wxPrinter(arg1); | |
24112 | ||
24113 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24114 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
24115 | } |
24116 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); | |
24117 | return resultobj; | |
24118 | fail: | |
24119 | return NULL; | |
24120 | } | |
24121 | ||
24122 | ||
c370783e | 24123 | static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24124 | PyObject *resultobj; |
24125 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24126 | PyObject * obj0 = 0 ; | |
24127 | char *kwnames[] = { | |
24128 | (char *) "self", NULL | |
24129 | }; | |
24130 | ||
24131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24132 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24133 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24134 | { |
24135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24136 | delete arg1; | |
24137 | ||
24138 | wxPyEndAllowThreads(__tstate); | |
24139 | if (PyErr_Occurred()) SWIG_fail; | |
24140 | } | |
24141 | Py_INCREF(Py_None); resultobj = Py_None; | |
24142 | return resultobj; | |
24143 | fail: | |
24144 | return NULL; | |
24145 | } | |
24146 | ||
24147 | ||
c370783e | 24148 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24149 | PyObject *resultobj; |
24150 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24151 | wxWindow *arg2 = (wxWindow *) 0 ; | |
24152 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
070c48b4 | 24153 | wxWindow *result; |
d55e5bfc RD |
24154 | PyObject * obj0 = 0 ; |
24155 | PyObject * obj1 = 0 ; | |
24156 | PyObject * obj2 = 0 ; | |
24157 | char *kwnames[] = { | |
24158 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
24159 | }; | |
24160 | ||
24161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24162 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24163 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24164 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24165 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24166 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
24167 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
24168 | { |
24169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 24170 | result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3); |
d55e5bfc RD |
24171 | |
24172 | wxPyEndAllowThreads(__tstate); | |
24173 | if (PyErr_Occurred()) SWIG_fail; | |
24174 | } | |
d55e5bfc | 24175 | { |
070c48b4 | 24176 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc | 24177 | } |
d55e5bfc RD |
24178 | return resultobj; |
24179 | fail: | |
24180 | return NULL; | |
24181 | } | |
24182 | ||
24183 | ||
070c48b4 | 24184 | static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24185 | PyObject *resultobj; |
24186 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24187 | wxWindow *arg2 = (wxWindow *) 0 ; | |
24188 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
070c48b4 RD |
24189 | wxString *arg4 = 0 ; |
24190 | bool temp4 = false ; | |
d55e5bfc RD |
24191 | PyObject * obj0 = 0 ; |
24192 | PyObject * obj1 = 0 ; | |
24193 | PyObject * obj2 = 0 ; | |
24194 | PyObject * obj3 = 0 ; | |
24195 | char *kwnames[] = { | |
070c48b4 | 24196 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL |
d55e5bfc RD |
24197 | }; |
24198 | ||
070c48b4 | 24199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
36ed4f51 RD |
24200 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24201 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24202 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24203 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24204 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
24205 | if (SWIG_arg_fail(3)) SWIG_fail; | |
070c48b4 RD |
24206 | { |
24207 | arg4 = wxString_in_helper(obj3); | |
24208 | if (arg4 == NULL) SWIG_fail; | |
24209 | temp4 = true; | |
d55e5bfc RD |
24210 | } |
24211 | { | |
24212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 24213 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); |
d55e5bfc RD |
24214 | |
24215 | wxPyEndAllowThreads(__tstate); | |
24216 | if (PyErr_Occurred()) SWIG_fail; | |
24217 | } | |
070c48b4 | 24218 | Py_INCREF(Py_None); resultobj = Py_None; |
d55e5bfc | 24219 | { |
070c48b4 RD |
24220 | if (temp4) |
24221 | delete arg4; | |
d55e5bfc RD |
24222 | } |
24223 | return resultobj; | |
24224 | fail: | |
070c48b4 RD |
24225 | { |
24226 | if (temp4) | |
24227 | delete arg4; | |
24228 | } | |
d55e5bfc RD |
24229 | return NULL; |
24230 | } | |
24231 | ||
24232 | ||
070c48b4 | 24233 | static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24234 | PyObject *resultobj; |
24235 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24236 | wxWindow *arg2 = (wxWindow *) 0 ; | |
070c48b4 | 24237 | bool result; |
d55e5bfc RD |
24238 | PyObject * obj0 = 0 ; |
24239 | PyObject * obj1 = 0 ; | |
24240 | char *kwnames[] = { | |
24241 | (char *) "self",(char *) "parent", NULL | |
24242 | }; | |
24243 | ||
070c48b4 | 24244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; |
36ed4f51 RD |
24245 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24246 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24247 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24248 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
24249 | { |
24250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 24251 | result = (bool)(arg1)->Setup(arg2); |
d55e5bfc RD |
24252 | |
24253 | wxPyEndAllowThreads(__tstate); | |
24254 | if (PyErr_Occurred()) SWIG_fail; | |
24255 | } | |
24256 | { | |
070c48b4 | 24257 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d55e5bfc RD |
24258 | } |
24259 | return resultobj; | |
24260 | fail: | |
24261 | return NULL; | |
24262 | } | |
24263 | ||
24264 | ||
070c48b4 | 24265 | static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24266 | PyObject *resultobj; |
24267 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24268 | wxWindow *arg2 = (wxWindow *) 0 ; | |
24269 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
070c48b4 RD |
24270 | bool arg4 = (bool) true ; |
24271 | bool result; | |
d55e5bfc RD |
24272 | PyObject * obj0 = 0 ; |
24273 | PyObject * obj1 = 0 ; | |
24274 | PyObject * obj2 = 0 ; | |
24275 | PyObject * obj3 = 0 ; | |
24276 | char *kwnames[] = { | |
070c48b4 | 24277 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL |
d55e5bfc RD |
24278 | }; |
24279 | ||
070c48b4 | 24280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
36ed4f51 RD |
24281 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24282 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24283 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24284 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24285 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
24286 | if (SWIG_arg_fail(3)) SWIG_fail; | |
070c48b4 | 24287 | if (obj3) { |
36ed4f51 RD |
24288 | { |
24289 | arg4 = (bool)(SWIG_As_bool(obj3)); | |
24290 | if (SWIG_arg_fail(4)) SWIG_fail; | |
24291 | } | |
d55e5bfc RD |
24292 | } |
24293 | { | |
24294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 24295 | result = (bool)(arg1)->Print(arg2,arg3,arg4); |
d55e5bfc RD |
24296 | |
24297 | wxPyEndAllowThreads(__tstate); | |
24298 | if (PyErr_Occurred()) SWIG_fail; | |
24299 | } | |
d55e5bfc | 24300 | { |
070c48b4 | 24301 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d55e5bfc RD |
24302 | } |
24303 | return resultobj; | |
24304 | fail: | |
d55e5bfc RD |
24305 | return NULL; |
24306 | } | |
24307 | ||
24308 | ||
070c48b4 | 24309 | static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24310 | PyObject *resultobj; |
24311 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24312 | wxWindow *arg2 = (wxWindow *) 0 ; | |
070c48b4 | 24313 | wxDC *result; |
d55e5bfc RD |
24314 | PyObject * obj0 = 0 ; |
24315 | PyObject * obj1 = 0 ; | |
24316 | char *kwnames[] = { | |
24317 | (char *) "self",(char *) "parent", NULL | |
24318 | }; | |
24319 | ||
070c48b4 | 24320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; |
36ed4f51 RD |
24321 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24322 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24323 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
24324 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
24325 | { |
24326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
070c48b4 | 24327 | result = (wxDC *)(arg1)->PrintDialog(arg2); |
d55e5bfc RD |
24328 | |
24329 | wxPyEndAllowThreads(__tstate); | |
24330 | if (PyErr_Occurred()) SWIG_fail; | |
24331 | } | |
24332 | { | |
070c48b4 | 24333 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
24334 | } |
24335 | return resultobj; | |
24336 | fail: | |
24337 | return NULL; | |
24338 | } | |
24339 | ||
24340 | ||
070c48b4 RD |
24341 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
24342 | PyObject *resultobj; | |
24343 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24344 | wxPrintDialogData *result; | |
24345 | PyObject * obj0 = 0 ; | |
24346 | char *kwnames[] = { | |
24347 | (char *) "self", NULL | |
24348 | }; | |
24349 | ||
24350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24351 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24352 | if (SWIG_arg_fail(1)) SWIG_fail; | |
070c48b4 RD |
24353 | { |
24354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24355 | { | |
24356 | wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData(); | |
24357 | result = (wxPrintDialogData *) &_result_ref; | |
24358 | } | |
24359 | ||
24360 | wxPyEndAllowThreads(__tstate); | |
24361 | if (PyErr_Occurred()) SWIG_fail; | |
24362 | } | |
24363 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
24364 | return resultobj; | |
24365 | fail: | |
24366 | return NULL; | |
24367 | } | |
24368 | ||
24369 | ||
c370783e | 24370 | static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24371 | PyObject *resultobj; |
24372 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
24373 | bool result; | |
24374 | PyObject * obj0 = 0 ; | |
24375 | char *kwnames[] = { | |
24376 | (char *) "self", NULL | |
24377 | }; | |
24378 | ||
24379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24380 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0); |
24381 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24382 | { |
24383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24384 | result = (bool)(arg1)->GetAbort(); | |
24385 | ||
24386 | wxPyEndAllowThreads(__tstate); | |
24387 | if (PyErr_Occurred()) SWIG_fail; | |
24388 | } | |
24389 | { | |
24390 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24391 | } | |
24392 | return resultobj; | |
24393 | fail: | |
24394 | return NULL; | |
24395 | } | |
24396 | ||
24397 | ||
c370783e | 24398 | static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc | 24399 | PyObject *resultobj; |
36ed4f51 | 24400 | wxPrinterError result; |
d55e5bfc RD |
24401 | char *kwnames[] = { |
24402 | NULL | |
24403 | }; | |
24404 | ||
24405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
24406 | { | |
24407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 24408 | result = (wxPrinterError)wxPrinter::GetLastError(); |
d55e5bfc RD |
24409 | |
24410 | wxPyEndAllowThreads(__tstate); | |
24411 | if (PyErr_Occurred()) SWIG_fail; | |
24412 | } | |
36ed4f51 | 24413 | resultobj = SWIG_From_int((result)); |
d55e5bfc RD |
24414 | return resultobj; |
24415 | fail: | |
24416 | return NULL; | |
24417 | } | |
24418 | ||
24419 | ||
c370783e | 24420 | static PyObject * Printer_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
24421 | PyObject *obj; |
24422 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24423 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
24424 | Py_INCREF(obj); | |
24425 | return Py_BuildValue((char *)""); | |
24426 | } | |
c370783e | 24427 | static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24428 | PyObject *resultobj; |
24429 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
24430 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
24431 | wxPyPrintout *result; | |
b411df4a | 24432 | bool temp1 = false ; |
d55e5bfc RD |
24433 | PyObject * obj0 = 0 ; |
24434 | char *kwnames[] = { | |
24435 | (char *) "title", NULL | |
24436 | }; | |
24437 | ||
24438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
24439 | if (obj0) { | |
24440 | { | |
24441 | arg1 = wxString_in_helper(obj0); | |
24442 | if (arg1 == NULL) SWIG_fail; | |
b411df4a | 24443 | temp1 = true; |
d55e5bfc RD |
24444 | } |
24445 | } | |
24446 | { | |
0439c23b | 24447 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
24448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24449 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
24450 | ||
24451 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24452 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
24453 | } |
24454 | { | |
412d302d | 24455 | resultobj = wxPyMake_wxObject(result, 1); |
d55e5bfc RD |
24456 | } |
24457 | { | |
24458 | if (temp1) | |
24459 | delete arg1; | |
24460 | } | |
24461 | return resultobj; | |
24462 | fail: | |
24463 | { | |
24464 | if (temp1) | |
24465 | delete arg1; | |
24466 | } | |
24467 | return NULL; | |
24468 | } | |
24469 | ||
24470 | ||
c370783e | 24471 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24472 | PyObject *resultobj; |
24473 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24474 | PyObject *arg2 = (PyObject *) 0 ; | |
24475 | PyObject *arg3 = (PyObject *) 0 ; | |
24476 | PyObject * obj0 = 0 ; | |
24477 | PyObject * obj1 = 0 ; | |
24478 | PyObject * obj2 = 0 ; | |
24479 | char *kwnames[] = { | |
24480 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24481 | }; | |
24482 | ||
24483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24484 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24485 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24486 | arg2 = obj1; |
24487 | arg3 = obj2; | |
24488 | { | |
24489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24490 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24491 | ||
24492 | wxPyEndAllowThreads(__tstate); | |
24493 | if (PyErr_Occurred()) SWIG_fail; | |
24494 | } | |
24495 | Py_INCREF(Py_None); resultobj = Py_None; | |
24496 | return resultobj; | |
24497 | fail: | |
24498 | return NULL; | |
24499 | } | |
24500 | ||
24501 | ||
c370783e | 24502 | static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24503 | PyObject *resultobj; |
24504 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24505 | wxString result; | |
24506 | PyObject * obj0 = 0 ; | |
24507 | char *kwnames[] = { | |
24508 | (char *) "self", NULL | |
24509 | }; | |
24510 | ||
24511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24512 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24513 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24514 | { |
24515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24516 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
24517 | ||
24518 | wxPyEndAllowThreads(__tstate); | |
24519 | if (PyErr_Occurred()) SWIG_fail; | |
24520 | } | |
24521 | { | |
24522 | #if wxUSE_UNICODE | |
24523 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
24524 | #else | |
24525 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
24526 | #endif | |
24527 | } | |
24528 | return resultobj; | |
24529 | fail: | |
24530 | return NULL; | |
24531 | } | |
24532 | ||
24533 | ||
c370783e | 24534 | static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24535 | PyObject *resultobj; |
24536 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24537 | wxDC *result; | |
24538 | PyObject * obj0 = 0 ; | |
24539 | char *kwnames[] = { | |
24540 | (char *) "self", NULL | |
24541 | }; | |
24542 | ||
24543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24544 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24545 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24546 | { |
24547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24548 | result = (wxDC *)(arg1)->GetDC(); | |
24549 | ||
24550 | wxPyEndAllowThreads(__tstate); | |
24551 | if (PyErr_Occurred()) SWIG_fail; | |
24552 | } | |
24553 | { | |
412d302d | 24554 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
24555 | } |
24556 | return resultobj; | |
24557 | fail: | |
24558 | return NULL; | |
24559 | } | |
24560 | ||
24561 | ||
c370783e | 24562 | static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24563 | PyObject *resultobj; |
24564 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24565 | wxDC *arg2 = (wxDC *) 0 ; | |
24566 | PyObject * obj0 = 0 ; | |
24567 | PyObject * obj1 = 0 ; | |
24568 | char *kwnames[] = { | |
24569 | (char *) "self",(char *) "dc", NULL | |
24570 | }; | |
24571 | ||
24572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
24573 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24574 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24575 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
24576 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
24577 | { |
24578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24579 | (arg1)->SetDC(arg2); | |
24580 | ||
24581 | wxPyEndAllowThreads(__tstate); | |
24582 | if (PyErr_Occurred()) SWIG_fail; | |
24583 | } | |
24584 | Py_INCREF(Py_None); resultobj = Py_None; | |
24585 | return resultobj; | |
24586 | fail: | |
24587 | return NULL; | |
24588 | } | |
24589 | ||
24590 | ||
c370783e | 24591 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24592 | PyObject *resultobj; |
24593 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24594 | int arg2 ; | |
24595 | int arg3 ; | |
24596 | PyObject * obj0 = 0 ; | |
24597 | PyObject * obj1 = 0 ; | |
24598 | PyObject * obj2 = 0 ; | |
24599 | char *kwnames[] = { | |
24600 | (char *) "self",(char *) "w",(char *) "h", NULL | |
24601 | }; | |
24602 | ||
24603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24604 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24605 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24606 | { | |
24607 | arg2 = (int)(SWIG_As_int(obj1)); | |
24608 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24609 | } | |
24610 | { | |
24611 | arg3 = (int)(SWIG_As_int(obj2)); | |
24612 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24613 | } | |
d55e5bfc RD |
24614 | { |
24615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24616 | (arg1)->SetPageSizePixels(arg2,arg3); | |
24617 | ||
24618 | wxPyEndAllowThreads(__tstate); | |
24619 | if (PyErr_Occurred()) SWIG_fail; | |
24620 | } | |
24621 | Py_INCREF(Py_None); resultobj = Py_None; | |
24622 | return resultobj; | |
24623 | fail: | |
24624 | return NULL; | |
24625 | } | |
24626 | ||
24627 | ||
c370783e | 24628 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24629 | PyObject *resultobj; |
24630 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24631 | int *arg2 = (int *) 0 ; | |
24632 | int *arg3 = (int *) 0 ; | |
24633 | int temp2 ; | |
c370783e | 24634 | int res2 = 0 ; |
d55e5bfc | 24635 | int temp3 ; |
c370783e | 24636 | int res3 = 0 ; |
d55e5bfc RD |
24637 | PyObject * obj0 = 0 ; |
24638 | char *kwnames[] = { | |
24639 | (char *) "self", NULL | |
24640 | }; | |
24641 | ||
c370783e RD |
24642 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24643 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 24644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
24645 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24646 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24647 | { |
24648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24649 | (arg1)->GetPageSizePixels(arg2,arg3); | |
24650 | ||
24651 | wxPyEndAllowThreads(__tstate); | |
24652 | if (PyErr_Occurred()) SWIG_fail; | |
24653 | } | |
24654 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
24655 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24656 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24657 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24658 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
24659 | return resultobj; |
24660 | fail: | |
24661 | return NULL; | |
24662 | } | |
24663 | ||
24664 | ||
c370783e | 24665 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24666 | PyObject *resultobj; |
24667 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24668 | int arg2 ; | |
24669 | int arg3 ; | |
24670 | PyObject * obj0 = 0 ; | |
24671 | PyObject * obj1 = 0 ; | |
24672 | PyObject * obj2 = 0 ; | |
24673 | char *kwnames[] = { | |
24674 | (char *) "self",(char *) "w",(char *) "h", NULL | |
24675 | }; | |
24676 | ||
24677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24678 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24679 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24680 | { | |
24681 | arg2 = (int)(SWIG_As_int(obj1)); | |
24682 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24683 | } | |
24684 | { | |
24685 | arg3 = (int)(SWIG_As_int(obj2)); | |
24686 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24687 | } | |
d55e5bfc RD |
24688 | { |
24689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24690 | (arg1)->SetPageSizeMM(arg2,arg3); | |
24691 | ||
24692 | wxPyEndAllowThreads(__tstate); | |
24693 | if (PyErr_Occurred()) SWIG_fail; | |
24694 | } | |
24695 | Py_INCREF(Py_None); resultobj = Py_None; | |
24696 | return resultobj; | |
24697 | fail: | |
24698 | return NULL; | |
24699 | } | |
24700 | ||
24701 | ||
c370783e | 24702 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24703 | PyObject *resultobj; |
24704 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24705 | int *arg2 = (int *) 0 ; | |
24706 | int *arg3 = (int *) 0 ; | |
24707 | int temp2 ; | |
c370783e | 24708 | int res2 = 0 ; |
d55e5bfc | 24709 | int temp3 ; |
c370783e | 24710 | int res3 = 0 ; |
d55e5bfc RD |
24711 | PyObject * obj0 = 0 ; |
24712 | char *kwnames[] = { | |
24713 | (char *) "self", NULL | |
24714 | }; | |
24715 | ||
c370783e RD |
24716 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24717 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 24718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
24719 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24720 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24721 | { |
24722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24723 | (arg1)->GetPageSizeMM(arg2,arg3); | |
24724 | ||
24725 | wxPyEndAllowThreads(__tstate); | |
24726 | if (PyErr_Occurred()) SWIG_fail; | |
24727 | } | |
24728 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
24729 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24730 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24731 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24732 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
24733 | return resultobj; |
24734 | fail: | |
24735 | return NULL; | |
24736 | } | |
24737 | ||
24738 | ||
c370783e | 24739 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24740 | PyObject *resultobj; |
24741 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24742 | int arg2 ; | |
24743 | int arg3 ; | |
24744 | PyObject * obj0 = 0 ; | |
24745 | PyObject * obj1 = 0 ; | |
24746 | PyObject * obj2 = 0 ; | |
24747 | char *kwnames[] = { | |
24748 | (char *) "self",(char *) "x",(char *) "y", NULL | |
24749 | }; | |
24750 | ||
24751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24752 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24753 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24754 | { | |
24755 | arg2 = (int)(SWIG_As_int(obj1)); | |
24756 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24757 | } | |
24758 | { | |
24759 | arg3 = (int)(SWIG_As_int(obj2)); | |
24760 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24761 | } | |
d55e5bfc RD |
24762 | { |
24763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24764 | (arg1)->SetPPIScreen(arg2,arg3); | |
24765 | ||
24766 | wxPyEndAllowThreads(__tstate); | |
24767 | if (PyErr_Occurred()) SWIG_fail; | |
24768 | } | |
24769 | Py_INCREF(Py_None); resultobj = Py_None; | |
24770 | return resultobj; | |
24771 | fail: | |
24772 | return NULL; | |
24773 | } | |
24774 | ||
24775 | ||
c370783e | 24776 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24777 | PyObject *resultobj; |
24778 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24779 | int *arg2 = (int *) 0 ; | |
24780 | int *arg3 = (int *) 0 ; | |
24781 | int temp2 ; | |
c370783e | 24782 | int res2 = 0 ; |
d55e5bfc | 24783 | int temp3 ; |
c370783e | 24784 | int res3 = 0 ; |
d55e5bfc RD |
24785 | PyObject * obj0 = 0 ; |
24786 | char *kwnames[] = { | |
24787 | (char *) "self", NULL | |
24788 | }; | |
24789 | ||
c370783e RD |
24790 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24791 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 24792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
24793 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24794 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24795 | { |
24796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24797 | (arg1)->GetPPIScreen(arg2,arg3); | |
24798 | ||
24799 | wxPyEndAllowThreads(__tstate); | |
24800 | if (PyErr_Occurred()) SWIG_fail; | |
24801 | } | |
24802 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
24803 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24804 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24805 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24806 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
24807 | return resultobj; |
24808 | fail: | |
24809 | return NULL; | |
24810 | } | |
24811 | ||
24812 | ||
c370783e | 24813 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24814 | PyObject *resultobj; |
24815 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24816 | int arg2 ; | |
24817 | int arg3 ; | |
24818 | PyObject * obj0 = 0 ; | |
24819 | PyObject * obj1 = 0 ; | |
24820 | PyObject * obj2 = 0 ; | |
24821 | char *kwnames[] = { | |
24822 | (char *) "self",(char *) "x",(char *) "y", NULL | |
24823 | }; | |
24824 | ||
24825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24826 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24827 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24828 | { | |
24829 | arg2 = (int)(SWIG_As_int(obj1)); | |
24830 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24831 | } | |
24832 | { | |
24833 | arg3 = (int)(SWIG_As_int(obj2)); | |
24834 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24835 | } | |
d55e5bfc RD |
24836 | { |
24837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24838 | (arg1)->SetPPIPrinter(arg2,arg3); | |
24839 | ||
24840 | wxPyEndAllowThreads(__tstate); | |
24841 | if (PyErr_Occurred()) SWIG_fail; | |
24842 | } | |
24843 | Py_INCREF(Py_None); resultobj = Py_None; | |
24844 | return resultobj; | |
24845 | fail: | |
24846 | return NULL; | |
24847 | } | |
24848 | ||
24849 | ||
c370783e | 24850 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24851 | PyObject *resultobj; |
24852 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24853 | int *arg2 = (int *) 0 ; | |
24854 | int *arg3 = (int *) 0 ; | |
24855 | int temp2 ; | |
c370783e | 24856 | int res2 = 0 ; |
d55e5bfc | 24857 | int temp3 ; |
c370783e | 24858 | int res3 = 0 ; |
d55e5bfc RD |
24859 | PyObject * obj0 = 0 ; |
24860 | char *kwnames[] = { | |
24861 | (char *) "self", NULL | |
24862 | }; | |
24863 | ||
c370783e RD |
24864 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
24865 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d55e5bfc | 24866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
24867 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24868 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24869 | { |
24870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24871 | (arg1)->GetPPIPrinter(arg2,arg3); | |
24872 | ||
24873 | wxPyEndAllowThreads(__tstate); | |
24874 | if (PyErr_Occurred()) SWIG_fail; | |
24875 | } | |
24876 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
24877 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
24878 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
24879 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
24880 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
24881 | return resultobj; |
24882 | fail: | |
24883 | return NULL; | |
24884 | } | |
24885 | ||
24886 | ||
c370783e | 24887 | static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24888 | PyObject *resultobj; |
24889 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24890 | bool result; | |
24891 | PyObject * obj0 = 0 ; | |
24892 | char *kwnames[] = { | |
24893 | (char *) "self", NULL | |
24894 | }; | |
24895 | ||
24896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24897 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24898 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24899 | { |
24900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24901 | result = (bool)(arg1)->IsPreview(); | |
24902 | ||
24903 | wxPyEndAllowThreads(__tstate); | |
24904 | if (PyErr_Occurred()) SWIG_fail; | |
24905 | } | |
24906 | { | |
24907 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24908 | } | |
24909 | return resultobj; | |
24910 | fail: | |
24911 | return NULL; | |
24912 | } | |
24913 | ||
24914 | ||
c370783e | 24915 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24916 | PyObject *resultobj; |
24917 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24918 | bool arg2 ; | |
24919 | PyObject * obj0 = 0 ; | |
24920 | PyObject * obj1 = 0 ; | |
24921 | char *kwnames[] = { | |
24922 | (char *) "self",(char *) "p", NULL | |
24923 | }; | |
24924 | ||
24925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
24926 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24927 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24928 | { | |
24929 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
24930 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24931 | } | |
d55e5bfc RD |
24932 | { |
24933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24934 | (arg1)->SetIsPreview(arg2); | |
24935 | ||
24936 | wxPyEndAllowThreads(__tstate); | |
24937 | if (PyErr_Occurred()) SWIG_fail; | |
24938 | } | |
24939 | Py_INCREF(Py_None); resultobj = Py_None; | |
24940 | return resultobj; | |
24941 | fail: | |
24942 | return NULL; | |
24943 | } | |
24944 | ||
24945 | ||
c370783e | 24946 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24947 | PyObject *resultobj; |
24948 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24949 | int arg2 ; | |
24950 | int arg3 ; | |
24951 | bool result; | |
24952 | PyObject * obj0 = 0 ; | |
24953 | PyObject * obj1 = 0 ; | |
24954 | PyObject * obj2 = 0 ; | |
24955 | char *kwnames[] = { | |
24956 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
24957 | }; | |
24958 | ||
24959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
24960 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24961 | if (SWIG_arg_fail(1)) SWIG_fail; | |
24962 | { | |
24963 | arg2 = (int)(SWIG_As_int(obj1)); | |
24964 | if (SWIG_arg_fail(2)) SWIG_fail; | |
24965 | } | |
24966 | { | |
24967 | arg3 = (int)(SWIG_As_int(obj2)); | |
24968 | if (SWIG_arg_fail(3)) SWIG_fail; | |
24969 | } | |
d55e5bfc RD |
24970 | { |
24971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24972 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
24973 | ||
24974 | wxPyEndAllowThreads(__tstate); | |
24975 | if (PyErr_Occurred()) SWIG_fail; | |
24976 | } | |
24977 | { | |
24978 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24979 | } | |
24980 | return resultobj; | |
24981 | fail: | |
24982 | return NULL; | |
24983 | } | |
24984 | ||
24985 | ||
c370783e | 24986 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
24987 | PyObject *resultobj; |
24988 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24989 | PyObject * obj0 = 0 ; | |
24990 | char *kwnames[] = { | |
24991 | (char *) "self", NULL | |
24992 | }; | |
24993 | ||
24994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
24995 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
24996 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
24997 | { |
24998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24999 | (arg1)->base_OnEndDocument(); | |
25000 | ||
25001 | wxPyEndAllowThreads(__tstate); | |
25002 | if (PyErr_Occurred()) SWIG_fail; | |
25003 | } | |
25004 | Py_INCREF(Py_None); resultobj = Py_None; | |
25005 | return resultobj; | |
25006 | fail: | |
25007 | return NULL; | |
25008 | } | |
25009 | ||
25010 | ||
c370783e | 25011 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25012 | PyObject *resultobj; |
25013 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25014 | PyObject * obj0 = 0 ; | |
25015 | char *kwnames[] = { | |
25016 | (char *) "self", NULL | |
25017 | }; | |
25018 | ||
25019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25020 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25021 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25022 | { |
25023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25024 | (arg1)->base_OnBeginPrinting(); | |
25025 | ||
25026 | wxPyEndAllowThreads(__tstate); | |
25027 | if (PyErr_Occurred()) SWIG_fail; | |
25028 | } | |
25029 | Py_INCREF(Py_None); resultobj = Py_None; | |
25030 | return resultobj; | |
25031 | fail: | |
25032 | return NULL; | |
25033 | } | |
25034 | ||
25035 | ||
c370783e | 25036 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25037 | PyObject *resultobj; |
25038 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25039 | PyObject * obj0 = 0 ; | |
25040 | char *kwnames[] = { | |
25041 | (char *) "self", NULL | |
25042 | }; | |
25043 | ||
25044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25045 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25046 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25047 | { |
25048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25049 | (arg1)->base_OnEndPrinting(); | |
25050 | ||
25051 | wxPyEndAllowThreads(__tstate); | |
25052 | if (PyErr_Occurred()) SWIG_fail; | |
25053 | } | |
25054 | Py_INCREF(Py_None); resultobj = Py_None; | |
25055 | return resultobj; | |
25056 | fail: | |
25057 | return NULL; | |
25058 | } | |
25059 | ||
25060 | ||
c370783e | 25061 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25062 | PyObject *resultobj; |
25063 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25064 | PyObject * obj0 = 0 ; | |
25065 | char *kwnames[] = { | |
25066 | (char *) "self", NULL | |
25067 | }; | |
25068 | ||
25069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25070 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25071 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25072 | { |
25073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25074 | (arg1)->base_OnPreparePrinting(); | |
25075 | ||
25076 | wxPyEndAllowThreads(__tstate); | |
25077 | if (PyErr_Occurred()) SWIG_fail; | |
25078 | } | |
25079 | Py_INCREF(Py_None); resultobj = Py_None; | |
25080 | return resultobj; | |
25081 | fail: | |
25082 | return NULL; | |
25083 | } | |
25084 | ||
25085 | ||
c370783e | 25086 | static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25087 | PyObject *resultobj; |
25088 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25089 | int arg2 ; | |
25090 | bool result; | |
25091 | PyObject * obj0 = 0 ; | |
25092 | PyObject * obj1 = 0 ; | |
25093 | char *kwnames[] = { | |
25094 | (char *) "self",(char *) "page", NULL | |
25095 | }; | |
25096 | ||
25097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
25098 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25099 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25100 | { | |
25101 | arg2 = (int)(SWIG_As_int(obj1)); | |
25102 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25103 | } | |
d55e5bfc RD |
25104 | { |
25105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25106 | result = (bool)(arg1)->base_HasPage(arg2); | |
25107 | ||
25108 | wxPyEndAllowThreads(__tstate); | |
25109 | if (PyErr_Occurred()) SWIG_fail; | |
25110 | } | |
25111 | { | |
25112 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
25113 | } | |
25114 | return resultobj; | |
25115 | fail: | |
25116 | return NULL; | |
25117 | } | |
25118 | ||
25119 | ||
c370783e | 25120 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25121 | PyObject *resultobj; |
25122 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25123 | int *arg2 = (int *) 0 ; | |
25124 | int *arg3 = (int *) 0 ; | |
25125 | int *arg4 = (int *) 0 ; | |
25126 | int *arg5 = (int *) 0 ; | |
25127 | int temp2 ; | |
c370783e | 25128 | int res2 = 0 ; |
d55e5bfc | 25129 | int temp3 ; |
c370783e | 25130 | int res3 = 0 ; |
d55e5bfc | 25131 | int temp4 ; |
c370783e | 25132 | int res4 = 0 ; |
d55e5bfc | 25133 | int temp5 ; |
c370783e | 25134 | int res5 = 0 ; |
d55e5bfc RD |
25135 | PyObject * obj0 = 0 ; |
25136 | char *kwnames[] = { | |
25137 | (char *) "self", NULL | |
25138 | }; | |
25139 | ||
c370783e RD |
25140 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
25141 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
25142 | arg4 = &temp4; res4 = SWIG_NEWOBJ; | |
25143 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d55e5bfc | 25144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; |
36ed4f51 RD |
25145 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25146 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25147 | { |
25148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25149 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
25150 | ||
25151 | wxPyEndAllowThreads(__tstate); | |
25152 | if (PyErr_Occurred()) SWIG_fail; | |
25153 | } | |
25154 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
25155 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
25156 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
25157 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
25158 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
25159 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? | |
25160 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
25161 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
25162 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d55e5bfc RD |
25163 | return resultobj; |
25164 | fail: | |
25165 | return NULL; | |
25166 | } | |
25167 | ||
25168 | ||
c370783e | 25169 | static PyObject * Printout_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25170 | PyObject *obj; |
25171 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25172 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
25173 | Py_INCREF(obj); | |
25174 | return Py_BuildValue((char *)""); | |
25175 | } | |
c370783e | 25176 | static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25177 | PyObject *resultobj; |
25178 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25179 | wxWindow *arg2 = (wxWindow *) 0 ; | |
25180 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
25181 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
25182 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
25183 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
25184 | long arg5 = (long) 0 ; | |
25185 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
25186 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
25187 | wxPreviewCanvas *result; | |
25188 | wxPoint temp3 ; | |
25189 | wxSize temp4 ; | |
b411df4a | 25190 | bool temp6 = false ; |
d55e5bfc RD |
25191 | PyObject * obj0 = 0 ; |
25192 | PyObject * obj1 = 0 ; | |
25193 | PyObject * obj2 = 0 ; | |
25194 | PyObject * obj3 = 0 ; | |
25195 | PyObject * obj4 = 0 ; | |
25196 | PyObject * obj5 = 0 ; | |
25197 | char *kwnames[] = { | |
25198 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25199 | }; | |
25200 | ||
25201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
36ed4f51 RD |
25202 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25203 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25204 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
25205 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
25206 | if (obj2) { |
25207 | { | |
25208 | arg3 = &temp3; | |
25209 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
25210 | } | |
25211 | } | |
25212 | if (obj3) { | |
25213 | { | |
25214 | arg4 = &temp4; | |
25215 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
25216 | } | |
25217 | } | |
25218 | if (obj4) { | |
36ed4f51 RD |
25219 | { |
25220 | arg5 = (long)(SWIG_As_long(obj4)); | |
25221 | if (SWIG_arg_fail(5)) SWIG_fail; | |
25222 | } | |
d55e5bfc RD |
25223 | } |
25224 | if (obj5) { | |
25225 | { | |
25226 | arg6 = wxString_in_helper(obj5); | |
25227 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 25228 | temp6 = true; |
d55e5bfc RD |
25229 | } |
25230 | } | |
25231 | { | |
0439c23b | 25232 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25234 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
25235 | ||
25236 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25237 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25238 | } |
25239 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); | |
25240 | { | |
25241 | if (temp6) | |
25242 | delete arg6; | |
25243 | } | |
25244 | return resultobj; | |
25245 | fail: | |
25246 | { | |
25247 | if (temp6) | |
25248 | delete arg6; | |
25249 | } | |
25250 | return NULL; | |
25251 | } | |
25252 | ||
25253 | ||
c370783e | 25254 | static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25255 | PyObject *obj; |
25256 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25257 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
25258 | Py_INCREF(obj); | |
25259 | return Py_BuildValue((char *)""); | |
25260 | } | |
c370783e | 25261 | static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25262 | PyObject *resultobj; |
25263 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25264 | wxFrame *arg2 = (wxFrame *) 0 ; | |
25265 | wxString *arg3 = 0 ; | |
25266 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
25267 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
25268 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
25269 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
25270 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
25271 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
25272 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
25273 | wxPreviewFrame *result; | |
b411df4a | 25274 | bool temp3 = false ; |
d55e5bfc RD |
25275 | wxPoint temp4 ; |
25276 | wxSize temp5 ; | |
b411df4a | 25277 | bool temp7 = false ; |
d55e5bfc RD |
25278 | PyObject * obj0 = 0 ; |
25279 | PyObject * obj1 = 0 ; | |
25280 | PyObject * obj2 = 0 ; | |
25281 | PyObject * obj3 = 0 ; | |
25282 | PyObject * obj4 = 0 ; | |
25283 | PyObject * obj5 = 0 ; | |
25284 | PyObject * obj6 = 0 ; | |
25285 | char *kwnames[] = { | |
25286 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25287 | }; | |
25288 | ||
25289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
25290 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25291 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25292 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
25293 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
25294 | { |
25295 | arg3 = wxString_in_helper(obj2); | |
25296 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 25297 | temp3 = true; |
d55e5bfc RD |
25298 | } |
25299 | if (obj3) { | |
25300 | { | |
25301 | arg4 = &temp4; | |
25302 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
25303 | } | |
25304 | } | |
25305 | if (obj4) { | |
25306 | { | |
25307 | arg5 = &temp5; | |
25308 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
25309 | } | |
25310 | } | |
25311 | if (obj5) { | |
36ed4f51 RD |
25312 | { |
25313 | arg6 = (long)(SWIG_As_long(obj5)); | |
25314 | if (SWIG_arg_fail(6)) SWIG_fail; | |
25315 | } | |
d55e5bfc RD |
25316 | } |
25317 | if (obj6) { | |
25318 | { | |
25319 | arg7 = wxString_in_helper(obj6); | |
25320 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 25321 | temp7 = true; |
d55e5bfc RD |
25322 | } |
25323 | } | |
25324 | { | |
0439c23b | 25325 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25327 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
25328 | ||
25329 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25330 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25331 | } |
25332 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); | |
25333 | { | |
25334 | if (temp3) | |
25335 | delete arg3; | |
25336 | } | |
25337 | { | |
25338 | if (temp7) | |
25339 | delete arg7; | |
25340 | } | |
25341 | return resultobj; | |
25342 | fail: | |
25343 | { | |
25344 | if (temp3) | |
25345 | delete arg3; | |
25346 | } | |
25347 | { | |
25348 | if (temp7) | |
25349 | delete arg7; | |
25350 | } | |
25351 | return NULL; | |
25352 | } | |
25353 | ||
25354 | ||
c370783e | 25355 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25356 | PyObject *resultobj; |
25357 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
25358 | PyObject * obj0 = 0 ; | |
25359 | char *kwnames[] = { | |
25360 | (char *) "self", NULL | |
25361 | }; | |
25362 | ||
25363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25364 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25365 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25366 | { |
25367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25368 | (arg1)->Initialize(); | |
25369 | ||
25370 | wxPyEndAllowThreads(__tstate); | |
25371 | if (PyErr_Occurred()) SWIG_fail; | |
25372 | } | |
25373 | Py_INCREF(Py_None); resultobj = Py_None; | |
25374 | return resultobj; | |
25375 | fail: | |
25376 | return NULL; | |
25377 | } | |
25378 | ||
25379 | ||
c370783e | 25380 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25381 | PyObject *resultobj; |
25382 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
25383 | PyObject * obj0 = 0 ; | |
25384 | char *kwnames[] = { | |
25385 | (char *) "self", NULL | |
25386 | }; | |
25387 | ||
25388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25389 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25390 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25391 | { |
25392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25393 | (arg1)->CreateControlBar(); | |
25394 | ||
25395 | wxPyEndAllowThreads(__tstate); | |
25396 | if (PyErr_Occurred()) SWIG_fail; | |
25397 | } | |
25398 | Py_INCREF(Py_None); resultobj = Py_None; | |
25399 | return resultobj; | |
25400 | fail: | |
25401 | return NULL; | |
25402 | } | |
25403 | ||
25404 | ||
c370783e | 25405 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25406 | PyObject *resultobj; |
25407 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
25408 | PyObject * obj0 = 0 ; | |
25409 | char *kwnames[] = { | |
25410 | (char *) "self", NULL | |
25411 | }; | |
25412 | ||
25413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25414 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25415 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25416 | { |
25417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25418 | (arg1)->CreateCanvas(); | |
25419 | ||
25420 | wxPyEndAllowThreads(__tstate); | |
25421 | if (PyErr_Occurred()) SWIG_fail; | |
25422 | } | |
25423 | Py_INCREF(Py_None); resultobj = Py_None; | |
25424 | return resultobj; | |
25425 | fail: | |
25426 | return NULL; | |
25427 | } | |
25428 | ||
25429 | ||
c370783e | 25430 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25431 | PyObject *resultobj; |
25432 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
25433 | wxPreviewControlBar *result; | |
25434 | PyObject * obj0 = 0 ; | |
25435 | char *kwnames[] = { | |
25436 | (char *) "self", NULL | |
25437 | }; | |
25438 | ||
25439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25440 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
25441 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25442 | { |
25443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25444 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
25445 | ||
25446 | wxPyEndAllowThreads(__tstate); | |
25447 | if (PyErr_Occurred()) SWIG_fail; | |
25448 | } | |
25449 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); | |
25450 | return resultobj; | |
25451 | fail: | |
25452 | return NULL; | |
25453 | } | |
25454 | ||
25455 | ||
c370783e | 25456 | static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25457 | PyObject *obj; |
25458 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25459 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
25460 | Py_INCREF(obj); | |
25461 | return Py_BuildValue((char *)""); | |
25462 | } | |
c370783e | 25463 | static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25464 | PyObject *resultobj; |
25465 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25466 | long arg2 ; | |
25467 | wxWindow *arg3 = (wxWindow *) 0 ; | |
25468 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
25469 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
25470 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
25471 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
25472 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
25473 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
25474 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
25475 | wxPreviewControlBar *result; | |
25476 | wxPoint temp4 ; | |
25477 | wxSize temp5 ; | |
b411df4a | 25478 | bool temp7 = false ; |
d55e5bfc RD |
25479 | PyObject * obj0 = 0 ; |
25480 | PyObject * obj1 = 0 ; | |
25481 | PyObject * obj2 = 0 ; | |
25482 | PyObject * obj3 = 0 ; | |
25483 | PyObject * obj4 = 0 ; | |
25484 | PyObject * obj5 = 0 ; | |
25485 | PyObject * obj6 = 0 ; | |
25486 | char *kwnames[] = { | |
25487 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25488 | }; | |
25489 | ||
25490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
25491 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25492 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25493 | { | |
25494 | arg2 = (long)(SWIG_As_long(obj1)); | |
25495 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25496 | } | |
25497 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
25498 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
25499 | if (obj3) { |
25500 | { | |
25501 | arg4 = &temp4; | |
25502 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
25503 | } | |
25504 | } | |
25505 | if (obj4) { | |
25506 | { | |
25507 | arg5 = &temp5; | |
25508 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
25509 | } | |
25510 | } | |
25511 | if (obj5) { | |
36ed4f51 RD |
25512 | { |
25513 | arg6 = (long)(SWIG_As_long(obj5)); | |
25514 | if (SWIG_arg_fail(6)) SWIG_fail; | |
25515 | } | |
d55e5bfc RD |
25516 | } |
25517 | if (obj6) { | |
25518 | { | |
25519 | arg7 = wxString_in_helper(obj6); | |
25520 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 25521 | temp7 = true; |
d55e5bfc RD |
25522 | } |
25523 | } | |
25524 | { | |
0439c23b | 25525 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25527 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
25528 | ||
25529 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25530 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25531 | } |
25532 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); | |
25533 | { | |
25534 | if (temp7) | |
25535 | delete arg7; | |
25536 | } | |
25537 | return resultobj; | |
25538 | fail: | |
25539 | { | |
25540 | if (temp7) | |
25541 | delete arg7; | |
25542 | } | |
25543 | return NULL; | |
25544 | } | |
25545 | ||
25546 | ||
c370783e | 25547 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25548 | PyObject *resultobj; |
25549 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25550 | int result; | |
25551 | PyObject * obj0 = 0 ; | |
25552 | char *kwnames[] = { | |
25553 | (char *) "self", NULL | |
25554 | }; | |
25555 | ||
25556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25557 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25558 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25559 | { |
25560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25561 | result = (int)(arg1)->GetZoomControl(); | |
25562 | ||
25563 | wxPyEndAllowThreads(__tstate); | |
25564 | if (PyErr_Occurred()) SWIG_fail; | |
25565 | } | |
36ed4f51 RD |
25566 | { |
25567 | resultobj = SWIG_From_int((int)(result)); | |
25568 | } | |
d55e5bfc RD |
25569 | return resultobj; |
25570 | fail: | |
25571 | return NULL; | |
25572 | } | |
25573 | ||
25574 | ||
c370783e | 25575 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25576 | PyObject *resultobj; |
25577 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25578 | int arg2 ; | |
25579 | PyObject * obj0 = 0 ; | |
25580 | PyObject * obj1 = 0 ; | |
25581 | char *kwnames[] = { | |
25582 | (char *) "self",(char *) "zoom", NULL | |
25583 | }; | |
25584 | ||
25585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
25586 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25587 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25588 | { | |
25589 | arg2 = (int)(SWIG_As_int(obj1)); | |
25590 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25591 | } | |
d55e5bfc RD |
25592 | { |
25593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25594 | (arg1)->SetZoomControl(arg2); | |
25595 | ||
25596 | wxPyEndAllowThreads(__tstate); | |
25597 | if (PyErr_Occurred()) SWIG_fail; | |
25598 | } | |
25599 | Py_INCREF(Py_None); resultobj = Py_None; | |
25600 | return resultobj; | |
25601 | fail: | |
25602 | return NULL; | |
25603 | } | |
25604 | ||
25605 | ||
c370783e | 25606 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25607 | PyObject *resultobj; |
25608 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25609 | wxPrintPreview *result; | |
25610 | PyObject * obj0 = 0 ; | |
25611 | char *kwnames[] = { | |
25612 | (char *) "self", NULL | |
25613 | }; | |
25614 | ||
25615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25616 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25617 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25618 | { |
25619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25620 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
25621 | ||
25622 | wxPyEndAllowThreads(__tstate); | |
25623 | if (PyErr_Occurred()) SWIG_fail; | |
25624 | } | |
25625 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); | |
25626 | return resultobj; | |
25627 | fail: | |
25628 | return NULL; | |
25629 | } | |
25630 | ||
25631 | ||
c370783e | 25632 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25633 | PyObject *resultobj; |
25634 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25635 | PyObject * obj0 = 0 ; | |
25636 | char *kwnames[] = { | |
25637 | (char *) "self", NULL | |
25638 | }; | |
25639 | ||
25640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25641 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25642 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25643 | { |
25644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25645 | (arg1)->OnNext(); | |
25646 | ||
25647 | wxPyEndAllowThreads(__tstate); | |
25648 | if (PyErr_Occurred()) SWIG_fail; | |
25649 | } | |
25650 | Py_INCREF(Py_None); resultobj = Py_None; | |
25651 | return resultobj; | |
25652 | fail: | |
25653 | return NULL; | |
25654 | } | |
25655 | ||
25656 | ||
c370783e | 25657 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25658 | PyObject *resultobj; |
25659 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25660 | PyObject * obj0 = 0 ; | |
25661 | char *kwnames[] = { | |
25662 | (char *) "self", NULL | |
25663 | }; | |
25664 | ||
25665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25666 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25667 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25668 | { |
25669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25670 | (arg1)->OnPrevious(); | |
25671 | ||
25672 | wxPyEndAllowThreads(__tstate); | |
25673 | if (PyErr_Occurred()) SWIG_fail; | |
25674 | } | |
25675 | Py_INCREF(Py_None); resultobj = Py_None; | |
25676 | return resultobj; | |
25677 | fail: | |
25678 | return NULL; | |
25679 | } | |
25680 | ||
25681 | ||
c370783e | 25682 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25683 | PyObject *resultobj; |
25684 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25685 | PyObject * obj0 = 0 ; | |
25686 | char *kwnames[] = { | |
25687 | (char *) "self", NULL | |
25688 | }; | |
25689 | ||
25690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25691 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25692 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25693 | { |
25694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25695 | (arg1)->OnFirst(); | |
25696 | ||
25697 | wxPyEndAllowThreads(__tstate); | |
25698 | if (PyErr_Occurred()) SWIG_fail; | |
25699 | } | |
25700 | Py_INCREF(Py_None); resultobj = Py_None; | |
25701 | return resultobj; | |
25702 | fail: | |
25703 | return NULL; | |
25704 | } | |
25705 | ||
25706 | ||
c370783e | 25707 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25708 | PyObject *resultobj; |
25709 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25710 | PyObject * obj0 = 0 ; | |
25711 | char *kwnames[] = { | |
25712 | (char *) "self", NULL | |
25713 | }; | |
25714 | ||
25715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25716 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25717 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25718 | { |
25719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25720 | (arg1)->OnLast(); | |
25721 | ||
25722 | wxPyEndAllowThreads(__tstate); | |
25723 | if (PyErr_Occurred()) SWIG_fail; | |
25724 | } | |
25725 | Py_INCREF(Py_None); resultobj = Py_None; | |
25726 | return resultobj; | |
25727 | fail: | |
25728 | return NULL; | |
25729 | } | |
25730 | ||
25731 | ||
c370783e | 25732 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25733 | PyObject *resultobj; |
25734 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
25735 | PyObject * obj0 = 0 ; | |
25736 | char *kwnames[] = { | |
25737 | (char *) "self", NULL | |
25738 | }; | |
25739 | ||
25740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25741 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
25742 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25743 | { |
25744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25745 | (arg1)->OnGoto(); | |
25746 | ||
25747 | wxPyEndAllowThreads(__tstate); | |
25748 | if (PyErr_Occurred()) SWIG_fail; | |
25749 | } | |
25750 | Py_INCREF(Py_None); resultobj = Py_None; | |
25751 | return resultobj; | |
25752 | fail: | |
25753 | return NULL; | |
25754 | } | |
25755 | ||
25756 | ||
c370783e | 25757 | static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
25758 | PyObject *obj; |
25759 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25760 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
25761 | Py_INCREF(obj); | |
25762 | return Py_BuildValue((char *)""); | |
25763 | } | |
c370783e | 25764 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
25765 | PyObject *resultobj; |
25766 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25767 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
25768 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; | |
25769 | wxPrintPreview *result; | |
25770 | PyObject * obj0 = 0 ; | |
25771 | PyObject * obj1 = 0 ; | |
25772 | PyObject * obj2 = 0 ; | |
25773 | ||
25774 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
25775 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25776 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25777 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
25778 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 25779 | if (obj2) { |
36ed4f51 RD |
25780 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
25781 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
25782 | } |
25783 | { | |
0439c23b | 25784 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25786 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
25787 | ||
25788 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25789 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25790 | } |
25791 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
25792 | return resultobj; | |
25793 | fail: | |
25794 | return NULL; | |
25795 | } | |
25796 | ||
25797 | ||
c370783e | 25798 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
25799 | PyObject *resultobj; |
25800 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
25801 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
25802 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
25803 | wxPrintPreview *result; | |
25804 | PyObject * obj0 = 0 ; | |
25805 | PyObject * obj1 = 0 ; | |
25806 | PyObject * obj2 = 0 ; | |
25807 | ||
25808 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
25809 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
25810 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25811 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
25812 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25813 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
25814 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc | 25815 | { |
0439c23b | 25816 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
25817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25818 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
25819 | ||
25820 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25821 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
25822 | } |
25823 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
25824 | return resultobj; | |
25825 | fail: | |
25826 | return NULL; | |
25827 | } | |
25828 | ||
25829 | ||
25830 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
25831 | int argc; | |
25832 | PyObject *argv[4]; | |
25833 | int ii; | |
25834 | ||
25835 | argc = PyObject_Length(args); | |
25836 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
25837 | argv[ii] = PyTuple_GetItem(args,ii); | |
25838 | } | |
25839 | if ((argc >= 2) && (argc <= 3)) { | |
25840 | int _v; | |
25841 | { | |
25842 | void *ptr; | |
25843 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25844 | _v = 0; | |
25845 | PyErr_Clear(); | |
25846 | } else { | |
25847 | _v = 1; | |
25848 | } | |
25849 | } | |
25850 | if (_v) { | |
25851 | { | |
25852 | void *ptr; | |
25853 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25854 | _v = 0; | |
25855 | PyErr_Clear(); | |
25856 | } else { | |
25857 | _v = 1; | |
25858 | } | |
25859 | } | |
25860 | if (_v) { | |
25861 | if (argc <= 2) { | |
25862 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
25863 | } | |
25864 | { | |
25865 | void *ptr; | |
25866 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
25867 | _v = 0; | |
25868 | PyErr_Clear(); | |
25869 | } else { | |
25870 | _v = 1; | |
25871 | } | |
25872 | } | |
25873 | if (_v) { | |
25874 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
25875 | } | |
25876 | } | |
25877 | } | |
25878 | } | |
25879 | if (argc == 3) { | |
25880 | int _v; | |
25881 | { | |
25882 | void *ptr; | |
25883 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25884 | _v = 0; | |
25885 | PyErr_Clear(); | |
25886 | } else { | |
25887 | _v = 1; | |
25888 | } | |
25889 | } | |
25890 | if (_v) { | |
25891 | { | |
25892 | void *ptr; | |
25893 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
25894 | _v = 0; | |
25895 | PyErr_Clear(); | |
25896 | } else { | |
25897 | _v = 1; | |
25898 | } | |
25899 | } | |
25900 | if (_v) { | |
25901 | { | |
25902 | void *ptr; | |
25903 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
25904 | _v = 0; | |
25905 | PyErr_Clear(); | |
25906 | } else { | |
25907 | _v = 1; | |
25908 | } | |
25909 | } | |
25910 | if (_v) { | |
25911 | return _wrap_new_PrintPreview__SWIG_1(self,args); | |
25912 | } | |
25913 | } | |
25914 | } | |
25915 | } | |
25916 | ||
36ed4f51 | 25917 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'"); |
d55e5bfc RD |
25918 | return NULL; |
25919 | } | |
25920 | ||
25921 | ||
c370783e | 25922 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25923 | PyObject *resultobj; |
25924 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25925 | int arg2 ; | |
25926 | bool result; | |
25927 | PyObject * obj0 = 0 ; | |
25928 | PyObject * obj1 = 0 ; | |
25929 | char *kwnames[] = { | |
25930 | (char *) "self",(char *) "pageNum", NULL | |
25931 | }; | |
25932 | ||
25933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
25934 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25935 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25936 | { | |
25937 | arg2 = (int)(SWIG_As_int(obj1)); | |
25938 | if (SWIG_arg_fail(2)) SWIG_fail; | |
25939 | } | |
d55e5bfc RD |
25940 | { |
25941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25942 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
25943 | ||
25944 | wxPyEndAllowThreads(__tstate); | |
25945 | if (PyErr_Occurred()) SWIG_fail; | |
25946 | } | |
25947 | { | |
25948 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
25949 | } | |
25950 | return resultobj; | |
25951 | fail: | |
25952 | return NULL; | |
25953 | } | |
25954 | ||
25955 | ||
c370783e | 25956 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25957 | PyObject *resultobj; |
25958 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25959 | int result; | |
25960 | PyObject * obj0 = 0 ; | |
25961 | char *kwnames[] = { | |
25962 | (char *) "self", NULL | |
25963 | }; | |
25964 | ||
25965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
25966 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25967 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
25968 | { |
25969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25970 | result = (int)(arg1)->GetCurrentPage(); | |
25971 | ||
25972 | wxPyEndAllowThreads(__tstate); | |
25973 | if (PyErr_Occurred()) SWIG_fail; | |
25974 | } | |
36ed4f51 RD |
25975 | { |
25976 | resultobj = SWIG_From_int((int)(result)); | |
25977 | } | |
d55e5bfc RD |
25978 | return resultobj; |
25979 | fail: | |
25980 | return NULL; | |
25981 | } | |
25982 | ||
25983 | ||
c370783e | 25984 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
25985 | PyObject *resultobj; |
25986 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25987 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
25988 | PyObject * obj0 = 0 ; | |
25989 | PyObject * obj1 = 0 ; | |
25990 | char *kwnames[] = { | |
25991 | (char *) "self",(char *) "printout", NULL | |
25992 | }; | |
25993 | ||
25994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
25995 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
25996 | if (SWIG_arg_fail(1)) SWIG_fail; | |
25997 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
25998 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
25999 | { |
26000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26001 | (arg1)->SetPrintout(arg2); | |
26002 | ||
26003 | wxPyEndAllowThreads(__tstate); | |
26004 | if (PyErr_Occurred()) SWIG_fail; | |
26005 | } | |
26006 | Py_INCREF(Py_None); resultobj = Py_None; | |
26007 | return resultobj; | |
26008 | fail: | |
26009 | return NULL; | |
26010 | } | |
26011 | ||
26012 | ||
c370783e | 26013 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26014 | PyObject *resultobj; |
26015 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26016 | wxPyPrintout *result; | |
26017 | PyObject * obj0 = 0 ; | |
26018 | char *kwnames[] = { | |
26019 | (char *) "self", NULL | |
26020 | }; | |
26021 | ||
26022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26023 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26024 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26025 | { |
26026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26027 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
26028 | ||
26029 | wxPyEndAllowThreads(__tstate); | |
26030 | if (PyErr_Occurred()) SWIG_fail; | |
26031 | } | |
26032 | { | |
412d302d | 26033 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
26034 | } |
26035 | return resultobj; | |
26036 | fail: | |
26037 | return NULL; | |
26038 | } | |
26039 | ||
26040 | ||
c370783e | 26041 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26042 | PyObject *resultobj; |
26043 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26044 | wxPyPrintout *result; | |
26045 | PyObject * obj0 = 0 ; | |
26046 | char *kwnames[] = { | |
26047 | (char *) "self", NULL | |
26048 | }; | |
26049 | ||
26050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26051 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26052 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26053 | { |
26054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26055 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
26056 | ||
26057 | wxPyEndAllowThreads(__tstate); | |
26058 | if (PyErr_Occurred()) SWIG_fail; | |
26059 | } | |
26060 | { | |
412d302d | 26061 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
26062 | } |
26063 | return resultobj; | |
26064 | fail: | |
26065 | return NULL; | |
26066 | } | |
26067 | ||
26068 | ||
c370783e | 26069 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26070 | PyObject *resultobj; |
26071 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26072 | wxFrame *arg2 = (wxFrame *) 0 ; | |
26073 | PyObject * obj0 = 0 ; | |
26074 | PyObject * obj1 = 0 ; | |
26075 | char *kwnames[] = { | |
26076 | (char *) "self",(char *) "frame", NULL | |
26077 | }; | |
26078 | ||
26079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26080 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26081 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26082 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
26083 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
26084 | { |
26085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26086 | (arg1)->SetFrame(arg2); | |
26087 | ||
26088 | wxPyEndAllowThreads(__tstate); | |
26089 | if (PyErr_Occurred()) SWIG_fail; | |
26090 | } | |
26091 | Py_INCREF(Py_None); resultobj = Py_None; | |
26092 | return resultobj; | |
26093 | fail: | |
26094 | return NULL; | |
26095 | } | |
26096 | ||
26097 | ||
c370783e | 26098 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26099 | PyObject *resultobj; |
26100 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26101 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26102 | PyObject * obj0 = 0 ; | |
26103 | PyObject * obj1 = 0 ; | |
26104 | char *kwnames[] = { | |
26105 | (char *) "self",(char *) "canvas", NULL | |
26106 | }; | |
26107 | ||
26108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26109 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26110 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26111 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26112 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
26113 | { |
26114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26115 | (arg1)->SetCanvas(arg2); | |
26116 | ||
26117 | wxPyEndAllowThreads(__tstate); | |
26118 | if (PyErr_Occurred()) SWIG_fail; | |
26119 | } | |
26120 | Py_INCREF(Py_None); resultobj = Py_None; | |
26121 | return resultobj; | |
26122 | fail: | |
26123 | return NULL; | |
26124 | } | |
26125 | ||
26126 | ||
c370783e | 26127 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26128 | PyObject *resultobj; |
26129 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26130 | wxFrame *result; | |
26131 | PyObject * obj0 = 0 ; | |
26132 | char *kwnames[] = { | |
26133 | (char *) "self", NULL | |
26134 | }; | |
26135 | ||
26136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26137 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26138 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26139 | { |
26140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26141 | result = (wxFrame *)(arg1)->GetFrame(); | |
26142 | ||
26143 | wxPyEndAllowThreads(__tstate); | |
26144 | if (PyErr_Occurred()) SWIG_fail; | |
26145 | } | |
26146 | { | |
412d302d | 26147 | resultobj = wxPyMake_wxObject(result, 0); |
d55e5bfc RD |
26148 | } |
26149 | return resultobj; | |
26150 | fail: | |
26151 | return NULL; | |
26152 | } | |
26153 | ||
26154 | ||
c370783e | 26155 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26156 | PyObject *resultobj; |
26157 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26158 | wxPreviewCanvas *result; | |
26159 | PyObject * obj0 = 0 ; | |
26160 | char *kwnames[] = { | |
26161 | (char *) "self", NULL | |
26162 | }; | |
26163 | ||
26164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26165 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26166 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26167 | { |
26168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26169 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
26170 | ||
26171 | wxPyEndAllowThreads(__tstate); | |
26172 | if (PyErr_Occurred()) SWIG_fail; | |
26173 | } | |
26174 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); | |
26175 | return resultobj; | |
26176 | fail: | |
26177 | return NULL; | |
26178 | } | |
26179 | ||
26180 | ||
c370783e | 26181 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26182 | PyObject *resultobj; |
26183 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26184 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26185 | wxDC *arg3 = 0 ; | |
26186 | bool result; | |
26187 | PyObject * obj0 = 0 ; | |
26188 | PyObject * obj1 = 0 ; | |
26189 | PyObject * obj2 = 0 ; | |
26190 | char *kwnames[] = { | |
26191 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26192 | }; | |
26193 | ||
26194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26195 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26196 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26197 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26198 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26199 | { | |
26200 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26201 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26202 | if (arg3 == NULL) { | |
26203 | SWIG_null_ref("wxDC"); | |
26204 | } | |
26205 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26206 | } |
26207 | { | |
26208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26209 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
26210 | ||
26211 | wxPyEndAllowThreads(__tstate); | |
26212 | if (PyErr_Occurred()) SWIG_fail; | |
26213 | } | |
26214 | { | |
26215 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26216 | } | |
26217 | return resultobj; | |
26218 | fail: | |
26219 | return NULL; | |
26220 | } | |
26221 | ||
26222 | ||
c370783e | 26223 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26224 | PyObject *resultobj; |
26225 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26226 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26227 | wxDC *arg3 = 0 ; | |
26228 | bool result; | |
26229 | PyObject * obj0 = 0 ; | |
26230 | PyObject * obj1 = 0 ; | |
26231 | PyObject * obj2 = 0 ; | |
26232 | char *kwnames[] = { | |
26233 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26234 | }; | |
26235 | ||
26236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26237 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26238 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26239 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26240 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26241 | { | |
26242 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26243 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26244 | if (arg3 == NULL) { | |
26245 | SWIG_null_ref("wxDC"); | |
26246 | } | |
26247 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26248 | } |
26249 | { | |
26250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26251 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
26252 | ||
26253 | wxPyEndAllowThreads(__tstate); | |
26254 | if (PyErr_Occurred()) SWIG_fail; | |
26255 | } | |
26256 | { | |
26257 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26258 | } | |
26259 | return resultobj; | |
26260 | fail: | |
26261 | return NULL; | |
26262 | } | |
26263 | ||
26264 | ||
c370783e | 26265 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26266 | PyObject *resultobj; |
26267 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26268 | int arg2 ; | |
26269 | bool result; | |
26270 | PyObject * obj0 = 0 ; | |
26271 | PyObject * obj1 = 0 ; | |
26272 | char *kwnames[] = { | |
26273 | (char *) "self",(char *) "pageNum", NULL | |
26274 | }; | |
26275 | ||
26276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26277 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26278 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26279 | { | |
26280 | arg2 = (int)(SWIG_As_int(obj1)); | |
26281 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26282 | } | |
d55e5bfc RD |
26283 | { |
26284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26285 | result = (bool)(arg1)->RenderPage(arg2); | |
26286 | ||
26287 | wxPyEndAllowThreads(__tstate); | |
26288 | if (PyErr_Occurred()) SWIG_fail; | |
26289 | } | |
26290 | { | |
26291 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26292 | } | |
26293 | return resultobj; | |
26294 | fail: | |
26295 | return NULL; | |
26296 | } | |
26297 | ||
26298 | ||
c370783e | 26299 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26300 | PyObject *resultobj; |
26301 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26302 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26303 | PyObject * obj0 = 0 ; | |
26304 | PyObject * obj1 = 0 ; | |
26305 | char *kwnames[] = { | |
26306 | (char *) "self",(char *) "canvas", NULL | |
26307 | }; | |
26308 | ||
26309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26310 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26311 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26312 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26313 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
26314 | { |
26315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26316 | (arg1)->AdjustScrollbars(arg2); | |
26317 | ||
26318 | wxPyEndAllowThreads(__tstate); | |
26319 | if (PyErr_Occurred()) SWIG_fail; | |
26320 | } | |
26321 | Py_INCREF(Py_None); resultobj = Py_None; | |
26322 | return resultobj; | |
26323 | fail: | |
26324 | return NULL; | |
26325 | } | |
26326 | ||
26327 | ||
c370783e | 26328 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26329 | PyObject *resultobj; |
26330 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26331 | wxPrintDialogData *result; | |
26332 | PyObject * obj0 = 0 ; | |
26333 | char *kwnames[] = { | |
26334 | (char *) "self", NULL | |
26335 | }; | |
26336 | ||
26337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26338 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26339 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26340 | { |
26341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26342 | { | |
26343 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
26344 | result = (wxPrintDialogData *) &_result_ref; | |
26345 | } | |
26346 | ||
26347 | wxPyEndAllowThreads(__tstate); | |
26348 | if (PyErr_Occurred()) SWIG_fail; | |
26349 | } | |
26350 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); | |
26351 | return resultobj; | |
26352 | fail: | |
26353 | return NULL; | |
26354 | } | |
26355 | ||
26356 | ||
c370783e | 26357 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26358 | PyObject *resultobj; |
26359 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26360 | int arg2 ; | |
26361 | PyObject * obj0 = 0 ; | |
26362 | PyObject * obj1 = 0 ; | |
26363 | char *kwnames[] = { | |
26364 | (char *) "self",(char *) "percent", NULL | |
26365 | }; | |
26366 | ||
26367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26368 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26369 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26370 | { | |
26371 | arg2 = (int)(SWIG_As_int(obj1)); | |
26372 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26373 | } | |
d55e5bfc RD |
26374 | { |
26375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26376 | (arg1)->SetZoom(arg2); | |
26377 | ||
26378 | wxPyEndAllowThreads(__tstate); | |
26379 | if (PyErr_Occurred()) SWIG_fail; | |
26380 | } | |
26381 | Py_INCREF(Py_None); resultobj = Py_None; | |
26382 | return resultobj; | |
26383 | fail: | |
26384 | return NULL; | |
26385 | } | |
26386 | ||
26387 | ||
c370783e | 26388 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26389 | PyObject *resultobj; |
26390 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26391 | int result; | |
26392 | PyObject * obj0 = 0 ; | |
26393 | char *kwnames[] = { | |
26394 | (char *) "self", NULL | |
26395 | }; | |
26396 | ||
26397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26398 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26399 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26400 | { |
26401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26402 | result = (int)(arg1)->GetZoom(); | |
26403 | ||
26404 | wxPyEndAllowThreads(__tstate); | |
26405 | if (PyErr_Occurred()) SWIG_fail; | |
26406 | } | |
36ed4f51 RD |
26407 | { |
26408 | resultobj = SWIG_From_int((int)(result)); | |
26409 | } | |
d55e5bfc RD |
26410 | return resultobj; |
26411 | fail: | |
26412 | return NULL; | |
26413 | } | |
26414 | ||
26415 | ||
c370783e | 26416 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26417 | PyObject *resultobj; |
26418 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26419 | int result; | |
26420 | PyObject * obj0 = 0 ; | |
26421 | char *kwnames[] = { | |
26422 | (char *) "self", NULL | |
26423 | }; | |
26424 | ||
26425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26426 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26427 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26428 | { |
26429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26430 | result = (int)(arg1)->GetMaxPage(); | |
26431 | ||
26432 | wxPyEndAllowThreads(__tstate); | |
26433 | if (PyErr_Occurred()) SWIG_fail; | |
26434 | } | |
36ed4f51 RD |
26435 | { |
26436 | resultobj = SWIG_From_int((int)(result)); | |
26437 | } | |
d55e5bfc RD |
26438 | return resultobj; |
26439 | fail: | |
26440 | return NULL; | |
26441 | } | |
26442 | ||
26443 | ||
c370783e | 26444 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26445 | PyObject *resultobj; |
26446 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26447 | int result; | |
26448 | PyObject * obj0 = 0 ; | |
26449 | char *kwnames[] = { | |
26450 | (char *) "self", NULL | |
26451 | }; | |
26452 | ||
26453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26454 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26455 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26456 | { |
26457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26458 | result = (int)(arg1)->GetMinPage(); | |
26459 | ||
26460 | wxPyEndAllowThreads(__tstate); | |
26461 | if (PyErr_Occurred()) SWIG_fail; | |
26462 | } | |
36ed4f51 RD |
26463 | { |
26464 | resultobj = SWIG_From_int((int)(result)); | |
26465 | } | |
d55e5bfc RD |
26466 | return resultobj; |
26467 | fail: | |
26468 | return NULL; | |
26469 | } | |
26470 | ||
26471 | ||
c370783e | 26472 | static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26473 | PyObject *resultobj; |
26474 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26475 | bool result; | |
26476 | PyObject * obj0 = 0 ; | |
26477 | char *kwnames[] = { | |
26478 | (char *) "self", NULL | |
26479 | }; | |
26480 | ||
26481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26482 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26483 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26484 | { |
26485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26486 | result = (bool)(arg1)->Ok(); | |
26487 | ||
26488 | wxPyEndAllowThreads(__tstate); | |
26489 | if (PyErr_Occurred()) SWIG_fail; | |
26490 | } | |
26491 | { | |
26492 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26493 | } | |
26494 | return resultobj; | |
26495 | fail: | |
26496 | return NULL; | |
26497 | } | |
26498 | ||
26499 | ||
c370783e | 26500 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26501 | PyObject *resultobj; |
26502 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26503 | bool arg2 ; | |
26504 | PyObject * obj0 = 0 ; | |
26505 | PyObject * obj1 = 0 ; | |
26506 | char *kwnames[] = { | |
26507 | (char *) "self",(char *) "ok", NULL | |
26508 | }; | |
26509 | ||
26510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26511 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26512 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26513 | { | |
26514 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
26515 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26516 | } | |
d55e5bfc RD |
26517 | { |
26518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26519 | (arg1)->SetOk(arg2); | |
26520 | ||
26521 | wxPyEndAllowThreads(__tstate); | |
26522 | if (PyErr_Occurred()) SWIG_fail; | |
26523 | } | |
26524 | Py_INCREF(Py_None); resultobj = Py_None; | |
26525 | return resultobj; | |
26526 | fail: | |
26527 | return NULL; | |
26528 | } | |
26529 | ||
26530 | ||
c370783e | 26531 | static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26532 | PyObject *resultobj; |
26533 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26534 | bool arg2 ; | |
26535 | bool result; | |
26536 | PyObject * obj0 = 0 ; | |
26537 | PyObject * obj1 = 0 ; | |
26538 | char *kwnames[] = { | |
26539 | (char *) "self",(char *) "interactive", NULL | |
26540 | }; | |
26541 | ||
26542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26543 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26544 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26545 | { | |
26546 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
26547 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26548 | } | |
d55e5bfc RD |
26549 | { |
26550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26551 | result = (bool)(arg1)->Print(arg2); | |
26552 | ||
26553 | wxPyEndAllowThreads(__tstate); | |
26554 | if (PyErr_Occurred()) SWIG_fail; | |
26555 | } | |
26556 | { | |
26557 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26558 | } | |
26559 | return resultobj; | |
26560 | fail: | |
26561 | return NULL; | |
26562 | } | |
26563 | ||
26564 | ||
c370783e | 26565 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26566 | PyObject *resultobj; |
26567 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
26568 | PyObject * obj0 = 0 ; | |
26569 | char *kwnames[] = { | |
26570 | (char *) "self", NULL | |
26571 | }; | |
26572 | ||
26573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
26574 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26575 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26576 | { |
26577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26578 | (arg1)->DetermineScaling(); | |
26579 | ||
26580 | wxPyEndAllowThreads(__tstate); | |
26581 | if (PyErr_Occurred()) SWIG_fail; | |
26582 | } | |
26583 | Py_INCREF(Py_None); resultobj = Py_None; | |
26584 | return resultobj; | |
26585 | fail: | |
26586 | return NULL; | |
26587 | } | |
26588 | ||
26589 | ||
c370783e | 26590 | static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
26591 | PyObject *obj; |
26592 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
26593 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
26594 | Py_INCREF(obj); | |
26595 | return Py_BuildValue((char *)""); | |
26596 | } | |
c370783e | 26597 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) { |
d55e5bfc RD |
26598 | PyObject *resultobj; |
26599 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
26600 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
26601 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; | |
26602 | wxPyPrintPreview *result; | |
26603 | PyObject * obj0 = 0 ; | |
26604 | PyObject * obj1 = 0 ; | |
26605 | PyObject * obj2 = 0 ; | |
26606 | ||
26607 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26608 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
26609 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26610 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
26611 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc | 26612 | if (obj2) { |
36ed4f51 RD |
26613 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); |
26614 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26615 | } |
26616 | { | |
0439c23b | 26617 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
26618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
26619 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
26620 | ||
26621 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 26622 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
26623 | } |
26624 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
26625 | return resultobj; | |
26626 | fail: | |
26627 | return NULL; | |
26628 | } | |
26629 | ||
26630 | ||
c370783e | 26631 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) { |
d55e5bfc RD |
26632 | PyObject *resultobj; |
26633 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
26634 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
26635 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
26636 | wxPyPrintPreview *result; | |
26637 | PyObject * obj0 = 0 ; | |
26638 | PyObject * obj1 = 0 ; | |
26639 | PyObject * obj2 = 0 ; | |
26640 | ||
26641 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26642 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); |
26643 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26644 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); | |
26645 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26646 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); | |
26647 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc | 26648 | { |
0439c23b | 26649 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
26650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
26651 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
26652 | ||
26653 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 26654 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
26655 | } |
26656 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
26657 | return resultobj; | |
26658 | fail: | |
26659 | return NULL; | |
26660 | } | |
26661 | ||
26662 | ||
26663 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
26664 | int argc; | |
26665 | PyObject *argv[4]; | |
26666 | int ii; | |
26667 | ||
26668 | argc = PyObject_Length(args); | |
26669 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
26670 | argv[ii] = PyTuple_GetItem(args,ii); | |
26671 | } | |
26672 | if ((argc >= 2) && (argc <= 3)) { | |
26673 | int _v; | |
26674 | { | |
26675 | void *ptr; | |
26676 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26677 | _v = 0; | |
26678 | PyErr_Clear(); | |
26679 | } else { | |
26680 | _v = 1; | |
26681 | } | |
26682 | } | |
26683 | if (_v) { | |
26684 | { | |
26685 | void *ptr; | |
26686 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26687 | _v = 0; | |
26688 | PyErr_Clear(); | |
26689 | } else { | |
26690 | _v = 1; | |
26691 | } | |
26692 | } | |
26693 | if (_v) { | |
26694 | if (argc <= 2) { | |
26695 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
26696 | } | |
26697 | { | |
26698 | void *ptr; | |
26699 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
26700 | _v = 0; | |
26701 | PyErr_Clear(); | |
26702 | } else { | |
26703 | _v = 1; | |
26704 | } | |
26705 | } | |
26706 | if (_v) { | |
26707 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
26708 | } | |
26709 | } | |
26710 | } | |
26711 | } | |
26712 | if (argc == 3) { | |
26713 | int _v; | |
26714 | { | |
26715 | void *ptr; | |
26716 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26717 | _v = 0; | |
26718 | PyErr_Clear(); | |
26719 | } else { | |
26720 | _v = 1; | |
26721 | } | |
26722 | } | |
26723 | if (_v) { | |
26724 | { | |
26725 | void *ptr; | |
26726 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
26727 | _v = 0; | |
26728 | PyErr_Clear(); | |
26729 | } else { | |
26730 | _v = 1; | |
26731 | } | |
26732 | } | |
26733 | if (_v) { | |
26734 | { | |
26735 | void *ptr; | |
26736 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
26737 | _v = 0; | |
26738 | PyErr_Clear(); | |
26739 | } else { | |
26740 | _v = 1; | |
26741 | } | |
26742 | } | |
26743 | if (_v) { | |
26744 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); | |
26745 | } | |
26746 | } | |
26747 | } | |
26748 | } | |
26749 | ||
36ed4f51 | 26750 | PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'"); |
d55e5bfc RD |
26751 | return NULL; |
26752 | } | |
26753 | ||
26754 | ||
c370783e | 26755 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26756 | PyObject *resultobj; |
26757 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26758 | PyObject *arg2 = (PyObject *) 0 ; | |
26759 | PyObject *arg3 = (PyObject *) 0 ; | |
26760 | PyObject * obj0 = 0 ; | |
26761 | PyObject * obj1 = 0 ; | |
26762 | PyObject * obj2 = 0 ; | |
26763 | char *kwnames[] = { | |
26764 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
26765 | }; | |
26766 | ||
26767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26768 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26769 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
26770 | arg2 = obj1; |
26771 | arg3 = obj2; | |
26772 | { | |
26773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26774 | (arg1)->_setCallbackInfo(arg2,arg3); | |
26775 | ||
26776 | wxPyEndAllowThreads(__tstate); | |
26777 | if (PyErr_Occurred()) SWIG_fail; | |
26778 | } | |
26779 | Py_INCREF(Py_None); resultobj = Py_None; | |
26780 | return resultobj; | |
26781 | fail: | |
26782 | return NULL; | |
26783 | } | |
26784 | ||
26785 | ||
c370783e | 26786 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26787 | PyObject *resultobj; |
26788 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26789 | int arg2 ; | |
26790 | bool result; | |
26791 | PyObject * obj0 = 0 ; | |
26792 | PyObject * obj1 = 0 ; | |
26793 | char *kwnames[] = { | |
26794 | (char *) "self",(char *) "pageNum", NULL | |
26795 | }; | |
26796 | ||
26797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26798 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26799 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26800 | { | |
26801 | arg2 = (int)(SWIG_As_int(obj1)); | |
26802 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26803 | } | |
d55e5bfc RD |
26804 | { |
26805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26806 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
26807 | ||
26808 | wxPyEndAllowThreads(__tstate); | |
26809 | if (PyErr_Occurred()) SWIG_fail; | |
26810 | } | |
26811 | { | |
26812 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26813 | } | |
26814 | return resultobj; | |
26815 | fail: | |
26816 | return NULL; | |
26817 | } | |
26818 | ||
26819 | ||
c370783e | 26820 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26821 | PyObject *resultobj; |
26822 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26823 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26824 | wxDC *arg3 = 0 ; | |
26825 | bool result; | |
26826 | PyObject * obj0 = 0 ; | |
26827 | PyObject * obj1 = 0 ; | |
26828 | PyObject * obj2 = 0 ; | |
26829 | char *kwnames[] = { | |
26830 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26831 | }; | |
26832 | ||
26833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26834 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26835 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26836 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26837 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26838 | { | |
26839 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26840 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26841 | if (arg3 == NULL) { | |
26842 | SWIG_null_ref("wxDC"); | |
26843 | } | |
26844 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26845 | } |
26846 | { | |
26847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26848 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
26849 | ||
26850 | wxPyEndAllowThreads(__tstate); | |
26851 | if (PyErr_Occurred()) SWIG_fail; | |
26852 | } | |
26853 | { | |
26854 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26855 | } | |
26856 | return resultobj; | |
26857 | fail: | |
26858 | return NULL; | |
26859 | } | |
26860 | ||
26861 | ||
c370783e | 26862 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26863 | PyObject *resultobj; |
26864 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26865 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
26866 | wxDC *arg3 = 0 ; | |
26867 | bool result; | |
26868 | PyObject * obj0 = 0 ; | |
26869 | PyObject * obj1 = 0 ; | |
26870 | PyObject * obj2 = 0 ; | |
26871 | char *kwnames[] = { | |
26872 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
26873 | }; | |
26874 | ||
26875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
26876 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26877 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26878 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
26879 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26880 | { | |
26881 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
26882 | if (SWIG_arg_fail(3)) SWIG_fail; | |
26883 | if (arg3 == NULL) { | |
26884 | SWIG_null_ref("wxDC"); | |
26885 | } | |
26886 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
26887 | } |
26888 | { | |
26889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26890 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
26891 | ||
26892 | wxPyEndAllowThreads(__tstate); | |
26893 | if (PyErr_Occurred()) SWIG_fail; | |
26894 | } | |
26895 | { | |
26896 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26897 | } | |
26898 | return resultobj; | |
26899 | fail: | |
26900 | return NULL; | |
26901 | } | |
26902 | ||
26903 | ||
c370783e | 26904 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26905 | PyObject *resultobj; |
26906 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26907 | int arg2 ; | |
26908 | bool result; | |
26909 | PyObject * obj0 = 0 ; | |
26910 | PyObject * obj1 = 0 ; | |
26911 | char *kwnames[] = { | |
26912 | (char *) "self",(char *) "pageNum", NULL | |
26913 | }; | |
26914 | ||
26915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26916 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26917 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26918 | { | |
26919 | arg2 = (int)(SWIG_As_int(obj1)); | |
26920 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26921 | } | |
d55e5bfc RD |
26922 | { |
26923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26924 | result = (bool)(arg1)->base_RenderPage(arg2); | |
26925 | ||
26926 | wxPyEndAllowThreads(__tstate); | |
26927 | if (PyErr_Occurred()) SWIG_fail; | |
26928 | } | |
26929 | { | |
26930 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26931 | } | |
26932 | return resultobj; | |
26933 | fail: | |
26934 | return NULL; | |
26935 | } | |
26936 | ||
26937 | ||
c370783e | 26938 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26939 | PyObject *resultobj; |
26940 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26941 | int arg2 ; | |
26942 | PyObject * obj0 = 0 ; | |
26943 | PyObject * obj1 = 0 ; | |
26944 | char *kwnames[] = { | |
26945 | (char *) "self",(char *) "percent", NULL | |
26946 | }; | |
26947 | ||
26948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26949 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26950 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26951 | { | |
26952 | arg2 = (int)(SWIG_As_int(obj1)); | |
26953 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26954 | } | |
d55e5bfc RD |
26955 | { |
26956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26957 | (arg1)->base_SetZoom(arg2); | |
26958 | ||
26959 | wxPyEndAllowThreads(__tstate); | |
26960 | if (PyErr_Occurred()) SWIG_fail; | |
26961 | } | |
26962 | Py_INCREF(Py_None); resultobj = Py_None; | |
26963 | return resultobj; | |
26964 | fail: | |
26965 | return NULL; | |
26966 | } | |
26967 | ||
26968 | ||
c370783e | 26969 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
26970 | PyObject *resultobj; |
26971 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
26972 | bool arg2 ; | |
26973 | bool result; | |
26974 | PyObject * obj0 = 0 ; | |
26975 | PyObject * obj1 = 0 ; | |
26976 | char *kwnames[] = { | |
26977 | (char *) "self",(char *) "interactive", NULL | |
26978 | }; | |
26979 | ||
26980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
26981 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
26982 | if (SWIG_arg_fail(1)) SWIG_fail; | |
26983 | { | |
26984 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
26985 | if (SWIG_arg_fail(2)) SWIG_fail; | |
26986 | } | |
d55e5bfc RD |
26987 | { |
26988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26989 | result = (bool)(arg1)->base_Print(arg2); | |
26990 | ||
26991 | wxPyEndAllowThreads(__tstate); | |
26992 | if (PyErr_Occurred()) SWIG_fail; | |
26993 | } | |
26994 | { | |
26995 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
26996 | } | |
26997 | return resultobj; | |
26998 | fail: | |
26999 | return NULL; | |
27000 | } | |
27001 | ||
27002 | ||
c370783e | 27003 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27004 | PyObject *resultobj; |
27005 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
27006 | PyObject * obj0 = 0 ; | |
27007 | char *kwnames[] = { | |
27008 | (char *) "self", NULL | |
27009 | }; | |
27010 | ||
27011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
27012 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27013 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27014 | { |
27015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27016 | (arg1)->base_DetermineScaling(); | |
27017 | ||
27018 | wxPyEndAllowThreads(__tstate); | |
27019 | if (PyErr_Occurred()) SWIG_fail; | |
27020 | } | |
27021 | Py_INCREF(Py_None); resultobj = Py_None; | |
27022 | return resultobj; | |
27023 | fail: | |
27024 | return NULL; | |
27025 | } | |
27026 | ||
27027 | ||
c370783e | 27028 | static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
27029 | PyObject *obj; |
27030 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27031 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
27032 | Py_INCREF(obj); | |
27033 | return Py_BuildValue((char *)""); | |
27034 | } | |
c370783e | 27035 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27036 | PyObject *resultobj; |
27037 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
27038 | wxFrame *arg2 = (wxFrame *) 0 ; | |
27039 | wxString *arg3 = 0 ; | |
27040 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
27041 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
27042 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
27043 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
27044 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
27045 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
27046 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
27047 | wxPyPreviewFrame *result; | |
b411df4a | 27048 | bool temp3 = false ; |
d55e5bfc RD |
27049 | wxPoint temp4 ; |
27050 | wxSize temp5 ; | |
b411df4a | 27051 | bool temp7 = false ; |
d55e5bfc RD |
27052 | PyObject * obj0 = 0 ; |
27053 | PyObject * obj1 = 0 ; | |
27054 | PyObject * obj2 = 0 ; | |
27055 | PyObject * obj3 = 0 ; | |
27056 | PyObject * obj4 = 0 ; | |
27057 | PyObject * obj5 = 0 ; | |
27058 | PyObject * obj6 = 0 ; | |
27059 | char *kwnames[] = { | |
27060 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
27061 | }; | |
27062 | ||
27063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
27064 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27065 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27066 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); | |
27067 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
27068 | { |
27069 | arg3 = wxString_in_helper(obj2); | |
27070 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 27071 | temp3 = true; |
d55e5bfc RD |
27072 | } |
27073 | if (obj3) { | |
27074 | { | |
27075 | arg4 = &temp4; | |
27076 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
27077 | } | |
27078 | } | |
27079 | if (obj4) { | |
27080 | { | |
27081 | arg5 = &temp5; | |
27082 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
27083 | } | |
27084 | } | |
27085 | if (obj5) { | |
36ed4f51 RD |
27086 | { |
27087 | arg6 = (long)(SWIG_As_long(obj5)); | |
27088 | if (SWIG_arg_fail(6)) SWIG_fail; | |
27089 | } | |
d55e5bfc RD |
27090 | } |
27091 | if (obj6) { | |
27092 | { | |
27093 | arg7 = wxString_in_helper(obj6); | |
27094 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 27095 | temp7 = true; |
d55e5bfc RD |
27096 | } |
27097 | } | |
27098 | { | |
0439c23b | 27099 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
27100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
27101 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
27102 | ||
27103 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 27104 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
27105 | } |
27106 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); | |
27107 | { | |
27108 | if (temp3) | |
27109 | delete arg3; | |
27110 | } | |
27111 | { | |
27112 | if (temp7) | |
27113 | delete arg7; | |
27114 | } | |
27115 | return resultobj; | |
27116 | fail: | |
27117 | { | |
27118 | if (temp3) | |
27119 | delete arg3; | |
27120 | } | |
27121 | { | |
27122 | if (temp7) | |
27123 | delete arg7; | |
27124 | } | |
27125 | return NULL; | |
27126 | } | |
27127 | ||
27128 | ||
c370783e | 27129 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27130 | PyObject *resultobj; |
27131 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27132 | PyObject *arg2 = (PyObject *) 0 ; | |
27133 | PyObject *arg3 = (PyObject *) 0 ; | |
27134 | PyObject * obj0 = 0 ; | |
27135 | PyObject * obj1 = 0 ; | |
27136 | PyObject * obj2 = 0 ; | |
27137 | char *kwnames[] = { | |
27138 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
27139 | }; | |
27140 | ||
27141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
27142 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27143 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27144 | arg2 = obj1; |
27145 | arg3 = obj2; | |
27146 | { | |
27147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27148 | (arg1)->_setCallbackInfo(arg2,arg3); | |
27149 | ||
27150 | wxPyEndAllowThreads(__tstate); | |
27151 | if (PyErr_Occurred()) SWIG_fail; | |
27152 | } | |
27153 | Py_INCREF(Py_None); resultobj = Py_None; | |
27154 | return resultobj; | |
27155 | fail: | |
27156 | return NULL; | |
27157 | } | |
27158 | ||
27159 | ||
c370783e | 27160 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27161 | PyObject *resultobj; |
27162 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27163 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
27164 | PyObject * obj0 = 0 ; | |
27165 | PyObject * obj1 = 0 ; | |
27166 | char *kwnames[] = { | |
27167 | (char *) "self",(char *) "canvas", NULL | |
27168 | }; | |
27169 | ||
27170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
27171 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27172 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27173 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0); | |
27174 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
27175 | { |
27176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27177 | (arg1)->SetPreviewCanvas(arg2); | |
27178 | ||
27179 | wxPyEndAllowThreads(__tstate); | |
27180 | if (PyErr_Occurred()) SWIG_fail; | |
27181 | } | |
27182 | Py_INCREF(Py_None); resultobj = Py_None; | |
27183 | return resultobj; | |
27184 | fail: | |
27185 | return NULL; | |
27186 | } | |
27187 | ||
27188 | ||
c370783e | 27189 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27190 | PyObject *resultobj; |
27191 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27192 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
27193 | PyObject * obj0 = 0 ; | |
27194 | PyObject * obj1 = 0 ; | |
27195 | char *kwnames[] = { | |
27196 | (char *) "self",(char *) "bar", NULL | |
27197 | }; | |
27198 | ||
27199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
27200 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27201 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27202 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); | |
27203 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
27204 | { |
27205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27206 | (arg1)->SetControlBar(arg2); | |
27207 | ||
27208 | wxPyEndAllowThreads(__tstate); | |
27209 | if (PyErr_Occurred()) SWIG_fail; | |
27210 | } | |
27211 | Py_INCREF(Py_None); resultobj = Py_None; | |
27212 | return resultobj; | |
27213 | fail: | |
27214 | return NULL; | |
27215 | } | |
27216 | ||
27217 | ||
c370783e | 27218 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27219 | PyObject *resultobj; |
27220 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27221 | PyObject * obj0 = 0 ; | |
27222 | char *kwnames[] = { | |
27223 | (char *) "self", NULL | |
27224 | }; | |
27225 | ||
27226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
27227 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27228 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27229 | { |
27230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27231 | (arg1)->base_Initialize(); | |
27232 | ||
27233 | wxPyEndAllowThreads(__tstate); | |
27234 | if (PyErr_Occurred()) SWIG_fail; | |
27235 | } | |
27236 | Py_INCREF(Py_None); resultobj = Py_None; | |
27237 | return resultobj; | |
27238 | fail: | |
27239 | return NULL; | |
27240 | } | |
27241 | ||
27242 | ||
c370783e | 27243 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27244 | PyObject *resultobj; |
27245 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27246 | PyObject * obj0 = 0 ; | |
27247 | char *kwnames[] = { | |
27248 | (char *) "self", NULL | |
27249 | }; | |
27250 | ||
27251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
27252 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27253 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27254 | { |
27255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27256 | (arg1)->base_CreateCanvas(); | |
27257 | ||
27258 | wxPyEndAllowThreads(__tstate); | |
27259 | if (PyErr_Occurred()) SWIG_fail; | |
27260 | } | |
27261 | Py_INCREF(Py_None); resultobj = Py_None; | |
27262 | return resultobj; | |
27263 | fail: | |
27264 | return NULL; | |
27265 | } | |
27266 | ||
27267 | ||
c370783e | 27268 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27269 | PyObject *resultobj; |
27270 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
27271 | PyObject * obj0 = 0 ; | |
27272 | char *kwnames[] = { | |
27273 | (char *) "self", NULL | |
27274 | }; | |
27275 | ||
27276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
27277 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0); |
27278 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27279 | { |
27280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27281 | (arg1)->base_CreateControlBar(); | |
27282 | ||
27283 | wxPyEndAllowThreads(__tstate); | |
27284 | if (PyErr_Occurred()) SWIG_fail; | |
27285 | } | |
27286 | Py_INCREF(Py_None); resultobj = Py_None; | |
27287 | return resultobj; | |
27288 | fail: | |
27289 | return NULL; | |
27290 | } | |
27291 | ||
27292 | ||
c370783e | 27293 | static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
27294 | PyObject *obj; |
27295 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27296 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
27297 | Py_INCREF(obj); | |
27298 | return Py_BuildValue((char *)""); | |
27299 | } | |
c370783e | 27300 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27301 | PyObject *resultobj; |
27302 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
27303 | long arg2 ; | |
27304 | wxWindow *arg3 = (wxWindow *) 0 ; | |
27305 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
27306 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
27307 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
27308 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
27309 | long arg6 = (long) 0 ; | |
27310 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
27311 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
27312 | wxPyPreviewControlBar *result; | |
27313 | wxPoint temp4 ; | |
27314 | wxSize temp5 ; | |
b411df4a | 27315 | bool temp7 = false ; |
d55e5bfc RD |
27316 | PyObject * obj0 = 0 ; |
27317 | PyObject * obj1 = 0 ; | |
27318 | PyObject * obj2 = 0 ; | |
27319 | PyObject * obj3 = 0 ; | |
27320 | PyObject * obj4 = 0 ; | |
27321 | PyObject * obj5 = 0 ; | |
27322 | PyObject * obj6 = 0 ; | |
27323 | char *kwnames[] = { | |
27324 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
27325 | }; | |
27326 | ||
27327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
36ed4f51 RD |
27328 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); |
27329 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27330 | { | |
27331 | arg2 = (long)(SWIG_As_long(obj1)); | |
27332 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27333 | } | |
27334 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
27335 | if (SWIG_arg_fail(3)) SWIG_fail; | |
d55e5bfc RD |
27336 | if (obj3) { |
27337 | { | |
27338 | arg4 = &temp4; | |
27339 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
27340 | } | |
27341 | } | |
27342 | if (obj4) { | |
27343 | { | |
27344 | arg5 = &temp5; | |
27345 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
27346 | } | |
27347 | } | |
27348 | if (obj5) { | |
36ed4f51 RD |
27349 | { |
27350 | arg6 = (long)(SWIG_As_long(obj5)); | |
27351 | if (SWIG_arg_fail(6)) SWIG_fail; | |
27352 | } | |
d55e5bfc RD |
27353 | } |
27354 | if (obj6) { | |
27355 | { | |
27356 | arg7 = wxString_in_helper(obj6); | |
27357 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 27358 | temp7 = true; |
d55e5bfc RD |
27359 | } |
27360 | } | |
27361 | { | |
0439c23b | 27362 | if (!wxPyCheckForApp()) SWIG_fail; |
d55e5bfc RD |
27363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
27364 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
27365 | ||
27366 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 27367 | if (PyErr_Occurred()) SWIG_fail; |
d55e5bfc RD |
27368 | } |
27369 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); | |
27370 | { | |
27371 | if (temp7) | |
27372 | delete arg7; | |
27373 | } | |
27374 | return resultobj; | |
27375 | fail: | |
27376 | { | |
27377 | if (temp7) | |
27378 | delete arg7; | |
27379 | } | |
27380 | return NULL; | |
27381 | } | |
27382 | ||
27383 | ||
c370783e | 27384 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27385 | PyObject *resultobj; |
27386 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
27387 | PyObject *arg2 = (PyObject *) 0 ; | |
27388 | PyObject *arg3 = (PyObject *) 0 ; | |
27389 | PyObject * obj0 = 0 ; | |
27390 | PyObject * obj1 = 0 ; | |
27391 | PyObject * obj2 = 0 ; | |
27392 | char *kwnames[] = { | |
27393 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
27394 | }; | |
27395 | ||
27396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
36ed4f51 RD |
27397 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27398 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27399 | arg2 = obj1; |
27400 | arg3 = obj2; | |
27401 | { | |
27402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27403 | (arg1)->_setCallbackInfo(arg2,arg3); | |
27404 | ||
27405 | wxPyEndAllowThreads(__tstate); | |
27406 | if (PyErr_Occurred()) SWIG_fail; | |
27407 | } | |
27408 | Py_INCREF(Py_None); resultobj = Py_None; | |
27409 | return resultobj; | |
27410 | fail: | |
27411 | return NULL; | |
27412 | } | |
27413 | ||
27414 | ||
c370783e | 27415 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27416 | PyObject *resultobj; |
27417 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
27418 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
27419 | PyObject * obj0 = 0 ; | |
27420 | PyObject * obj1 = 0 ; | |
27421 | char *kwnames[] = { | |
27422 | (char *) "self",(char *) "preview", NULL | |
27423 | }; | |
27424 | ||
27425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
27426 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27427 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27428 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); | |
27429 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d55e5bfc RD |
27430 | { |
27431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27432 | (arg1)->SetPrintPreview(arg2); | |
27433 | ||
27434 | wxPyEndAllowThreads(__tstate); | |
27435 | if (PyErr_Occurred()) SWIG_fail; | |
27436 | } | |
27437 | Py_INCREF(Py_None); resultobj = Py_None; | |
27438 | return resultobj; | |
27439 | fail: | |
27440 | return NULL; | |
27441 | } | |
27442 | ||
27443 | ||
c370783e | 27444 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27445 | PyObject *resultobj; |
27446 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
27447 | PyObject * obj0 = 0 ; | |
27448 | char *kwnames[] = { | |
27449 | (char *) "self", NULL | |
27450 | }; | |
27451 | ||
27452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
36ed4f51 RD |
27453 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27454 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d55e5bfc RD |
27455 | { |
27456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27457 | (arg1)->base_CreateButtons(); | |
27458 | ||
27459 | wxPyEndAllowThreads(__tstate); | |
27460 | if (PyErr_Occurred()) SWIG_fail; | |
27461 | } | |
27462 | Py_INCREF(Py_None); resultobj = Py_None; | |
27463 | return resultobj; | |
27464 | fail: | |
27465 | return NULL; | |
27466 | } | |
27467 | ||
27468 | ||
c370783e | 27469 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d55e5bfc RD |
27470 | PyObject *resultobj; |
27471 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
27472 | int arg2 ; | |
27473 | PyObject * obj0 = 0 ; | |
27474 | PyObject * obj1 = 0 ; | |
27475 | char *kwnames[] = { | |
27476 | (char *) "self",(char *) "zoom", NULL | |
27477 | }; | |
27478 | ||
27479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; | |
36ed4f51 RD |
27480 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); |
27481 | if (SWIG_arg_fail(1)) SWIG_fail; | |
27482 | { | |
27483 | arg2 = (int)(SWIG_As_int(obj1)); | |
27484 | if (SWIG_arg_fail(2)) SWIG_fail; | |
27485 | } | |
d55e5bfc RD |
27486 | { |
27487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
27488 | (arg1)->base_SetZoomControl(arg2); | |
27489 | ||
27490 | wxPyEndAllowThreads(__tstate); | |
27491 | if (PyErr_Occurred()) SWIG_fail; | |
27492 | } | |
27493 | Py_INCREF(Py_None); resultobj = Py_None; | |
27494 | return resultobj; | |
27495 | fail: | |
27496 | return NULL; | |
27497 | } | |
27498 | ||
27499 | ||
c370783e | 27500 | static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d55e5bfc RD |
27501 | PyObject *obj; |
27502 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
27503 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
27504 | Py_INCREF(obj); | |
27505 | return Py_BuildValue((char *)""); | |
27506 | } | |
27507 | static PyMethodDef SwigMethods[] = { | |
36ed4f51 RD |
27508 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL}, |
27509 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27510 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27511 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27512 | { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27513 | { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27514 | { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27515 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL}, | |
27516 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27517 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27518 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27519 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27520 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27521 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27522 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27523 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27524 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27525 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27526 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27527 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27528 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27529 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27530 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL}, | |
27531 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL}, | |
27532 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27533 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27534 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27535 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27536 | { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27537 | { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27538 | { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27539 | { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27540 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL}, | |
27541 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27542 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27543 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27544 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27545 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27546 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27547 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27548 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27549 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27550 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27551 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27552 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27553 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27554 | { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27555 | { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27556 | { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27557 | { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27558 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL}, | |
27559 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27560 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27561 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27562 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27563 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27564 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27565 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27566 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27567 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27568 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27569 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27570 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27571 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27572 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27573 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27574 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27575 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27576 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27577 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27578 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27579 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27580 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27581 | { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27582 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL}, | |
27583 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27584 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27585 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27586 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27587 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27588 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27589 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
62d32a5f | 27590 | { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL}, |
36ed4f51 RD |
27591 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL}, |
27592 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27593 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27594 | { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27595 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL}, | |
27596 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27597 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27598 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27599 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL}, | |
27600 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27601 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27602 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27603 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL}, | |
27604 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27605 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27606 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27607 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27608 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL}, | |
27609 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27610 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27611 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27612 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27613 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27614 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27615 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27616 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27617 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27618 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27619 | { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27620 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27621 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27622 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27623 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27624 | { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27625 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL}, | |
27626 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27627 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27628 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27629 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27630 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27631 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27632 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27633 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27634 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27635 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27636 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27637 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27638 | { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27639 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27640 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27641 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27642 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27643 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27644 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27645 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27646 | { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27647 | { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27648 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27649 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27650 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27651 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27652 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27653 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27654 | { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27655 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL}, | |
27656 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27657 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27658 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27659 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27660 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27661 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27662 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL}, | |
27663 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27664 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27665 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27666 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27667 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27668 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27669 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27670 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27671 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27672 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27673 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27674 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27675 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27676 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27677 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27678 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27679 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27680 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27681 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27682 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27683 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27684 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27685 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL}, | |
27686 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27687 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27688 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27689 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27690 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27691 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27692 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27693 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL}, | |
27694 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27695 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27696 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27697 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27698 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27699 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27700 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27701 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27702 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27703 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27704 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27705 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL}, | |
27706 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27707 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27708 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27709 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27710 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27711 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL}, | |
27712 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27713 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27714 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27715 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27716 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27717 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27718 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27719 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27720 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL}, | |
27721 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27722 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27723 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27724 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27725 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27726 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL}, | |
27727 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27728 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27729 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL}, | |
27730 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27731 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27732 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL}, | |
27733 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27734 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27735 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27736 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL}, | |
27737 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27738 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27739 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27740 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27741 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27742 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27743 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27744 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27745 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27746 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27747 | { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27748 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27749 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27750 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
7993762b RD |
27751 | { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL}, |
27752 | { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27753 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 RD |
27754 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, |
27755 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 RD |
27756 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL}, |
27757 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27758 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27759 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27760 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27761 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27762 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27763 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27764 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27765 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27766 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27767 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27768 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27769 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27770 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27771 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27772 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27773 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27774 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27775 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27776 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27777 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27778 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27779 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27780 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27781 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27782 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL}, | |
27783 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27784 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27785 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27786 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27787 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27788 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27789 | { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27790 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL}, | |
27791 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27792 | { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27793 | { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27794 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27795 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27796 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27797 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27798 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27799 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL}, | |
27800 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27801 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL}, | |
27802 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27803 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27804 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27805 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27806 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27807 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27808 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27809 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27810 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL}, | |
27811 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27812 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27813 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL}, | |
27814 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27815 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27816 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27817 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27818 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27819 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27820 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL}, | |
27821 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27822 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27823 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27824 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27825 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27826 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27827 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27828 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27829 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27830 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27831 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27832 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27833 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27834 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27835 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27836 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27837 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27838 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL}, | |
27839 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27840 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27841 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27842 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL}, | |
27843 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27844 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27845 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27846 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27847 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL}, | |
27848 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27849 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27850 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27851 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL}, | |
27852 | { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27853 | { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL}, | |
27854 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27855 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27856 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27857 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27858 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27859 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27860 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27861 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27862 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27863 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27864 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27865 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27866 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27867 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27868 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27869 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL}, | |
27870 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27871 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27872 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL}, | |
27873 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27874 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL}, | |
27875 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27876 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27877 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27878 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL}, | |
27879 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27880 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27881 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27882 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27883 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27884 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27885 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27886 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27887 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL}, | |
27888 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27889 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27890 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27891 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27892 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27893 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27894 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27895 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27896 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL}, | |
27897 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27898 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27899 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27900 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27901 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27902 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL}, | |
27903 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27904 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27905 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27906 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27907 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27908 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27909 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27910 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27911 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27912 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27913 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27914 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL}, | |
27915 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27916 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27917 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27918 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27919 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27920 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27921 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL}, | |
27922 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27923 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27924 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27925 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL}, | |
27926 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27927 | { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27928 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27929 | { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27930 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27931 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27932 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27933 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27934 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27935 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27936 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27937 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27938 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27939 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27940 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27941 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27942 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27943 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27944 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27945 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27946 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27947 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27948 | { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 RD |
27949 | { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, |
27950 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL}, | |
27951 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27952 | { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27953 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27954 | { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27955 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27956 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27957 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27958 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27959 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27960 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27961 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27962 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27963 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27964 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27965 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27966 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27967 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27968 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27969 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27970 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27971 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27972 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27973 | { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 RD |
27974 | { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, |
27975 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL}, | |
27976 | { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27977 | { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27978 | { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27979 | { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27980 | { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27981 | { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27982 | { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27983 | { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27984 | { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27985 | { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27986 | { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27987 | { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27988 | { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27989 | { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27990 | { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27991 | { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27992 | { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27993 | { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27994 | { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27995 | { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27996 | { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27997 | { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27998 | { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 RD |
27999 | { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, |
28000 | { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL}, | |
28001 | { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL}, | |
28002 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28003 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28004 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28005 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28006 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28007 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28008 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28009 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28010 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28011 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28012 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28013 | { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28014 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28015 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28016 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28017 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28018 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28019 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28020 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28021 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28022 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28023 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28024 | { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28025 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28026 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28027 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL}, | |
7fbf8399 RD |
28028 | { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL}, |
28029 | { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 RD |
28030 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL}, |
28031 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28032 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28033 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28034 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28035 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28036 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28037 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28038 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28039 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28040 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28041 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28042 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28043 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28044 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28045 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28046 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28047 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28048 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL}, | |
28049 | { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL}, | |
28050 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28051 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28052 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28053 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28054 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28055 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28056 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28057 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28058 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28059 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28060 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28061 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28062 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28063 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28064 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28065 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28066 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28067 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28068 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28069 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28070 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28071 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28072 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28073 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28074 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28075 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28076 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28077 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28078 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28079 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
fef4c27a RD |
28080 | { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
28081 | { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 RD |
28082 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL}, |
28083 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28084 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28085 | { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28086 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28087 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL}, | |
28088 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL}, | |
28089 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28090 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28091 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28092 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28093 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28094 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28095 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28096 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28097 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28098 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28099 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28100 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28101 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28102 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28103 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28104 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28105 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28106 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28107 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28108 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28109 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28110 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28111 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28112 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28113 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28114 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28115 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28116 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28117 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28118 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28119 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28120 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28121 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL}, | |
28122 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28123 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28124 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28125 | { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28126 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28127 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL}, | |
28128 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28129 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28130 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28131 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28132 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28133 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28134 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28135 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28136 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28137 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28138 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL}, | |
28139 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28140 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28141 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28142 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28143 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28144 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28145 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28146 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28147 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28148 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28149 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28150 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28151 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28152 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28153 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28154 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28155 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28156 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28157 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28158 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28159 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28160 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28161 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL}, | |
28162 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28163 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL}, | |
28164 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28165 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28166 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28167 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28168 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28169 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL}, | |
28170 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28171 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28172 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28173 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28174 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28175 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28176 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28177 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28178 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28179 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL}, | |
28180 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL}, | |
28181 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28182 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28183 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28184 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28185 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28186 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28187 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28188 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28189 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28190 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28191 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28192 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28193 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28194 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28195 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28196 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28197 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28198 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28199 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28200 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28201 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28202 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28203 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL}, | |
28204 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL}, | |
28205 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28206 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28207 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28208 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28209 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28210 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28211 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28212 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28213 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL}, | |
28214 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28215 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28216 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28217 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28218 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28219 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28220 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28221 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL}, | |
28222 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28223 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28224 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28225 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28226 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
28227 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL}, | |
c370783e | 28228 | { NULL, NULL, 0, NULL } |
d55e5bfc RD |
28229 | }; |
28230 | ||
28231 | ||
28232 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
28233 | ||
28234 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
28235 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28236 | } | |
28237 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
28238 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
28239 | } | |
28240 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
28241 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
28242 | } | |
28243 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
28244 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
28245 | } | |
28246 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
28247 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
28248 | } | |
28249 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
28250 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
28251 | } | |
28252 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
28253 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
28254 | } | |
28255 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
28256 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28257 | } | |
28258 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
28259 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
28260 | } | |
28261 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
28262 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
28263 | } | |
28264 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
28265 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
28266 | } | |
28267 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
28268 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
28269 | } | |
28270 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
28271 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
28272 | } | |
28273 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
28274 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
28275 | } | |
28276 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
28277 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
28278 | } | |
28279 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
28280 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
28281 | } | |
28282 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
28283 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
28284 | } | |
28285 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
28286 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
28287 | } | |
28288 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
28289 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
28290 | } | |
28291 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
28292 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
28293 | } | |
28294 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
28295 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
28296 | } | |
28297 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
28298 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
28299 | } | |
53aa7709 RD |
28300 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { |
28301 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
28302 | } | |
d55e5bfc RD |
28303 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
28304 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
28305 | } | |
28306 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
28307 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
28308 | } | |
28309 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
28310 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
28311 | } | |
28312 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
28313 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
28314 | } | |
28315 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
28316 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
28317 | } | |
28318 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
28319 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
28320 | } | |
28321 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
28322 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
28323 | } | |
28324 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
28325 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
28326 | } | |
28327 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
28328 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
28329 | } | |
28330 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
28331 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
28332 | } | |
28333 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
28334 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
28335 | } | |
28336 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
28337 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
28338 | } | |
28339 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
28340 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
28341 | } | |
28342 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
28343 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
28344 | } | |
28345 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
28346 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
28347 | } | |
28348 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
28349 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
28350 | } | |
28351 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
28352 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
28353 | } | |
28354 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
28355 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
28356 | } | |
28357 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
28358 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
28359 | } | |
28360 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
28361 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
28362 | } | |
28363 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
28364 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28365 | } | |
070c48b4 RD |
28366 | static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) { |
28367 | return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28368 | } | |
d55e5bfc RD |
28369 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { |
28370 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
28371 | } | |
28372 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
28373 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
28374 | } | |
28375 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
28376 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
28377 | } | |
28378 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
28379 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
28380 | } | |
28381 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
28382 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
28383 | } | |
28384 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
28385 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
28386 | } | |
28387 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
28388 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
28389 | } | |
070c48b4 RD |
28390 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
28391 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28392 | } | |
d55e5bfc RD |
28393 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
28394 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
28395 | } | |
28396 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
28397 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
28398 | } | |
28399 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
28400 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
28401 | } | |
28402 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
28403 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
28404 | } | |
28405 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
28406 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
28407 | } | |
28408 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
28409 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
28410 | } | |
28411 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
28412 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
28413 | } | |
28414 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
28415 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
28416 | } | |
28417 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
28418 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
28419 | } | |
28420 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
28421 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
28422 | } | |
28423 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
28424 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
28425 | } | |
28426 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
28427 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
28428 | } | |
28429 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
28430 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
28431 | } | |
28432 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
28433 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
28434 | } | |
28435 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
28436 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
28437 | } | |
28438 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
28439 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
28440 | } | |
28441 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
28442 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
28443 | } | |
28444 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
28445 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
28446 | } | |
28447 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
28448 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
28449 | } | |
28450 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
28451 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
28452 | } | |
28453 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
28454 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
28455 | } | |
28456 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
28457 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
28458 | } | |
28459 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
28460 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
28461 | } | |
28462 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
28463 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
28464 | } | |
28465 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
28466 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28467 | } | |
28468 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
28469 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
28470 | } | |
28471 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
28472 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
28473 | } | |
28474 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
28475 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
28476 | } | |
28477 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
28478 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
28479 | } | |
28480 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
28481 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
28482 | } | |
28483 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
28484 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28485 | } | |
28486 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
28487 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28488 | } | |
28489 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
28490 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
28491 | } | |
28492 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
28493 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
28494 | } | |
5e483524 RD |
28495 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
28496 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d55e5bfc RD |
28497 | } |
28498 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
28499 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
28500 | } | |
d55e5bfc RD |
28501 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { |
28502 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
28503 | } | |
28504 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
28505 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
28506 | } | |
28507 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
28508 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
28509 | } | |
070c48b4 RD |
28510 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
28511 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
28512 | } | |
d55e5bfc RD |
28513 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
28514 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
28515 | } | |
28516 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
28517 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28518 | } | |
28519 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
28520 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
28521 | } | |
28522 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
28523 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
28524 | } | |
28525 | static void *_p_wxTipWindowTo_p_wxFrame(void *x) { | |
28526 | return (void *)((wxFrame *) ((wxTipWindow *) x)); | |
28527 | } | |
28528 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
28529 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
28530 | } | |
28531 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
28532 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28533 | } | |
28534 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
28535 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
28536 | } | |
28537 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
28538 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
28539 | } | |
28540 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
28541 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
28542 | } | |
28543 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
28544 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
28545 | } | |
28546 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
28547 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
28548 | } | |
28549 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
28550 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
28551 | } | |
28552 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
28553 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
28554 | } | |
28555 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
28556 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
28557 | } | |
28558 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
28559 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
28560 | } | |
28561 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
28562 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
28563 | } | |
28564 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
28565 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
28566 | } | |
28567 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
28568 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
28569 | } | |
28570 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
28571 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
28572 | } | |
28573 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
28574 | return (void *)((wxObject *) ((wxSizer *) x)); | |
28575 | } | |
28576 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
28577 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
28578 | } | |
28579 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
28580 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
28581 | } | |
28582 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
28583 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
28584 | } | |
28585 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
28586 | return (void *)((wxObject *) ((wxEvent *) x)); | |
28587 | } | |
28588 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
28589 | return (void *)((wxObject *) ((wxFontData *) x)); | |
28590 | } | |
28591 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
28592 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
28593 | } | |
28594 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
28595 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
28596 | } | |
28597 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
28598 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
28599 | } | |
28600 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
28601 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
28602 | } | |
28603 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
28604 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
28605 | } | |
5e483524 RD |
28606 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
28607 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d55e5bfc RD |
28608 | } |
28609 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
28610 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
28611 | } | |
28612 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
28613 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
28614 | } | |
28615 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
28616 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
28617 | } | |
28618 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
28619 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
28620 | } | |
28621 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
28622 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
28623 | } | |
28624 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
28625 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
28626 | } | |
28627 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
28628 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
28629 | } | |
28630 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
28631 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
28632 | } | |
28633 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
28634 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
28635 | } | |
28636 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
28637 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
28638 | } | |
28639 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
28640 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
28641 | } | |
28642 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
28643 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
28644 | } | |
28645 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
28646 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
28647 | } | |
28648 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
28649 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
28650 | } | |
28651 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
28652 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
28653 | } | |
28654 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
28655 | return (void *)((wxObject *) ((wxColourData *) x)); | |
28656 | } | |
28657 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
28658 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
28659 | } | |
28660 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
28661 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
28662 | } | |
28663 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
28664 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
28665 | } | |
28666 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
28667 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
28668 | } | |
28669 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
28670 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
28671 | } | |
28672 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
28673 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
28674 | } | |
28675 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
28676 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
28677 | } | |
28678 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
28679 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
28680 | } | |
070c48b4 RD |
28681 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
28682 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28683 | } | |
d55e5bfc RD |
28684 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
28685 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
28686 | } | |
28687 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
28688 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
28689 | } | |
28690 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
28691 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
28692 | } | |
28693 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
28694 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
28695 | } | |
28696 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
28697 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
28698 | } | |
28699 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
28700 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
28701 | } | |
53aa7709 RD |
28702 | static void *_p_wxDateEventTo_p_wxObject(void *x) { |
28703 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
28704 | } | |
d55e5bfc RD |
28705 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { |
28706 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
28707 | } | |
28708 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
28709 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
28710 | } | |
28711 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
28712 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
28713 | } | |
28714 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
28715 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
28716 | } | |
28717 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
28718 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
28719 | } | |
28720 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
28721 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
28722 | } | |
28723 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
28724 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
28725 | } | |
28726 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
28727 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
28728 | } | |
28729 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
28730 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
28731 | } | |
28732 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
28733 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
28734 | } | |
28735 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
28736 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
28737 | } | |
28738 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
28739 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
28740 | } | |
28741 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
28742 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
28743 | } | |
28744 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
28745 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
28746 | } | |
28747 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
28748 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
28749 | } | |
28750 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
28751 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
28752 | } | |
28753 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
28754 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
28755 | } | |
28756 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
28757 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
28758 | } | |
28759 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
28760 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
28761 | } | |
28762 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
28763 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
28764 | } | |
28765 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
28766 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
28767 | } | |
28768 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
28769 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
28770 | } | |
28771 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
28772 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28773 | } | |
28774 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
28775 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28776 | } | |
62d32a5f RD |
28777 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
28778 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
28779 | } | |
d55e5bfc RD |
28780 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
28781 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
28782 | } | |
28783 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
28784 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
28785 | } | |
28786 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
28787 | return (void *)((wxObject *) ((wxImage *) x)); | |
28788 | } | |
28789 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
28790 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
28791 | } | |
28792 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
28793 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
28794 | } | |
28795 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
28796 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
28797 | } | |
28798 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
28799 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
28800 | } | |
28801 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
28802 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
28803 | } | |
28804 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
28805 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
28806 | } | |
28807 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
28808 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
28809 | } | |
28810 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
28811 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
28812 | } | |
28813 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
28814 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
28815 | } | |
28816 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
28817 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
28818 | } | |
28819 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
28820 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
28821 | } | |
28822 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
28823 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
28824 | } | |
28825 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
28826 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
28827 | } | |
28828 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
28829 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
28830 | } | |
28831 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
28832 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
28833 | } | |
28834 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
28835 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
28836 | } | |
28837 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
28838 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
28839 | } | |
28840 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
28841 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
28842 | } | |
28843 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
28844 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
28845 | } | |
28846 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
28847 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
28848 | } | |
28849 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
28850 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
28851 | } | |
28852 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
28853 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
28854 | } | |
28855 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
28856 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
28857 | } | |
28858 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
28859 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
28860 | } | |
28861 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
28862 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
28863 | } | |
28864 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
28865 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
28866 | } | |
28867 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
28868 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
28869 | } | |
28870 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
28871 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
28872 | } | |
28873 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
28874 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
28875 | } | |
28876 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
28877 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
28878 | } | |
28879 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
28880 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
28881 | } | |
28882 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
28883 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
28884 | } | |
28885 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
6e0de3df | 28886 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); |
d55e5bfc RD |
28887 | } |
28888 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
070c48b4 | 28889 | return (void *)((wxObject *) ((wxPrintDialog *) x)); |
d55e5bfc RD |
28890 | } |
28891 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
28892 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
28893 | } | |
28894 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
28895 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
28896 | } | |
28897 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
28898 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
28899 | } | |
28900 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
28901 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
28902 | } | |
28903 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
28904 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
28905 | } | |
28906 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
28907 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
28908 | } | |
28909 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
28910 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
28911 | } | |
28912 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
28913 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
28914 | } | |
28915 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
28916 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
28917 | } | |
28918 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
28919 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
28920 | } | |
28921 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
28922 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
28923 | } | |
28924 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
28925 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
28926 | } | |
28927 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
28928 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
28929 | } | |
28930 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
28931 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
28932 | } | |
28933 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
28934 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
28935 | } | |
28936 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
28937 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
28938 | } | |
28939 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
28940 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
28941 | } | |
28942 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
28943 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
28944 | } | |
28945 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
28946 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
28947 | } | |
28948 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
28949 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
28950 | } | |
28951 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
28952 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
28953 | } | |
28954 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
28955 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
28956 | } | |
28957 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
28958 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
28959 | } | |
28960 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
28961 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
28962 | } | |
28963 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
28964 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
28965 | } | |
28966 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
28967 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
28968 | } | |
28969 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
28970 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
28971 | } | |
28972 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
28973 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
28974 | } | |
28975 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
28976 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
28977 | } | |
d55e5bfc RD |
28978 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { |
28979 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
28980 | } | |
28981 | static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) { | |
28982 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x)); | |
28983 | } | |
28984 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
28985 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
28986 | } | |
28987 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
28988 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
28989 | } | |
d55e5bfc RD |
28990 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { |
28991 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
28992 | } | |
070c48b4 RD |
28993 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { |
28994 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
28995 | } | |
d55e5bfc RD |
28996 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { |
28997 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
28998 | } | |
28999 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
29000 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
29001 | } | |
29002 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
29003 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
29004 | } | |
29005 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
29006 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
29007 | } | |
070c48b4 RD |
29008 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { |
29009 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
29010 | } | |
d55e5bfc RD |
29011 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { |
29012 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
29013 | } | |
29014 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
29015 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
29016 | } | |
29017 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
29018 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
29019 | } | |
29020 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
29021 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
29022 | } | |
29023 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
29024 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
29025 | } | |
29026 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
29027 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
29028 | } | |
29029 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
29030 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
29031 | } | |
29032 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
29033 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
29034 | } | |
29035 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
29036 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
29037 | } | |
29038 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
29039 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
29040 | } | |
070c48b4 RD |
29041 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
29042 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
29043 | } | |
d55e5bfc RD |
29044 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
29045 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
29046 | } | |
29047 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
29048 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
29049 | } | |
29050 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
29051 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
29052 | } | |
29053 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
29054 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
29055 | } | |
29056 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
29057 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
29058 | } | |
29059 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
29060 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
29061 | } | |
d55e5bfc RD |
29062 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
29063 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
29064 | } | |
29065 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
29066 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
29067 | } | |
29068 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
29069 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
29070 | } | |
29071 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
29072 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
29073 | } | |
29074 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
29075 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
29076 | } | |
29077 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
29078 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
29079 | } | |
29080 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
29081 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
29082 | } | |
29083 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
29084 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
29085 | } | |
29086 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
29087 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
29088 | } | |
29089 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
29090 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
29091 | } | |
070c48b4 RD |
29092 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
29093 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
29094 | } | |
d55e5bfc RD |
29095 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
29096 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
29097 | } | |
29098 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
29099 | return (void *)((wxWindow *) ((wxControl *) x)); | |
29100 | } | |
29101 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
29102 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
29103 | } | |
29104 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
29105 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
29106 | } | |
29107 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
29108 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
29109 | } | |
29110 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
29111 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
29112 | } | |
29113 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
29114 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
29115 | } | |
29116 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
29117 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
29118 | } | |
29119 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
29120 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
29121 | } | |
29122 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
29123 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
29124 | } | |
29125 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
29126 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
29127 | } | |
29128 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
29129 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29130 | } | |
29131 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
29132 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
29133 | } | |
29134 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
29135 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
29136 | } | |
29137 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
29138 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
29139 | } | |
29140 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
29141 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
29142 | } | |
29143 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
29144 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
29145 | } | |
d55e5bfc RD |
29146 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
29147 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
29148 | } | |
29149 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { | |
29150 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
29151 | } | |
29152 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
29153 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
29154 | } | |
29155 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
29156 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
29157 | } | |
29158 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
29159 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
29160 | } | |
29161 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
29162 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
29163 | } | |
29164 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
29165 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
29166 | } | |
d55e5bfc RD |
29167 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { |
29168 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
29169 | } | |
29170 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
29171 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
29172 | } | |
29173 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
29174 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
29175 | } | |
29176 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
29177 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
29178 | } | |
070c48b4 RD |
29179 | static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) { |
29180 | return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
29181 | } | |
d55e5bfc RD |
29182 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { |
29183 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
29184 | } | |
29185 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
29186 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
29187 | } | |
29188 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
29189 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
29190 | } | |
29191 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
29192 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
29193 | } | |
29194 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { | |
29195 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
29196 | } | |
29197 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
29198 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
29199 | } | |
29200 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
29201 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
29202 | } | |
29203 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
29204 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
29205 | } | |
29206 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
29207 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
29208 | } | |
29209 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
29210 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
29211 | } | |
29212 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
29213 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29214 | } | |
29215 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
29216 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
29217 | } | |
29218 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
29219 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
29220 | } | |
29221 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
29222 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
29223 | } | |
53aa7709 RD |
29224 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { |
29225 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
29226 | } | |
d55e5bfc RD |
29227 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { |
29228 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
29229 | } | |
29230 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
29231 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
29232 | } | |
29233 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
29234 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
29235 | } | |
29236 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
29237 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
29238 | } | |
29239 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
29240 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
29241 | } | |
29242 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
29243 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
29244 | } | |
29245 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
29246 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
29247 | } | |
29248 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
29249 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
29250 | } | |
29251 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
29252 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
29253 | } | |
29254 | 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}}; | |
29255 | 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}}; | |
29256 | 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}}; | |
29257 | 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}}; | |
29258 | 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 | 29259 | 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}}; |
53aa7709 | 29260 | 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_wxDateEvent", _p_wxDateEventTo_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 | 29261 | 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 | 29262 | 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 | 29263 | 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 |
29264 | 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}}; |
29265 | 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}}; | |
29266 | 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}}; | |
29267 | 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}}; | |
29268 | 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}}; | |
29269 | 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}}; | |
29270 | static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
36ed4f51 RD |
29271 | 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}}; |
29272 | 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 |
29273 | 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}}; |
29274 | 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}}; | |
29275 | 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}}; | |
29276 | 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}}; | |
29277 | 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 | 29278 | 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 |
29279 | 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}}; |
29280 | 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}}; | |
29281 | 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}}; | |
29282 | static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0, 0, 0, 0},{"_p_wxPyWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
36ed4f51 | 29283 | 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 | 29284 | static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0, 0, 0, 0},{"_p_wxSplashScreen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
070c48b4 | 29285 | 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 |
29286 | 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}}; |
29287 | 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}}; | |
29288 | static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0, 0, 0, 0},{"_p_wxFileDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
070c48b4 | 29289 | static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
36ed4f51 RD |
29290 | 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}}; |
29291 | 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}}; | |
29292 | 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 |
29293 | 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}}; |
29294 | static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
36ed4f51 | 29295 | static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
6e0de3df | 29296 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d55e5bfc RD |
29297 | 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}}; |
29298 | 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}}; | |
29299 | 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}}; | |
29300 | 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 | 29301 | 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 |
29302 | 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}}; |
29303 | 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}}; | |
29304 | static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
29305 | 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}}; | |
29306 | 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}}; | |
29307 | static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
36ed4f51 | 29308 | 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 |
29309 | 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}}; |
29310 | 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}}; | |
29311 | 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}}; | |
53aa7709 | 29312 | 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_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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_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_wxTIFFHandler", _p_wxTIFFHandlerTo_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_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
36ed4f51 | 29313 | 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 |
29314 | 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}}; |
29315 | static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
29316 | 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}}; | |
29317 | static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
f5b96ee1 | 29318 | 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 |
29319 | 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}}; |
29320 | static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
29321 | static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
6e0de3df RD |
29322 | static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
29323 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
d55e5bfc | 29324 | 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 | 29325 | static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
36ed4f51 | 29326 | 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 | 29327 | 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 |
29328 | 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}}; |
29329 | 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}}; | |
29330 | 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}}; | |
29331 | 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 |
29332 | 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}}; |
29333 | static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0, 0, 0, 0},{"_p_wxColourDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
6e0de3df | 29334 | 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 | 29335 | static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
36ed4f51 | 29336 | 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 |
29337 | 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}}; |
29338 | static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
d6c14a4c | 29339 | 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 | 29340 | static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
36ed4f51 RD |
29341 | 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}}; |
29342 | 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}}; | |
29343 | 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}}; | |
53aa7709 | 29344 | 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_wxDateEvent", _p_wxDateEventTo_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}}; |
d55e5bfc RD |
29345 | 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}}; |
29346 | 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}}; | |
29347 | 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}}; | |
29348 | 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}}; | |
29349 | 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}}; | |
29350 | 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}}; | |
29351 | ||
29352 | static swig_type_info *swig_types_initial[] = { | |
29353 | _swigt__p_wxQueryLayoutInfoEvent, | |
29354 | _swigt__p_wxPreviewFrame, | |
29355 | _swigt__p_wxPyPreviewFrame, | |
29356 | _swigt__p_wxPyPanel, | |
29357 | _swigt__p_wxMenu, | |
d55e5bfc RD |
29358 | _swigt__p_wxFontData, |
29359 | _swigt__p_wxEvent, | |
f5b96ee1 | 29360 | _swigt__p_wxPrintData, |
d55e5bfc | 29361 | _swigt__p_wxTaskBarIcon, |
5e483524 | 29362 | _swigt__p_wxPyTaskBarIcon, |
d55e5bfc RD |
29363 | _swigt__p_wxIconBundle, |
29364 | _swigt__p_wxLayoutAlgorithm, | |
29365 | _swigt__p_wxFindDialogEvent, | |
29366 | _swigt__p_wxPreviewCanvas, | |
29367 | _swigt__p_wxFont, | |
29368 | _swigt__p_wxSplitterEvent, | |
29369 | _swigt__p_wxRegion, | |
36ed4f51 RD |
29370 | _swigt__ptrdiff_t, |
29371 | _swigt__std__ptrdiff_t, | |
d55e5bfc RD |
29372 | _swigt__p_wxFindReplaceData, |
29373 | _swigt__p_int, | |
29374 | _swigt__p_wxSize, | |
29375 | _swigt__p_wxDC, | |
29376 | _swigt__p_wxIcon, | |
f20a2e1f | 29377 | _swigt__p_wxVisualAttributes, |
d55e5bfc RD |
29378 | _swigt__p_wxMDIChildFrame, |
29379 | _swigt__p_wxColourData, | |
29380 | _swigt__p_wxNotifyEvent, | |
29381 | _swigt__p_wxPyWindow, | |
36ed4f51 | 29382 | _swigt__p_form_ops_t, |
d55e5bfc | 29383 | _swigt__p_wxSplashScreen, |
070c48b4 | 29384 | _swigt__p_wxPasswordEntryDialog, |
d55e5bfc RD |
29385 | _swigt__p_wxSingleChoiceDialog, |
29386 | _swigt__p_wxMultiChoiceDialog, | |
29387 | _swigt__p_wxFileDialog, | |
070c48b4 | 29388 | _swigt__p_wxTextEntryDialog, |
36ed4f51 RD |
29389 | _swigt__p_wxMessageDialog, |
29390 | _swigt__p_wxProgressDialog, | |
29391 | _swigt__p_wxFindReplaceDialog, | |
d55e5bfc RD |
29392 | _swigt__p_wxPrinter, |
29393 | _swigt__p_wxArrayInt, | |
36ed4f51 | 29394 | _swigt__p_wxDuplexMode, |
d55e5bfc RD |
29395 | _swigt__p_wxEvtHandler, |
29396 | _swigt__p_wxCalculateLayoutEvent, | |
29397 | _swigt__p_wxPyHtmlListBox, | |
29398 | _swigt__p_wxPyVListBox, | |
29399 | _swigt__p_wxRect, | |
62d32a5f | 29400 | _swigt__p_wxStdDialogButtonSizer, |
d55e5bfc RD |
29401 | _swigt__p_char, |
29402 | _swigt__p_wxMiniFrame, | |
29403 | _swigt__p_wxFrame, | |
29404 | _swigt__p_wxPyPrintout, | |
29405 | _swigt__p_wxTaskBarIconEvent, | |
29406 | _swigt__p_wxScrollWinEvent, | |
36ed4f51 | 29407 | _swigt__p_wxPaperSize, |
d55e5bfc RD |
29408 | _swigt__p_wxStatusBar, |
29409 | _swigt__p_wxMDIParentFrame, | |
29410 | _swigt__p_wxPoint, | |
29411 | _swigt__p_wxObject, | |
36ed4f51 | 29412 | _swigt__p_unsigned_long, |
d55e5bfc RD |
29413 | _swigt__p_wxTipWindow, |
29414 | _swigt__p_wxPyPopupTransientWindow, | |
29415 | _swigt__p_wxSashLayoutWindow, | |
29416 | _swigt__p_wxSplitterWindow, | |
f5b96ee1 | 29417 | _swigt__p_wxSplashScreenWindow, |
d55e5bfc RD |
29418 | _swigt__p_wxPyVScrolledWindow, |
29419 | _swigt__p_wxPopupWindow, | |
29420 | _swigt__p_wxSashWindow, | |
29421 | _swigt__p_wxTopLevelWindow, | |
29422 | _swigt__p_wxWindow, | |
29423 | _swigt__p_wxScrolledWindow, | |
d55e5bfc | 29424 | _swigt__p_wxMenuBar, |
36ed4f51 | 29425 | _swigt__p_wxMDIClientWindow, |
5e483524 | 29426 | _swigt__p_wxPyScrolledWindow, |
d55e5bfc RD |
29427 | _swigt__p_wxPrintPreview, |
29428 | _swigt__p_wxSashEvent, | |
29429 | _swigt__p_wxString, | |
29430 | _swigt__p_wxPyPrintPreview, | |
d55e5bfc RD |
29431 | _swigt__p_wxDirDialog, |
29432 | _swigt__p_wxColourDialog, | |
29433 | _swigt__p_wxDialog, | |
29434 | _swigt__p_wxPanel, | |
36ed4f51 | 29435 | _swigt__p_wxFontDialog, |
d55e5bfc RD |
29436 | _swigt__p_wxPageSetupDialog, |
29437 | _swigt__p_wxPrintDialog, | |
d6c14a4c | 29438 | _swigt__p_wxFileSystem, |
d55e5bfc | 29439 | _swigt__p_wxBitmap, |
36ed4f51 RD |
29440 | _swigt__unsigned_int, |
29441 | _swigt__p_unsigned_int, | |
29442 | _swigt__p_unsigned_char, | |
d55e5bfc RD |
29443 | _swigt__p_wxCommandEvent, |
29444 | _swigt__p_wxPreviewControlBar, | |
29445 | _swigt__p_wxPyPreviewControlBar, | |
29446 | _swigt__p_wxColour, | |
29447 | _swigt__p_wxToolBar, | |
29448 | _swigt__p_wxPageSetupDialogData, | |
29449 | _swigt__p_wxPrintDialogData, | |
29450 | 0 | |
29451 | }; | |
29452 | ||
29453 | ||
29454 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
29455 | ||
29456 | static swig_const_info swig_const_table[] = { | |
c370783e | 29457 | {0, 0, 0, 0.0, 0, 0}}; |
d55e5bfc RD |
29458 | |
29459 | #ifdef __cplusplus | |
29460 | } | |
29461 | #endif | |
29462 | ||
36ed4f51 RD |
29463 | |
29464 | #ifdef __cplusplus | |
29465 | extern "C" { | |
29466 | #endif | |
29467 | ||
29468 | /* Python-specific SWIG API */ | |
29469 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
29470 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
29471 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
29472 | ||
29473 | /* ----------------------------------------------------------------------------- | |
29474 | * global variable support code. | |
29475 | * ----------------------------------------------------------------------------- */ | |
29476 | ||
29477 | typedef struct swig_globalvar { | |
29478 | char *name; /* Name of global variable */ | |
29479 | PyObject *(*get_attr)(); /* Return the current value */ | |
29480 | int (*set_attr)(PyObject *); /* Set the value */ | |
29481 | struct swig_globalvar *next; | |
29482 | } swig_globalvar; | |
29483 | ||
29484 | typedef struct swig_varlinkobject { | |
29485 | PyObject_HEAD | |
29486 | swig_globalvar *vars; | |
29487 | } swig_varlinkobject; | |
29488 | ||
29489 | static PyObject * | |
29490 | swig_varlink_repr(swig_varlinkobject *v) { | |
29491 | v = v; | |
29492 | return PyString_FromString("<Swig global variables>"); | |
29493 | } | |
29494 | ||
29495 | static int | |
29496 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { | |
29497 | swig_globalvar *var; | |
29498 | flags = flags; | |
29499 | fprintf(fp,"Swig global variables { "); | |
29500 | for (var = v->vars; var; var=var->next) { | |
29501 | fprintf(fp,"%s", var->name); | |
29502 | if (var->next) fprintf(fp,", "); | |
29503 | } | |
29504 | fprintf(fp," }\n"); | |
29505 | return 0; | |
29506 | } | |
29507 | ||
29508 | static PyObject * | |
29509 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
29510 | swig_globalvar *var = v->vars; | |
29511 | while (var) { | |
29512 | if (strcmp(var->name,n) == 0) { | |
29513 | return (*var->get_attr)(); | |
29514 | } | |
29515 | var = var->next; | |
29516 | } | |
29517 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
29518 | return NULL; | |
29519 | } | |
29520 | ||
29521 | static int | |
29522 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
29523 | swig_globalvar *var = v->vars; | |
29524 | while (var) { | |
29525 | if (strcmp(var->name,n) == 0) { | |
29526 | return (*var->set_attr)(p); | |
29527 | } | |
29528 | var = var->next; | |
29529 | } | |
29530 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
29531 | return 1; | |
29532 | } | |
29533 | ||
29534 | static PyTypeObject varlinktype = { | |
29535 | PyObject_HEAD_INIT(0) | |
29536 | 0, /* Number of items in variable part (ob_size) */ | |
29537 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
29538 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
29539 | 0, /* Itemsize (tp_itemsize) */ | |
29540 | 0, /* Deallocator (tp_dealloc) */ | |
29541 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
29542 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
29543 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
29544 | 0, /* tp_compare */ | |
29545 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
29546 | 0, /* tp_as_number */ | |
29547 | 0, /* tp_as_sequence */ | |
29548 | 0, /* tp_as_mapping */ | |
29549 | 0, /* tp_hash */ | |
29550 | 0, /* tp_call */ | |
29551 | 0, /* tp_str */ | |
29552 | 0, /* tp_getattro */ | |
29553 | 0, /* tp_setattro */ | |
29554 | 0, /* tp_as_buffer */ | |
29555 | 0, /* tp_flags */ | |
29556 | 0, /* tp_doc */ | |
29557 | #if PY_VERSION_HEX >= 0x02000000 | |
29558 | 0, /* tp_traverse */ | |
29559 | 0, /* tp_clear */ | |
29560 | #endif | |
29561 | #if PY_VERSION_HEX >= 0x02010000 | |
29562 | 0, /* tp_richcompare */ | |
29563 | 0, /* tp_weaklistoffset */ | |
29564 | #endif | |
29565 | #if PY_VERSION_HEX >= 0x02020000 | |
29566 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
29567 | #endif | |
29568 | #if PY_VERSION_HEX >= 0x02030000 | |
29569 | 0, /* tp_del */ | |
29570 | #endif | |
29571 | #ifdef COUNT_ALLOCS | |
29572 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
29573 | #endif | |
29574 | }; | |
29575 | ||
29576 | /* Create a variable linking object for use later */ | |
29577 | static PyObject * | |
29578 | SWIG_Python_newvarlink(void) { | |
29579 | swig_varlinkobject *result = 0; | |
29580 | result = PyMem_NEW(swig_varlinkobject,1); | |
29581 | varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */ | |
29582 | result->ob_type = &varlinktype; | |
29583 | result->vars = 0; | |
29584 | result->ob_refcnt = 0; | |
29585 | Py_XINCREF((PyObject *) result); | |
29586 | return ((PyObject*) result); | |
29587 | } | |
29588 | ||
29589 | static void | |
29590 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
29591 | swig_varlinkobject *v; | |
29592 | swig_globalvar *gv; | |
29593 | v= (swig_varlinkobject *) p; | |
29594 | gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
29595 | gv->name = (char *) malloc(strlen(name)+1); | |
29596 | strcpy(gv->name,name); | |
29597 | gv->get_attr = get_attr; | |
29598 | gv->set_attr = set_attr; | |
29599 | gv->next = v->vars; | |
29600 | v->vars = gv; | |
29601 | } | |
29602 | ||
29603 | /* ----------------------------------------------------------------------------- | |
29604 | * constants/methods manipulation | |
29605 | * ----------------------------------------------------------------------------- */ | |
29606 | ||
29607 | /* Install Constants */ | |
29608 | static void | |
29609 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
29610 | PyObject *obj = 0; | |
29611 | size_t i; | |
29612 | for (i = 0; constants[i].type; i++) { | |
29613 | switch(constants[i].type) { | |
29614 | case SWIG_PY_INT: | |
29615 | obj = PyInt_FromLong(constants[i].lvalue); | |
29616 | break; | |
29617 | case SWIG_PY_FLOAT: | |
29618 | obj = PyFloat_FromDouble(constants[i].dvalue); | |
29619 | break; | |
29620 | case SWIG_PY_STRING: | |
29621 | if (constants[i].pvalue) { | |
29622 | obj = PyString_FromString((char *) constants[i].pvalue); | |
29623 | } else { | |
29624 | Py_INCREF(Py_None); | |
29625 | obj = Py_None; | |
29626 | } | |
29627 | break; | |
29628 | case SWIG_PY_POINTER: | |
29629 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
29630 | break; | |
29631 | case SWIG_PY_BINARY: | |
29632 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
29633 | break; | |
29634 | default: | |
29635 | obj = 0; | |
29636 | break; | |
29637 | } | |
29638 | if (obj) { | |
29639 | PyDict_SetItemString(d,constants[i].name,obj); | |
29640 | Py_DECREF(obj); | |
29641 | } | |
29642 | } | |
29643 | } | |
29644 | ||
29645 | /* -----------------------------------------------------------------------------*/ | |
29646 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
29647 | /* -----------------------------------------------------------------------------*/ | |
29648 | ||
29649 | static void | |
29650 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
29651 | swig_const_info *const_table, | |
29652 | swig_type_info **types, | |
29653 | swig_type_info **types_initial) { | |
29654 | size_t i; | |
29655 | for (i = 0; methods[i].ml_name; ++i) { | |
29656 | char *c = methods[i].ml_doc; | |
29657 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
29658 | int j; | |
29659 | swig_const_info *ci = 0; | |
29660 | char *name = c + 10; | |
29661 | for (j = 0; const_table[j].type; j++) { | |
29662 | if (strncmp(const_table[j].name, name, | |
29663 | strlen(const_table[j].name)) == 0) { | |
29664 | ci = &(const_table[j]); | |
29665 | break; | |
29666 | } | |
29667 | } | |
29668 | if (ci) { | |
29669 | size_t shift = (ci->ptype) - types; | |
29670 | swig_type_info *ty = types_initial[shift]; | |
29671 | size_t ldoc = (c - methods[i].ml_doc); | |
29672 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
29673 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
29674 | char *buff = ndoc; | |
29675 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue); | |
29676 | strncpy(buff, methods[i].ml_doc, ldoc); | |
29677 | buff += ldoc; | |
29678 | strncpy(buff, "swig_ptr: ", 10); | |
29679 | buff += 10; | |
29680 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
29681 | methods[i].ml_doc = ndoc; | |
29682 | } | |
29683 | } | |
29684 | } | |
29685 | } | |
29686 | ||
29687 | /* -----------------------------------------------------------------------------* | |
29688 | * Initialize type list | |
29689 | * -----------------------------------------------------------------------------*/ | |
29690 | ||
29691 | #if PY_MAJOR_VERSION < 2 | |
29692 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
29693 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
29694 | static int | |
29695 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
29696 | { | |
29697 | PyObject *dict; | |
29698 | if (!PyModule_Check(m)) { | |
29699 | PyErr_SetString(PyExc_TypeError, | |
29700 | "PyModule_AddObject() needs module as first arg"); | |
29701 | return -1; | |
29702 | } | |
29703 | if (!o) { | |
29704 | PyErr_SetString(PyExc_TypeError, | |
29705 | "PyModule_AddObject() needs non-NULL value"); | |
29706 | return -1; | |
29707 | } | |
29708 | ||
29709 | dict = PyModule_GetDict(m); | |
29710 | if (dict == NULL) { | |
29711 | /* Internal error -- modules must have a dict! */ | |
29712 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
29713 | PyModule_GetName(m)); | |
29714 | return -1; | |
29715 | } | |
29716 | if (PyDict_SetItemString(dict, name, o)) | |
29717 | return -1; | |
29718 | Py_DECREF(o); | |
29719 | return 0; | |
29720 | } | |
29721 | #endif | |
29722 | ||
29723 | static swig_type_info ** | |
29724 | SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) { | |
29725 | static PyMethodDef swig_empty_runtime_method_table[] = { | |
29726 | { | |
29727 | NULL, NULL, 0, NULL | |
29728 | } | |
29729 | };/* Sentinel */ | |
29730 | ||
29731 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
29732 | swig_empty_runtime_method_table); | |
29733 | PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL); | |
29734 | if (pointer && module) { | |
29735 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
29736 | } | |
29737 | return type_list_handle; | |
29738 | } | |
29739 | ||
29740 | static swig_type_info ** | |
29741 | SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) { | |
29742 | swig_type_info **type_pointer; | |
29743 | ||
29744 | /* first check if module already created */ | |
29745 | type_pointer = SWIG_Python_GetTypeListHandle(); | |
29746 | if (type_pointer) { | |
29747 | return type_pointer; | |
29748 | } else { | |
29749 | /* create a new module and variable */ | |
29750 | return SWIG_Python_SetTypeListHandle(type_list_handle); | |
29751 | } | |
29752 | } | |
29753 | ||
29754 | #ifdef __cplusplus | |
29755 | } | |
29756 | #endif | |
29757 | ||
29758 | /* -----------------------------------------------------------------------------* | |
29759 | * Partial Init method | |
29760 | * -----------------------------------------------------------------------------*/ | |
29761 | ||
29762 | #ifdef SWIG_LINK_RUNTIME | |
29763 | #ifdef __cplusplus | |
29764 | extern "C" | |
29765 | #endif | |
29766 | SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); | |
29767 | #endif | |
29768 | ||
d55e5bfc RD |
29769 | #ifdef __cplusplus |
29770 | extern "C" | |
29771 | #endif | |
29772 | SWIGEXPORT(void) SWIG_init(void) { | |
29773 | static PyObject *SWIG_globals = 0; | |
29774 | static int typeinit = 0; | |
29775 | PyObject *m, *d; | |
29776 | int i; | |
29777 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
36ed4f51 RD |
29778 | |
29779 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
29780 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial); | |
29781 | ||
d55e5bfc RD |
29782 | m = Py_InitModule((char *) SWIG_name, SwigMethods); |
29783 | d = PyModule_GetDict(m); | |
29784 | ||
29785 | if (!typeinit) { | |
36ed4f51 RD |
29786 | #ifdef SWIG_LINK_RUNTIME |
29787 | swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle); | |
29788 | #else | |
29789 | # ifndef SWIG_STATIC_RUNTIME | |
29790 | swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle); | |
29791 | # endif | |
29792 | #endif | |
d55e5bfc RD |
29793 | for (i = 0; swig_types_initial[i]; i++) { |
29794 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
29795 | } | |
29796 | typeinit = 1; | |
29797 | } | |
36ed4f51 RD |
29798 | SWIG_InstallConstants(d,swig_const_table); |
29799 | ||
29800 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
29801 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
29802 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
29803 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
29804 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
29805 | { | |
29806 | PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP))); | |
29807 | } | |
29808 | { | |
29809 | PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE))); | |
29810 | } | |
29811 | { | |
29812 | PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE))); | |
29813 | } | |
29814 | { | |
29815 | PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE))); | |
29816 | } | |
29817 | { | |
29818 | PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX))); | |
29819 | } | |
29820 | { | |
29821 | PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME))); | |
29822 | } | |
29823 | { | |
29824 | PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU))); | |
29825 | } | |
29826 | { | |
29827 | PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX))); | |
29828 | } | |
29829 | { | |
29830 | PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX))); | |
29831 | } | |
29832 | { | |
29833 | PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ))); | |
29834 | } | |
29835 | { | |
29836 | PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT))); | |
29837 | } | |
29838 | { | |
29839 | PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX))); | |
29840 | } | |
29841 | { | |
29842 | PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER))); | |
29843 | } | |
29844 | { | |
29845 | PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT))); | |
29846 | } | |
29847 | { | |
29848 | PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE))); | |
29849 | } | |
29850 | { | |
29851 | PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE))); | |
29852 | } | |
29853 | { | |
29854 | PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW))); | |
29855 | } | |
29856 | { | |
29857 | PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT))); | |
29858 | } | |
29859 | { | |
29860 | PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU))); | |
29861 | } | |
29862 | { | |
29863 | PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR))); | |
29864 | } | |
29865 | { | |
29866 | PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED))); | |
29867 | } | |
29868 | { | |
29869 | PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER))); | |
29870 | } | |
f491ed97 RD |
29871 | { |
29872 | PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL))); | |
29873 | } | |
29874 | { | |
29875 | PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL))); | |
29876 | } | |
36ed4f51 RD |
29877 | { |
29878 | PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL))); | |
29879 | } | |
29880 | { | |
29881 | PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS))); | |
29882 | } | |
29883 | { | |
29884 | PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS))); | |
29885 | } | |
29886 | { | |
29887 | PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D))); | |
29888 | } | |
29889 | { | |
29890 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR))); | |
29891 | } | |
29892 | { | |
29893 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR))); | |
29894 | } | |
29895 | { | |
29896 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR))); | |
29897 | } | |
29898 | { | |
29899 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER))); | |
29900 | } | |
29901 | { | |
29902 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION))); | |
29903 | } | |
29904 | { | |
29905 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL))); | |
29906 | } | |
29907 | { | |
29908 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG))); | |
29909 | } | |
29910 | { | |
29911 | PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO))); | |
29912 | } | |
29913 | { | |
29914 | PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR))); | |
29915 | } | |
29916 | { | |
29917 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT))); | |
29918 | } | |
29919 | { | |
29920 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN))); | |
29921 | } | |
29922 | { | |
29923 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE))); | |
29924 | } | |
29925 | { | |
29926 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT))); | |
29927 | } | |
29928 | { | |
29929 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT))); | |
29930 | } | |
29931 | { | |
29932 | PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL))); | |
29933 | } | |
29934 | { | |
29935 | PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT))); | |
29936 | } | |
29937 | { | |
29938 | PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED))); | |
29939 | } | |
d55e5bfc | 29940 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
36ed4f51 RD |
29941 | { |
29942 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER))); | |
29943 | } | |
29944 | { | |
29945 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH))); | |
29946 | } | |
29947 | { | |
29948 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT))); | |
29949 | } | |
29950 | { | |
29951 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE))); | |
29952 | } | |
29953 | { | |
29954 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH))); | |
29955 | } | |
29956 | { | |
29957 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER))); | |
29958 | } | |
29959 | { | |
29960 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME))); | |
29961 | } | |
29962 | { | |
29963 | PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER))); | |
29964 | } | |
29965 | { | |
29966 | PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D))); | |
29967 | } | |
29968 | { | |
29969 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL))); | |
29970 | } | |
29971 | { | |
29972 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL))); | |
29973 | } | |
29974 | { | |
29975 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE))); | |
29976 | } | |
29977 | { | |
29978 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING))); | |
29979 | } | |
29980 | { | |
29981 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN))); | |
29982 | } | |
d55e5bfc RD |
29983 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
29984 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
29985 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
29986 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
29987 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); | |
29988 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
36ed4f51 RD |
29989 | { |
29990 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE))); | |
29991 | } | |
29992 | { | |
29993 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING))); | |
29994 | } | |
29995 | { | |
29996 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN))); | |
29997 | } | |
29998 | { | |
29999 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER))); | |
30000 | } | |
30001 | { | |
30002 | PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER))); | |
30003 | } | |
30004 | { | |
30005 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH))); | |
30006 | } | |
30007 | { | |
30008 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER))); | |
30009 | } | |
30010 | { | |
30011 | PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D))); | |
30012 | } | |
30013 | { | |
30014 | PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP))); | |
30015 | } | |
30016 | { | |
30017 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT))); | |
30018 | } | |
30019 | { | |
30020 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM))); | |
30021 | } | |
30022 | { | |
30023 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT))); | |
30024 | } | |
30025 | { | |
30026 | PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE))); | |
30027 | } | |
30028 | { | |
30029 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK))); | |
30030 | } | |
30031 | { | |
30032 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE))); | |
30033 | } | |
d55e5bfc | 30034 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
36ed4f51 RD |
30035 | { |
30036 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL))); | |
30037 | } | |
30038 | { | |
30039 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL))); | |
30040 | } | |
30041 | { | |
30042 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE))); | |
30043 | } | |
30044 | { | |
30045 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP))); | |
30046 | } | |
30047 | { | |
30048 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT))); | |
30049 | } | |
30050 | { | |
30051 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT))); | |
30052 | } | |
30053 | { | |
30054 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM))); | |
30055 | } | |
30056 | { | |
30057 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y))); | |
30058 | } | |
30059 | { | |
30060 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X))); | |
30061 | } | |
30062 | { | |
30063 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH))); | |
30064 | } | |
30065 | { | |
30066 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY))); | |
30067 | } | |
d55e5bfc RD |
30068 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
30069 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
30070 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); | |
30071 | ||
30072 | // Map renamed classes back to their common name for OOR | |
30073 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
30074 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
30075 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
30076 | ||
30077 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
30078 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
30079 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
30080 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
30081 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
30082 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
30083 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
30084 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); | |
30085 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
30086 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
30087 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
30088 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
30089 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
36ed4f51 RD |
30090 | { |
30091 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE))); | |
30092 | } | |
30093 | { | |
30094 | PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle))); | |
30095 | } | |
070c48b4 | 30096 | SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set); |
36ed4f51 RD |
30097 | { |
30098 | PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN))); | |
30099 | } | |
30100 | { | |
30101 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD))); | |
30102 | } | |
30103 | { | |
30104 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE))); | |
30105 | } | |
30106 | { | |
30107 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG))); | |
30108 | } | |
30109 | { | |
30110 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN))); | |
30111 | } | |
30112 | { | |
30113 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE))); | |
30114 | } | |
30115 | { | |
30116 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD))); | |
30117 | } | |
d55e5bfc RD |
30118 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
30119 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
30120 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
30121 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
30122 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
36ed4f51 RD |
30123 | { |
30124 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001))); | |
30125 | } | |
30126 | { | |
30127 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001))); | |
30128 | } | |
30129 | { | |
30130 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002))); | |
30131 | } | |
30132 | { | |
30133 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003))); | |
30134 | } | |
30135 | { | |
30136 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004))); | |
30137 | } | |
30138 | { | |
30139 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005))); | |
30140 | } | |
24d7cbea RD |
30141 | { |
30142 | PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int((int)(4006))); | |
30143 | } | |
36ed4f51 RD |
30144 | { |
30145 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100))); | |
30146 | } | |
30147 | { | |
30148 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600))); | |
30149 | } | |
d55e5bfc RD |
30150 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
30151 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
36ed4f51 RD |
30152 | { |
30153 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE))); | |
30154 | } | |
30155 | { | |
30156 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW))); | |
30157 | } | |
30158 | { | |
30159 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE))); | |
30160 | } | |
30161 | { | |
30162 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER))); | |
30163 | } | |
30164 | { | |
30165 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM))); | |
30166 | } | |
30167 | { | |
30168 | PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT))); | |
30169 | } | |
30170 | { | |
30171 | PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE))); | |
30172 | } | |
30173 | { | |
30174 | PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER))); | |
30175 | } | |
30176 | { | |
30177 | PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE))); | |
30178 | } | |
30179 | { | |
30180 | PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL))); | |
30181 | } | |
30182 | { | |
30183 | PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE))); | |
30184 | } | |
30185 | { | |
30186 | PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL))); | |
30187 | } | |
30188 | { | |
30189 | PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO))); | |
30190 | } | |
30191 | { | |
30192 | PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR))); | |
30193 | } | |
30194 | { | |
30195 | PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT))); | |
30196 | } | |
30197 | { | |
30198 | PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT))); | |
30199 | } | |
30200 | { | |
30201 | PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY))); | |
30202 | } | |
30203 | { | |
30204 | PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE))); | |
30205 | } | |
30206 | { | |
30207 | PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE))); | |
30208 | } | |
30209 | { | |
30210 | PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER))); | |
30211 | } | |
30212 | { | |
30213 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR))); | |
30214 | } | |
30215 | { | |
30216 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED))); | |
30217 | } | |
30218 | { | |
30219 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR))); | |
30220 | } | |
30221 | { | |
30222 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT))); | |
30223 | } | |
30224 | { | |
30225 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS))); | |
30226 | } | |
30227 | { | |
30228 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT))); | |
30229 | } | |
30230 | { | |
30231 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM))); | |
30232 | } | |
30233 | { | |
30234 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST))); | |
30235 | } | |
30236 | { | |
30237 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST))); | |
30238 | } | |
30239 | { | |
30240 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO))); | |
30241 | } | |
30242 | { | |
30243 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT))); | |
30244 | } | |
30245 | { | |
30246 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE))); | |
30247 | } | |
30248 | { | |
30249 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT))); | |
30250 | } | |
30251 | { | |
30252 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS))); | |
30253 | } | |
30254 | { | |
30255 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT))); | |
30256 | } | |
30257 | { | |
30258 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM))); | |
30259 | } | |
30260 | { | |
30261 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST))); | |
30262 | } | |
30263 | { | |
30264 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST))); | |
30265 | } | |
30266 | { | |
30267 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO))); | |
30268 | } | |
d55e5bfc RD |
30269 | |
30270 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
30271 | ||
30272 | } | |
30273 |